HomeSort by relevance Sort by last modified time
    Searched full:shared_memory (Results 1 - 25 of 243) sorted by null

1 2 3 4 5 6 7 8 910

  /external/chromium_org/gpu/command_buffer/service/
async_pixel_transfer_delegate.cc 7 #include "base/memory/shared_memory.h"
14 void* GetAddressImpl(base::SharedMemory* shared_memory,
20 DCHECK(shared_memory);
21 DCHECK(shared_memory->memory());
23 return static_cast<int8*>(shared_memory->memory()) + shm_data_offset;
54 return GetAddressImpl(mem_params.shared_memory,
64 return GetAddressImpl(safe_shared_memory->shared_memory(),
safe_shared_memory_pool.cc 35 base::SharedMemory* ScopedSafeSharedMemory::shared_memory() { function in class:gpu::ScopedSafeSharedMemory
52 AcquireSafeSharedMemory(base::SharedMemory* shared_memory,
54 DCHECK(shared_memory);
55 DCHECK(shared_memory->memory());
63 MemoryMap::iterator it = memory_.find(shared_memory->handle());
68 tracker.safe_shared_memory = DuplicateSharedMemory(shared_memory, shm_size);
71 memory_[shared_memory->handle()] = tracker;
116 SharedMemory* shared_memory, size_t size) {
119 if (!shared_memory->ShareToProcess(
transfer_buffer_manager.h 14 #include "base/memory/shared_memory.h"
24 base::SharedMemory* shared_memory,
38 base::SharedMemory* shared_memory,
transfer_buffer_manager.cc 31 delete it->second.shared_memory;
43 base::SharedMemory* shared_memory,
58 if (!shared_memory->ShareToProcess(base::GetCurrentProcessHandle(),
76 buffer.shared_memory = duped_shared_memory.release();
99 delete it->second.shared_memory;
  /external/chromium_org/gpu/command_buffer/common/
buffer.h 19 Buffer() : ptr(NULL), size(0), shared_memory(NULL) {
26 base::SharedMemory* shared_memory; member in struct:gpu::Buffer
  /external/chromium_org/content/browser/renderer_host/
software_frame_manager.cc 37 scoped_ptr<base::SharedMemory> shared_memory);
56 scoped_ptr<base::SharedMemory> shared_memory)
62 shared_memory_(shared_memory.Pass()) {}
89 scoped_ptr<base::SharedMemory> shared_memory(
93 scoped_ptr<base::SharedMemory> shared_memory(
98 if (base::SharedMemory::IsHandleValid(shared_memory->handle())) {
101 if (!shared_memory->Map(0)) {
108 if (shared_memory->mapped_size() < size_in_bytes) {
115 if (!shared_memory->Map(size_in_bytes)) {
130 shared_memory.Pass()))
    [all...]
gamepad_browser_message_filter.h 9 #include "base/memory/shared_memory.h"
  /external/chromium_org/content/browser/renderer_host/media/
audio_input_sync_writer.cc 9 #include "base/memory/shared_memory.h"
14 base::SharedMemory* shared_memory,
16 : shared_memory_(shared_memory),
20 DCHECK_EQ(shared_memory->requested_size() % shared_memory_segment_count, 0u);
22 shared_memory->requested_size() / shared_memory_segment_count;
video_capture_buffer_pool.cc 40 buffer->shared_memory.ShareToProcess(process_handle, &remote_handle);
41 *memory_size = buffer->shared_memory.requested_size();
57 *memory = buffer->shared_memory.memory();
58 *size = buffer->shared_memory.mapped_size();
125 if (buffer->shared_memory.requested_size() >= size) {
130 if (buffer->shared_memory.requested_size() > realloc_size) {
131 realloc_size = buffer->shared_memory.requested_size();
154 if (!buffer->shared_memory.CreateAndMapAnonymous(size))
  /external/chromium_org/chrome_frame/test/
dll_redirector_test.cc 7 #include "base/memory/shared_memory.h"
52 base::SharedMemory* shared_memory() { function in class:MockDllRedirector
143 base::SharedMemory* redirector_memory = redirector->shared_memory();
321 base::SharedMemory shared_memory(ASCIIToWide(kTestVersionBeaconName));
322 bool mutex_locked = shared_memory.Lock(kWaitTestTimeout, NULL);
326 EXPECT_FALSE(shared_memory.Open(kTestVersionBeaconName, false));
327 shared_memory.Close();
328 EXPECT_TRUE(shared_memory.Open(kTestVersionBeaconName, true));
329 shared_memory.Close();
332 shared_memory.Unlock()
    [all...]
  /external/chromium_org/ppapi/proxy/
serialized_handle.cc 7 #include "base/memory/shared_memory.h"
36 : type_(SHARED_MEMORY),
53 case SHARED_MEMORY:
72 case SHARED_MEMORY:
96 if (hdr.type == SHARED_MEMORY) {
115 case SHARED_MEMORY: {
serialized_handle.h 13 #include "base/memory/shared_memory.h"
29 enum Type { INVALID, SHARED_MEMORY, SOCKET, CHANNEL_HANDLE, FILE };
52 bool is_shmem() const { return type_ == SHARED_MEMORY; }
72 type_ = SHARED_MEMORY;
136 // These are valid if type == SHARED_MEMORY.
ppapi_command_buffer_proxy.cc 28 delete it->second.shared_memory;
29 it->second.shared_memory = NULL;
133 delete it->second.shared_memory;
160 ppapi::proxy::SerializedHandle::SHARED_MEMORY);
169 scoped_ptr<base::SharedMemory> shared_memory(
173 if (!shared_memory->memory()) {
174 if (!shared_memory->Map(handle.size())) {
180 buffer.ptr = shared_memory->memory();
182 buffer.shared_memory = shared_memory.release()
    [all...]
  /external/chromium_org/cc/resources/
texture_mailbox.h 11 #include "base/memory/shared_memory.h"
30 TextureMailbox(base::SharedMemory* shared_memory,
49 base::SharedMemory* shared_memory() const { return shared_memory_; } function in class:cc::TextureMailbox
  /external/chromium_org/cc/output/
software_frame_data.h 8 #include "base/memory/shared_memory.h"
  /external/chromium_org/content/child/
webblobregistry_impl.cc 10 #include "base/memory/shared_memory.h"
133 scoped_ptr<base::SharedMemory> shared_memory(
136 CHECK(shared_memory.get());
142 memcpy(shared_memory->memory(), data_ptr, chunk_size);
144 uuid_str, shared_memory->handle(), chunk_size));
179 scoped_ptr<base::SharedMemory> shared_memory(
182 CHECK(shared_memory.get());
188 memcpy(shared_memory->memory(), data_ptr, chunk_size);
190 url, shared_memory->handle(), chunk_size));
  /external/chromium_org/content/renderer/
gamepad_shared_memory_reader.h 9 #include "base/memory/shared_memory.h"
  /external/chromium_org/content/common/gpu/client/
gpu_memory_buffer_impl_shm.cc 28 scoped_ptr<base::SharedMemory> shared_memory) {
29 shared_memory_ = shared_memory.Pass();
command_buffer_proxy_impl.cc 10 #include "base/memory/shared_memory.h"
44 delete it->second.shared_memory;
45 it->second.shared_memory = NULL;
265 scoped_ptr<base::SharedMemory> shared_memory(
267 if (!shared_memory)
270 DCHECK(!shared_memory->memory());
271 if (!shared_memory->Map(size))
278 channel_->ShareToGpuProcess(shared_memory->handle());
291 buffer.ptr = shared_memory->memory();
293 buffer.shared_memory = shared_memory.release()
    [all...]
  /external/chromium_org/content/renderer/device_orientation/
device_motion_event_pump_unittest.cc 66 base::SharedMemory shared_memory; local
67 EXPECT_TRUE(shared_memory.CreateAndMapAnonymous(
70 static_cast<DeviceMotionHardwareBuffer*>(shared_memory.memory());
72 shared_memory.ShareToProcess(base::kNullProcessHandle, &handle);
123 base::SharedMemory shared_memory; local
124 EXPECT_TRUE(shared_memory.CreateAndMapAnonymous(
127 static_cast<DeviceMotionHardwareBuffer*>(shared_memory.memory());
129 shared_memory.ShareToProcess(base::kNullProcessHandle, &handle);
  /external/chromium_org/chrome/common/media/
webrtc_logging_messages.h 10 #include "base/memory/shared_memory.h"
  /external/chromium_org/components/visitedlink/renderer/
visitedlink_slave.h 9 #include "base/memory/shared_memory.h"
  /external/chromium_org/content/common/device_orientation/
device_motion_messages.h 8 #include "base/memory/shared_memory.h"
device_orientation_messages.h 8 #include "base/memory/shared_memory.h"
  /external/chromium_org/content/common/
gamepad_messages.h 7 #include "base/memory/shared_memory.h"

Completed in 688 milliseconds

1 2 3 4 5 6 7 8 910