Searched refs:maximum_pages (Results 1 – 14 of 14) sorted by relevance
/third_party/node/deps/v8/src/objects/ |
D | backing-store.cc | 363 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 …]
|
D | backing-store.h | 58 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,
|
D | value-serializer.cc | 1079 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/ |
D | module-instantiate.cc | 488 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()
|
D | compilation-environment.h | 93 uintptr_t{module->maximum_pages})
|
D | wasm-module.cc | 409 maximum_size.emplace(module->maximum_pages); in GetImports() 507 maximum_size.emplace(module->maximum_pages); in GetExports()
|
D | wasm-objects.tq | 140 maximum_pages: Smi;
|
D | wasm-module.h | 417 uint32_t maximum_pages = 0; // maximum size of the memory in 64k pages member
|
D | wasm-objects-inl.h | 329 bool WasmMemoryObject::has_maximum_pages() { return maximum_pages() >= 0; } in has_maximum_pages()
|
D | module-decoder.cc | 337 module_->maximum_pages = 0; in StartDecoding() 843 &module_->maximum_pages, flags); in DecodeImportSection() 942 &module_->maximum_pages, flags); in DecodeMemorySection()
|
D | wasm-objects.cc | 941 DCHECK_GE(max_pages, memory_object->maximum_pages()); in Grow() 942 max_pages = static_cast<uint32_t>(memory_object->maximum_pages()); in Grow()
|
D | wasm-js.cc | 2136 if (new_pages64 > static_cast<uint64_t>(receiver->maximum_pages())) { in WebAssemblyMemoryGrow() 2192 uint64_t max_size64 = memory->maximum_pages(); in WebAssemblyMemoryType()
|
D | c-api.cc | 160 module->has_maximum_pages ? module->maximum_pages : -1); in GetImportExportType() 2078 memory->has_maximum_pages() ? memory->maximum_pages() : 0xFFFFFFFFu; in type()
|
D | graph-builder-interface.cc | 1741 if (decoder->module_->initial_pages != decoder->module_->maximum_pages) { in DoCall()
|