Home
last modified time | relevance | path

Searched refs:mmap (Results 1 – 25 of 179) sorted by relevance

12345678

/hardware/google/graphics/common/libion/test/
Dmap_test.cpp44 ptr = mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED, map_fd, 0); in TEST_F()
69 … ptr = (unsigned char *)mmap(NULL, PAGE_SIZE * 2, PROT_READ | PROT_WRITE, MAP_SHARED, map_fd, 0); in TEST_F()
77 …ptr = (unsigned char *)mmap(NULL, PAGE_SIZE, PROT_READ | PROT_WRITE, MAP_SHARED, map_fd, PAGE_SIZE… in TEST_F()
106 ptr = mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED, map_fd, 0); in TEST_F()
130 ptr = mmap(NULL, 4096, PROT_READ, MAP_SHARED, map_fd, 0); in TEST_F()
153 ptr = mmap(NULL, 4096, PROT_READ, MAP_SHARED, map_fd, 0); in TEST_F()
174 ptr = mmap(NULL, 0, PROT_READ, MAP_SHARED, map_fd, 0); in TEST_F()
177 ptr = mmap(NULL, 4096, -1, MAP_SHARED, map_fd, 0); in TEST_F()
180 ptr = mmap(NULL, 4096, PROT_READ, MAP_SHARED, map_fd, -1); in TEST_F()
183 ptr = mmap(NULL, 4096, PROT_READ, MAP_SHARED, 0, 0); in TEST_F()
/hardware/google/gfxstream/scripts/print_gfx_logs/
Dprint_gfx_logs_test.py19 import mmap
75 with mmap.mmap(-1, len(dump)) as mm:
100 with mmap.mmap(-1, len(dump)) as mm:
126 with mmap.mmap(-1, len(dump)) as mm:
Dprint_gfx_logs.py35 import mmap
110 def process_stream(file_bytes: mmap, file_pos: int) -> Stream: argument
168 def process_minidump(mm: mmap) -> List[Stream]: argument
192 with mmap.mmap(f.fileno(), 0) as mm:
/hardware/interfaces/audio/2.0/
DIStream.hal232 * Called by the framework to start a stream operating in mmap mode.
234 * Function only implemented by streams operating in mmap mode.
237 * NOT_SUPPORTED on non mmap mode streams
243 * Called by the framework to stop a stream operating in mmap mode.
244 * Function only implemented by streams operating in mmap mode.
247 * NOT_SUPPORTED on non mmap mode streams
253 * Called by the framework to retrieve information on the mmap buffer used for audio
255 * Function only implemented by streams operating in mmap mode.
260 * NOT_SUPPORTED on non mmap mode streams
270 * Called by the framework to read current read/write position in the mmap buffer
[all …]
Dtypes.hal78 * Used by streams opened in mmap mode.
81 memory sharedMemory; // mmap memory buffer
88 * Used by streams opened in mmap mode.
/hardware/interfaces/audio/7.0/
DIStream.hal184 * Called by the framework to start a stream operating in mmap mode.
186 * Function only implemented by streams operating in mmap mode.
189 * NOT_SUPPORTED on non mmap mode streams
195 * Called by the framework to stop a stream operating in mmap mode.
196 * Function only implemented by streams operating in mmap mode.
199 * NOT_SUPPORTED on non mmap mode streams
205 * Called by the framework to retrieve information on the mmap buffer used for audio
207 * Function only implemented by streams operating in mmap mode.
213 * NOT_SUPPORTED on non mmap mode streams
223 * Called by the framework to read current read/write position in the mmap buffer
[all …]
/hardware/interfaces/audio/6.0/
DIStream.hal250 * Called by the framework to start a stream operating in mmap mode.
252 * Function only implemented by streams operating in mmap mode.
255 * NOT_SUPPORTED on non mmap mode streams
261 * Called by the framework to stop a stream operating in mmap mode.
262 * Function only implemented by streams operating in mmap mode.
265 * NOT_SUPPORTED on non mmap mode streams
271 * Called by the framework to retrieve information on the mmap buffer used for audio
273 * Function only implemented by streams operating in mmap mode.
279 * NOT_SUPPORTED on non mmap mode streams
289 * Called by the framework to read current read/write position in the mmap buffer
[all …]
/hardware/interfaces/audio/5.0/
DIStream.hal248 * Called by the framework to start a stream operating in mmap mode.
250 * Function only implemented by streams operating in mmap mode.
253 * NOT_SUPPORTED on non mmap mode streams
259 * Called by the framework to stop a stream operating in mmap mode.
260 * Function only implemented by streams operating in mmap mode.
263 * NOT_SUPPORTED on non mmap mode streams
269 * Called by the framework to retrieve information on the mmap buffer used for audio
271 * Function only implemented by streams operating in mmap mode.
276 * NOT_SUPPORTED on non mmap mode streams
286 * Called by the framework to read current read/write position in the mmap buffer
[all …]
/hardware/interfaces/audio/4.0/
DIStream.hal248 * Called by the framework to start a stream operating in mmap mode.
250 * Function only implemented by streams operating in mmap mode.
253 * NOT_SUPPORTED on non mmap mode streams
259 * Called by the framework to stop a stream operating in mmap mode.
260 * Function only implemented by streams operating in mmap mode.
263 * NOT_SUPPORTED on non mmap mode streams
269 * Called by the framework to retrieve information on the mmap buffer used for audio
271 * Function only implemented by streams operating in mmap mode.
276 * NOT_SUPPORTED on non mmap mode streams
286 * Called by the framework to read current read/write position in the mmap buffer
[all …]
/hardware/google/gfxstream/guest/mesa/src/util/
Dos_memory_fd.c92 mapped_ptr = mmap(NULL, header.size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in os_import_memory_fd()
137 ptr = mmap(NULL, alloc_size, PROT_READ | PROT_WRITE, MAP_SHARED, mem_fd, 0); in os_malloc_aligned_fd()
Dos_mman.h65 mmap(addr, length, prot, flags, fd, offset)
/hardware/interfaces/media/bufferpool/aidl/default/tests/
Dallocator.cpp187 unsigned char *ptr = (unsigned char *)mmap( in Fill()
205 unsigned char *ptr = (unsigned char *)mmap( in Verify()
227 *mem = mmap( in MapMemoryForMutex()
/hardware/qcom/audio/legacy/libalsa-intf/
Darec.c518 char *mmap = "N"; in main() local
551 mmap = "M"; in main()
609 rc = rec_wav(mmap, device, rate, ch, filename); in main()
611 rc = rec_raw(mmap, device, rate, ch, filename); in main()
613 rc = rec_wav(mmap, device, rate, ch, "dummy"); in main()
Daplay.c565 char *mmap = "N"; in main() local
599 mmap = "M"; in main()
658 rc = play_wav(mmap, rate, ch, device, filename); in main()
660 rc = play_raw(mmap, rate, ch, device, filename); in main()
662 rc = play_wav(mmap, rate, ch, device, "dummy"); in main()
/hardware/qcom/display/msm8960/libqdutils/
DqdMetaData.cpp51 void *base = mmap(NULL, size, PROT_READ|PROT_WRITE, MAP_SHARED, in setMetaData()
/hardware/qcom/display/msm8084/libgralloc/
Dionalloc.cpp103 base = mmap(0, ionAllocData.len, PROT_READ|PROT_WRITE, in alloc_buffer()
149 base = mmap(0, size, PROT_READ| PROT_WRITE, in map_buffer()
/hardware/qcom/display/msm8909w_3100/libgralloc/
Dionalloc.cpp103 base = mmap(0, ionAllocData.len, PROT_READ|PROT_WRITE, in alloc_buffer()
153 base = mmap(0, size, PROT_READ| PROT_WRITE, in map_buffer()
/hardware/qcom/display/msm8994/libgralloc/
Dionalloc.cpp114 base = mmap(0, ionAllocData.len, PROT_READ|PROT_WRITE, in alloc_buffer()
164 base = mmap(0, size, PROT_READ| PROT_WRITE, in map_buffer()
/hardware/qcom/display/msm8996/libgralloc/
Dionalloc.cpp108 base = mmap(0, ionAllocData.len, PROT_READ|PROT_WRITE, in alloc_buffer()
158 base = mmap(0, size, PROT_READ| PROT_WRITE, in map_buffer()
/hardware/qcom/display/msm8226/libgralloc/
Dionalloc.cpp103 base = mmap(0, ionAllocData.len, PROT_READ|PROT_WRITE, in alloc_buffer()
151 base = mmap(0, size, PROT_READ| PROT_WRITE, in map_buffer()
/hardware/qcom/display/msm8960/libgralloc/
Dionalloc.cpp103 base = mmap(0, ionAllocData.len, PROT_READ|PROT_WRITE, in alloc_buffer()
153 base = mmap(0, size, PROT_READ| PROT_WRITE, in map_buffer()
/hardware/qcom/display/msm8909/libgralloc/
Dionalloc.cpp103 base = mmap(0, ionAllocData.len, PROT_READ|PROT_WRITE, in alloc_buffer()
153 base = mmap(0, size, PROT_READ| PROT_WRITE, in map_buffer()
/hardware/qcom/display/msm8226/libqdutils/
DqdMetaData.cpp53 void *base = mmap(NULL, size, PROT_READ|PROT_WRITE, MAP_SHARED, in setMetaData()
/hardware/qcom/display/msm8084/libqdutils/
DqdMetaData.cpp52 void *base = mmap(NULL, size, PROT_READ|PROT_WRITE, MAP_SHARED, in setMetaData()
/hardware/qcom/display/msm8994/libqdutils/
DqdMetaData.cpp53 void *base = mmap(NULL, size, PROT_READ|PROT_WRITE, MAP_SHARED, in setMetaData()

12345678