/external/qemu/distrib/sdl-1.2.15/src/audio/mme/ |
D | SDL_mmeaudio.c | 126 shm = mmeAllocMem(sizeof(*shm)); in MME_OpenAudio() 127 if ( shm == NULL ) { in MME_OpenAudio() 131 shm->sound = 0; in MME_OpenAudio() 132 shm->wFmt.wf.wFormatTag = WAVE_FORMAT_PCM; in MME_OpenAudio() 139 shm->wFmt.wBitsPerSample = 8; in MME_OpenAudio() 144 shm->wFmt.wBitsPerSample = 16; in MME_OpenAudio() 151 shm->wFmt.wf.nChannels = spec->channels; in MME_OpenAudio() 152 shm->wFmt.wf.nSamplesPerSec = spec->freq; in MME_OpenAudio() 153 shm->wFmt.wf.nBlockAlign = in MME_OpenAudio() 154 shm->wFmt.wf.nChannels * shm->wFmt.wBitsPerSample / 8; in MME_OpenAudio() [all …]
|
D | SDL_mmeaudio.h | 43 struct SharedMem *shm; member 47 #define shm (this->hidden->shm) macro
|
/external/qemu/distrib/sdl-1.2.15/src/video/picogui/ |
D | SDL_pgvideo.c | 211 this->hidden->shm = *pgMakeSHMBitmap(this->hidden->bitmap); in PG_SetVideoMode() 212 current->pixels = shmat(shmget(this->hidden->shm.shm_key, in PG_SetVideoMode() 213 this->hidden->shm.shm_length,0),NULL,0); in PG_SetVideoMode() 235 0,0,this->hidden->shm.width,this->hidden->shm.height,this->hidden->bitmap); in PG_SetVideoMode() 239 current->w = this->hidden->shm.width; in PG_SetVideoMode() 240 current->h = this->hidden->shm.height; in PG_SetVideoMode() 241 current->pitch = this->hidden->shm.pitch; in PG_SetVideoMode() 244 current->format->BitsPerPixel = this->hidden->shm.bpp; in PG_SetVideoMode() 245 current->format->BytesPerPixel = this->hidden->shm.bpp >> 3; in PG_SetVideoMode() 246 if (this->hidden->shm.bpp & 7) in PG_SetVideoMode() [all …]
|
D | SDL_pgvideo.h | 46 struct pgshmbitmap shm; /* shared memory info */ member
|
/external/chromium_org/content/renderer/pepper/ |
D | host_array_buffer_var.cc | 67 scoped_ptr<base::SharedMemory> shm( in CopyToNewShmem() local 70 if (!shm) in CopyToNewShmem() 73 shm->Map(ByteLength()); in CopyToNewShmem() 74 memcpy(shm->memory(), Map(), ByteLength()); in CopyToNewShmem() 75 shm->Unmap(); in CopyToNewShmem() 89 shm->handle(); in CopyToNewShmem() 91 shm->handle().fd; in CopyToNewShmem()
|
D | ppb_graphics_3d_impl.cc | 41 PP_Bool ShmToHandle(base::SharedMemory* shm, in ShmToHandle() argument 45 if (!shm || !shm_handle || !shm_size) in ShmToHandle() 48 *shm_handle = shm->handle().fd; in ShmToHandle() 50 *shm_handle = reinterpret_cast<int>(shm->handle()); in ShmToHandle()
|
/external/chromium_org/gpu/command_buffer/client/ |
D | mapped_memory.cc | 17 int32 shm_id, gpu::Buffer shm, CommandBufferHelper* helper) in MemoryChunk() argument 19 shm_(shm), in MemoryChunk() 20 allocator_(shm.size, helper, shm.ptr) { in MemoryChunk() 85 gpu::Buffer shm = cmd_buf->CreateTransferBuffer(chunk_size, &id); in Alloc() local 88 MemoryChunk* mc = new MemoryChunk(id, shm, helper_); in Alloc()
|
/external/chromium_org/third_party/npapi/npspy/extern/nspr/ |
D | prshm.h | 212 PRSharedMemory *shm, 238 PRSharedMemory *shm, 260 PRSharedMemory *shm
|
/external/chromium_org/content/common/gpu/media/ |
D | video_encode_accelerator_unittest.cc | 128 void FeedEncoderWithOutput(base::SharedMemory* shm); 291 base::SharedMemory* shm = new base::SharedMemory(); in RequireBitstreamBuffers() local 292 CHECK(shm->CreateAndMapAnonymous(output_buffer_size_)); in RequireBitstreamBuffers() 293 output_shms_.push_back(shm); in RequireBitstreamBuffers() 294 FeedEncoderWithOutput(shm); in RequireBitstreamBuffers() 309 base::SharedMemory* shm = it->second; in BitstreamBufferReady() local 317 h264_parser_.SetStream(static_cast<uint8*>(shm->memory()), payload_size); in BitstreamBufferReady() 382 static_cast<char*>(shm->memory()), in BitstreamBufferReady() 387 FeedEncoderWithOutput(shm); in BitstreamBufferReady() 464 void VEAClient::FeedEncoderWithOutput(base::SharedMemory* shm) { in FeedEncoderWithOutput() argument [all …]
|
D | gpu_video_encode_accelerator.cc | 161 scoped_ptr<base::SharedMemory> shm( in OnEncode() local 163 if (!shm->Map(buffer_size)) { in OnEncode() 170 uint8* shm_memory = reinterpret_cast<uint8*>(shm->memory()); in OnEncode() 188 base::Passed(&shm)))); in OnEncode() 238 scoped_ptr<base::SharedMemory> shm) { in EncodeFrameFinished() argument
|
D | android_video_encode_accelerator.cc | 388 scoped_ptr<base::SharedMemory> shm( in DequeueOutput() local 390 RETURN_ON_FAILURE(shm->Map(bitstream_buffer.size()), in DequeueOutput() 393 RETURN_ON_FAILURE(size <= shm->mapped_size(), in DequeueOutput() 395 << shm->mapped_size(), in DequeueOutput() 398 media_codec_->CopyFromOutputBuffer(buf_index, offset, shm->memory(), size); in DequeueOutput()
|
D | exynos_video_decode_accelerator.cc | 67 base::SharedMemory* shm, 73 const scoped_ptr<base::SharedMemory> shm; member 111 base::SharedMemory* shm, size_t size, int32 input_id) in BitstreamBufferRef() argument 114 shm(shm), in BitstreamBufferRef() 531 if (!bitstream_record->shm->Map(bitstream_buffer.size())) { in DecodeTask() 536 DVLOG(3) << "DecodeTask(): mapped at=" << bitstream_record->shm->memory(); in DecodeTask() 592 << ", addr=" << (decoder_current_bitstream_buffer_->shm ? in DecodeBufferTask() 593 decoder_current_bitstream_buffer_->shm->memory() : in DecodeBufferTask() 607 DCHECK_EQ(decoder_current_bitstream_buffer_->shm.get(), in DecodeBufferTask() 633 decoder_current_bitstream_buffer_->shm->memory()) + in DecodeBufferTask()
|
/external/chromium_org/chrome/renderer/pepper/ |
D | pepper_shared_memory_message_filter.cc | 49 scoped_ptr<base::SharedMemory> shm(content::RenderThread::Get()-> in OnHostMsgCreateSharedMemory() local 51 if (!shm.get()) in OnHostMsgCreateSharedMemory() 55 shm->ShareToProcess(base::GetCurrentProcessHandle(), &host_shm_handle); in OnHostMsgCreateSharedMemory()
|
/external/chromium_org/third_party/mesa/src/src/gallium/winsys/sw/xlib/ |
D | xlib_sw_winsys.c | 78 Bool shm; /** Using shared memory images? */ member 168 xlib_dt->shm = False; in alloc_shm_ximage() 185 xlib_dt->shm = False; in alloc_shm_ximage() 190 xlib_dt->shm = True; in alloc_shm_ximage() 200 if (xlib_dt->shm) { in alloc_ximage() 335 if (xlib_dt->shm) { in xlib_sw_display() 407 xlib_dt->shm = True; in xlib_displaytarget_create()
|
/external/mesa3d/src/gallium/winsys/sw/xlib/ |
D | xlib_sw_winsys.c | 78 Bool shm; /** Using shared memory images? */ member 168 xlib_dt->shm = False; in alloc_shm_ximage() 185 xlib_dt->shm = False; in alloc_shm_ximage() 190 xlib_dt->shm = True; in alloc_shm_ximage() 200 if (xlib_dt->shm) { in alloc_ximage() 335 if (xlib_dt->shm) { in xlib_sw_display() 407 xlib_dt->shm = True; in xlib_displaytarget_create()
|
/external/valgrind/unittest/ |
D | mac_tests.mm | 88 shm_unlink("apple.shm.notification_center"); 89 md = shm_open("apple.shm.notification_center", 0, 0); 93 shm_unlink("apple.shm.notification_center"); 97 shm_unlink("apple.shm.notification_center");
|
/external/chromium_org/content/browser/gpu/ |
D | browser_gpu_channel_host_factory.cc | 192 scoped_ptr<base::SharedMemory> shm(new base::SharedMemory()); in AllocateSharedMemory() local 193 if (!shm->CreateAnonymous(size)) in AllocateSharedMemory() 195 return shm.Pass(); in AllocateSharedMemory() 384 scoped_ptr<base::SharedMemory> shm(new base::SharedMemory()); in AllocateGpuMemoryBuffer() local 385 if (!shm->CreateAnonymous(size)) in AllocateGpuMemoryBuffer() 390 if (!buffer->InitializeFromSharedMemory(shm.Pass())) in AllocateGpuMemoryBuffer()
|
/external/chromium_org/content/renderer/media/ |
D | rtc_video_decoder.cc | 48 SHMBuffer(base::SharedMemory* shm, size_t size); 50 base::SharedMemory* const shm; member in content::RTCVideoDecoder::SHMBuffer 54 RTCVideoDecoder::SHMBuffer::SHMBuffer(base::SharedMemory* shm, size_t size) in SHMBuffer() argument 55 : shm(shm), size(size) {} in SHMBuffer() 57 RTCVideoDecoder::SHMBuffer::~SHMBuffer() { shm->Close(); } in ~SHMBuffer() 544 shm_buffer->shm->handle(), in RequestBufferDecode() 577 memcpy(shm_buffer->shm->memory(), input_image._buffer, input_image._length); in SaveToDecodeBuffers_Locked() 738 base::SharedMemory* shm = factories_->CreateSharedMemory(size_to_allocate); in CreateSHM() local 739 if (shm != NULL) { in CreateSHM() 743 scoped_ptr<SHMBuffer>(new SHMBuffer(shm, size_to_allocate))); in CreateSHM()
|
D | rtc_video_encoder.cc | 268 base::SharedMemory* shm = in RequireBitstreamBuffers() local 271 if (!shm) { in RequireBitstreamBuffers() 277 input_buffers_.push_back(shm); in RequireBitstreamBuffers() 282 base::SharedMemory* shm = in RequireBitstreamBuffers() local 284 if (!shm) { in RequireBitstreamBuffers() 290 output_buffers_.push_back(shm); in RequireBitstreamBuffers()
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/x11/ |
D | xm_buffer.c | 87 b->shm = 0; in alloc_back_shm_ximage() 98 b->shm = 0; in alloc_back_shm_ximage() 110 b->shm = 0; in alloc_back_shm_ximage() 129 b->shm = 0; in alloc_back_shm_ximage() 150 b->shm = 0; in alloc_back_shm_ximage() 178 if (b->shm) { in alloc_back_buffer() 193 if (b->shm == 0 || !alloc_back_shm_ximage(b, width, height)) { in alloc_back_buffer() 397 if (b->shm) { in xmesa_delete_framebuffer()
|
/external/mesa3d/src/mesa/drivers/x11/ |
D | xm_buffer.c | 87 b->shm = 0; in alloc_back_shm_ximage() 98 b->shm = 0; in alloc_back_shm_ximage() 110 b->shm = 0; in alloc_back_shm_ximage() 129 b->shm = 0; in alloc_back_shm_ximage() 150 b->shm = 0; in alloc_back_shm_ximage() 178 if (b->shm) { in alloc_back_buffer() 193 if (b->shm == 0 || !alloc_back_shm_ximage(b, width, height)) { in alloc_back_buffer() 397 if (b->shm) { in xmesa_delete_framebuffer()
|
/external/chromium_org/media/filters/ |
D | gpu_video_decoder.cc | 36 : shm(m), size(s) { in SHMBuffer() 277 memcpy(shm_buffer->shm->memory(), buffer->data(), size); in Decode() 279 next_bitstream_buffer_id_, shm_buffer->shm->handle(), size); in Decode() 529 base::SharedMemory* shm = factories_->CreateSharedMemory(size_to_allocate); in GetSHM() local 531 if (!shm) in GetSHM() 533 return new SHMBuffer(shm, size_to_allocate); in GetSHM() 571 available_shm_segments_[i]->shm->Close(); in ~GpuVideoDecoder() 578 it->second.shm_buffer->shm->Close(); in ~GpuVideoDecoder()
|
/external/sepolicy/ |
D | fs_use | 19 fs_use_trans shm u:object_r:shm:s0;
|
/external/chromium_org/third_party/sqlite/src/test/ |
D | wal2.test | 36 set blob [tvfs shm $file] 46 tvfs shm $file $blob 996 set blob [string range [tvfs shm $::filename] 0 16383] 997 set I [string range [tvfs shm $::filename] 16384 end] 1004 tvfs shm $::filename $blob 1011 set blob [string range [tvfs shm $::filename] 0 16383] 1013 tvfs shm $::filename $blob 1039 list [file exists test.db-wal] [file exists test.db-shm] 1054 list [file exists test.db-wal] [file exists test.db-shm] 1059 list [file exists test.db-wal] [file exists test.db-shm] [all …]
|
/external/libsepol/tests/policies/test-hooks/ |
D | cmp_policy.conf | 40 class shm 307 class shm
|