shared_memory     303 base/memory/shared_memory.h   explicit SharedMemoryAutoLockDeprecated(SharedMemory* shared_memory)
shared_memory     304 base/memory/shared_memory.h       : shared_memory_(shared_memory) {
shared_memory     517 base/memory/shared_memory_unittest.cc   SharedMemory shared_memory;
shared_memory     522 base/memory/shared_memory_unittest.cc   EXPECT_TRUE(shared_memory.Create(options));
shared_memory     523 base/memory/shared_memory_unittest.cc   EXPECT_TRUE(shared_memory.Map(shared_memory.requested_size()));
shared_memory     525 base/memory/shared_memory_unittest.cc   EXPECT_EQ(0, mprotect(shared_memory.memory(), shared_memory.requested_size(),
shared_memory     550 base/memory/shared_memory_unittest.cc   SharedMemory shared_memory;
shared_memory     556 base/memory/shared_memory_unittest.cc   EXPECT_TRUE(shared_memory.Create(options));
shared_memory     558 base/memory/shared_memory_unittest.cc   int shm_fd = shared_memory.handle().fd;
shared_memory     571 base/memory/shared_memory_unittest.cc   SharedMemory shared_memory;
shared_memory     580 base/memory/shared_memory_unittest.cc   EXPECT_TRUE(shared_memory.Create(options));
shared_memory     582 base/memory/shared_memory_unittest.cc   EXPECT_TRUE(shared_memory.Delete(shared_mem_name));
shared_memory     584 base/memory/shared_memory_unittest.cc   int shm_fd = shared_memory.handle().fd;
shared_memory     602 base/memory/shared_memory_unittest.cc   SharedMemory shared_memory;
shared_memory     603 base/memory/shared_memory_unittest.cc   ASSERT_TRUE(shared_memory.CreateAndMapAnonymous(kDataSize));
shared_memory     605 base/memory/shared_memory_unittest.cc       shared_memory.memory()) & (SharedMemory::MAP_MINIMUM_ALIGNMENT - 1));
shared_memory     606 base/memory/shared_memory_unittest.cc   shared_memory.Close();
shared_memory     143 base/metrics/stats_table.cc   explicit Internal(SharedMemory* shared_memory)
shared_memory     144 base/metrics/stats_table.cc       : shared_memory_(shared_memory),
shared_memory     181 base/metrics/stats_table.cc   scoped_ptr<SharedMemory> shared_memory(CreateSharedMemory(name, size));
shared_memory     182 base/metrics/stats_table.cc   if (!shared_memory.get())
shared_memory     184 base/metrics/stats_table.cc   if (!shared_memory->Map(size))
shared_memory     186 base/metrics/stats_table.cc   void* memory = shared_memory->memory();
shared_memory     188 base/metrics/stats_table.cc   scoped_ptr<Internal> internal(new Internal(shared_memory.release()));
shared_memory     214 base/metrics/stats_table.cc   scoped_ptr<SharedMemory> shared_memory(new SharedMemory());
shared_memory     215 base/metrics/stats_table.cc   if (!shared_memory->CreateAnonymous(size))
shared_memory     217 base/metrics/stats_table.cc   return shared_memory.release();
shared_memory     219 base/metrics/stats_table.cc   scoped_ptr<SharedMemory> shared_memory(new SharedMemory());
shared_memory     220 base/metrics/stats_table.cc   if (!shared_memory->CreateNamedDeprecated(name, true, size))
shared_memory     222 base/metrics/stats_table.cc   return shared_memory.release();
shared_memory     349 base/metrics/stats_table.cc     SharedMemoryAutoLockDeprecated lock(internal_->shared_memory());
shared_memory     572 base/metrics/stats_table.cc     SharedMemoryAutoLockDeprecated lock(internal_->shared_memory());
shared_memory     609 base/metrics/stats_table.cc   return internal_->shared_memory()->handle();
shared_memory     123 cc/layers/texture_layer_impl.cc             static_cast<uint8*>(texture_mailbox_.shared_memory()->memory());
shared_memory     108 cc/layers/texture_layer_unittest.cc                void(base::SharedMemory* shared_memory,
shared_memory     772 cc/resources/resource_provider.cc     base::SharedMemory* shared_memory = mailbox.shared_memory();
shared_memory     773 cc/resources/resource_provider.cc     DCHECK(shared_memory->memory());
shared_memory     774 cc/resources/resource_provider.cc     uint8_t* pixels = reinterpret_cast<uint8_t*>(shared_memory->memory());
shared_memory     779 cc/resources/resource_provider.cc           shared_bitmap_manager_->GetBitmapForSharedMemory(shared_memory);
shared_memory     862 cc/resources/resource_provider.cc       base::SharedMemory* shared_memory = resource->mailbox.shared_memory();
shared_memory     863 cc/resources/resource_provider.cc       if (resource->pixels && shared_memory) {
shared_memory     864 cc/resources/resource_provider.cc         DCHECK(shared_memory->memory() == resource->pixels);
shared_memory      57 cc/resources/resource_provider_unittest.cc     scoped_ptr<base::SharedMemory> shared_memory,
shared_memory      71 cc/resources/resource_provider_unittest.cc   scoped_ptr<base::SharedMemory> shared_memory(new base::SharedMemory);
shared_memory      72 cc/resources/resource_provider_unittest.cc   CHECK(shared_memory->CreateAndMapAnonymous(4 * size.GetArea()));
shared_memory      73 cc/resources/resource_provider_unittest.cc   uint32_t* pixels = reinterpret_cast<uint32_t*>(shared_memory->memory());
shared_memory      76 cc/resources/resource_provider_unittest.cc   return shared_memory.Pass();
shared_memory     446 cc/resources/resource_provider_unittest.cc       scoped_ptr<base::SharedMemory> shared_memory;
shared_memory     449 cc/resources/resource_provider_unittest.cc                                                    base::Passed(&shared_memory),
shared_memory     458 cc/resources/resource_provider_unittest.cc       scoped_ptr<base::SharedMemory> shared_memory(
shared_memory     461 cc/resources/resource_provider_unittest.cc       base::SharedMemory* shared_memory_ptr = shared_memory.get();
shared_memory     464 cc/resources/resource_provider_unittest.cc                                                    base::Passed(&shared_memory),
shared_memory     906 cc/resources/resource_provider_unittest.cc   scoped_ptr<base::SharedMemory> shared_memory(new base::SharedMemory());
shared_memory     907 cc/resources/resource_provider_unittest.cc   shared_memory->CreateAndMapAnonymous(1);
shared_memory     908 cc/resources/resource_provider_unittest.cc   base::SharedMemory* shared_memory_ptr = shared_memory.get();
shared_memory     913 cc/resources/resource_provider_unittest.cc               &SharedMemoryReleaseCallback, base::Passed(&shared_memory))));
shared_memory    2393 cc/resources/resource_provider_unittest.cc   scoped_ptr<base::SharedMemory> shared_memory(
shared_memory    2407 cc/resources/resource_provider_unittest.cc   TextureMailbox mailbox(shared_memory.get(), size);
shared_memory      26 cc/resources/texture_mailbox.cc TextureMailbox::TextureMailbox(base::SharedMemory* shared_memory,
shared_memory      28 cc/resources/texture_mailbox.cc     : shared_memory_(shared_memory),
shared_memory      26 cc/resources/texture_mailbox.h   TextureMailbox(base::SharedMemory* shared_memory, const gfx::Size& size);
shared_memory      47 cc/resources/texture_mailbox.h   base::SharedMemory* shared_memory() const { return shared_memory_; }
shared_memory     288 chrome/browser/extensions/user_script_master.cc   base::SharedMemory shared_memory;
shared_memory     290 chrome/browser/extensions/user_script_master.cc   if (!shared_memory.CreateAndMapAnonymous(pickle.size()))
shared_memory     294 chrome/browser/extensions/user_script_master.cc   memcpy(shared_memory.memory(), pickle.data(), pickle.size());
shared_memory     297 chrome/browser/extensions/user_script_master.cc   if (!shared_memory.ShareReadOnlyToProcess(base::GetCurrentProcessHandle(),
shared_memory     442 chrome/browser/extensions/user_script_master.cc                                   base::SharedMemory* shared_memory) {
shared_memory     459 chrome/browser/extensions/user_script_master.cc   if (!shared_memory->ShareToProcess(handle, &handle_for_process))
shared_memory     139 chrome/browser/extensions/user_script_master.h                   base::SharedMemory* shared_memory);
shared_memory     505 chrome/browser/performance_monitor/performance_monitor.cc         size_t shared_memory = 0;
shared_memory     506 chrome/browser/performance_monitor/performance_monitor.cc         process_metrics.GetAverageMemoryBytes(&private_memory, &shared_memory);
shared_memory     508 chrome/browser/performance_monitor/performance_monitor.cc         shared_memory_sum += shared_memory;
shared_memory     118 chrome/renderer/extensions/user_script_slave.cc bool UserScriptSlave::UpdateScripts(base::SharedMemoryHandle shared_memory) {
shared_memory     125 chrome/renderer/extensions/user_script_slave.cc   shared_memory_.reset(new base::SharedMemory(shared_memory, true));
shared_memory      46 chrome/renderer/extensions/user_script_slave.h   bool UpdateScripts(base::SharedMemoryHandle shared_memory);
shared_memory     188 components/visitedlink/browser/visitedlink_event_listener.cc       if (!master_->shared_memory())
shared_memory     194 components/visitedlink/browser/visitedlink_event_listener.cc           master_->shared_memory());
shared_memory      95 components/visitedlink/browser/visitedlink_master.h   base::SharedMemory* shared_memory() { return shared_memory_; }
shared_memory     182 components/visitedlink/test/visitedlink_unittest.cc     master_->shared_memory()->ShareToProcess(
shared_memory     315 components/visitedlink/test/visitedlink_unittest.cc     master_->shared_memory()->ShareToProcess(
shared_memory     362 components/visitedlink/test/visitedlink_unittest.cc   master_->shared_memory()->ShareToProcess(
shared_memory     231 content/browser/device_orientation/data_fetcher_shared_memory_base.cc   if (base::SharedMemory* shared_memory = GetSharedMemory(consumer_type))
shared_memory     232 content/browser/device_orientation/data_fetcher_shared_memory_base.cc     return shared_memory->memory();
shared_memory     556 content/browser/fileapi/fileapi_message_filter.cc   base::SharedMemory shared_memory(handle, true, PeerHandle());
shared_memory     558 content/browser/fileapi/fileapi_message_filter.cc   base::SharedMemory shared_memory(handle, true);
shared_memory     560 content/browser/fileapi/fileapi_message_filter.cc   if (!shared_memory.Map(buffer_size)) {
shared_memory     566 content/browser/fileapi/fileapi_message_filter.cc   item.SetToSharedBytes(static_cast<char*>(shared_memory.memory()),
shared_memory     643 content/browser/fileapi/fileapi_message_filter.cc   base::SharedMemory shared_memory(handle, true, PeerHandle());
shared_memory     645 content/browser/fileapi/fileapi_message_filter.cc   base::SharedMemory shared_memory(handle, true);
shared_memory     647 content/browser/fileapi/fileapi_message_filter.cc   if (!shared_memory.Map(buffer_size)) {
shared_memory     656 content/browser/fileapi/fileapi_message_filter.cc   stream->AddData(static_cast<char*>(shared_memory.memory()), buffer_size);
shared_memory     255 content/browser/fileapi/fileapi_message_filter_unittest.cc   scoped_ptr<base::SharedMemory> shared_memory(new base::SharedMemory);
shared_memory     256 content/browser/fileapi/fileapi_message_filter_unittest.cc   ASSERT_TRUE(shared_memory->CreateAndMapAnonymous(kFakeData.size()));
shared_memory     257 content/browser/fileapi/fileapi_message_filter_unittest.cc   memcpy(shared_memory->memory(), kFakeData.data(), kFakeData.size());
shared_memory     259 content/browser/fileapi/fileapi_message_filter_unittest.cc       kUrl, shared_memory->handle(), kFakeData.size());
shared_memory     203 content/browser/frame_host/render_widget_host_view_guest.cc     base::SharedMemory shared_memory(frame_data->handle, true,
shared_memory     206 content/browser/frame_host/render_widget_host_view_guest.cc     base::SharedMemory shared_memory(frame_data->handle, true);
shared_memory     214 content/browser/frame_host/render_widget_host_view_guest.cc     shared_memory.GiveToProcess(embedder_pid, &frame_data->handle);
shared_memory      89 content/browser/gamepad/gamepad_provider_unittest.cc   scoped_ptr<base::SharedMemory> shared_memory(
shared_memory      91 content/browser/gamepad/gamepad_provider_unittest.cc   EXPECT_TRUE(shared_memory->Map(sizeof(GamepadHardwareBuffer)));
shared_memory      92 content/browser/gamepad/gamepad_provider_unittest.cc   void* mem = shared_memory->memory();
shared_memory      69 content/browser/media/capture/desktop_capture_device_unittest.cc             frame->shared_memory()),
shared_memory      35 content/browser/renderer_host/media/audio_input_renderer_host.cc   base::SharedMemory shared_memory;
shared_memory     143 content/browser/renderer_host/media/audio_input_renderer_host.cc   if (!entry->shared_memory.ShareToProcess(PeerHandle(),
shared_memory     170 content/browser/renderer_host/media/audio_input_renderer_host.cc       entry->shared_memory.requested_size(),
shared_memory     266 content/browser/renderer_host/media/audio_input_renderer_host.cc       !entry->shared_memory.CreateAndMapAnonymous(size.ValueOrDie())) {
shared_memory     273 content/browser/renderer_host/media/audio_input_renderer_host.cc       new AudioInputSyncWriter(&entry->shared_memory,
shared_memory      17 content/browser/renderer_host/media/audio_input_sync_writer.cc     base::SharedMemory* shared_memory,
shared_memory      19 content/browser/renderer_host/media/audio_input_sync_writer.cc     : shared_memory_(shared_memory),
shared_memory      24 content/browser/renderer_host/media/audio_input_sync_writer.cc   DCHECK_EQ(shared_memory->requested_size() % shared_memory_segment_count, 0u);
shared_memory      26 content/browser/renderer_host/media/audio_input_sync_writer.cc       shared_memory->requested_size() / shared_memory_segment_count;
shared_memory      28 content/browser/renderer_host/media/audio_input_sync_writer.h   explicit AudioInputSyncWriter(base::SharedMemory* shared_memory,
shared_memory      40 content/browser/renderer_host/media/audio_renderer_host.cc              scoped_ptr<base::SharedMemory> shared_memory,
shared_memory      97 content/browser/renderer_host/media/audio_renderer_host.cc     scoped_ptr<base::SharedMemory> shared_memory,
shared_memory     103 content/browser/renderer_host/media/audio_renderer_host.cc       shared_memory_(shared_memory.Pass()),
shared_memory     224 content/browser/renderer_host/media/audio_renderer_host.cc   if (!entry->shared_memory()->ShareToProcess(PeerHandle(),
shared_memory     252 content/browser/renderer_host/media/audio_renderer_host.cc       entry->shared_memory()->requested_size()));
shared_memory     349 content/browser/renderer_host/media/audio_renderer_host.cc   scoped_ptr<base::SharedMemory> shared_memory(new base::SharedMemory());
shared_memory     350 content/browser/renderer_host/media/audio_renderer_host.cc   if (!shared_memory->CreateAndMapAnonymous(shared_memory_size)) {
shared_memory     356 content/browser/renderer_host/media/audio_renderer_host.cc       new AudioSyncReader(shared_memory.get(), params));
shared_memory     374 content/browser/renderer_host/media/audio_renderer_host.cc       shared_memory.Pass(),
shared_memory      20 content/browser/renderer_host/media/audio_sync_reader.cc AudioSyncReader::AudioSyncReader(base::SharedMemory* shared_memory,
shared_memory      22 content/browser/renderer_host/media/audio_sync_reader.cc     : shared_memory_(shared_memory),
shared_memory      36 content/browser/renderer_host/media/audio_sync_reader.cc   output_bus_ = AudioBus::WrapMemory(params, shared_memory->memory());
shared_memory      31 content/browser/renderer_host/media/audio_sync_reader.h   AudioSyncReader(base::SharedMemory* shared_memory,
shared_memory      40 content/browser/renderer_host/media/video_capture_buffer_pool.cc   buffer->shared_memory.ShareToProcess(process_handle, &remote_handle);
shared_memory      41 content/browser/renderer_host/media/video_capture_buffer_pool.cc   *memory_size = buffer->shared_memory.requested_size();
shared_memory      57 content/browser/renderer_host/media/video_capture_buffer_pool.cc   *memory = buffer->shared_memory.memory();
shared_memory      58 content/browser/renderer_host/media/video_capture_buffer_pool.cc   *size = buffer->shared_memory.mapped_size();
shared_memory     125 content/browser/renderer_host/media/video_capture_buffer_pool.cc       if (buffer->shared_memory.requested_size() >= size) {
shared_memory     130 content/browser/renderer_host/media/video_capture_buffer_pool.cc       if (buffer->shared_memory.requested_size() > realloc_size) {
shared_memory     131 content/browser/renderer_host/media/video_capture_buffer_pool.cc         realloc_size = buffer->shared_memory.requested_size();
shared_memory     154 content/browser/renderer_host/media/video_capture_buffer_pool.cc     if (!buffer->shared_memory.CreateAndMapAnonymous(size))
shared_memory     103 content/browser/renderer_host/media/video_capture_buffer_pool.h     base::SharedMemory shared_memory;
shared_memory     185 content/browser/renderer_host/pepper/pepper_gamepad_host_unittest.cc   base::SharedMemory shared_memory(reply_handle, true);
shared_memory     186 content/browser/renderer_host/pepper/pepper_gamepad_host_unittest.cc   EXPECT_TRUE(shared_memory.Map(sizeof(ppapi::ContentGamepadHardwareBuffer)));
shared_memory     189 content/browser/renderer_host/pepper/pepper_gamepad_host_unittest.cc           shared_memory.memory());
shared_memory     361 content/browser/renderer_host/render_widget_helper.cc   scoped_ptr<base::SharedMemory> shared_memory(new base::SharedMemory());
shared_memory     362 content/browser/renderer_host/render_widget_helper.cc   if (!shared_memory->CreateAnonymous(size)) {
shared_memory     368 content/browser/renderer_host/render_widget_helper.cc   shared_memory->GiveToProcess(0 /* pid, not needed */, result);
shared_memory     373 content/browser/renderer_host/render_widget_helper.cc     allocated_dibs_[shared_memory->id()] = dup(result->fd);
shared_memory      38 content/browser/renderer_host/software_frame_manager.cc     scoped_ptr<base::SharedMemory> shared_memory);
shared_memory      57 content/browser/renderer_host/software_frame_manager.cc     scoped_ptr<base::SharedMemory> shared_memory)
shared_memory      63 content/browser/renderer_host/software_frame_manager.cc       shared_memory_(shared_memory.Pass()) {}
shared_memory      90 content/browser/renderer_host/software_frame_manager.cc   scoped_ptr<base::SharedMemory> shared_memory(
shared_memory      94 content/browser/renderer_host/software_frame_manager.cc   scoped_ptr<base::SharedMemory> shared_memory(
shared_memory      99 content/browser/renderer_host/software_frame_manager.cc   if (base::SharedMemory::IsHandleValid(shared_memory->handle())) {
shared_memory     104 content/browser/renderer_host/software_frame_manager.cc     if (!shared_memory->Map(0)) {
shared_memory     111 content/browser/renderer_host/software_frame_manager.cc     if (shared_memory->mapped_size() < size_in_bytes) {
shared_memory     118 content/browser/renderer_host/software_frame_manager.cc     if (!shared_memory->Map(size_in_bytes)) {
shared_memory     133 content/browser/renderer_host/software_frame_manager.cc       shared_memory.Pass()));
shared_memory     133 content/child/webblobregistry_impl.cc     scoped_ptr<base::SharedMemory> shared_memory(
shared_memory     136 content/child/webblobregistry_impl.cc     CHECK(shared_memory.get());
shared_memory     142 content/child/webblobregistry_impl.cc       memcpy(shared_memory->memory(), data_ptr, chunk_size);
shared_memory     144 content/child/webblobregistry_impl.cc           uuid_str, shared_memory->handle(), chunk_size));
shared_memory     179 content/child/webblobregistry_impl.cc     scoped_ptr<base::SharedMemory> shared_memory(
shared_memory     182 content/child/webblobregistry_impl.cc     CHECK(shared_memory.get());
shared_memory     188 content/child/webblobregistry_impl.cc       memcpy(shared_memory->memory(), data_ptr, chunk_size);
shared_memory     190 content/child/webblobregistry_impl.cc           url, shared_memory->handle(), chunk_size));
shared_memory     265 content/common/gpu/client/command_buffer_proxy_impl.cc   scoped_ptr<base::SharedMemory> shared_memory(
shared_memory     267 content/common/gpu/client/command_buffer_proxy_impl.cc   if (!shared_memory)
shared_memory     270 content/common/gpu/client/command_buffer_proxy_impl.cc   DCHECK(!shared_memory->memory());
shared_memory     271 content/common/gpu/client/command_buffer_proxy_impl.cc   if (!shared_memory->Map(size))
shared_memory     278 content/common/gpu/client/command_buffer_proxy_impl.cc       channel_->ShareToGpuProcess(shared_memory->handle());
shared_memory     291 content/common/gpu/client/command_buffer_proxy_impl.cc       gpu::MakeBufferFromSharedMemory(shared_memory.Pass(), size));
shared_memory      26 content/common/gpu/client/gpu_memory_buffer_impl_shm.cc     scoped_ptr<base::SharedMemory> shared_memory) {
shared_memory      27 content/common/gpu/client/gpu_memory_buffer_impl_shm.cc   shared_memory_ = shared_memory.Pass();
shared_memory      20 content/common/gpu/client/gpu_memory_buffer_impl_shm.h   bool InitializeFromSharedMemory(scoped_ptr<base::SharedMemory> shared_memory);
shared_memory     703 content/common/gpu/gpu_command_buffer_stub.cc   scoped_ptr<base::SharedMemory> shared_memory(
shared_memory     705 content/common/gpu/gpu_command_buffer_stub.cc   if (!shared_memory->Map(size)) {
shared_memory     712 content/common/gpu/gpu_command_buffer_stub.cc         id, gpu::MakeBackingFromSharedMemory(shared_memory.Pass(), size));
shared_memory     120 content/common/host_shared_bitmap_manager.cc   scoped_ptr<base::SharedMemory> shared_memory(new base::SharedMemory);
shared_memory     121 content/common/host_shared_bitmap_manager.cc   if (!shared_memory->CreateAndMapAnonymous(buffer_size)) {
shared_memory     128 content/common/host_shared_bitmap_manager.cc       new BitmapData(process_handle, shared_memory->handle(), buffer_size));
shared_memory     129 content/common/host_shared_bitmap_manager.cc   data->memory = shared_memory.Pass();
shared_memory     222 content/renderer/child_frame_compositing_helper.cc     delete mailbox.shared_memory;
shared_memory     223 content/renderer/child_frame_compositing_helper.cc     mailbox.shared_memory = NULL;
shared_memory     345 content/renderer/child_frame_compositing_helper.cc   bool current_mailbox_valid = is_software_frame ? mailbox.shared_memory != NULL
shared_memory     364 content/renderer/child_frame_compositing_helper.cc       texture_mailbox = cc::TextureMailbox(mailbox.shared_memory, mailbox.size);
shared_memory     424 content/renderer/child_frame_compositing_helper.cc     scoped_ptr<base::SharedMemory> shared_memory(
shared_memory     427 content/renderer/child_frame_compositing_helper.cc     if (!shared_memory->Map(size_in_bytes)) {
shared_memory     436 content/renderer/child_frame_compositing_helper.cc     swap_info.shared_memory = shared_memory.release();
shared_memory     113 content/renderer/child_frame_compositing_helper.h     base::SharedMemory* shared_memory;
shared_memory     206 content/renderer/gpu/compositor_software_output_device.cc            buffer->shared_memory()->mapped_size());
shared_memory      52 content/renderer/gpu/compositor_software_output_device.h     base::SharedMemory* shared_memory() const { return mem_.get(); }
shared_memory      30 content/renderer/pepper/pepper_audio_input_host.cc     const base::SharedMemory& shared_memory) {
shared_memory      32 content/renderer/pepper/pepper_audio_input_host.cc   return shared_memory.handle().fd;
shared_memory      34 content/renderer/pepper/pepper_audio_input_host.cc   return shared_memory.handle();
shared_memory     186 content/renderer/pepper/pepper_audio_input_host.cc     const base::SharedMemory& shared_memory,
shared_memory     195 content/renderer/pepper/pepper_audio_input_host.cc       ConvertSharedMemoryHandle(shared_memory), false);
shared_memory      58 content/renderer/pepper/pepper_audio_input_host.h       const base::SharedMemory& shared_memory,
shared_memory      26 content/renderer/pepper/ppb_buffer_impl.h   base::SharedMemory* shared_memory() const { return shared_memory_.get(); }
shared_memory     166 content/renderer/pepper/ppb_video_decoder_impl.cc       buffer->shared_memory()->handle(),
shared_memory      76 gpu/command_buffer/client/client_test_helper.cc     scoped_ptr<base::SharedMemory> shared_memory(new base::SharedMemory());
shared_memory      77 gpu/command_buffer/client/client_test_helper.cc     shared_memory->CreateAndMapAnonymous(size);
shared_memory      79 gpu/command_buffer/client/client_test_helper.cc         MakeBufferFromSharedMemory(shared_memory.Pass(), size);
shared_memory     103 gpu/command_buffer/client/mapped_memory_unittest.cc     scoped_ptr<base::SharedMemory> shared_memory(new base::SharedMemory());
shared_memory     104 gpu/command_buffer/client/mapped_memory_unittest.cc     shared_memory->CreateAndMapAnonymous(kBufferSize);
shared_memory     105 gpu/command_buffer/client/mapped_memory_unittest.cc     buffer_ = MakeBufferFromSharedMemory(shared_memory.Pass(), kBufferSize);
shared_memory      13 gpu/command_buffer/common/buffer.cc     scoped_ptr<base::SharedMemory> shared_memory,
shared_memory      15 gpu/command_buffer/common/buffer.cc     : shared_memory_(shared_memory.Pass()), size_(size) {}
shared_memory      29 gpu/command_buffer/common/buffer.h   SharedMemoryBufferBacking(scoped_ptr<base::SharedMemory> shared_memory,
shared_memory      34 gpu/command_buffer/common/buffer.h   base::SharedMemory* shared_memory() { return shared_memory_.get(); }
shared_memory      66 gpu/command_buffer/common/buffer.h     scoped_ptr<base::SharedMemory> shared_memory,
shared_memory      69 gpu/command_buffer/common/buffer.h       new SharedMemoryBufferBacking(shared_memory.Pass(), size));
shared_memory      73 gpu/command_buffer/common/buffer.h     scoped_ptr<base::SharedMemory> shared_memory,
shared_memory      75 gpu/command_buffer/common/buffer.h   return new Buffer(MakeBackingFromSharedMemory(shared_memory.Pass(), size));
shared_memory     126 gpu/command_buffer/service/command_buffer_service.cc   scoped_ptr<SharedMemory> shared_memory(new SharedMemory());
shared_memory     127 gpu/command_buffer/service/command_buffer_service.cc   if (!shared_memory->CreateAndMapAnonymous(size))
shared_memory     134 gpu/command_buffer/service/command_buffer_service.cc           *id, MakeBackingFromSharedMemory(shared_memory.Pass(), size))) {
shared_memory      84 gpu/command_buffer/service/common_decoder_unittest.cc     scoped_ptr<base::SharedMemory> shared_memory(new base::SharedMemory());
shared_memory      85 gpu/command_buffer/service/common_decoder_unittest.cc     shared_memory->CreateAndMapAnonymous(kBufferSize);
shared_memory      86 gpu/command_buffer/service/common_decoder_unittest.cc     buffer_ = MakeBufferFromSharedMemory(shared_memory.Pass(), kBufferSize);
shared_memory      36 gpu/command_buffer/service/gpu_scheduler_unittest.cc     scoped_ptr<base::SharedMemory> shared_memory(new ::base::SharedMemory);
shared_memory      37 gpu/command_buffer/service/gpu_scheduler_unittest.cc     shared_memory->CreateAndMapAnonymous(kRingBufferSize);
shared_memory      38 gpu/command_buffer/service/gpu_scheduler_unittest.cc     buffer_ = static_cast<int32*>(shared_memory->memory());
shared_memory      40 gpu/command_buffer/service/gpu_scheduler_unittest.cc         MakeBufferFromSharedMemory(shared_memory.Pass(), kRingBufferSize);
shared_memory      94 gpu/command_buffer/service/query_manager_unittest.cc       scoped_ptr<base::SharedMemory> shared_memory(new base::SharedMemory());
shared_memory      95 gpu/command_buffer/service/query_manager_unittest.cc       shared_memory->CreateAndMapAnonymous(kSharedBufferSize);
shared_memory      97 gpu/command_buffer/service/query_manager_unittest.cc           MakeBufferFromSharedMemory(shared_memory.Pass(), kSharedBufferSize);
shared_memory      55 gpu/command_buffer/service/transfer_buffer_manager_unittest.cc   EXPECT_EQ(shm_raw_pointer, backing_raw_ptr->shared_memory());
shared_memory     119 gpu/command_buffer/tests/gl_gpu_memory_buffer_unittest.cc   base::SharedMemory shared_memory;
shared_memory     120 gpu/command_buffer/tests/gl_gpu_memory_buffer_unittest.cc   shared_memory.CreateAnonymous(bytes);
shared_memory     123 gpu/command_buffer/tests/gl_gpu_memory_buffer_unittest.cc   shared_memory.ShareToProcess(base::GetCurrentProcessHandle(),
shared_memory     149 gpu/command_buffer/tests/gl_gpu_memory_buffer_unittest.cc   shared_memory.Map(bytes);
shared_memory     150 gpu/command_buffer/tests/gl_gpu_memory_buffer_unittest.cc   EXPECT_TRUE(shared_memory.memory());
shared_memory     154 gpu/command_buffer/tests/gl_gpu_memory_buffer_unittest.cc       .WillOnce(Return(shared_memory.memory()))
shared_memory     129 ppapi/proxy/ppapi_command_buffer_proxy.cc   scoped_ptr<base::SharedMemory> shared_memory(
shared_memory     133 ppapi/proxy/ppapi_command_buffer_proxy.cc   if (!shared_memory->memory()) {
shared_memory     134 ppapi/proxy/ppapi_command_buffer_proxy.cc     if (!shared_memory->Map(handle.size())) {
shared_memory     139 ppapi/proxy/ppapi_command_buffer_proxy.cc   return gpu::MakeBufferFromSharedMemory(shared_memory.Pass(), handle.size());
shared_memory     248 ppapi/proxy/ppb_audio_proxy.cc   base::SharedMemoryHandle shared_memory = IPC::InvalidPlatformFileForTransit();
shared_memory     254 ppapi/proxy/ppb_audio_proxy.cc                                            &shared_memory,
shared_memory     264 ppapi/proxy/ppb_audio_proxy.cc   SerializedHandle handle_wrapper(shared_memory, audio_buffer_length);
shared_memory     302 ppapi/proxy/ppb_graphics_3d_proxy.cc     DCHECK(backing && backing->shared_memory());
shared_memory     304 ppapi/proxy/ppb_graphics_3d_proxy.cc         TransportSHMHandle(dispatcher(), backing->shared_memory()),
shared_memory      18 ppapi/shared_impl/media_stream_buffer_manager_unittest.cc   scoped_ptr<SharedMemory> shared_memory(new SharedMemory());
shared_memory      22 ppapi/shared_impl/media_stream_buffer_manager_unittest.cc   EXPECT_TRUE(shared_memory->Create(options));
shared_memory      23 ppapi/shared_impl/media_stream_buffer_manager_unittest.cc   return shared_memory.Pass();
shared_memory      46 ppapi/shared_impl/media_stream_buffer_manager_unittest.cc     scoped_ptr<SharedMemory> shared_memory =
shared_memory      51 ppapi/shared_impl/media_stream_buffer_manager_unittest.cc                                    shared_memory.Pass(),
shared_memory     100 ppapi/shared_impl/media_stream_buffer_manager_unittest.cc     scoped_ptr<SharedMemory> shared_memory =
shared_memory     105 ppapi/shared_impl/media_stream_buffer_manager_unittest.cc                                    shared_memory.Pass(),
shared_memory     131 ppapi/shared_impl/media_stream_buffer_manager_unittest.cc     scoped_ptr<SharedMemory> shared_memory(new SharedMemory());
shared_memory     136 ppapi/shared_impl/media_stream_buffer_manager_unittest.cc     EXPECT_TRUE(shared_memory->Create(options));
shared_memory     141 ppapi/shared_impl/media_stream_buffer_manager_unittest.cc                                    shared_memory.Pass(),
shared_memory     159 ppapi/shared_impl/media_stream_buffer_manager_unittest.cc     scoped_ptr<SharedMemory> shared_memory =
shared_memory     164 ppapi/shared_impl/media_stream_buffer_manager_unittest.cc                                    shared_memory.Pass(),
shared_memory     312 remoting/host/desktop_session_agent.cc   serialized_frame.shared_buffer_id = frame->shared_memory()->id();
shared_memory      54 remoting/host/screen_capturer_fake.cc     webrtc::SharedMemory* shared_memory =
shared_memory      58 remoting/host/screen_capturer_fake.cc     if (shared_memory) {
shared_memory      60 remoting/host/screen_capturer_fake.cc           frame_size, bytes_per_row_, shared_memory));
shared_memory     189 sandbox/win/src/interception.cc   SharedMemory* shared_memory = reinterpret_cast<SharedMemory*>(buffer);
shared_memory     190 sandbox/win/src/interception.cc   DllPatchInfo* dll_info = shared_memory->dll_list;
shared_memory     193 sandbox/win/src/interception.cc   shared_memory->interceptor_base = names_used_ ? child_->MainModule() : NULL;
shared_memory     229 sandbox/win/src/interception.cc   shared_memory->num_intercepted_dlls = num_dlls;
shared_memory      56 sandbox/win/src/interception_agent.cc bool InterceptionAgent::Init(SharedMemory* shared_memory) {
shared_memory      57 sandbox/win/src/interception_agent.cc   interceptions_ = shared_memory;
shared_memory      58 sandbox/win/src/interception_agent.cc   for (int i = 0 ; i < shared_memory->num_intercepted_dlls; i++)
shared_memory      58 sandbox/win/src/interception_agent.h   bool Init(SharedMemory* shared_memory);
shared_memory     270 sandbox/win/src/target_process.cc   void* shared_memory = ::MapViewOfFile(shared_section_,
shared_memory     273 sandbox/win/src/target_process.cc   if (NULL == shared_memory) {
shared_memory     278 sandbox/win/src/target_process.cc                      reinterpret_cast<char*>(shared_memory) + shared_IPC_size);
shared_memory     312 sandbox/win/src/target_process.cc   if (!ipc_server_->Init(shared_memory, shared_IPC_size, kIPCChannelSize))
shared_memory      93 ui/gl/gl_image_shm.cc   base::SharedMemory shared_memory(buffer.handle, true);
shared_memory      97 ui/gl/gl_image_shm.cc   if (!shared_memory.ShareToProcess(base::GetCurrentProcessHandle(),
shared_memory      36 webkit/renderer/compositor_bindings/web_external_bitmap_impl.h   base::SharedMemory* shared_memory() { return shared_memory_.get(); }
shared_memory      85 webkit/renderer/compositor_bindings/web_external_texture_layer_impl.cc     *mailbox = cc::TextureMailbox(bitmap->shared_memory(), bitmap->size());