Searched refs:shm_ (Results 1 – 6 of 6) sorted by relevance
/external/adhd/cras/src/tests/ |
D | shm_unittest.cc | 18 memset(&shm_, 0, sizeof(shm_)); in SetUp() 19 shm_.area = in SetUp() 21 calloc(1, sizeof(*shm_.area) + 2048)); in SetUp() 22 cras_shm_set_frame_bytes(&shm_, 4); in SetUp() 23 cras_shm_set_used_size(&shm_, 1024); in SetUp() 24 memcpy(&shm_.area->config, &shm_.config, sizeof(shm_.config)); in SetUp() 30 free(shm_.area); in TearDown() 33 struct cras_audio_shm shm_; member in __anonc1adabda0111::ShmTestSuite 40 buf_ = cras_shm_get_readable_frames(&shm_, 0, &frames_); in TEST_F() 42 cras_shm_buffer_read(&shm_, frames_); in TEST_F() [all …]
|
D | audio_thread_unittest_obsolete.cc | 94 shm_ = cras_rstream_input_shm(rstream_); in SetUp() 122 free(shm_->area); in TearDown() 223 struct cras_audio_shm *shm_; member in ReadStreamSuite 282 EXPECT_EQ(0, shm_->area->write_offset[0]); in TEST_F() 471 EXPECT_EQ(0, cras_shm_num_overruns(shm_)); in TEST_F() 480 EXPECT_EQ(0, cras_shm_num_overruns(shm_)); in TEST_F() 524 shm_ = cras_rstream_output_shm(rstream_); in SetUp() 551 free(shm_->area); in TearDown() 658 struct cras_audio_shm* shm_; member in WriteStreamSuite 718 shm_->area->write_offset[0] = cb_threshold_ * 4; in TEST_F() [all …]
|
/external/v4l2_codec2/vda/ |
D | shared_memory_region.cc | 15 : shm_(handle, read_only), in SharedMemoryRegion() 34 return shm_.MapAt(offset_ - alignment_size_, size_ + alignment_size_); in Map() 38 int8_t* addr = reinterpret_cast<int8_t*>(shm_.memory()); in memory()
|
D | shared_memory_region.h | 47 base::SharedMemory shm_;
|
/external/valgrind/auxprogs/ |
D | posixtestsuite-1.5.1-diff.txt | 112 runtests "$BASEDIR/shm_*" 143 + runtests "$BASEDIR/shm_*"
|
/external/libchrome/base/memory/ |
D | shared_memory.h | 301 SharedMemoryHandle shm_; variable
|