Lines Matching defs:kind
44 const char* ExternalKindName(ImportExportKindCode kind) {
45 switch (kind) {
560 uint8_t kind = consume_u8("type kind");
561 switch (kind) {
581 errorf(pc() - 1, "unknown type form: %d", kind);
598 uint8_t kind = consume_u8("type kind");
599 switch (kind) {
648 errorf(pc() - 1, "unknown type form: %d", kind);
655 uint8_t kind = read_u8<Decoder::kFullValidation>(pc(), "type kind");
656 if (kind == kWasmSubtypeCode) {
717 uint8_t kind = read_u8<Decoder::kFullValidation>(pc(), "type kind");
718 if (kind == kWasmRecursiveTypeGroupCode) {
786 kExternalFunction, // kind
793 import->kind =
794 static_cast<ImportExportKindCode>(consume_u8("import kind"));
795 switch (import->kind) {
861 errorf(pos, "unknown import kind 0x%02x", import->kind);
872 errorf(pos, "unknown import kind 0x%02x", import->kind);
973 kExternalFunction, // kind
981 exp->kind = static_cast<ImportExportKindCode>(consume_u8("export kind"));
982 switch (exp->kind) {
1023 errorf(pos, "invalid export kind 0x%02x", exp->kind);
1031 errorf(pos, "invalid export kind 0x%02x", exp->kind);
1058 name.length(), name.start(), ExternalKindName(last->kind),
1059 last->index, ExternalKindName(it->kind), it->index);
2117 // Denotes an active segment without table index, type, or element kind.
2133 // We have to check that there is an element kind of type Function. All
2135 uint8_t val = consume_u8("element kind");
2137 errorf(pos, "illegal element kind 0x%x. Must be 0x%x", val,