Lines Matching defs:kind
115 Kind kind() const { return KindField::decode(bit_field_); }
117 bool is_set() const { return kind() != kEmpty; }
120 DCHECK_EQ(kind(), kRefFunc);
125 DCHECK_EQ(kind(), kRefNull);
131 DCHECK_EQ(kind(), kI32Const);
136 DCHECK_EQ(kind(), kWireBytesRef);
147 // There are two possible combinations of fields: offset + length + kind if
148 // kind = kWireBytesRef, or value + kind for anything else.
157 // Make sure kind fits in kKindBits.
260 ImportExportKindCode kind; // kind of the import.
267 ImportExportKindCode kind; // kind of the export.
354 : function_sig(sig), supertype(supertype), kind(kFunction) {}
356 : struct_type(type), supertype(supertype), kind(kStruct) {}
358 : array_type(type), supertype(supertype), kind(kArray) {}
360 : function_sig(nullptr), supertype(kNoSuperType), kind(kFunction) {}
369 if (supertype != other.supertype || kind != other.kind) {
372 switch (kind) {
387 Kind kind;
442 uint32_t canonical_id = type.kind == TypeDefinition::kFunction
458 types[index].kind == TypeDefinition::kFunction;
470 return index < types.size() && types[index].kind == TypeDefinition::kStruct;
482 return index < types.size() && types[index].kind == TypeDefinition::kArray;