Lines Matching refs:functions_count
532 uint32_t functions_count = in DecodeFunctionSection() local
536 counter->AddSample(static_cast<int>(functions_count)); in DecodeFunctionSection()
539 module_->num_imported_functions + functions_count; in DecodeFunctionSection()
541 module_->num_declared_functions = functions_count; in DecodeFunctionSection()
542 for (uint32_t i = 0; i < functions_count; ++i) { in DecodeFunctionSection()
744 uint32_t functions_count = consume_u32v("functions count"); in DecodeCodeSection() local
745 CheckFunctionsCount(functions_count, pos); in DecodeCodeSection()
746 for (uint32_t i = 0; ok() && i < functions_count; ++i) { in DecodeCodeSection()
761 bool CheckFunctionsCount(uint32_t functions_count, uint32_t offset) { in CheckFunctionsCount() argument
762 if (functions_count != module_->num_declared_functions) { in CheckFunctionsCount()
765 functions_count, module_->num_declared_functions); in CheckFunctionsCount()
1459 bool ModuleDecoder::CheckFunctionsCount(uint32_t functions_count, in CheckFunctionsCount() argument
1461 return impl_->CheckFunctionsCount(functions_count, offset); in CheckFunctionsCount()
1529 uint32_t functions_count = decoder.consume_u32v("functions count"); in DecodeAsmJsOffsets() local
1531 if (functions_count < static_cast<unsigned>(tables_end - tables_start)) { in DecodeAsmJsOffsets()
1532 table.reserve(functions_count); in DecodeAsmJsOffsets()
1535 for (uint32_t i = 0; i < functions_count && decoder.ok(); ++i) { in DecodeAsmJsOffsets()
1650 uint32_t functions_count = decoder.consume_u32v("functions count"); in DecodeFunctionNames() local
1652 for (; decoder.ok() && functions_count > 0; --functions_count) { in DecodeFunctionNames()