Home
last modified time | relevance | path

Searched refs:maximum_pages (Results 1 – 14 of 14) sorted by relevance

/third_party/node/deps/v8/src/objects/
Dbacking-store.cc363 Isolate* isolate, size_t initial_pages, size_t maximum_pages, in TryAllocateWasmMemory() argument
367 maximum_pages = std::min(engine_max_pages, maximum_pages); in TryAllocateWasmMemory()
371 maximum_pages * wasm::kWasmPageSize, wasm::kWasmPageSize, initial_pages, in TryAllocateWasmMemory()
372 maximum_pages, true, shared); in TryAllocateWasmMemory()
384 size_t page_size, size_t initial_pages, size_t maximum_pages, in TryAllocateAndPartiallyCommitMemory() argument
387 if (maximum_pages > std::numeric_limits<size_t>::max() / page_size) { in TryAllocateAndPartiallyCommitMemory()
392 if (maximum_pages == 0) maximum_pages = 1; in TryAllocateAndPartiallyCommitMemory()
394 TRACE_BS("BSw:try %zu pages, %zu max\n", initial_pages, maximum_pages); in TryAllocateAndPartiallyCommitMemory()
420 size_t byte_capacity = maximum_pages * page_size; in TryAllocateAndPartiallyCommitMemory()
516 Isolate* isolate, size_t initial_pages, size_t maximum_pages, in AllocateWasmMemory() argument
[all …]
Dbacking-store.h58 size_t maximum_pages,
65 size_t page_size, size_t initial_pages, size_t maximum_pages,
236 Isolate* isolate, size_t initial_pages, size_t maximum_pages,
Dvalue-serializer.cc1079 WriteZigZag<int32_t>(object->maximum_pages()); in WriteWasmMemory()
2187 int32_t maximum_pages; in ReadWasmMemory() local
2188 if (!ReadZigZag<int32_t>().To(&maximum_pages)) { in ReadWasmMemory()
2204 WasmMemoryObject::New(isolate_, buffer, maximum_pages).ToHandleChecked(); in ReadWasmMemory()
/third_party/node/deps/v8/src/wasm/
Dmodule-instantiate.cc488 max_pages_counter->AddSample(module_->maximum_pages); in Build()
512 auto maximum_pages = in Build() local
516 WasmMemoryObject::New(isolate_, memory_buffer_, maximum_pages) in Build()
1358 int32_t imported_maximum_pages = memory_object_->maximum_pages(); in ProcessImportedMemory()
1367 module_->maximum_pages) { in ProcessImportedMemory()
1371 import_index, imported_maximum_pages, module_->maximum_pages); in ProcessImportedMemory()
1738 int maximum_pages = module_->has_maximum_pages in AllocateMemory() local
1739 ? static_cast<int>(module_->maximum_pages) in AllocateMemory()
1745 if (!WasmMemoryObject::New(isolate_, initial_pages, maximum_pages, shared) in AllocateMemory()
Dcompilation-environment.h93 uintptr_t{module->maximum_pages})
Dwasm-module.cc409 maximum_size.emplace(module->maximum_pages); in GetImports()
507 maximum_size.emplace(module->maximum_pages); in GetExports()
Dwasm-objects.tq140 maximum_pages: Smi;
Dwasm-module.h417 uint32_t maximum_pages = 0; // maximum size of the memory in 64k pages member
Dwasm-objects-inl.h329 bool WasmMemoryObject::has_maximum_pages() { return maximum_pages() >= 0; } in has_maximum_pages()
Dmodule-decoder.cc337 module_->maximum_pages = 0; in StartDecoding()
843 &module_->maximum_pages, flags); in DecodeImportSection()
942 &module_->maximum_pages, flags); in DecodeMemorySection()
Dwasm-objects.cc941 DCHECK_GE(max_pages, memory_object->maximum_pages()); in Grow()
942 max_pages = static_cast<uint32_t>(memory_object->maximum_pages()); in Grow()
Dwasm-js.cc2136 if (new_pages64 > static_cast<uint64_t>(receiver->maximum_pages())) { in WebAssemblyMemoryGrow()
2192 uint64_t max_size64 = memory->maximum_pages(); in WebAssemblyMemoryType()
Dc-api.cc160 module->has_maximum_pages ? module->maximum_pages : -1); in GetImportExportType()
2078 memory->has_maximum_pages() ? memory->maximum_pages() : 0xFFFFFFFFu; in type()
Dgraph-builder-interface.cc1741 if (decoder->module_->initial_pages != decoder->module_->maximum_pages) { in DoCall()