• Home
  • Raw
  • Download

Lines Matching refs:num_declared_functions

572 int NumWasmFunctionsInFarJumpTable(uint32_t num_declared_functions) {  in NumWasmFunctionsInFarJumpTable()  argument
574 ? static_cast<int>(num_declared_functions) in NumWasmFunctionsInFarJumpTable()
580 size_t OverheadPerCodeSpace(uint32_t num_declared_functions) { in OverheadPerCodeSpace() argument
583 JumpTableAssembler::SizeForNumberOfSlots(num_declared_functions)); in OverheadPerCodeSpace()
595 NumWasmFunctionsInFarJumpTable(num_declared_functions))); in OverheadPerCodeSpace()
600 size_t ReservationSize(size_t code_size_estimate, int num_declared_functions, in ReservationSize() argument
602 size_t overhead = OverheadPerCodeSpace(num_declared_functions); in ReservationSize()
651 size, native_module->module()->num_declared_functions, total_reserved); in AllocateForCodeInRegion()
820 if (module_->num_declared_functions > 0) { in NativeModule()
822 std::make_unique<WasmCode*[]>(module_->num_declared_functions); in NativeModule()
824 std::make_unique<uint32_t[]>(module_->num_declared_functions); in NativeModule()
829 module_->num_declared_functions, kCounterStart); in NativeModule()
836 DCHECK_LE(module_->num_declared_functions, max_functions); in ReserveCodeTableForTesting()
838 if (module_->num_declared_functions > 0) { in ReserveCodeTableForTesting()
840 module_->num_declared_functions * sizeof(WasmCode*)); in ReserveCodeTableForTesting()
862 module_->num_declared_functions); in LogWasmCodes()
867 int end = start + module_->num_declared_functions; in LogWasmCodes()
973 module_->num_imported_functions + module_->num_declared_functions); in UseLazyStub()
976 uint32_t num_slots = module_->num_declared_functions; in UseLazyStub()
1206 WasmCode** end = start + module_->num_declared_functions; in SnapshotCodeTable()
1297 DCHECK_LT(slot_index, module_->num_declared_functions); in PatchJumpTableLocked()
1323 2 * OverheadPerCodeSpace(module()->num_declared_functions)); in AddCodeSpace()
1347 const uint32_t num_wasm_functions = module_->num_declared_functions; in AddCodeSpace()
1542 DCHECK_LT(slot_idx, module_->num_declared_functions); in GetFunctionIndexFromJumpTableSlot()
1744 int num_functions = static_cast<int>(module->num_declared_functions); in EstimateNativeModuleCodeSize()
1787 uint32_t num_wasm_functions = module->num_declared_functions; in EstimateNativeModuleMetaDataSize()
1814 ReservationSize(code_size_estimate, module->num_declared_functions, 0); in NewNativeModule()
1965 int declared = module()->num_declared_functions; in FindFunctionsToRecompile()