Searched refs:kWasmPageSize (Results 1 – 10 of 10) sorted by relevance
/third_party/node/deps/v8/src/objects/ |
D | backing-store.cc | 370 isolate, initial_pages * wasm::kWasmPageSize, in TryAllocateWasmMemory() 371 maximum_pages * wasm::kWasmPageSize, wasm::kWasmPageSize, initial_pages, in TryAllocateWasmMemory() 519 DCHECK_EQ(0, wasm::kWasmPageSize % AllocatePageSize()); in AllocateWasmMemory() 562 DCHECK_GE(new_pages * wasm::kWasmPageSize, byte_length_); in CopyWasmMemory() 601 max_pages = std::min(max_pages, byte_capacity_ / wasm::kWasmPageSize); in GrowWasmMemoryInPlace() 611 return {old_length / wasm::kWasmPageSize}; // degenerate grow. in GrowWasmMemoryInPlace() 616 size_t current_pages = old_length / wasm::kWasmPageSize; in GrowWasmMemoryInPlace() 621 new_length = (current_pages + delta_pages) * wasm::kWasmPageSize; in GrowWasmMemoryInPlace() 640 return {old_length / wasm::kWasmPageSize}; in GrowWasmMemoryInPlace()
|
/third_party/node/deps/v8/src/wasm/ |
D | wasm-constants.h | 144 constexpr size_t kWasmPageSize = 0x10000; variable 146 static_assert(kWasmPageSize == size_t{1} << kWasmPageSizeLog2, "consistency");
|
D | compilation-environment.h | 90 kWasmPageSize), 95 kWasmPageSize),
|
D | wasm-limits.h | 82 return uint64_t{max_mem_pages()} * kWasmPageSize; in max_mem_bytes()
|
D | wasm-objects.cc | 800 for (size_t offset = 0; offset < mem_size; offset += wasm::kWasmPageSize) { in SetInstanceMemory() 854 constexpr int kGBPages = 1024 * 1024 * 1024 / wasm::kWasmPageSize; in New() 937 DCHECK_EQ(0, old_size % wasm::kWasmPageSize); in Grow() 938 size_t old_pages = old_size / wasm::kWasmPageSize; in Grow() 966 size_t new_byte_length = new_pages * wasm::kWasmPageSize; in Grow()
|
D | module-instantiate.cc | 513 static_cast<int>(RoundUp(buffer->byte_length(), wasm::kWasmPageSize) / in Build() 514 wasm::kWasmPageSize); in Build() 1351 static_cast<uint32_t>(buffer->byte_length() / kWasmPageSize); in ProcessImportedMemory()
|
D | wasm-engine.cc | 1684 kV8MaxWasmMemoryPages * kWasmPageSize <= JSArrayBuffer::kMaxByteLength, in max_mem_pages()
|
D | wasm-js.cc | 2133 uint64_t old_pages64 = old_buffer->byte_length() / i::wasm::kWasmPageSize; in WebAssemblyMemoryGrow() 2187 size_t curr_size = buffer->byte_length() / i::wasm::kWasmPageSize; in WebAssemblyMemoryType()
|
D | c-api.cc | 2076 i::wasm::kWasmPageSize); in type() 2094 i::wasm::kWasmPageSize); in size()
|
/third_party/node/deps/v8/src/inspector/ |
D | value-mirror.cc | 168 const size_t kWasmPageSize = 64 * 1024; variable 1792 isolate, memory, memory->Buffer()->ByteLength() / kWasmPageSize)); in create()
|