Searched refs:kWasmPageSize (Results 1 – 10 of 10) sorted by relevance
/external/v8/src/wasm/ |
D | wasm-memory.cc | 48 kWasmPageSize); in TryAllocateBackingStore() 50 DCHECK_GE(*allocation_length, kWasmPageSize); in TryAllocateBackingStore() 84 *allocation_base = AllocatePages(nullptr, *allocation_length, kWasmPageSize, in TryAllocateBackingStore() 102 bool result = SetPermissions(memory, RoundUp(size, kWasmPageSize), in TryAllocateBackingStore() 267 if (size > (FLAG_wasm_max_mem_pages * uint64_t{kWasmPageSize})) return {}; in NewArrayBuffer()
|
D | wasm-limits.h | 50 kV8MaxWasmMemoryPages * uint64_t{kWasmPageSize}; 53 kSpecMaxWasmMemoryPages * uint64_t{kWasmPageSize};
|
D | function-compiler.h | 71 min_memory_size(module ? module->initial_pages * uint64_t{kWasmPageSize} in module() 74 ? (module->maximum_pages * uint64_t{kWasmPageSize})
|
D | wasm-constants.h | 76 constexpr size_t kWasmPageSize = 0x10000; variable
|
D | wasm-objects.cc | 886 CHECK_EQ(0, old_size % wasm::kWasmPageSize); in GrowMemoryBuffer() 887 size_t old_pages = old_size / wasm::kWasmPageSize; in GrowMemoryBuffer() 894 static_cast<size_t>(old_pages + pages) * wasm::kWasmPageSize; in GrowMemoryBuffer() 912 ->AdjustAmountOfExternalAllocatedMemory(pages * wasm::kWasmPageSize); in GrowMemoryBuffer() 960 for (size_t offset = 0; offset < mem_size; offset += wasm::kWasmPageSize) { in SetInstanceMemory() 997 return byte_length / wasm::kWasmPageSize; in current_pages() 1054 DCHECK_EQ(0, old_size % wasm::kWasmPageSize); in Grow() 1082 return old_size / wasm::kWasmPageSize; in Grow()
|
D | wasm-js.cc | 972 size_t size = static_cast<size_t>(i::wasm::kWasmPageSize) * in WebAssemblyMemory() 1254 old_buffer->byte_length()->Number() / i::wasm::kWasmPageSize; in WebAssemblyMemoryGrow()
|
D | module-compiler.cc | 1623 buffer->byte_length()->Number() / kWasmPageSize); in ProcessImports() 1817 if (!NewArrayBuffer(isolate_, num_pages * kWasmPageSize, shared_flag) in AllocateMemory()
|
D | wasm-interpreter.cc | 2491 kWasmPageSize))); in Execute()
|
/external/v8/src/asmjs/ |
D | asm-js.cc | 340 if (size > (FLAG_wasm_max_mem_pages * uint64_t{wasm::kWasmPageSize})) { in IsValidAsmjsMemorySize()
|
/external/v8/src/wasm/baseline/ |
D | liftoff-compiler.cc | 1545 WasmValue(int32_t{WhichPowerOf2(kWasmPageSize)})); in CurrentMemoryPages()
|