Searched refs:WasmPageSize (Results 1 – 6 of 6) sorted by relevance
329 if (config->initialMemory != alignTo(config->initialMemory, WasmPageSize)) in layoutMemory()330 error("initial memory must be " + Twine(WasmPageSize) + "-byte aligned"); in layoutMemory()339 alignTo(memoryPtr, WasmPageSize) / WasmPageSize; in layoutMemory()343 if (config->maxMemory != alignTo(config->maxMemory, WasmPageSize)) in layoutMemory()344 error("maximum memory must be " + Twine(WasmPageSize) + "-byte aligned"); in layoutMemory()361 max = alignTo(memoryPtr, WasmPageSize); in layoutMemory()363 out.memorySec->maxMemoryPages = max / WasmPageSize; in layoutMemory()
416 args::getZOptionValue(args, OPT_z, "stack-size", WasmPageSize); in readConfigs()
31 const uint32_t WasmPageSize = 65536; variable
32 const uint32_t WasmPageSize = 65536; variable
703 uint32_t NumPages = (DataSize + wasm::WasmPageSize - 1) / wasm::WasmPageSize; in writeImportSection()
753 uint64_t NumPages = (DataSize + wasm::WasmPageSize - 1) / wasm::WasmPageSize; in writeImportSection()