Home
last modified time | relevance | path

Searched refs:sharedMemory (Results 1 – 5 of 5) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowSharedMemoryTest.java22 try (SharedMemory sharedMemory = SharedMemory.create("foo", 4)) { in getSize_shouldReturnSizeAtCreation() argument
23 assertThat(sharedMemory.getSize()).isEqualTo(4); in getSize_shouldReturnSizeAtCreation()
30 try (SharedMemory sharedMemory = SharedMemory.create("foo", 4)) { in mapReadWrite_shouldReflectWrites() argument
31 ByteBuffer fooBuf = sharedMemory.mapReadWrite(); in mapReadWrite_shouldReflectWrites()
41 try (SharedMemory sharedMemory = SharedMemory.create("foo", 4)) { in mapReadWrite_shouldReflectWritesAcrossMappings() argument
42 ByteBuffer fooBuf = sharedMemory.mapReadWrite(); in mapReadWrite_shouldReflectWritesAcrossMappings()
43 ByteBuffer barBuf = sharedMemory.mapReadOnly(); in mapReadWrite_shouldReflectWritesAcrossMappings()
53 try (SharedMemory sharedMemory = SharedMemory.create("foo", 4)) { in mapReadWrite_shouldPersistWritesAcrossUnmap() argument
54 ByteBuffer fooBuf = sharedMemory.mapReadWrite(); in mapReadWrite_shouldPersistWritesAcrossUnmap()
58 ByteBuffer barBuf = sharedMemory.mapReadOnly(); in mapReadWrite_shouldPersistWritesAcrossUnmap()
[all …]
/external/llvm-project/lld/wasm/
DConfig.h44 bool sharedMemory; member
DSyntheticSections.cpp136 if (out.memorySec->maxMemoryPages != 0 || config->sharedMemory) { in writeBody()
140 if (config->sharedMemory) in writeBody()
232 bool hasMax = maxMemoryPages != 0 || config->sharedMemory; in writeBody()
237 if (config->sharedMemory) in writeBody()
428 return numSegments && config->sharedMemory; in isNeeded()
DDriver.cpp378 config->sharedMemory = args.hasArg(OPT_shared_memory); in readConfigs()
511 if (config->sharedMemory) in checkOptions()
648 if (config->sharedMemory) { in createSyntheticSymbols()
694 if (!config->sharedMemory) in createOptionalSymbols()
DWriter.cpp282 if (config->sharedMemory) { in layoutMemory()
353 if (config->maxMemory != 0 || config->sharedMemory) { in layoutMemory()
503 if (config->sharedMemory) { in populateTargetFeatures()
811 if (config->sharedMemory) in createOutputSegments()