HomeSort by relevance Sort by last modified time
    Searched refs:shm (Results 1 - 25 of 162) sorted by null

1 2 3 4 5 6 7

  /external/ltp/testcases/open_posix_testsuite/conformance/definitions/sys/shm_h/
1-1-buildonly.c 10 * Test that the sys/shm.h header file exists.
13 #include <sys/shm.h>
12-2-buildonly.c 13 #include <sys/shm.h>
4-1-buildonly.c 13 #include <sys/shm.h>
7-1-buildonly.c 13 #include <sys/shm.h>
7-2-buildonly.c 13 #include <sys/shm.h>
7-3-buildonly.c 13 #include <sys/shm.h>
7-4-buildonly.c 13 #include <sys/shm.h>
2-1-buildonly.c 13 #include <sys/shm.h>
2-2-buildonly.c 13 #include <sys/shm.h>
3-1-buildonly.c 13 #include <sys/shm.h>
10-1-buildonly.c 15 #include <sys/shm.h>
12-3-buildonly.c 15 #include <sys/shm.h>
8-1-buildonly.c 15 #include <sys/shm.h>
9-1-buildonly.c 15 #include <sys/shm.h>
11-1-buildonly.c 15 #include <sys/shm.h>
5-1-buildonly.c 14 #include <sys/shm.h>
  /external/adhd/cras/src/common/
cras_shm.h 19 /* Configuration of the shm area.
29 /* Structure that is shared as shm between client and server.
64 /* Structure that holds the config for and a pointer to the audio shm area.
67 * area - Acutal shm region that is shared.
75 static inline uint8_t *cras_shm_buff_for_idx(const struct cras_audio_shm *shm,
80 return shm->area->samples + shm->config.used_size * idx;
85 unsigned cras_shm_check_read_offset(const struct cras_audio_shm *shm,
91 if (offset > shm->config.used_size)
98 unsigned cras_shm_check_write_offset(const struct cras_audio_shm *shm,
    [all...]
  /external/perfetto/src/tracing/ipc/
posix_shared_memory_unittest.cc 43 std::unique_ptr<SharedMemory> shm = local
45 void* const shm_start = shm->start();
46 const size_t shm_size = shm->size();
53 shm.reset();
58 std::unique_ptr<PosixSharedMemory> shm = local
60 int fd = shm->fd();
64 shm.reset();
74 std::unique_ptr<PosixSharedMemory> shm = local
76 void* const shm_start = shm->start();
77 const size_t shm_size = shm->size()
    [all...]
  /external/adhd/cras/src/tests/
cras_client_unittest.cc 52 void InitShm(struct cras_audio_shm* shm) {
53 shm->area = static_cast<cras_audio_shm_area*>(
54 calloc(1, sizeof(*shm->area)));
55 cras_shm_set_frame_bytes(shm, 4);
56 cras_shm_set_used_size(shm, shm_writable_frames_ * 4);
57 memcpy(&shm->area->config, &shm->config, sizeof(shm->config));
60 void FreeShm(struct cras_audio_shm* shm) {
61 if (shm->area)
    [all...]
  /external/adhd/cras/src/server/
cras_rstream.c 22 /* Configure the shm area for the stream. */
24 struct cras_audio_shm *shm,
30 if (shm->area != NULL) /* already setup */
46 /* mmap shm. */
47 shm->area = mmap(NULL, shm_info->length,
50 if (shm->area == (struct cras_audio_shm_area *)-1) {
55 cras_shm_set_volume_scaler(shm, 1.0);
57 cras_shm_set_frame_bytes(shm, frame_bytes);
58 shm->config.frame_bytes = frame_bytes;
59 cras_shm_set_used_size(shm, used_size)
314 struct cras_audio_shm *shm = cras_rstream_input_shm(rstream); local
323 struct cras_audio_shm *shm = cras_rstream_input_shm(rstream); local
338 const struct cras_audio_shm *shm = cras_rstream_output_shm(rstream); local
352 const struct cras_audio_shm *shm = cras_rstream_output_shm(rstream); local
    [all...]
cras_rstream.h 18 /* Holds identifiers for an shm segment.
19 * shm_fd - File descriptor shared with client to access shm.
20 * shm_name - Name of the shm area.
21 * length - Size of the shm region.
54 * shm - shared memory
63 * queued_frames - Cached value of the number of queued frames in shm.
79 struct cras_audio_shm shm; member in struct:cras_rstream
204 /* Gets the shm key used to find the outputshm region. */
210 /* Gets the shm key used to find the input shm region. *
286 const struct cras_audio_shm *shm = cras_rstream_input_shm(rstream); local
292 const struct cras_audio_shm *shm = cras_rstream_input_shm(rstream); local
    [all...]
  /external/ltp/testcases/kernel/syscalls/ipc/lib/
ipcshm.h 30 #include <sys/shm.h>
  /external/mesa3d/src/mesa/drivers/x11/
glxheader.h 35 # ifdef USE_XSHM /* was SHM */
37 # include <sys/shm.h>
  /external/valgrind/memcheck/tests/darwin/
scalar_nocancel.c 6 #include <sys/shm.h>
  /device/google/cuttlefish_common/common/frontend/socket_forward_proxy/
main.cpp 128 LOG(INFO) << "Socket to shm exiting";
143 LOG(INFO) << "Shm to socket exiting";
146 // One thread for reading from shm and writing into a socket.
147 // One thread for reading from a socket and writing into shm.
170 [[noreturn]] void host_impl(SocketForwardRegionView* shm,
176 std::thread(host_impl, shm, ports, index + 1).detach();
189 auto conn = shm->OpenConnection(guest_port);
190 LOG(INFO) << "shm connection opened";
195 [[noreturn]] void host(SocketForwardRegionView* shm,
198 host_impl(shm, ports, 0)
241 auto shm = SocketForwardRegionView::GetInstance( local
266 auto shm = GetShm(); local
    [all...]

Completed in 373 milliseconds

1 2 3 4 5 6 7