Home
last modified time | relevance | path

Searched refs:delta_pages (Results 1 – 5 of 5) sorted by relevance

/third_party/node/deps/v8/src/objects/
Dbacking-store.cc571 size_t delta_pages, in GrowWasmMemoryInPlace() argument
610 if (delta_pages == 0) in GrowWasmMemoryInPlace()
612 if (delta_pages > max_pages) return {}; // would never work. in GrowWasmMemoryInPlace()
619 if (current_pages > (max_pages - delta_pages)) return {}; in GrowWasmMemoryInPlace()
621 new_length = (current_pages + delta_pages) * wasm::kWasmPageSize; in GrowWasmMemoryInPlace()
Dbacking-store.h119 size_t delta_pages,
/third_party/node/deps/v8/src/heap/
Dnew-spaces.cc185 const int delta_pages = static_cast<int>(delta / Page::kPageSize); in GrowTo() local
189 for (int pages_added = 0; pages_added < delta_pages; pages_added++) { in GrowTo()
227 int delta_pages = static_cast<int>(delta / Page::kPageSize); in ShrinkTo() local
228 RewindPages(delta_pages); in ShrinkTo()
/third_party/node/deps/v8/src/runtime/
Druntime-wasm.cc136 uint32_t delta_pages = args.positive_smi_value_at(1); in RUNTIME_FUNCTION() local
139 isolate, handle(instance->memory_object(), isolate), delta_pages); in RUNTIME_FUNCTION()
/third_party/node/deps/v8/src/wasm/
Dwasm-js.cc2126 uint32_t delta_pages; in WebAssemblyMemoryGrow() local
2127 if (!EnforceUint32("Argument 0", args[0], context, &thrower, &delta_pages)) { in WebAssemblyMemoryGrow()
2134 uint64_t new_pages64 = old_pages64 + static_cast<uint64_t>(delta_pages); in WebAssemblyMemoryGrow()
2141 int32_t ret = i::WasmMemoryObject::Grow(i_isolate, receiver, delta_pages); in WebAssemblyMemoryGrow()