Home
last modified time | relevance | path

Searched defs:shm (Results 1 – 25 of 28) sorted by relevance

12

/external/adhd/cras/src/common/
Dcras_shm.h75 static inline uint8_t *cras_shm_buff_for_idx(const struct cras_audio_shm *shm, in cras_shm_buff_for_idx()
85 unsigned cras_shm_check_read_offset(const struct cras_audio_shm *shm, in cras_shm_check_read_offset()
98 unsigned cras_shm_check_write_offset(const struct cras_audio_shm *shm, in cras_shm_check_write_offset()
111 unsigned cras_shm_get_curr_read_frames(const struct cras_audio_shm *shm) in cras_shm_get_curr_read_frames()
129 uint8_t *cras_shm_get_read_buffer_base(const struct cras_audio_shm *shm) in cras_shm_get_read_buffer_base()
137 uint8_t *cras_shm_get_write_buffer_base(const struct cras_audio_shm *shm) in cras_shm_get_write_buffer_base()
146 uint8_t *cras_shm_get_writeable_frames(const struct cras_audio_shm *shm, in cras_shm_get_writeable_frames()
173 uint8_t *cras_shm_get_readable_frames(const struct cras_audio_shm *shm, in cras_shm_get_readable_frames()
206 static inline size_t cras_shm_get_bytes_queued(const struct cras_audio_shm *shm) in cras_shm_get_bytes_queued()
225 static inline int cras_shm_get_frames(const struct cras_audio_shm *shm) in cras_shm_get_frames()
[all …]
/external/perfetto/src/tracing/ipc/
Dposix_shared_memory_unittest.cc44 std::unique_ptr<SharedMemory> shm = in TEST() local
59 std::unique_ptr<PosixSharedMemory> shm = in TEST() local
75 std::unique_ptr<PosixSharedMemory> shm = in TEST() local
/external/adhd/cras/src/server/
Dcras_rstream.c24 struct cras_audio_shm *shm, in setup_shm()
418 struct cras_audio_shm *shm = cras_rstream_input_shm(rstream); in cras_rstream_update_input_write_pointer() local
427 struct cras_audio_shm *shm = cras_rstream_input_shm(rstream); in cras_rstream_update_output_read_pointer() local
442 const struct cras_audio_shm *shm = cras_rstream_output_shm(rstream); in cras_rstream_update_queued_frames() local
456 const struct cras_audio_shm *shm = cras_rstream_output_shm(rstream); in cras_rstream_get_volume_scaler() local
Ddev_stream.c302 struct cras_audio_shm *shm; in capture_copy_converted_to_stream() local
375 struct cras_audio_shm *shm; in dev_stream_capture() local
465 struct cras_audio_shm *shm; in dev_stream_capture_avail() local
625 struct cras_audio_shm *shm; in dev_stream_set_delay() local
651 struct cras_audio_shm *shm; in dev_stream_can_fetch() local
Dcras_rstream.h82 struct cras_audio_shm shm; member
310 const struct cras_audio_shm *shm = cras_rstream_input_shm(rstream); in cras_rstream_level() local
316 const struct cras_audio_shm *shm = cras_rstream_input_shm(rstream); in cras_rstream_input_level_met() local
Ddev_io.c115 struct cras_audio_shm *shm = in fetch_streams() local
224 struct cras_audio_shm *shm; in get_stream_limit() local
Daudio_thread.c469 struct cras_audio_shm *shm; in thread_drain_stream_ms_remaining() local
/external/adhd/cras/src/tests/
Ddev_io_stubs.cc26 ShmPtr shm(reinterpret_cast<cras_audio_shm_area*>(calloc(1, shm_size)), in create_shm() local
38 cras_audio_shm_area* shm) { in create_rstream()
70 ShmPtr shm = create_shm(cb_threshold); in create_stream() local
Dcras_client_unittest.cc52 void InitShm(struct cras_audio_shm* shm) { in InitShm()
60 void FreeShm(struct cras_audio_shm* shm) { in FreeShm()
123 struct cras_audio_shm *shm = &stream_.capture_shm; in TEST_F() local
Ddev_io_stubs.h39 ShmPtr shm; member
Daudio_thread_unittest_obsolete.cc131 struct cras_audio_shm *shm; in SetupRstream() local
559 struct cras_audio_shm *shm; in SetupRstream() local
1196 cras_audio_shm *shm; in add_rm_two_streams() local
1306 cras_audio_shm *shm; in TEST_F() local
1352 cras_audio_shm *shm; in TEST_F() local
1385 cras_audio_shm *shm; in TEST_F() local
1501 struct cras_audio_shm *shm; in TearDown() local
1511 struct cras_audio_shm *shm; in SetupRstream() local
1941 struct cras_audio_shm *shm; in dev_stream_mix() local
2170 struct cras_audio_shm *shm; in dev_stream_playback_frames() local
[all …]
/external/wayland/cursor/
Dwayland-cursor.c52 shm_pool_create(struct wl_shm *shm, int size) in shm_pool_create()
136 struct wl_shm *shm; member
389 wl_cursor_theme_load(const char *name, int size, struct wl_shm *shm) in wl_cursor_theme_load()
/external/libchrome/base/memory/
Dref_counted_memory.cc87 std::unique_ptr<SharedMemory> shm, in RefCountedSharedMemory()
Dref_counted_memory_unittest.cc78 auto shm = std::make_unique<SharedMemory>(); in TEST() local
/external/ltp/testcases/cve/
Dcve-2017-17053.c77 static struct shm_data *shm; variable
/external/libchrome/base/metrics/
Dfield_trial.cc1203 const SharedMemoryHandle& shm) { in SerializeSharedMemoryHandleMetadata()
1291 SharedMemoryHandle shm = DeserializeSharedMemoryHandleMetadata(switch_value); in CreateTrialsFromSwitchValue() local
1311 SharedMemoryHandle shm = in CreateTrialsFromDescriptor() local
1327 std::unique_ptr<SharedMemory> shm(new SharedMemory(shm_handle, true)); in CreateTrialsFromSharedMemoryHandle() local
1336 std::unique_ptr<SharedMemory> shm) { in CreateTrialsFromSharedMemory()
1382 std::unique_ptr<SharedMemory> shm(new SharedMemory()); in InstantiateFieldTrialAllocatorIfNeeded() local
Dfield_trial_unittest.cc1249 std::unique_ptr<SharedMemory> shm(new SharedMemory(handle, true)); in TEST() local
1287 std::unique_ptr<SharedMemory> shm(new SharedMemory(handle, true)); in TEST() local
1377 std::unique_ptr<SharedMemory> shm(new SharedMemory(handle, true)); in TEST() local
1399 std::unique_ptr<SharedMemory> shm(new SharedMemory()); in TEST() local
1431 std::unique_ptr<SharedMemory> shm(new SharedMemory()); in TEST() local
Dpersistent_histogram_allocator.cc875 std::unique_ptr<SharedMemory> shm( in CreateWithSharedMemoryHandle() local
/external/v4l2_codec2/vda/
Dv4l2_video_decode_accelerator.cc79 const std::unique_ptr<SharedMemoryRegion> shm; member
87 std::unique_ptr<SharedMemoryRegion> shm, in BitstreamBufferRef()
551 const auto& shm = decoder_current_bitstream_buffer_->shm; in DecodeBufferTask() local
563 const auto& shm = decoder_current_bitstream_buffer_->shm; in DecodeBufferTask() local
/external/ltp/testcases/kernel/controllers/memcg/functional/
Dmemcg_process.c220 static void shm(void) in shm() function
/external/libchrome/base/
Dfeature_list_unittest.cc489 std::unique_ptr<SharedMemory> shm(new SharedMemory()); in TEST_F() local
524 std::unique_ptr<SharedMemory> shm(new SharedMemory()); in TEST_F() local
/external/ltp/testcases/kernel/controllers/cpuset/cpuset_memory_test/
Dcpuset_memory_test.c244 void shm(int flag_allocated) in shm() function
/external/mesa3d/src/gallium/winsys/sw/xlib/
Dxlib_sw_winsys.c79 Bool shm; /** Using shared memory images? */ member
/external/libchrome/base/debug/
Dactivity_tracker.cc1308 std::unique_ptr<SharedMemory> shm, in CreateWithSharedMemory()
1329 std::unique_ptr<SharedMemory> shm( in CreateWithSharedMemoryHandle() local
/external/mesa3d/src/mesa/drivers/x11/
DxmesaP.h205 GLuint shm; /* X Shared Memory extension status: */ member

12