Lines Matching defs:func
984 WasmFunction* func = nullptr;
986 consume_func_index(module_.get(), &func, "export function index");
989 DCHECK_NOT_NULL(func);
992 func->exported = true;
994 func->declared = true;
1067 WasmFunction* func;
1070 consume_func_index(module_.get(), &func, "start function index");
1071 if (func &&
1072 (func->sig->parameter_count() > 0 || func->sig->return_count() > 0)) {
1725 uint32_t consume_func_index(WasmModule* module, WasmFunction** func,
1727 return consume_index(name, &module->functions, func);
1894 read_u32v<kFullValidation>(pc() + 1, &length, "ref.func");
2203 WasmFunction* func = nullptr;
2206 consume_func_index(module_.get(), &func, "element function index");
2208 DCHECK_NOT_NULL(func);
2209 DCHECK_EQ(index, func->func_index);
2210 ValueType entry_type = ValueType::Ref(func->sig_index, kNonNullable);
2217 func->declared = true;