Lines Matching defs:table

49       return "table";
814 // ===== Imported table ==============================================
818 WasmTable* table = &module_->tables.back();
819 table->imported = true;
823 errorf(type_position, "Invalid table type %s", type.name().c_str());
826 table->type = type;
830 &table->initial_size, &table->has_maximum_size,
831 std::numeric_limits<uint32_t>::max(), &table->maximum_size,
907 uint32_t table_count = consume_count("table count", kV8MaxWasmTables);
911 WasmTable* table = &module_->tables.back();
917 "as table types");
920 table->type = table_type;
921 uint8_t flags = validate_table_flags("table elements");
923 "table elements", "elements", std::numeric_limits<uint32_t>::max(),
924 &table->initial_size, &table->has_maximum_size,
925 std::numeric_limits<uint32_t>::max(), &table->maximum_size, flags);
927 table->initial_value = consume_init_expr(module_.get(), table_type);
998 WasmTable* table = nullptr;
999 exp->index = consume_table_index(module_.get(), &table);
1000 if (table) table->exported = true;
1628 // Calculate individual global offsets and total size of globals table. This
1734 uint32_t consume_table_index(WasmModule* module, WasmTable** table) {
1735 return consume_index("table index", &module->tables, table);
1758 uint8_t flags = consume_u8("table limits flags");
2071 // - for active tables, if the segment has an explicit table index field.
2072 // - for non-active tables, whether the table is declarative (vs. passive).
2101 uint32_t table_index = has_table_index ? consume_u32v("table index") : 0;
2103 errorf(pos, "out of bounds%s table index %u",
2117 // Denotes an active segment without table index, type, or element kind.
2127 "table %u (of type %s)",
2148 // table. TODO(7748): Add support for anyref tables when we have them.
2152 "must reference a table of %s. Instead, table %u of type %s "
2380 uint32_t size = decoder.consume_u32v("table size");