Home
last modified time | relevance | path

Searched refs:mappedSize (Results 1 – 25 of 44) sorted by relevance

12

/dports/www/firefox-esr/firefox-91.8.0/js/src/vm/
H A DArrayBufferObject.cpp155 MOZ_ASSERT(initialCommittedSize <= mappedSize); in MapBufferMemory()
192 memset(data, 0, mappedSize); in MapBufferMemory()
203 munmap(data, mappedSize); in MapBufferMemory()
212 mappedSize - initialCommittedSize); in MapBufferMemory()
248 MOZ_ASSERT(newMappedSize >= mappedSize); in ExtendBufferMapping()
252 uint32_t delta = newMappedSize - mappedSize; in ExtendBufferMapping()
280 munmap(base, mappedSize); in UnmapBufferMemory()
587 MOZ_ASSERT(newSize <= mappedSize()); in growToPagesInPlace()
639 size_t mappedSize = in AllocateWasm() local
738 Maybe<size_t> mappedSize; in CreateSpecificWasmBuffer32() local
[all …]
H A DSharedArrayObject.h73 size_t mappedSize, bool preparedForWasm) in SharedArrayRawBuffer() argument
78 mappedSize_(mappedSize), in SharedArrayRawBuffer()
108 const mozilla::Maybe<size_t>& mappedSize);
137 size_t mappedSize() const { return mappedSize_; } in mappedSize() function
258 size_t wasmMappedSize() const { return rawBufferObject()->mappedSize(); } in wasmMappedSize()
H A DArrayBufferObject.h37 void* MapBufferMemory(size_t mappedSize, size_t initialCommittedSize);
50 bool ExtendBufferMapping(void* dataStart, size_t mappedSize,
55 void UnmapBufferMemory(void* dataStart, size_t mappedSize);
590 size_t mappedSize, size_t length) in WasmArrayRawBuffer() argument
591 : maxPages_(maxPages), mappedSize_(mappedSize), length_(length) { in WasmArrayRawBuffer()
598 const mozilla::Maybe<size_t>& mappedSize);
613 size_t mappedSize() const { return mappedSize_; } in mappedSize() function
/dports/mail/thunderbird/thunderbird-91.8.0/js/src/vm/
H A DArrayBufferObject.cpp155 MOZ_ASSERT(initialCommittedSize <= mappedSize); in MapBufferMemory()
192 memset(data, 0, mappedSize); in MapBufferMemory()
203 munmap(data, mappedSize); in MapBufferMemory()
212 mappedSize - initialCommittedSize); in MapBufferMemory()
248 MOZ_ASSERT(newMappedSize >= mappedSize); in ExtendBufferMapping()
252 uint32_t delta = newMappedSize - mappedSize; in ExtendBufferMapping()
280 munmap(base, mappedSize); in UnmapBufferMemory()
587 MOZ_ASSERT(newSize <= mappedSize()); in growToPagesInPlace()
639 size_t mappedSize = in AllocateWasm() local
738 Maybe<size_t> mappedSize; in CreateSpecificWasmBuffer32() local
[all …]
H A DSharedArrayObject.h73 size_t mappedSize, bool preparedForWasm) in SharedArrayRawBuffer() argument
78 mappedSize_(mappedSize), in SharedArrayRawBuffer()
108 const mozilla::Maybe<size_t>& mappedSize);
137 size_t mappedSize() const { return mappedSize_; } in mappedSize() function
258 size_t wasmMappedSize() const { return rawBufferObject()->mappedSize(); } in wasmMappedSize()
H A DArrayBufferObject.h37 void* MapBufferMemory(size_t mappedSize, size_t initialCommittedSize);
50 bool ExtendBufferMapping(void* dataStart, size_t mappedSize,
55 void UnmapBufferMemory(void* dataStart, size_t mappedSize);
590 size_t mappedSize, size_t length) in WasmArrayRawBuffer() argument
591 : maxPages_(maxPages), mappedSize_(mappedSize), length_(length) { in WasmArrayRawBuffer()
598 const mozilla::Maybe<size_t>& mappedSize);
613 size_t mappedSize() const { return mappedSize_; } in mappedSize() function
/dports/lang/spidermonkey78/firefox-78.9.0/js/src/vm/
H A DArrayBufferObject.cpp136 MOZ_ASSERT(initialCommittedSize <= mappedSize); in MapBufferMemory()
176 munmap(data, mappedSize); in MapBufferMemory()
185 mappedSize - initialCommittedSize); in MapBufferMemory()
218 MOZ_ASSERT(newMappedSize >= mappedSize); in ExtendBufferMapping()
222 uint32_t delta = newMappedSize - mappedSize; in ExtendBufferMapping()
246 munmap(base, mappedSize); in UnmapBufferMemory()
584 MOZ_ASSERT(newSize <= mappedSize()); in growToSizeInPlace()
635 size_t mappedSize = mapped.isSome() in Allocate() local
710 Maybe<size_t> mappedSize; in CreateSpecificWasmBuffer() local
714 mappedSize = Some(wasm::HugeMappedSize); in CreateSpecificWasmBuffer()
[all …]
H A DSharedArrayObject.h70 size_t mappedSize, bool preparedForWasm) in SharedArrayRawBuffer() argument
75 mappedSize_(mappedSize), in SharedArrayRawBuffer()
98 const mozilla::Maybe<size_t>& mappedSize);
123 size_t mappedSize() const { return mappedSize_; } in mappedSize() function
236 size_t wasmMappedSize() const { return rawBufferObject()->mappedSize(); } in wasmMappedSize()
H A DArrayBufferObject.h33 void* MapBufferMemory(size_t mappedSize, size_t initialCommittedSize);
46 bool ExtendBufferMapping(void* dataStart, size_t mappedSize,
51 void UnmapBufferMemory(void* dataStart, size_t mappedSize);
689 size_t mappedSize, uint32_t length) in WasmArrayRawBuffer() argument
690 : maxSize_(maxSize), mappedSize_(mappedSize), length_(length) { in WasmArrayRawBuffer()
697 const mozilla::Maybe<size_t>& mappedSize);
712 size_t mappedSize() const { return mappedSize_; } in mappedSize() function
/dports/www/firefox/firefox-99.0/js/src/vm/
H A DArrayBufferObject.cpp158 MOZ_ASSERT(initialCommittedSize <= mappedSize); in MapBufferMemory()
197 memset(data, 0, mappedSize); in MapBufferMemory()
208 munmap(data, mappedSize); in MapBufferMemory()
217 mappedSize - initialCommittedSize); in MapBufferMemory()
253 MOZ_ASSERT(newMappedSize >= mappedSize); in ExtendBufferMapping()
257 uint32_t delta = newMappedSize - mappedSize; in ExtendBufferMapping()
285 munmap(base, mappedSize); in UnmapBufferMemory()
629 MOZ_ASSERT(newSize <= mappedSize()); in growToPagesInPlace()
692 size_t mappedSize = in AllocateWasm() local
745 Maybe<size_t> mappedSize; in CreateSpecificWasmBuffer() local
[all …]
H A DSharedArrayObject.h76 wasm::Pages wasmSourceMaxPages, size_t mappedSize, in SharedArrayRawBuffer() argument
84 mappedSize_(mappedSize), in SharedArrayRawBuffer()
118 const mozilla::Maybe<size_t>& mappedSize);
150 size_t mappedSize() const { return mappedSize_; } in mappedSize() function
278 size_t wasmMappedSize() const { return rawBufferObject()->mappedSize(); } in wasmMappedSize()
H A DArrayBufferObject.h37 void* MapBufferMemory(wasm::IndexType, size_t mappedSize,
51 bool ExtendBufferMapping(void* dataStart, size_t mappedSize,
56 void UnmapBufferMemory(wasm::IndexType t, void* dataStart, size_t mappedSize);
596 size_t mappedSize, size_t length) in WasmArrayRawBuffer() argument
600 mappedSize_(mappedSize), in WasmArrayRawBuffer()
610 const mozilla::Maybe<size_t>& mappedSize);
627 size_t mappedSize() const { return mappedSize_; } in mappedSize() function
/dports/lang/spidermonkey60/firefox-60.9.0/js/src/vm/
H A DArrayBufferObject.cpp100 MOZ_ASSERT(initialCommittedSize <= mappedSize); in MapBufferMemory()
135 munmap(data, mappedSize); in MapBufferMemory()
145 mappedSize - initialCommittedSize); in MapBufferMemory()
174 MOZ_ASSERT(newMappedSize >= mappedSize); in ExtendBufferMapping()
178 uint32_t delta = newMappedSize - mappedSize; in ExtendBufferMapping()
200 munmap(base, mappedSize); in UnmapBufferMemory()
588 size_t mappedSize) in WasmArrayRawBuffer() argument
624 MOZ_ASSERT(newSize <= mappedSize()); in growToSizeInPlace()
669 size_t mappedSize; in Allocate() local
671 mappedSize = wasm::HugeMappedSize; in Allocate()
[all …]
H A DSharedArrayObject.h74 size_t mappedSize, bool preparedForAsmJS, in SharedArrayRawBuffer() argument
80 mappedSize_(mappedSize), in SharedArrayRawBuffer()
121 size_t mappedSize() const { return mappedSize_; } in mappedSize() function
245 size_t wasmMappedSize() const { return rawBufferObject()->mappedSize(); } in wasmMappedSize()
H A DSharedArrayObject.cpp72 size_t mappedSize; in Allocate() local
74 mappedSize = SharedArrayMappedSizeForWasm(maxSize); in Allocate()
76 mappedSize = SharedArrayMappedSizeForAsmJS(accessibleSize); in Allocate()
78 mappedSize = accessibleSize; in Allocate()
80 uint64_t mappedSizeWithHeader = mappedSize + gc::SystemPageSize(); in Allocate()
89 buffer, length, maxSize, mappedSize, preparedForAsmJS, preparedForWasm); in Allocate()
/dports/www/firefox-legacy/firefox-52.8.0esr/js/src/vm/
H A DSharedArrayObject.cpp135 uint32_t mappedSize = SharedArrayMappedSize(allocSize);
138 p = MapMemory(mappedSize, false);
145 UnmapMemory(p, mappedSize);
153 mappedSize - allocSize);
194 uint32_t mappedSize = SharedArrayMappedSize(allocSize);
195 UnmapMemory(address, mappedSize);
200 VALGRIND_ENABLE_ADDR_ERROR_REPORTING_IN_RANGE(address, mappedSize);
H A DArrayBufferObject.cpp516 : maxSize_(maxSize), mappedSize_(mappedSize) in WasmArrayRawBuffer()
534 size_t mappedSize() const { in mappedSize() function in js::WasmArrayRawBuffer
558 MOZ_ASSERT(newSize <= mappedSize()); in growToSizeInPlace()
626 size_t mappedSize; in Allocate() local
628 mappedSize = wasm::HugeMappedSize; in Allocate()
630 mappedSize = wasm::ComputeMappedSize(maxSize.valueOr(numBytes)); in Allocate()
633 MOZ_RELEASE_ASSERT(mappedSize <= SIZE_MAX - gc::SystemPageSize()); in Allocate()
636 MOZ_ASSERT(mappedSize % gc::SystemPageSize() == 0); in Allocate()
759 cx->zone()->updateMallocCounter(wasmBuf->mappedSize()); in createForWasm()
804 cx->zone()->updateMallocCounter(wasmBuf->mappedSize()); in prepareForAsmJS()
[all …]
/dports/lang/nim/nim-1.6.2/lib/pure/
H A Dmemfiles.nim48 mappedSize = -1, offset = 0, mapFlags = cint(-1)): pointer =
51 ## `mappedSize` of `-1` maps to the whole file, and
63 WinSizeT(if mappedSize == -1: 0 else: mappedSize),
68 assert mappedSize > 0
77 mappedSize,
99 mappedSize = -1, offset = 0, newFileSize = -1,
106 ##`mappedSize` and `offset`
205 if mappedSize == -1: 0 else: mappedSize,
217 if mappedSize != -1: result.size = min(fileSize, mappedSize).int
249 if mappedSize != -1:
[all …]
/dports/devel/apitrace/apitrace-9.0/wrappers/
H A Dglmemshadow.cpp233 mappedSize = size; in map()
275 mappedSize = 0; in unmap()
356 … const size_t size = std::min(glStartOffset + mappedSize - shadowOffset, sPageSize * pages); in commitWrites()
361 const size_t size = std::min(sPageSize * pages - glStartOffset, mappedSize); in commitWrites()
382 memcpy(shadowMemory + mappedStart, glMemory, mappedSize); in updateForReads()
/dports/games/0ad/0ad-0.0.23b-alpha/source/lib/sysdep/os/win/aken/
H A Daken.c141 SIZE_T mappedSize = (SIZE_T)numBytes64; // will receive the actual page-aligned size in AkenMapPhysicalMemory() local
148 …ion(hMemory, hProcess, &virtualBaseAddress, zeroBits, mappedSize, &physicalBaseAddress, &mappedSiz… in AkenMapPhysicalMemory()
153 …ion(hMemory, hProcess, &virtualBaseAddress, zeroBits, mappedSize, &physicalBaseAddress, &mappedSiz… in AkenMapPhysicalMemory()
/dports/lang/nim/nim-1.6.2/tests/stdlib/
H A Dtmemfiles2.nim20 mm_full = memfiles.open(fn, mode = fmWrite, mappedSize = -1, allowRemap = true)
35 mm_half = memfiles.open(fn, mode = fmRead, mappedSize = 10)
/dports/x11-wm/plasma5-kwin/kwin-5.23.5/src/libkwineffects/
H A Dkwinglutils.cpp1708 , mappedSize(0) in GLVertexBufferPrivate()
1762 size_t mappedSize; member in KWin::GLVertexBufferPrivate
2010 d->mappedSize = size; in map()
2036 d->nextOffset += align(d->mappedSize, 16); // Align to 16 bytes for SSE in unmap()
2037 d->mappedSize = 0; in unmap()
2047 d->nextOffset += align(d->mappedSize, 16); // Align to 16 bytes for SSE in unmap()
2051 if ((d->nextOffset + d->mappedSize) > d->bufferSize) { in unmap()
2052 d->reallocateBuffer(d->mappedSize); in unmap()
2059 d->nextOffset += align(d->mappedSize, 16); // Align to 16 bytes for SSE in unmap()
2061 glBufferData(GL_ARRAY_BUFFER, d->mappedSize, d->dataStore.data(), d->usage); in unmap()
[all …]
/dports/biology/mmseqs2/MMseqs2-13-45111/src/util/
H A Dtouchdb.cpp18 Util::touchMemory(reinterpret_cast<const char*>(map.getData()), map.mappedSize()); in touchdb()
/dports/devel/qt5-location/kde-qtlocation-5.15.2p6/src/location/maps/
H A Dqgeotiledmapscene.cpp207 const int mappedSize = imageNode->texture()->textureSize().width() / tilesPerTexture; in buildGeometry() local
208 const int x = (spec.x() % tilesPerTexture) * mappedSize; in buildGeometry()
209 const int y = (spec.y() % tilesPerTexture) * mappedSize; in buildGeometry()
210 imageNode->setSourceRect(QRectF(x, y, mappedSize, mappedSize)); in buildGeometry()
/dports/biology/mmseqs2/MMseqs2-13-45111/src/commons/
H A DMemoryMapped.h71 size_t mappedSize() const;

12