memory 1604 android_webview/renderer/print_web_view_helper.cc metafile->GetData(shared_buf->memory(), buf_size); memory 137 android_webview/renderer/print_web_view_helper_linux.cc metafile.GetData(shared_mem->memory(), buf_size); memory 216 base/memory/discardable_memory_allocator_android.cc scoped_ptr<DiscardableMemory> memory = ReuseFreeChunk_Locked( memory 218 base/memory/discardable_memory_allocator_android.cc if (memory) memory 219 base/memory/discardable_memory_allocator_android.cc return memory.Pass(); memory 227 base/memory/discardable_memory_allocator_android.cc memory.reset( memory 235 base/memory/discardable_memory_allocator_android.cc return memory.Pass(); memory 333 base/memory/discardable_memory_allocator_android.cc scoped_ptr<DiscardableMemory> memory( memory 336 base/memory/discardable_memory_allocator_android.cc return memory.Pass(); memory 510 base/memory/discardable_memory_allocator_android.cc scoped_ptr<DiscardableMemory> memory( memory 512 base/memory/discardable_memory_allocator_android.cc if (memory) memory 513 base/memory/discardable_memory_allocator_android.cc return memory.Pass(); memory 38 base/memory/discardable_memory_allocator_android_unittest.cc void WriteToDiscardableMemory(DiscardableMemory* memory, size_t size) { memory 41 base/memory/discardable_memory_allocator_android_unittest.cc static_cast<char*>(memory->Memory())[0] = 'a'; memory 42 base/memory/discardable_memory_allocator_android_unittest.cc static_cast<char*>(memory->Memory())[size - 1] = 'a'; memory 47 base/memory/discardable_memory_allocator_android_unittest.cc scoped_ptr<DiscardableMemory> memory(allocator_.Allocate(size)); memory 48 base/memory/discardable_memory_allocator_android_unittest.cc ASSERT_TRUE(memory); memory 49 base/memory/discardable_memory_allocator_android_unittest.cc WriteToDiscardableMemory(memory.get(), size); memory 53 base/memory/discardable_memory_allocator_android_unittest.cc scoped_ptr<DiscardableMemory> memory(allocator_.Allocate(0)); memory 54 base/memory/discardable_memory_allocator_android_unittest.cc ASSERT_FALSE(memory); memory 58 base/memory/discardable_memory_allocator_android_unittest.cc scoped_ptr<DiscardableMemory> memory( memory 62 base/memory/discardable_memory_allocator_android_unittest.cc ASSERT_FALSE(memory); memory 73 base/memory/discardable_memory_allocator_android_unittest.cc scoped_ptr<DiscardableMemory> memory( memory 75 base/memory/discardable_memory_allocator_android_unittest.cc ASSERT_FALSE(memory); memory 83 base/memory/discardable_memory_allocator_android_unittest.cc scoped_ptr<DiscardableMemory> memory(allocator.Allocate(kPageSize)); memory 84 base/memory/discardable_memory_allocator_android_unittest.cc ASSERT_TRUE(memory); memory 93 base/memory/discardable_memory_allocator_android_unittest.cc scoped_ptr<DiscardableMemory> memory(allocator_.Allocate(size)); memory 94 base/memory/discardable_memory_allocator_android_unittest.cc ASSERT_TRUE(memory); memory 95 base/memory/discardable_memory_allocator_android_unittest.cc WriteToDiscardableMemory(memory.get(), size); memory 99 base/memory/discardable_memory_allocator_android_unittest.cc scoped_ptr<DiscardableMemory> memory(allocator_.Allocate(kPageSize)); memory 100 base/memory/discardable_memory_allocator_android_unittest.cc ASSERT_TRUE(memory); memory 101 base/memory/discardable_memory_allocator_android_unittest.cc EXPECT_EQ(0U, reinterpret_cast<uint64_t>(memory->Memory()) % kPageSize); memory 102 base/memory/discardable_memory_allocator_android_unittest.cc WriteToDiscardableMemory(memory.get(), kPageSize); memory 106 base/memory/discardable_memory_allocator_android_unittest.cc scoped_ptr<DiscardableMemory> memory(allocator_.Allocate(kPageSize)); memory 110 base/memory/discardable_memory_allocator_android_unittest.cc ASSERT_TRUE(memory); memory 111 base/memory/discardable_memory_allocator_android_unittest.cc void* const address = memory->Memory(); memory 112 base/memory/discardable_memory_allocator_android_unittest.cc memory->Unlock(); // Tests that the reused chunk is being locked correctly. memory 113 base/memory/discardable_memory_allocator_android_unittest.cc memory.reset(); memory 114 base/memory/discardable_memory_allocator_android_unittest.cc memory = allocator_.Allocate(kPageSize); memory 115 base/memory/discardable_memory_allocator_android_unittest.cc ASSERT_TRUE(memory); memory 117 base/memory/discardable_memory_allocator_android_unittest.cc EXPECT_EQ(address, memory->Memory()); memory 118 base/memory/discardable_memory_allocator_android_unittest.cc WriteToDiscardableMemory(memory.get(), kPageSize); memory 122 base/memory/discardable_memory_allocator_android_unittest.cc scoped_ptr<DiscardableMemory> memory(allocator_.Allocate(kPageSize)); memory 123 base/memory/discardable_memory_allocator_android_unittest.cc ASSERT_TRUE(memory); memory 125 base/memory/discardable_memory_allocator_android_unittest.cc *static_cast<int*>(memory->Memory()) = kMagic; memory 126 base/memory/discardable_memory_allocator_android_unittest.cc memory.reset(); memory 129 base/memory/discardable_memory_allocator_android_unittest.cc memory = allocator_.Allocate(kPageSize); memory 130 base/memory/discardable_memory_allocator_android_unittest.cc ASSERT_TRUE(memory); memory 131 base/memory/discardable_memory_allocator_android_unittest.cc EXPECT_NE(kMagic, *static_cast<const int*>(memory->Memory())); memory 75 base/memory/discardable_memory_android.cc scoped_ptr<internal::DiscardableMemoryEmulated> memory( memory 77 base/memory/discardable_memory_android.cc if (!memory->Initialize()) memory 80 base/memory/discardable_memory_android.cc return memory.PassAs<DiscardableMemory>(); memory 83 base/memory/discardable_memory_android.cc scoped_ptr<internal::DiscardableMemoryMalloc> memory( memory 85 base/memory/discardable_memory_android.cc if (!memory->Initialize()) memory 88 base/memory/discardable_memory_android.cc return memory.PassAs<DiscardableMemory>(); memory 42 base/memory/discardable_memory_linux.cc scoped_ptr<internal::DiscardableMemoryEmulated> memory( memory 44 base/memory/discardable_memory_linux.cc if (!memory->Initialize()) memory 47 base/memory/discardable_memory_linux.cc return memory.PassAs<DiscardableMemory>(); memory 50 base/memory/discardable_memory_linux.cc scoped_ptr<internal::DiscardableMemoryMalloc> memory( memory 52 base/memory/discardable_memory_linux.cc if (!memory->Initialize()) memory 55 base/memory/discardable_memory_linux.cc return memory.PassAs<DiscardableMemory>(); memory 121 base/memory/discardable_memory_mac.cc scoped_ptr<DiscardableMemoryMac> memory(new DiscardableMemoryMac(size)); memory 122 base/memory/discardable_memory_mac.cc if (!memory->Initialize()) memory 125 base/memory/discardable_memory_mac.cc return memory.PassAs<DiscardableMemory>(); memory 128 base/memory/discardable_memory_mac.cc scoped_ptr<internal::DiscardableMemoryEmulated> memory( memory 130 base/memory/discardable_memory_mac.cc if (!memory->Initialize()) memory 133 base/memory/discardable_memory_mac.cc return memory.PassAs<DiscardableMemory>(); memory 136 base/memory/discardable_memory_mac.cc scoped_ptr<internal::DiscardableMemoryMalloc> memory( memory 138 base/memory/discardable_memory_mac.cc if (!memory->Initialize()) memory 141 base/memory/discardable_memory_mac.cc return memory.PassAs<DiscardableMemory>(); memory 87 base/memory/discardable_memory_manager.cc if (it->second.memory) { memory 91 base/memory/discardable_memory_manager.cc free(it->second.memory); memory 105 base/memory/discardable_memory_manager.cc if (it->second.memory) { memory 106 base/memory/discardable_memory_manager.cc scoped_ptr<uint8, FreeDeleter> memory(it->second.memory); memory 107 base/memory/discardable_memory_manager.cc it->second.memory = NULL; memory 109 base/memory/discardable_memory_manager.cc return memory.Pass(); memory 128 base/memory/discardable_memory_manager.cc scoped_ptr<uint8, FreeDeleter> memory(static_cast<uint8*>(malloc(bytes))); memory 129 base/memory/discardable_memory_manager.cc if (!memory) memory 134 base/memory/discardable_memory_manager.cc return memory.Pass(); memory 139 base/memory/discardable_memory_manager.cc scoped_ptr<uint8, FreeDeleter> memory) { memory 146 base/memory/discardable_memory_manager.cc DCHECK(!it->second.memory); memory 147 base/memory/discardable_memory_manager.cc it->second.memory = memory.release(); memory 168 base/memory/discardable_memory_manager.cc return it != allocations_.end() && it->second.memory; memory 211 base/memory/discardable_memory_manager.cc if (!it->second.memory) memory 217 base/memory/discardable_memory_manager.cc free(it->second.memory); memory 218 base/memory/discardable_memory_manager.cc it->second.memory = NULL; memory 79 base/memory/discardable_memory_manager.h scoped_ptr<uint8, FreeDeleter> memory); memory 100 base/memory/discardable_memory_manager.h memory(NULL) { memory 104 base/memory/discardable_memory_manager.h uint8* memory; memory 95 base/memory/discardable_memory_manager_unittest.cc scoped_ptr<TestDiscardableMemory> memory( memory 97 base/memory/discardable_memory_manager_unittest.cc if (memory->Lock() != DISCARDABLE_MEMORY_LOCK_STATUS_PURGED) memory 99 base/memory/discardable_memory_manager_unittest.cc return memory.PassAs<DiscardableMemory>(); memory 74 base/memory/discardable_memory_unittest.cc const scoped_ptr<DiscardableMemory> memory(CreateLockedMemory(kSize)); memory 75 base/memory/discardable_memory_unittest.cc ASSERT_TRUE(memory); memory 76 base/memory/discardable_memory_unittest.cc void* addr = memory->Memory(); memory 79 base/memory/discardable_memory_unittest.cc memory->Unlock(); memory 81 base/memory/discardable_memory_unittest.cc EXPECT_NE(DISCARDABLE_MEMORY_LOCK_STATUS_FAILED, memory->Lock()); memory 82 base/memory/discardable_memory_unittest.cc addr = memory->Memory(); memory 85 base/memory/discardable_memory_unittest.cc memory->Unlock(); memory 90 base/memory/discardable_memory_unittest.cc const scoped_ptr<DiscardableMemory> memory(CreateLockedMemory(kSize)); memory 91 base/memory/discardable_memory_unittest.cc ASSERT_TRUE(memory); memory 99 base/memory/discardable_memory_unittest.cc const scoped_ptr<DiscardableMemory> memory(CreateLockedMemory(kSize)); memory 100 base/memory/discardable_memory_unittest.cc ASSERT_TRUE(memory); memory 101 base/memory/discardable_memory_unittest.cc memory->Unlock(); memory 104 base/memory/discardable_memory_unittest.cc EXPECT_EQ(DISCARDABLE_MEMORY_LOCK_STATUS_PURGED, memory->Lock()); memory 111 base/memory/discardable_memory_unittest.cc const scoped_ptr<DiscardableMemory> memory(CreateLockedMemory(kSize)); memory 112 base/memory/discardable_memory_unittest.cc ASSERT_TRUE(memory); memory 113 base/memory/discardable_memory_unittest.cc memory->Unlock(); memory 115 base/memory/discardable_memory_unittest.cc { *static_cast<int*>(memory->Memory()) = 0xdeadbeef; }, ".*"); memory 42 base/memory/discardable_memory_win.cc scoped_ptr<internal::DiscardableMemoryEmulated> memory( memory 44 base/memory/discardable_memory_win.cc if (!memory->Initialize()) memory 47 base/memory/discardable_memory_win.cc return memory.PassAs<DiscardableMemory>(); memory 50 base/memory/discardable_memory_win.cc scoped_ptr<internal::DiscardableMemoryMalloc> memory( memory 52 base/memory/discardable_memory_win.cc if (!memory->Initialize()) memory 55 base/memory/discardable_memory_win.cc return memory.PassAs<DiscardableMemory>(); memory 182 base/memory/shared_memory.h void *memory() const { return memory_; } memory 53 base/memory/shared_memory_unittest.cc SharedMemory memory; memory 54 base/memory/shared_memory_unittest.cc memory.Delete(s_test_name_); memory 63 base/memory/shared_memory_unittest.cc SharedMemory memory; memory 64 base/memory/shared_memory_unittest.cc bool rv = memory.CreateNamedDeprecated(s_test_name_, true, kDataSize); memory 66 base/memory/shared_memory_unittest.cc rv = memory.Map(kDataSize); memory 68 base/memory/shared_memory_unittest.cc int *ptr = static_cast<int*>(memory.memory()) + id_; memory 79 base/memory/shared_memory_unittest.cc memory.Close(); memory 122 base/memory/shared_memory_unittest.cc volatile int* const ptr = static_cast<int*>(memory2.memory()); memory 170 base/memory/shared_memory_unittest.cc EXPECT_NE(memory1.memory(), memory2.memory()); // Compare the pointers. memory 173 base/memory/shared_memory_unittest.cc ASSERT_NE(memory1.memory(), static_cast<void*>(NULL)); memory 174 base/memory/shared_memory_unittest.cc ASSERT_NE(memory2.memory(), static_cast<void*>(NULL)); memory 177 base/memory/shared_memory_unittest.cc memset(memory1.memory(), '1', kDataSize); memory 178 base/memory/shared_memory_unittest.cc EXPECT_EQ(memcmp(memory1.memory(), memory2.memory(), kDataSize), 0); memory 182 base/memory/shared_memory_unittest.cc char *start_ptr = static_cast<char *>(memory2.memory()); memory 223 base/memory/shared_memory_unittest.cc memset(memory1.memory(), 'G', kDataSize); memory 249 base/memory/shared_memory_unittest.cc char *start_ptr = static_cast<char *>(memory2.memory()); memory 345 base/memory/shared_memory_unittest.cc int *ptr = static_cast<int*>(memories[i].memory()); memory 377 base/memory/shared_memory_unittest.cc memcpy(writable_shmem.memory(), contents.data(), contents.size()); memory 387 base/memory/shared_memory_unittest.cc StringPiece(static_cast<const char*>(readonly_shmem.memory()), memory 394 base/memory/shared_memory_unittest.cc memcpy(writable_shmem.memory(), new_contents.data(), new_contents.size()); memory 396 base/memory/shared_memory_unittest.cc StringPiece(static_cast<const char*>(writable_shmem.memory()), memory 452 base/memory/shared_memory_unittest.cc memcpy(shmem.memory(), contents.data(), contents.size()); memory 462 base/memory/shared_memory_unittest.cc StringPiece(static_cast<const char*>(shared.memory()), contents.size())); memory 469 base/memory/shared_memory_unittest.cc StringPiece(static_cast<const char*>(readonly.memory()), memory 478 base/memory/shared_memory_unittest.cc SharedMemory memory; memory 479 base/memory/shared_memory_unittest.cc ASSERT_TRUE(memory.CreateAndMapAnonymous(kDataSize)); memory 480 base/memory/shared_memory_unittest.cc uint32* ptr = static_cast<uint32*>(memory.memory()); memory 487 base/memory/shared_memory_unittest.cc memory.Unmap(); memory 490 base/memory/shared_memory_unittest.cc ASSERT_TRUE(memory.MapAt(offset, kDataSize - offset)); memory 492 base/memory/shared_memory_unittest.cc ptr = static_cast<uint32*>(memory.memory()); memory 501 base/memory/shared_memory_unittest.cc SharedMemory memory; memory 502 base/memory/shared_memory_unittest.cc bool rv = memory.CreateAndMapAnonymous(kDataSize); memory 505 base/memory/shared_memory_unittest.cc void* old_address = memory.memory(); memory 507 base/memory/shared_memory_unittest.cc rv = memory.Map(kDataSize); memory 509 base/memory/shared_memory_unittest.cc EXPECT_EQ(old_address, memory.memory()); memory 525 base/memory/shared_memory_unittest.cc EXPECT_EQ(0, mprotect(shared_memory.memory(), shared_memory.requested_size(), memory 605 base/memory/shared_memory_unittest.cc shared_memory.memory()) & (SharedMemory::MAP_MINIMUM_ALIGNMENT - 1)); memory 617 base/memory/shared_memory_unittest.cc SharedMemory memory; memory 618 base/memory/shared_memory_unittest.cc memory.Delete(s_test_name_); memory 627 base/memory/shared_memory_unittest.cc SharedMemory memory; memory 628 base/memory/shared_memory_unittest.cc bool rv = memory.CreateNamedDeprecated(s_test_name_, true, kDataSize); memory 632 base/memory/shared_memory_unittest.cc rv = memory.Map(kDataSize); memory 636 base/memory/shared_memory_unittest.cc int *ptr = static_cast<int*>(memory.memory()); memory 639 base/memory/shared_memory_unittest.cc memory.LockDeprecated(); memory 645 base/memory/shared_memory_unittest.cc memory.UnlockDeprecated(); memory 648 base/memory/shared_memory_unittest.cc memory.Close(); memory 159 base/metrics/stats_table.cc void InitializeTable(void* memory, int size, int max_counters, memory 163 base/metrics/stats_table.cc void ComputeMappedPointers(void* memory); memory 186 base/metrics/stats_table.cc void* memory = shared_memory->memory(); memory 189 base/metrics/stats_table.cc TableHeader* header = static_cast<TableHeader*>(memory); memory 194 base/metrics/stats_table.cc internal->InitializeTable(memory, size, max_counters, max_threads); memory 197 base/metrics/stats_table.cc internal->ComputeMappedPointers(memory); memory 226 base/metrics/stats_table.cc void StatsTable::Internal::InitializeTable(void* memory, int size, memory 230 base/metrics/stats_table.cc memset(memory, 0, size); memory 233 base/metrics/stats_table.cc TableHeader* header = static_cast<TableHeader*>(memory); memory 240 base/metrics/stats_table.cc void StatsTable::Internal::ComputeMappedPointers(void* memory) { memory 241 base/metrics/stats_table.cc char* data = static_cast<char*>(memory); memory 123 cc/layers/texture_layer_impl.cc static_cast<uint8*>(texture_mailbox_.shared_memory()->memory()); memory 773 cc/resources/resource_provider.cc DCHECK(shared_memory->memory()); memory 774 cc/resources/resource_provider.cc uint8_t* pixels = reinterpret_cast<uint8_t*>(shared_memory->memory()); memory 864 cc/resources/resource_provider.cc DCHECK(shared_memory->memory() == resource->pixels); memory 44 cc/resources/resource_provider_unittest.cc static void SharedMemoryReleaseCallback(scoped_ptr<base::SharedMemory> memory, memory 73 cc/resources/resource_provider_unittest.cc uint32_t* pixels = reinterpret_cast<uint32_t*>(shared_memory->memory()); memory 13 cc/resources/shared_bitmap.cc base::SharedMemory* memory, memory 16 cc/resources/shared_bitmap.cc : memory_(memory), id_(id), free_callback_(free_callback) {} memory 22 cc/resources/shared_bitmap.h SharedBitmap(base::SharedMemory* memory, memory 36 cc/resources/shared_bitmap.h uint8* pixels() { return static_cast<uint8*>(memory_->memory()); } memory 38 cc/resources/shared_bitmap.h base::SharedMemory* memory() { return memory_; } memory 12 cc/test/test_shared_bitmap_manager.cc delete shared_bitmap->memory(); memory 24 cc/test/test_shared_bitmap_manager.cc scoped_ptr<base::SharedMemory> memory(new base::SharedMemory); memory 25 cc/test/test_shared_bitmap_manager.cc memory->CreateAndMapAnonymous(size.GetArea() * 4); memory 27 cc/test/test_shared_bitmap_manager.cc bitmap_map_[id] = memory.get(); memory 29 cc/test/test_shared_bitmap_manager.cc new SharedBitmap(memory.release(), id, base::Bind(&FreeSharedBitmap))); memory 43 cc/test/test_shared_bitmap_manager.cc base::SharedMemory* memory) { memory 46 cc/test/test_shared_bitmap_manager.cc bitmap_map_[id] = memory; memory 48 cc/test/test_shared_bitmap_manager.cc new SharedBitmap(memory, id, base::Bind(&IgnoreSharedBitmap))); memory 28 cc/test/test_shared_bitmap_manager.h base::SharedMemory* memory) OVERRIDE; memory 137 chrome/browser/chromeos/memory/oom_priority_manager.cc base::SystemMemoryInfoKB memory; memory 138 chrome/browser/chromeos/memory/oom_priority_manager.cc if (base::GetSystemMemoryInfo(&memory) && memory.gem_size != -1) { memory 140 chrome/browser/chromeos/memory/oom_priority_manager.cc log_string += base::UTF16ToASCII(ui::FormatBytes(memory.gem_size)); memory 353 chrome/browser/chromeos/memory/oom_priority_manager.cc base::SystemMemoryInfoKB memory; memory 354 chrome/browser/chromeos/memory/oom_priority_manager.cc if (base::GetSystemMemoryInfo(&memory)) { memory 358 chrome/browser/chromeos/memory/oom_priority_manager.cc int mem_anonymous_mb = (memory.active_anon + memory.inactive_anon) / 1024; memory 363 chrome/browser/chromeos/memory/oom_priority_manager.cc if (memory.gem_size != -1) memory 364 chrome/browser/chromeos/memory/oom_priority_manager.cc mem_graphics_gem_mb = memory.gem_size / 1024 / 1024; memory 369 chrome/browser/chromeos/memory/oom_priority_manager.cc int mem_shmem_mb = memory.shmem / 1024; memory 382 chrome/browser/chromeos/memory/oom_priority_manager.cc (memory.active_file + memory.inactive_file + memory.free) / 1024; memory 175 chrome/browser/extensions/user_script_master.cc base::SharedMemory* memory) { memory 178 chrome/browser/extensions/user_script_master.cc delete memory; memory 180 chrome/browser/extensions/user_script_master.cc master_->NewScriptsAvailable(memory); memory 294 chrome/browser/extensions/user_script_master.cc memcpy(shared_memory.memory(), pickle.data(), pickle.size()); memory 103 chrome/browser/extensions/user_script_master.h void NotifyMaster(base::SharedMemory* memory); memory 59 chrome/browser/history/top_sites.h const base::RefCountedMemory* memory, memory 177 chrome/browser/history/top_sites_impl.cc const base::RefCountedMemory* memory, memory 203 chrome/browser/history/top_sites_impl.cc AddTemporaryThumbnail(url, memory, score); memory 207 chrome/browser/history/top_sites_impl.cc return SetPageThumbnailEncoded(url, memory, score); memory 62 chrome/browser/history/top_sites_impl.h const base::RefCountedMemory* memory, memory 57 chrome/browser/printing/print_preview_message_handler.cc unsigned char* data_begin = static_cast<unsigned char*>(shared_buf->memory()); memory 157 chrome/browser/printing/print_view_manager_base.cc if (!metafile->InitFromData(shared_buf.memory(), params.data_size)) { memory 867 chrome/browser/themes/browser_theme_pack.cc scoped_refptr<base::RefCountedMemory> memory = memory 869 chrome/browser/themes/browser_theme_pack.cc if (memory.get()) memory 870 chrome/browser/themes/browser_theme_pack.cc png_map[scale_factors_[i]] = memory; memory 887 chrome/browser/themes/browser_theme_pack.cc base::RefCountedMemory* memory = NULL; memory 893 chrome/browser/themes/browser_theme_pack.cc memory = data_pack_->GetStaticMemory(raw_id); memory 897 chrome/browser/themes/browser_theme_pack.cc memory = it->second.get(); memory 902 chrome/browser/themes/browser_theme_pack.cc return memory; memory 139 chrome/common/service_process_util.cc shared_mem_service_data->memory()); memory 234 chrome/common/service_process_util.cc memset(shared_mem_service_data->memory(), 0, alloc_size); memory 237 chrome/common/service_process_util.cc shared_mem_service_data->memory()); memory 133 chrome/renderer/extensions/user_script_slave.cc reinterpret_cast<Pickle::Header*>(shared_memory_->memory()); memory 143 chrome/renderer/extensions/user_script_slave.cc Pickle pickle(reinterpret_cast<char*>(shared_memory_->memory()), memory 221 chrome/renderer/mock_printer.cc metafile.InitFromData(metafile_data.memory(), params.data_size); memory 223 chrome/renderer/mock_printer.cc MockPrinterPage* page_data = new MockPrinterPage(metafile_data.memory(), memory 1607 chrome/renderer/printing/print_web_view_helper.cc metafile->GetData(shared_buf->memory(), buf_size); memory 135 chrome/renderer/printing/print_web_view_helper_linux.cc metafile.GetData(shared_mem->memory(), buf_size); memory 236 chrome/renderer/printing/print_web_view_helper_win.cc if (!metafile->GetData(shared_buf.memory(), buf_size)) { memory 43 chrome/test/base/chrome_unit_test_suite.cc base::SharedMemory memory; memory 44 chrome/test/base/chrome_unit_test_suite.cc memory.Delete(filename); memory 685 components/visitedlink/browser/visitedlink_master.cc memset(shared_memory_->memory(), 0, alloc_size); memory 691 components/visitedlink/browser/visitedlink_master.cc SharedHeader* header = static_cast<SharedHeader*>(shared_memory_->memory()); memory 697 components/visitedlink/browser/visitedlink_master.cc static_cast<char*>(shared_memory_->memory()) + sizeof(SharedHeader)); memory 758 components/visitedlink/browser/visitedlink_master.cc DCHECK(shared_memory_ && shared_memory_->memory() && hash_table_); memory 53 components/visitedlink/renderer/visitedlink_slave.cc static_cast<SharedHeader*>(shared_memory_->memory()); memory 67 components/visitedlink/renderer/visitedlink_slave.cc DCHECK(shared_memory_->memory()); memory 69 components/visitedlink/renderer/visitedlink_slave.cc static_cast<char*>(shared_memory_->memory()) + sizeof(SharedHeader)); memory 966 content/browser/browser_plugin/browser_plugin_guest.cc *static_cast<unsigned int*>(damage_buffer_->memory()) == 0xdeadbeef); memory 1870 content/browser/browser_plugin/browser_plugin_guest.cc void* guest_memory = dib->memory(); memory 1871 content/browser/browser_plugin/browser_plugin_guest.cc void* embedder_memory = damage_buffer_->memory(); memory 218 content/browser/device_orientation/data_fetcher_shared_memory_base.cc if (void* mem = new_shared_mem->memory()) { memory 232 content/browser/device_orientation/data_fetcher_shared_memory_base.cc return shared_memory->memory(); memory 566 content/browser/fileapi/fileapi_message_filter.cc item.SetToSharedBytes(static_cast<char*>(shared_memory.memory()), memory 656 content/browser/fileapi/fileapi_message_filter.cc stream->AddData(static_cast<char*>(shared_memory.memory()), buffer_size); memory 257 content/browser/fileapi/fileapi_message_filter_unittest.cc memcpy(shared_memory->memory(), kFakeData.data(), kFakeData.size()); memory 201 content/browser/gamepad/gamepad_provider.cc void* mem = gamepad_shared_memory_.memory(); memory 92 content/browser/gamepad/gamepad_provider_unittest.cc void* mem = shared_memory->memory(); memory 70 content/browser/loader/async_resource_handler.cc DependentIOBuffer(ResourceBuffer* backing, char* memory) memory 71 content/browser/loader/async_resource_handler.cc : net::WrappedIOBuffer(memory), memory 250 content/browser/loader/async_resource_handler.cc char* memory = buffer_->Allocate(&allocation_size_); memory 251 content/browser/loader/async_resource_handler.cc CHECK(memory); memory 253 content/browser/loader/async_resource_handler.cc *buf = new DependentIOBuffer(buffer_.get(), memory); memory 37 content/browser/loader/redirect_to_file_resource_handler.cc DependentIOBuffer(net::IOBuffer* backing, char* memory) memory 38 content/browser/loader/redirect_to_file_resource_handler.cc : net::WrappedIOBuffer(memory), memory 61 content/browser/loader/resource_buffer.cc return shared_mem_.memory() != NULL; memory 139 content/browser/loader/resource_buffer.cc return static_cast<char*>(shared_mem_.memory()) + alloc_offset; memory 961 content/browser/loader/resource_dispatcher_host_unittest.cc const char* data = static_cast<char*>(shared_mem.memory()) + data_offset; memory 122 content/browser/renderer_host/backing_store_aura.cc sk_bitmap.setPixels(dib->memory()); memory 324 content/browser/renderer_host/backing_store_gtk.cc pixmap_gc_, static_cast<uint8*>(bitmap->memory()), memory 404 content/browser/renderer_host/backing_store_gtk.cc shminfo.shmaddr = static_cast<char*>(dib->memory()); memory 457 content/browser/renderer_host/backing_store_gtk.cc image.data = static_cast<char*>(dib->memory()); memory 272 content/browser/renderer_host/clipboard_message_filter.cc memcpy(buffer.memory(), vector_as_array(&png_data), png_data.size()); memory 58 content/browser/renderer_host/media/audio_input_sync_writer.cc uint8* ptr = static_cast<uint8*>(shared_memory_->memory()); memory 113 content/browser/renderer_host/media/audio_renderer_host_unittest.cc CHECK(shared_memory_->memory()); memory 36 content/browser/renderer_host/media/audio_sync_reader.cc output_bus_ = AudioBus::WrapMemory(params, shared_memory->memory()); memory 46 content/browser/renderer_host/media/video_capture_buffer_pool.cc void** memory, memory 57 content/browser/renderer_host/media/video_capture_buffer_pool.cc *memory = buffer->shared_memory.memory(); memory 61 content/browser/renderer_host/media/video_capture_buffer_pool.h bool GetBufferInfo(int buffer_id, void** memory, size_t* size); memory 57 content/browser/renderer_host/media/video_capture_buffer_pool_unittest.cc void* memory; memory 59 content/browser/renderer_host/media/video_capture_buffer_pool_unittest.cc pool_->GetBufferInfo(buffer_id, &memory, &size); memory 61 content/browser/renderer_host/media/video_capture_buffer_pool_unittest.cc return scoped_ptr<Buffer>(new Buffer(pool_, buffer_id, memory, size)); memory 235 content/browser/renderer_host/media/video_capture_host_unittest.cc dumper_.NewVideoFrame(dib->memory()); memory 189 content/browser/renderer_host/pepper/pepper_gamepad_host_unittest.cc shared_memory.memory()); memory 1891 content/browser/renderer_host/render_widget_host_impl.cc DCHECK(dib->memory()); memory 1898 content/browser/renderer_host/render_widget_host_impl.cc zoomed_bitmap.setPixels(dib->memory()); memory 183 content/browser/renderer_host/software_frame_manager.cc return current_frame_->shared_memory_->memory(); memory 31 content/child/child_shared_bitmap_manager.cc scoped_ptr<base::SharedMemory> memory; memory 36 content/child/child_shared_bitmap_manager.cc memory = make_scoped_ptr(new base::SharedMemory(handle, false)); memory 37 content/child/child_shared_bitmap_manager.cc memory->Map(memory_size); memory 39 content/child/child_shared_bitmap_manager.cc memory.reset(ChildThread::AllocateSharedMemory(memory_size, sender_)); memory 40 content/child/child_shared_bitmap_manager.cc CHECK(memory); memory 41 content/child/child_shared_bitmap_manager.cc base::SharedMemoryHandle handle_to_send = memory->handle(); memory 48 content/child/child_shared_bitmap_manager.cc memory.release(), memory 83 content/child/child_shared_bitmap_manager.cc delete bitmap->memory(); memory 427 content/child/resource_dispatcher.cc const char* data_ptr = static_cast<char*>(request_info->buffer->memory()); memory 135 content/child/resource_dispatcher_unittest.cc char* put_data_here = static_cast<char*>(shared_mem.memory()); memory 14 content/child/web_discardable_memory_impl.cc scoped_ptr<base::DiscardableMemory> memory( memory 16 content/child/web_discardable_memory_impl.cc if (!memory) memory 18 content/child/web_discardable_memory_impl.cc return make_scoped_ptr(new WebDiscardableMemoryImpl(memory.Pass())); memory 44 content/child/web_discardable_memory_impl.cc scoped_ptr<base::DiscardableMemory> memory) memory 45 content/child/web_discardable_memory_impl.cc : discardable_(memory.Pass()) { memory 33 content/child/web_discardable_memory_impl.h WebDiscardableMemoryImpl(scoped_ptr<base::DiscardableMemory> memory); memory 142 content/child/webblobregistry_impl.cc memcpy(shared_memory->memory(), data_ptr, chunk_size); memory 188 content/child/webblobregistry_impl.cc memcpy(shared_memory->memory(), data_ptr, chunk_size); memory 270 content/common/gpu/client/command_buffer_proxy_impl.cc DCHECK(!shared_memory->memory()); memory 521 content/common/gpu/client/command_buffer_proxy_impl.cc shared_state_shm_->memory()); memory 21 content/common/gpu/client/gpu_memory_buffer_impl_shm.cc DCHECK(!shared_memory_->memory()); memory 28 content/common/gpu/client/gpu_memory_buffer_impl_shm.cc DCHECK(!shared_memory_->memory()); memory 37 content/common/gpu/client/gpu_memory_buffer_impl_shm.cc return shared_memory_->memory(); memory 191 content/common/gpu/media/android_video_decode_accelerator.cc static_cast<const uint8*>(shm->memory()), memory 399 content/common/gpu/media/android_video_encode_accelerator.cc media_codec_->CopyFromOutputBuffer(buf_index, offset, shm->memory(), size); memory 150 content/common/gpu/media/dxva_video_decode_accelerator.cc return CreateInputSample(reinterpret_cast<const uint8*>(shm.memory()), memory 576 content/common/gpu/media/exynos_video_encode_accelerator.cc dqbuf.memory = V4L2_MEMORY_USERPTR; memory 605 content/common/gpu/media/exynos_video_encode_accelerator.cc dqbuf.memory = V4L2_MEMORY_DMABUF; memory 683 content/common/gpu/media/exynos_video_encode_accelerator.cc dqbuf.memory = V4L2_MEMORY_MMAP; memory 709 content/common/gpu/media/exynos_video_encode_accelerator.cc dqbuf.memory = V4L2_MEMORY_MMAP; memory 734 content/common/gpu/media/exynos_video_encode_accelerator.cc reinterpret_cast<uint8*>(output_record.buffer_ref->shm->memory()); memory 789 content/common/gpu/media/exynos_video_encode_accelerator.cc qbuf.memory = V4L2_MEMORY_USERPTR; memory 841 content/common/gpu/media/exynos_video_encode_accelerator.cc qbuf.memory = V4L2_MEMORY_DMABUF; memory 869 content/common/gpu/media/exynos_video_encode_accelerator.cc qbuf.memory = V4L2_MEMORY_MMAP; memory 896 content/common/gpu/media/exynos_video_encode_accelerator.cc qbuf.memory = V4L2_MEMORY_MMAP; memory 1235 content/common/gpu/media/exynos_video_encode_accelerator.cc reqbufs.memory = V4L2_MEMORY_USERPTR; memory 1282 content/common/gpu/media/exynos_video_encode_accelerator.cc reqbufs.memory = V4L2_MEMORY_DMABUF; memory 1394 content/common/gpu/media/exynos_video_encode_accelerator.cc reqbufs.memory = V4L2_MEMORY_MMAP; memory 1427 content/common/gpu/media/exynos_video_encode_accelerator.cc reqbufs.memory = V4L2_MEMORY_MMAP; memory 1439 content/common/gpu/media/exynos_video_encode_accelerator.cc buffer.memory = V4L2_MEMORY_MMAP; memory 1467 content/common/gpu/media/exynos_video_encode_accelerator.cc reqbufs.memory = V4L2_MEMORY_USERPTR; memory 1484 content/common/gpu/media/exynos_video_encode_accelerator.cc reqbufs.memory = V4L2_MEMORY_DMABUF; memory 1508 content/common/gpu/media/exynos_video_encode_accelerator.cc reqbufs.memory = V4L2_MEMORY_MMAP; memory 1532 content/common/gpu/media/exynos_video_encode_accelerator.cc reqbufs.memory = V4L2_MEMORY_MMAP; memory 202 content/common/gpu/media/gpu_video_encode_accelerator.cc uint8* shm_memory = reinterpret_cast<uint8*>(shm->memory()); memory 459 content/common/gpu/media/v4l2_video_decode_accelerator.cc DVLOG(3) << "DecodeTask(): mapped at=" << bitstream_record->shm->memory(); memory 516 content/common/gpu/media/v4l2_video_decode_accelerator.cc decoder_current_bitstream_buffer_->shm->memory() : memory 556 content/common/gpu/media/v4l2_video_decode_accelerator.cc decoder_current_bitstream_buffer_->shm->memory()) + memory 1018 content/common/gpu/media/v4l2_video_decode_accelerator.cc dqbuf.memory = V4L2_MEMORY_MMAP; memory 1049 content/common/gpu/media/v4l2_video_decode_accelerator.cc dqbuf.memory = V4L2_MEMORY_MMAP; memory 1104 content/common/gpu/media/v4l2_video_decode_accelerator.cc qbuf.memory = V4L2_MEMORY_MMAP; memory 1154 content/common/gpu/media/v4l2_video_decode_accelerator.cc qbuf.memory = V4L2_MEMORY_MMAP; memory 1670 content/common/gpu/media/v4l2_video_decode_accelerator.cc reqbufs.memory = V4L2_MEMORY_MMAP; memory 1683 content/common/gpu/media/v4l2_video_decode_accelerator.cc buffer.memory = V4L2_MEMORY_MMAP; memory 1724 content/common/gpu/media/v4l2_video_decode_accelerator.cc reqbufs.memory = V4L2_MEMORY_MMAP; memory 1775 content/common/gpu/media/v4l2_video_decode_accelerator.cc reqbufs.memory = V4L2_MEMORY_MMAP; memory 1819 content/common/gpu/media/v4l2_video_decode_accelerator.cc reqbufs.memory = V4L2_MEMORY_MMAP; memory 463 content/common/gpu/media/vaapi_video_decode_accelerator.cc static_cast<uint8*>(curr_input_buffer_->shm->memory()), memory 909 content/common/gpu/media/video_decode_accelerator_unittest.cc memcpy(shm.memory(), next_fragment_bytes.data(), next_fragment_size); memory 491 content/common/gpu/media/video_encode_accelerator_unittest.cc const uint8* stream_ptr = static_cast<const uint8*>(shm->memory()); memory 502 content/common/gpu/media/video_encode_accelerator_unittest.cc static_cast<char*>(shm->memory()), memory 24 content/common/host_shared_bitmap_manager.cc scoped_ptr<base::SharedMemory> memory; memory 69 content/common/host_shared_bitmap_manager.cc if (!data->memory->memory()) { memory 72 content/common/host_shared_bitmap_manager.cc if (!data->memory->Map(data->buffer_size)) { memory 78 content/common/host_shared_bitmap_manager.cc data->memory.get(), id, base::Bind(&FreeSharedMemory, it->second))); memory 102 content/common/host_shared_bitmap_manager.cc data->memory = make_scoped_ptr( memory 105 content/common/host_shared_bitmap_manager.cc data->memory = memory 129 content/common/host_shared_bitmap_manager.cc data->memory = shared_memory.Pass(); memory 133 content/common/host_shared_bitmap_manager.cc if (!data->memory->ShareToProcess(process_handle, shared_memory_handle)) { memory 23 content/common/host_shared_bitmap_manager_unittest.cc memset(bitmap->memory(), 0xff, size_in_bytes); memory 53 content/common/host_shared_bitmap_manager_unittest.cc EXPECT_EQ(memcmp(shared_bitmap->pixels(), bitmap->memory(), 4), 0); memory 63 content/common/host_shared_bitmap_manager_unittest.cc EXPECT_EQ(memcmp(shared_bitmap->pixels(), bitmap->memory(), size_in_bytes), memory 68 content/common/host_shared_bitmap_manager_unittest.cc memset(bitmap->memory(), 0, size_in_bytes); memory 70 content/common/host_shared_bitmap_manager_unittest.cc EXPECT_EQ(memcmp(shared_bitmap->pixels(), bitmap->memory(), size_in_bytes), memory 88 content/common/host_shared_bitmap_manager_unittest.cc memset(bitmap->memory(), 0xff, size_in_bytes); memory 94 content/common/host_shared_bitmap_manager_unittest.cc memcmp(bitmap->memory(), shared_bitmap->pixels(), size_in_bytes) == 0); memory 103 content/common/host_shared_bitmap_manager_unittest.cc memset(bitmap->memory(), 0xff, size_in_bytes); memory 122 content/common/host_shared_bitmap_manager_unittest.cc EXPECT_EQ(memcmp(shared_bitmap->pixels(), bitmap->memory(), size_in_bytes), memory 137 content/common/host_shared_bitmap_manager_unittest.cc memset(bitmap->memory(), 0xff, size_in_bytes); memory 147 content/common/host_shared_bitmap_manager_unittest.cc memset(bitmap2->memory(), 0x00, size_in_bytes); memory 155 content/common/host_shared_bitmap_manager_unittest.cc EXPECT_EQ(memcmp(shared_bitmap->pixels(), bitmap->memory(), size_in_bytes), memory 508 content/plugin/webplugin_proxy.cc dib->memory(), memory 642 content/renderer/browser_plugin/browser_plugin.cc current_damage_buffer_->memory()); memory 1154 content/renderer/browser_plugin/browser_plugin.cc *static_cast<unsigned int*>(shared_buf->memory()) = 0xdeadbeef; memory 1175 content/renderer/browser_plugin/browser_plugin.cc *static_cast<unsigned int*>(shared_buf->memory()) = 0xdeadbeef; memory 67 content/renderer/device_orientation/device_motion_event_pump_unittest.cc buffer_ = static_cast<DeviceMotionHardwareBuffer*>(shared_memory_.memory()); memory 72 content/renderer/device_orientation/device_orientation_event_pump_unittest.cc shared_memory_.memory()); memory 32 content/renderer/gamepad_shared_memory_reader.cc void *memory = renderer_shared_memory_->memory(); memory 33 content/renderer/gamepad_shared_memory_reader.cc CHECK(memory); memory 35 content/renderer/gamepad_shared_memory_reader.cc static_cast<GamepadHardwareBuffer*>(memory); memory 150 content/renderer/gpu/compositor_software_output_device.cc bitmap.installPixels(info, current->memory(), info.minRowBytes()); memory 172 content/renderer/gpu/compositor_software_output_device.cc back_bitmap.setPixels(previous->memory()); memory 50 content/renderer/gpu/compositor_software_output_device.h void* memory() const { return mem_->memory(); } memory 62 content/renderer/media/android/audio_decoder_android.cc if (!encoded_shared_memory_.memory()) memory 65 content/renderer/media/android/audio_decoder_android.cc memcpy(encoded_shared_memory_.memory(), data, data_size); memory 88 content/renderer/media/android/audio_decoder_android.cc encoded_shared_memory_.memory(); memory 569 content/renderer/media/rtc_video_decoder.cc memcpy(shm_buffer->shm->memory(), input_image._buffer, input_image._length); memory 369 content/renderer/media/rtc_video_encoder.cc reinterpret_cast<uint8_t*>(output_buffer->memory()), memory 445 content/renderer/media/rtc_video_encoder.cc reinterpret_cast<uint8*>(input_buffer->memory()), memory 281 content/renderer/media/video_capture_impl.cc reinterpret_cast<uint8*>(buffer->buffer->memory()), memory 635 content/renderer/npapi/webplugin_delegate_proxy.cc std::vector<uint8>* memory, memory 638 content/renderer/npapi/webplugin_delegate_proxy.cc memory->resize(size); memory 639 content/renderer/npapi/webplugin_delegate_proxy.cc if (memory->size() != size) memory 642 content/renderer/npapi/webplugin_delegate_proxy.cc plugin_rect_.width(), plugin_rect_.height(), true, &((*memory)[0]), memory 649 content/renderer/npapi/webplugin_delegate_proxy.cc scoped_ptr<TransportDIB>* memory, memory 653 content/renderer/npapi/webplugin_delegate_proxy.cc memory->reset(TransportDIB::Create(size, 0)); memory 654 content/renderer/npapi/webplugin_delegate_proxy.cc if (!memory->get()) memory 664 content/renderer/npapi/webplugin_delegate_proxy.cc memory->reset(TransportDIB::Map(handle)); memory 667 content/renderer/npapi/webplugin_delegate_proxy.cc memory->reset(TransportDIB::Create(size, sequence_number++)); memory 669 content/renderer/npapi/webplugin_delegate_proxy.cc canvas->reset((*memory)->GetPlatformCanvas(plugin_rect_.width(), memory 1027 content/renderer/npapi/webplugin_delegate_proxy.cc uint8* source_data = static_cast<uint8*>(back_buffer_dib()->memory()) + memory 1030 content/renderer/npapi/webplugin_delegate_proxy.cc uint8* target_data = static_cast<uint8*>(front_buffer_dib()->memory()) + memory 240 content/renderer/npapi/webplugin_delegate_proxy.h bool CreateLocalBitmap(std::vector<uint8>* memory, memory 245 content/renderer/npapi/webplugin_delegate_proxy.h bool CreateSharedBitmap(scoped_ptr<TransportDIB>* memory, memory 41 content/renderer/pepper/host_array_buffer_var.cc memcpy(buffer_.data(), s.memory(), size_in_bytes); memory 74 content/renderer/pepper/host_array_buffer_var.cc memcpy(shm->memory(), Map(), ByteLength()); memory 567 content/renderer/pepper/pepper_graphics_2d_host.cc void ReleaseCallback(scoped_ptr<base::SharedMemory> memory, memory 579 content/renderer/pepper/pepper_graphics_2d_host.cc scoped_ptr<base::SharedMemory> memory = memory 581 content/renderer/pepper/pepper_graphics_2d_host.cc if (!memory || !memory->Map(buffer_size)) memory 584 content/renderer/pepper/pepper_graphics_2d_host.cc memcpy(memory->memory(), src, buffer_size); memory 587 content/renderer/pepper/pepper_graphics_2d_host.cc *mailbox = cc::TextureMailbox(memory.get(), pixel_image_size); memory 589 content/renderer/pepper/pepper_graphics_2d_host.cc base::Bind(&ReleaseCallback, base::Passed(&memory))); memory 72 content/renderer/pepper/ppb_buffer_impl.cc return PP_FromBool(!!shared_memory_->memory()); memory 80 content/renderer/pepper/ppb_buffer_impl.cc return shared_memory_->memory(); memory 301 content/renderer/pepper/ppb_image_data_impl.cc skia_bitmap_.setPixels(shared_memory_->memory()); memory 307 content/renderer/pepper/ppb_image_data_impl.cc return shared_memory_->memory(); memory 38 content/renderer/render_process.h virtual SkCanvas* GetDrawingCanvas(TransportDIB** memory, memory 43 content/renderer/render_process.h virtual void ReleaseTransportDIB(TransportDIB* memory) = 0; memory 149 content/renderer/render_process_impl.cc TransportDIB** memory, const gfx::Rect& rect) { memory 167 content/renderer/render_process_impl.cc if (!GetTransportDIBFromCache(memory, size)) { memory 168 content/renderer/render_process_impl.cc *memory = CreateTransportDIB(size); memory 169 content/renderer/render_process_impl.cc if (!*memory) memory 173 content/renderer/render_process_impl.cc return (*memory)->GetPlatformCanvas(width, height); memory 25 content/renderer/render_process_impl.h TransportDIB** memory, memory 27 content/renderer/render_process_impl.h virtual void ReleaseTransportDIB(TransportDIB* memory) OVERRIDE; memory 43 content/renderer/render_process_impl.h bool PutSharedMemInCache(TransportDIB* memory); memory 60 content/renderer/renderer_clipboard_client.cc DCHECK(shared_buf_->memory()); memory 61 content/renderer/renderer_clipboard_client.cc memcpy(shared_buf_->memory(), pixels, buf_size); memory 158 content/renderer/renderer_clipboard_client.cc data->append(static_cast<char*>(buffer.memory()), image_size); memory 23 content/renderer/shared_memory_seqlock_reader.cc ? renderer_shared_memory_->memory() memory 53 content/renderer/shared_memory_seqlock_reader.h if (void* memory = InitializeSharedMemory( memory 55 content/renderer/shared_memory_seqlock_reader.h buffer_ = static_cast<SharedMemorySeqLockBuffer<Data>*>(memory); memory 303 content/shell/renderer/test_runner/TestPlugin.cpp drawSceneSoftware(bitmap->memory(), bytes); memory 428 content/shell/renderer/test_runner/TestPlugin.cpp void TestPlugin::drawSceneSoftware(void* memory, size_t bytes) { memory 439 content/shell/renderer/test_runner/TestPlugin.cpp bitmap.setPixels(memory); memory 127 content/shell/renderer/test_runner/TestPlugin.h void drawSceneSoftware(void* memory, size_t bytes); memory 21 content/test/mock_render_process.cc TransportDIB** memory, memory 29 content/test/mock_render_process.cc *memory = TransportDIB::Create(size, transport_dib_next_sequence_number_++); memory 30 content/test/mock_render_process.cc if (!*memory) memory 32 content/test/mock_render_process.cc return (*memory)->GetPlatformCanvas(rect.width(), rect.height()); memory 35 content/test/mock_render_process.cc void MockRenderProcess::ReleaseTransportDIB(TransportDIB* memory) { memory 36 content/test/mock_render_process.cc delete memory; memory 20 content/test/mock_render_process.h TransportDIB** memory, memory 22 content/test/mock_render_process.h virtual void ReleaseTransportDIB(TransportDIB* memory) OVERRIDE; memory 98 courgette/memory_allocator.h void* memory() const; memory 204 courgette/memory_allocator.h mem = reinterpret_cast<uint8*>(mapping->memory()); memory 54 gpu/command_buffer/client/client_test_helper.cc static_cast<CommandBufferEntry*>(ring_buffer_buffer_->memory()); memory 112 gpu/command_buffer/client/cmd_buffer_helper.cc entries_ = static_cast<CommandBufferEntry*>(ring_buffer_->memory()); memory 172 gpu/command_buffer/client/gles2_implementation_unittest.cc return static_cast<uint8*>(buffers_[actual_buffer_index_]->memory()); memory 176 gpu/command_buffer/client/gles2_implementation_unittest.cc return static_cast<uint8*>(buffers_[expected_buffer_index_]->memory()); memory 468 gpu/command_buffer/client/gles2_implementation_unittest.cc commands_ = static_cast<CommandBufferEntry*>(ring_buffer->memory()) + memory 494 gpu/command_buffer/client/gles2_implementation_unittest.cc memset(ring_buffer->memory(), kInitialValue, ring_buffer->size()); memory 513 gpu/command_buffer/client/gles2_implementation_unittest.cc const uint8* cmds = reinterpret_cast<const uint8*>(ring_buffer->memory()); memory 571 gpu/command_buffer/client/gles2_implementation_unittest.cc memset(ring_buffer->memory(), kInitialValue, ring_buffer->size()); memory 22 gpu/command_buffer/client/mapped_memory.cc allocator_(shm->size(), helper, poll_callback, shm->memory()) {} memory 94 gpu/command_buffer/client/mapped_memory.h return pointer >= shm_->memory() && memory 96 gpu/command_buffer/client/mapped_memory.h reinterpret_cast<const int8*>(shm_->memory()) + shm_->size(); memory 119 gpu/command_buffer/client/mapped_memory_unittest.cc uint8* buffer_memory() { return static_cast<uint8*>(buffer_->memory()); } memory 137 gpu/command_buffer/client/mapped_memory_unittest.cc EXPECT_LE(buffer_->memory(), static_cast<uint8*>(pointer)); memory 100 gpu/command_buffer/client/transfer_buffer.cc static_cast<char*>(buffer_->memory()) + result_size_)); memory 102 gpu/command_buffer/client/transfer_buffer.cc result_buffer_ = buffer_->memory(); memory 20 gpu/command_buffer/common/buffer.cc return shared_memory_->memory(); memory 48 gpu/command_buffer/common/buffer.h void* memory() const { return memory_; } memory 14 gpu/command_buffer/service/async_pixel_transfer_delegate.cc DCHECK(buffer_->memory()); memory 100 gpu/command_buffer/service/common_decoder_unittest.cc int8* buffer_memory = static_cast<int8*>(buffer_->memory()); memory 104 gpu/command_buffer/service/common_decoder_unittest.cc int32 GetSharedMemoryOffset(const void* memory) { memory 105 gpu/command_buffer/service/common_decoder_unittest.cc int8* buffer_memory = static_cast<int8*>(buffer_->memory()); memory 106 gpu/command_buffer/service/common_decoder_unittest.cc ptrdiff_t offset = static_cast<const int8*>(memory) - &buffer_memory[0]; memory 262 gpu/command_buffer/service/common_decoder_unittest.cc void* memory = engine_.GetSharedMemoryAs<void*>(kSomeOffsetInSharedMemory); memory 263 gpu/command_buffer/service/common_decoder_unittest.cc memcpy(memory, kData, sizeof(kData)); memory 272 gpu/command_buffer/service/common_decoder_unittest.cc memcpy(memory, kData2, sizeof(kData2)); memory 319 gpu/command_buffer/service/common_decoder_unittest.cc void* memory = &buffer[0] + sizeof(cmd); memory 320 gpu/command_buffer/service/common_decoder_unittest.cc memcpy(memory, kData, sizeof(kData)); memory 329 gpu/command_buffer/service/common_decoder_unittest.cc memcpy(memory, kData2, sizeof(kData2)); memory 381 gpu/command_buffer/service/common_decoder_unittest.cc uint32* memory = memory 383 gpu/command_buffer/service/common_decoder_unittest.cc *memory = 0x0; memory 388 gpu/command_buffer/service/common_decoder_unittest.cc EXPECT_EQ(kBucketSize, *memory); memory 393 gpu/command_buffer/service/common_decoder_unittest.cc *memory = 0x0; memory 400 gpu/command_buffer/service/common_decoder_unittest.cc EXPECT_EQ(kBucketSize, *memory); memory 404 gpu/command_buffer/service/common_decoder_unittest.cc *memory = 0x0; memory 412 gpu/command_buffer/service/common_decoder_unittest.cc EXPECT_EQ(kBucketSize, *memory); memory 451 gpu/command_buffer/service/common_decoder_unittest.cc *memory = 0x1; memory 472 gpu/command_buffer/service/common_decoder_unittest.cc uint8* memory = engine_.GetSharedMemoryAs<uint8*>(kSomeOffsetInSharedMemory); memory 473 gpu/command_buffer/service/common_decoder_unittest.cc memcpy(memory, kData, sizeof(kData)); memory 479 gpu/command_buffer/service/common_decoder_unittest.cc memset(memory, 0, sizeof(kData)); memory 483 gpu/command_buffer/service/common_decoder_unittest.cc EXPECT_EQ(0, memcmp(memory, kData, sizeof(kData))); memory 489 gpu/command_buffer/service/common_decoder_unittest.cc memset(memory, 0, sizeof(kData)); memory 490 gpu/command_buffer/service/common_decoder_unittest.cc memory[-1] = kSentinel; memory 494 gpu/command_buffer/service/common_decoder_unittest.cc EXPECT_EQ(0, memcmp(memory, kData + kSomeOffsetInBucket, kLengthOfPiece)); memory 495 gpu/command_buffer/service/common_decoder_unittest.cc EXPECT_EQ(0, memcmp(memory + kLengthOfPiece, zero, memory 497 gpu/command_buffer/service/common_decoder_unittest.cc EXPECT_EQ(kSentinel, memory[-1]); memory 275 gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc reinterpret_cast<int8*>(buffer->memory()) + shared_memory_offset_; memory 277 gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc shared_memory_base_ = buffer->memory(); memory 523 gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h memset(valid_buffer_->memory(), kInitialMemoryValue, kSharedBufferSize); memory 204 gpu/command_buffer/service/gpu_scheduler.cc ring_buffer->memory(), ring_buffer->size(), 0, ring_buffer->size()); memory 38 gpu/command_buffer/service/gpu_scheduler_unittest.cc buffer_ = static_cast<int32*>(shared_memory->memory()); memory 198 gpu/command_buffer/service/gpu_scheduler_unittest.cc EXPECT_EQ(&buffer_[0], scheduler_->GetSharedMemoryBuffer(7)->memory()); memory 98 gpu/command_buffer/service/query_manager_unittest.cc data_ = static_cast<uint8*>(valid_buffer_->memory()); memory 59 gpu/command_buffer/service/transfer_buffer_manager.cc DCHECK(!(reinterpret_cast<uintptr_t>(buffer->memory()) & memory 150 gpu/command_buffer/tests/gl_gpu_memory_buffer_unittest.cc EXPECT_TRUE(shared_memory.memory()); memory 154 gpu/command_buffer/tests/gl_gpu_memory_buffer_unittest.cc .WillOnce(Return(shared_memory.memory())) memory 196 media/audio/audio_device_thread.cc base::SharedMemoryHandle memory, memory 204 media/audio/audio_device_thread.cc shared_memory_(memory, false), memory 218 media/audio/audio_device_thread.cc CHECK(shared_memory_.memory()); memory 41 media/audio/audio_device_thread.h base::SharedMemoryHandle memory, memory 29 media/audio/audio_input_device.cc base::SharedMemoryHandle memory, memory 268 media/audio/audio_input_device.cc base::SharedMemoryHandle memory, memory 272 media/audio/audio_input_device.cc : AudioDeviceThread::Callback(audio_parameters, memory, memory_length, memory 290 media/audio/audio_input_device.cc uint8* ptr = static_cast<uint8*>(shared_memory_.memory()); memory 301 media/audio/audio_input_device.cc int16* memory = reinterpret_cast<int16*>(&buffer->audio[0]); memory 302 media/audio/audio_input_device.cc const int bytes_per_sample = sizeof(memory[0]); memory 309 media/audio/audio_input_device.cc audio_bus_->FromInterleaved(memory, audio_bus_->frames(), bytes_per_sample); memory 23 media/audio/audio_output_device.cc base::SharedMemoryHandle memory, memory 270 media/audio/audio_output_device.cc base::SharedMemoryHandle memory, memory 273 media/audio/audio_output_device.cc : AudioDeviceThread::Callback(audio_parameters, memory, memory_length, 1), memory 294 media/audio/audio_output_device.cc AudioBus::WrapMemory(audio_parameters_, shared_memory_.memory()); memory 299 media/audio/audio_output_device.cc static_cast<char*>(shared_memory_.memory()) + output_memory_size; memory 173 media/audio/audio_output_device_unittest.cc memset(shared_memory_.memory(), 0xff, kMemorySize); memory 86 media/base/android/webaudio_media_codec_bridge.cc if (static_cast<uint32_t>(write(fd, encoded_data.memory(), data_size_)) memory 218 media/cast/video_sender/external_video_encoder.cc stream_header_.append(static_cast<const char*>(output_buffer->memory()), memory 241 media/cast/video_sender/external_video_encoder.cc static_cast<const char*>(output_buffer->memory()), payload_size); memory 274 media/cast/video_sender/external_video_encoder.cc void OnCreateSharedMemory(scoped_ptr<base::SharedMemory> memory) { memory 279 media/cast/video_sender/external_video_encoder.cc base::Passed(&memory))); memory 282 media/cast/video_sender/external_video_encoder.cc void ReceivedSharedMemory(scoped_ptr<base::SharedMemory> memory) { memory 286 media/cast/video_sender/external_video_encoder.cc output_buffers_.push_back(memory.release()); memory 274 media/filters/gpu_video_decoder.cc memcpy(shm_buffer->shm->memory(), buffer->data(), size); memory 504 media/video/capture/linux/video_capture_device_linux.cc buffer.memory = V4L2_MEMORY_MMAP; memory 537 media/video/capture/linux/video_capture_device_linux.cc r_buffer.memory = V4L2_MEMORY_MMAP; memory 556 media/video/capture/linux/video_capture_device_linux.cc buffer.memory = V4L2_MEMORY_MMAP; memory 590 media/video/capture/linux/video_capture_device_linux.cc r_buffer.memory = V4L2_MEMORY_MMAP; memory 22 mojo/gles2/command_buffer_client_impl.cc void** memory, memory 36 mojo/gles2/command_buffer_client_impl.cc handle->get(), 0, size, memory, MOJO_MAP_BUFFER_FLAG_NONE); memory 39 mojo/gles2/command_buffer_client_impl.cc DCHECK(*memory); memory 65 mojo/gles2/command_buffer_client_impl.cc void* memory = NULL; memory 68 mojo/gles2/command_buffer_client_impl.cc kSharedStateSize, &memory, &shared_state_handle_, &duped); memory 72 mojo/gles2/command_buffer_client_impl.cc shared_state_ = static_cast<gpu::CommandBufferSharedState*>(memory); memory 140 mojo/gles2/command_buffer_client_impl.cc void* memory = NULL; memory 143 mojo/gles2/command_buffer_client_impl.cc if (!CreateMapAndDupSharedBuffer(size, &memory, &handle, &duped)) memory 153 mojo/gles2/command_buffer_client_impl.cc new MojoBufferBacking(handle.Pass(), memory, size)); memory 13 mojo/services/gles2/mojo_buffer_backing.cc void* memory, memory 15 mojo/services/gles2/mojo_buffer_backing.cc : handle_(handle.Pass()), memory_(memory), size_(size) {} memory 23 mojo/services/gles2/mojo_buffer_backing.cc void* memory = NULL; memory 25 mojo/services/gles2/mojo_buffer_backing.cc handle.get(), 0, size, &memory, MOJO_MAP_BUFFER_FLAG_NONE); memory 28 mojo/services/gles2/mojo_buffer_backing.cc DCHECK(memory); memory 30 mojo/services/gles2/mojo_buffer_backing.cc new MojoBufferBacking(handle.Pass(), memory, size)); memory 18 mojo/services/gles2/mojo_buffer_backing.h void* memory, memory 89 native_client_sdk/src/libraries/nacl_io/kernel_wrap_newlib.cc OP(memory, mmap); \ memory 90 native_client_sdk/src/libraries/nacl_io/kernel_wrap_newlib.cc OP(memory, munmap); memory 205 ppapi/proxy/audio_input_resource.cc !socket_.get() || !capturing_ || !shared_memory_->memory()) { memory 228 ppapi/proxy/audio_input_resource.cc static_cast<media::AudioInputBuffer*>(shared_memory_->memory()); memory 112 ppapi/proxy/gamepad_resource.cc shared_memory_->memory()); memory 56 ppapi/proxy/plugin_array_buffer_var.cc return shmem_->memory(); memory 63 ppapi/proxy/plugin_array_buffer_var.cc return shmem_->memory(); memory 99 ppapi/proxy/plugin_array_buffer_var.cc memcpy(s.memory(), Map(), ByteLength()); memory 133 ppapi/proxy/ppapi_command_buffer_proxy.cc if (!shared_memory->memory()) { memory 54 ppapi/proxy/ppb_buffer_proxy.cc return shm_.memory(); memory 454 ppapi/proxy/ppb_image_data_proxy.cc return shm_.memory(); memory 44 ppapi/shared_impl/media_stream_buffer_manager.cc uint8_t* p = reinterpret_cast<uint8_t*>(shm_->memory()); memory 54 ppapi/shared_impl/media_stream_buffer_manager_unittest.cc int8_t* memory = reinterpret_cast<int8_t*>(manager.GetBufferPointer(0)); memory 55 ppapi/shared_impl/media_stream_buffer_manager_unittest.cc EXPECT_NE(static_cast<int8_t*>(NULL), memory); memory 63 ppapi/shared_impl/media_stream_buffer_manager_unittest.cc EXPECT_EQ(reinterpret_cast<MediaStreamBuffer*>(memory + i * kBufferSize), memory 108 ppapi/shared_impl/media_stream_buffer_manager_unittest.cc int8_t* memory = reinterpret_cast<int8_t*>(manager.GetBufferPointer(0)); memory 109 ppapi/shared_impl/media_stream_buffer_manager_unittest.cc EXPECT_NE(static_cast<int8_t*>(NULL), memory); memory 117 ppapi/shared_impl/media_stream_buffer_manager_unittest.cc EXPECT_EQ(reinterpret_cast<MediaStreamBuffer*>(memory + i * kBufferSize), memory 144 ppapi/shared_impl/media_stream_buffer_manager_unittest.cc int8_t* memory = reinterpret_cast<int8_t*>(manager.GetBufferPointer(0)); memory 145 ppapi/shared_impl/media_stream_buffer_manager_unittest.cc EXPECT_NE(static_cast<int8_t*>(NULL), memory); memory 153 ppapi/shared_impl/media_stream_buffer_manager_unittest.cc EXPECT_EQ(reinterpret_cast<MediaStreamBuffer*>(memory + i * kBufferSize1), memory 167 ppapi/shared_impl/media_stream_buffer_manager_unittest.cc int8_t* memory = reinterpret_cast<int8_t*>(manager.GetBufferPointer(0)); memory 168 ppapi/shared_impl/media_stream_buffer_manager_unittest.cc EXPECT_NE(static_cast<int8_t*>(NULL), memory); memory 176 ppapi/shared_impl/media_stream_buffer_manager_unittest.cc EXPECT_EQ(reinterpret_cast<MediaStreamBuffer*>(memory + i * kBufferSize2), memory 120 ppapi/shared_impl/ppb_audio_shared.cc kAudioOutputChannels, sample_frame_count, shared_memory_->memory()); memory 133 ppapi/shared_impl/ppb_audio_shared.cc !shared_memory_->memory() || !audio_bus_.get() || !client_buffer_.get() || memory 139 ppapi/shared_impl/ppb_audio_shared.cc memset(shared_memory_->memory(), 0, shared_memory_size_); memory 42 ppapi/tests/test_char_set.cc pp::Memory_Dev memory; memory 49 ppapi/tests/test_char_set.cc memory.MemFree(utf8result); memory 58 ppapi/tests/test_char_set.cc memory.MemFree(utf8result); memory 78 ppapi/tests/test_char_set.cc memory.MemFree(utf8result); memory 87 ppapi/tests/test_char_set.cc memory.MemFree(utf8result); memory 99 ppapi/tests/test_char_set.cc memory.MemFree(utf8result); memory 225 ppapi/tests/test_char_set.cc pp::Memory_Dev memory; memory 235 ppapi/tests/test_char_set.cc memory.MemFree(utf16result); memory 246 ppapi/tests/test_char_set.cc memory.MemFree(utf16result); memory 255 ppapi/tests/test_char_set.cc memory.MemFree(utf16result); memory 265 ppapi/tests/test_char_set.cc memory.MemFree(utf16result); memory 275 ppapi/tests/test_char_set.cc memory.MemFree(utf16result); memory 283 ppapi/tests/test_char_set.cc memory.MemFree(utf16result); memory 382 ppapi/tests/test_char_set.cc pp::Memory_Dev memory; memory 383 ppapi/tests/test_char_set.cc memory.MemFree(result); memory 296 remoting/codec/codec_test.cc uint8* memory = frame->data() + memory 301 remoting/codec/codec_test.cc memory[x] = rand() % 256; memory 302 remoting/codec/codec_test.cc memory += frame->stride(); memory 75 remoting/host/desktop_session_agent.cc scoped_ptr<base::SharedMemory> memory(new base::SharedMemory()); memory 76 remoting/host/desktop_session_agent.cc if (!memory->CreateAndMapAnonymous(size)) memory 79 remoting/host/desktop_session_agent.cc new SharedBuffer(agent, memory.Pass(), size, id)); memory 88 remoting/host/desktop_session_agent.cc scoped_ptr<base::SharedMemory> memory, memory 91 remoting/host/desktop_session_agent.cc : SharedMemory(memory->memory(), size, memory 93 remoting/host/desktop_session_agent.cc memory->handle(), memory 95 remoting/host/desktop_session_agent.cc memory->handle().fd, memory 99 remoting/host/desktop_session_agent.cc shared_memory_(memory.Pass()) { memory 68 remoting/host/desktop_session_proxy.cc void* memory() { return shared_memory_.memory(); } memory 91 remoting/host/desktop_session_proxy.cc : SharedMemory(core->memory(), core->size(), memory 469 remoting/host/desktop_session_proxy.cc if (shared_buffer->memory() != NULL && memory 43 sandbox/win/src/eat_resolver.cc AutoProtectMemory memory; memory 44 sandbox/win/src/eat_resolver.cc ret = memory.ChangeProtection(eat_entry_, sizeof(DWORD), PAGE_READWRITE); memory 44 sandbox/win/src/filesystem_interception.cc void* memory = GetGlobalIPCMemory(); memory 45 sandbox/win/src/filesystem_interception.cc if (NULL == memory) memory 65 sandbox/win/src/filesystem_interception.cc SharedMemIPCClient ipc(memory); memory 115 sandbox/win/src/filesystem_interception.cc void* memory = GetGlobalIPCMemory(); memory 116 sandbox/win/src/filesystem_interception.cc if (NULL == memory) memory 136 sandbox/win/src/filesystem_interception.cc SharedMemIPCClient ipc(memory); memory 179 sandbox/win/src/filesystem_interception.cc void* memory = GetGlobalIPCMemory(); memory 180 sandbox/win/src/filesystem_interception.cc if (NULL == memory) memory 201 sandbox/win/src/filesystem_interception.cc SharedMemIPCClient ipc(memory); memory 237 sandbox/win/src/filesystem_interception.cc void* memory = GetGlobalIPCMemory(); memory 238 sandbox/win/src/filesystem_interception.cc if (NULL == memory) memory 259 sandbox/win/src/filesystem_interception.cc SharedMemIPCClient ipc(memory); memory 290 sandbox/win/src/filesystem_interception.cc void* memory = GetGlobalIPCMemory(); memory 291 sandbox/win/src/filesystem_interception.cc if (NULL == memory) memory 336 sandbox/win/src/filesystem_interception.cc SharedMemIPCClient ipc(memory); memory 23 sandbox/win/src/handle_interception.cc void* memory = GetGlobalIPCMemory(); memory 24 sandbox/win/src/handle_interception.cc if (NULL == memory) memory 27 sandbox/win/src/handle_interception.cc SharedMemIPCClient ipc(memory); memory 34 sandbox/win/src/interception_unittest.cc SharedMemory *memory = reinterpret_cast<SharedMemory*>(buffer); memory 37 sandbox/win/src/interception_unittest.cc DllPatchInfo *dll = &memory->dll_list[0]; memory 39 sandbox/win/src/interception_unittest.cc for (int i = 0; i < memory->num_intercepted_dlls; i++) { memory 41 sandbox/win/src/named_pipe_interception.cc void* memory = GetGlobalIPCMemory(); memory 42 sandbox/win/src/named_pipe_interception.cc if (NULL == memory) memory 51 sandbox/win/src/named_pipe_interception.cc SharedMemIPCClient ipc(memory); memory 278 sandbox/win/src/policy_engine_opcodes.h OpcodeFactory(char* memory, size_t memory_size) memory 279 sandbox/win/src/policy_engine_opcodes.h : memory_top_(memory) { memory 121 sandbox/win/src/policy_low_level.cc char* memory = new char[sizeof(PolicyBuffer) + kRuleBufferSize]; memory 122 sandbox/win/src/policy_low_level.cc buffer_ = reinterpret_cast<PolicyBuffer*>(memory); memory 134 sandbox/win/src/policy_low_level.cc char* memory = new char[buffer_size]; memory 135 sandbox/win/src/policy_low_level.cc buffer_ = reinterpret_cast<PolicyBuffer*>(memory); memory 84 sandbox/win/src/policy_opcodes_unittest.cc char memory[1024]; memory 85 sandbox/win/src/policy_opcodes_unittest.cc OpcodeFactory opcode_maker(memory, sizeof(memory)); memory 129 sandbox/win/src/policy_opcodes_unittest.cc char memory[256]; memory 130 sandbox/win/src/policy_opcodes_unittest.cc OpcodeFactory opcode_maker(memory, sizeof(memory)); memory 131 sandbox/win/src/policy_opcodes_unittest.cc size_t count = sizeof(memory) / sizeof(PolicyOpcode); memory 155 sandbox/win/src/policy_opcodes_unittest.cc char memory[256]; memory 156 sandbox/win/src/policy_opcodes_unittest.cc OpcodeFactory opcode_maker(memory, sizeof(memory)); memory 157 sandbox/win/src/policy_opcodes_unittest.cc size_t count = sizeof(memory) / (sizeof(PolicyOpcode) + sizeof(txt2)); memory 184 sandbox/win/src/policy_opcodes_unittest.cc char memory[128]; memory 185 sandbox/win/src/policy_opcodes_unittest.cc OpcodeFactory opcode_maker(memory, sizeof(memory)); memory 211 sandbox/win/src/policy_opcodes_unittest.cc char memory[128]; memory 212 sandbox/win/src/policy_opcodes_unittest.cc OpcodeFactory opcode_maker(memory, sizeof(memory)); memory 236 sandbox/win/src/policy_opcodes_unittest.cc char memory[512]; memory 237 sandbox/win/src/policy_opcodes_unittest.cc OpcodeFactory opcode_maker(memory, sizeof(memory)); memory 314 sandbox/win/src/policy_opcodes_unittest.cc char memory[256]; memory 315 sandbox/win/src/policy_opcodes_unittest.cc OpcodeFactory opcode_maker(memory, sizeof(memory)); memory 332 sandbox/win/src/policy_opcodes_unittest.cc char memory[256]; memory 333 sandbox/win/src/policy_opcodes_unittest.cc OpcodeFactory opcode_maker(memory, sizeof(memory)); memory 67 sandbox/win/src/process_thread_interception.cc void* memory = GetGlobalIPCMemory(); memory 68 sandbox/win/src/process_thread_interception.cc if (NULL == memory) memory 71 sandbox/win/src/process_thread_interception.cc SharedMemIPCClient ipc(memory); memory 145 sandbox/win/src/process_thread_interception.cc void* memory = GetGlobalIPCMemory(); memory 146 sandbox/win/src/process_thread_interception.cc if (NULL == memory) memory 149 sandbox/win/src/process_thread_interception.cc SharedMemIPCClient ipc(memory); memory 190 sandbox/win/src/process_thread_interception.cc void* memory = GetGlobalIPCMemory(); memory 191 sandbox/win/src/process_thread_interception.cc if (NULL == memory) memory 194 sandbox/win/src/process_thread_interception.cc SharedMemIPCClient ipc(memory); memory 235 sandbox/win/src/process_thread_interception.cc void* memory = GetGlobalIPCMemory(); memory 236 sandbox/win/src/process_thread_interception.cc if (NULL == memory) memory 239 sandbox/win/src/process_thread_interception.cc SharedMemIPCClient ipc(memory); memory 288 sandbox/win/src/process_thread_interception.cc void* memory = GetGlobalIPCMemory(); memory 289 sandbox/win/src/process_thread_interception.cc if (NULL == memory) memory 299 sandbox/win/src/process_thread_interception.cc SharedMemIPCClient ipc(memory); memory 347 sandbox/win/src/process_thread_interception.cc void* memory = GetGlobalIPCMemory(); memory 348 sandbox/win/src/process_thread_interception.cc if (NULL == memory) memory 377 sandbox/win/src/process_thread_interception.cc SharedMemIPCClient ipc(memory); memory 47 sandbox/win/src/registry_interception.cc void* memory = GetGlobalIPCMemory(); memory 48 sandbox/win/src/registry_interception.cc if (NULL == memory) memory 59 sandbox/win/src/registry_interception.cc SharedMemIPCClient ipc(memory); memory 106 sandbox/win/src/registry_interception.cc void* memory = GetGlobalIPCMemory(); memory 107 sandbox/win/src/registry_interception.cc if (NULL == memory) memory 118 sandbox/win/src/registry_interception.cc SharedMemIPCClient ipc(memory); memory 412 sandbox/win/src/restricted_token_unittest.cc BYTE *memory = new BYTE[1000]; memory 413 sandbox/win/src/restricted_token_unittest.cc TOKEN_GROUPS *groups = reinterpret_cast<TOKEN_GROUPS*>(memory); memory 421 sandbox/win/src/restricted_token_unittest.cc delete[] memory; memory 534 sandbox/win/src/restricted_token_unittest.cc BYTE *memory = new BYTE[1000]; memory 535 sandbox/win/src/restricted_token_unittest.cc TOKEN_GROUPS *groups = reinterpret_cast<TOKEN_GROUPS*>(memory); memory 543 sandbox/win/src/restricted_token_unittest.cc delete[] memory; memory 121 sandbox/win/src/sandbox_nt_util.cc void* memory = NULL; memory 125 sandbox/win/src/sandbox_nt_util.cc &memory, 0, 0, NULL, &size, ViewUnmap, memory 128 sandbox/win/src/sandbox_nt_util.cc if (!NT_SUCCESS(ret) || NULL == memory) { memory 134 sandbox/win/src/sandbox_nt_util.cc memory, NULL)) { memory 136 sandbox/win/src/sandbox_nt_util.cc ret = g_nt.UnmapViewOfSection(NtCurrentProcess, memory); memory 563 sandbox/win/src/sandbox_nt_util.cc void operator delete(void* memory, sandbox::AllocationType type) { memory 568 sandbox/win/src/sandbox_nt_util.cc VERIFY(g_nt.RtlFreeHeap(sandbox::g_heap, 0, memory)); memory 570 sandbox/win/src/sandbox_nt_util.cc void* base = memory; memory 579 sandbox/win/src/sandbox_nt_util.cc void operator delete(void* memory, sandbox::AllocationType type, memory 582 sandbox/win/src/sandbox_nt_util.cc operator delete(memory, type); memory 592 sandbox/win/src/sandbox_nt_util.cc void __cdecl operator delete(void* memory, void* buffer, memory 594 sandbox/win/src/sandbox_nt_util.cc UNREFERENCED_PARAMETER(memory); memory 17 sandbox/win/src/sandbox_nt_util.h void __cdecl operator delete(void* memory, sandbox::AllocationType type); memory 22 sandbox/win/src/sandbox_nt_util.h void __cdecl operator delete(void* memory, sandbox::AllocationType type, memory 28 sandbox/win/src/sandbox_nt_util.h void __cdecl operator delete(void* memory, void* buffer, memory 51 sandbox/win/src/sidestep_resolver.cc AutoProtectMemory memory; memory 52 sandbox/win/src/sidestep_resolver.cc ret = memory.ChangeProtection(target_, kSizeOfSidestepStub, PAGE_READWRITE); memory 73 sandbox/win/src/sync_interception.cc void* memory = GetGlobalIPCMemory(); memory 74 sandbox/win/src/sync_interception.cc if (memory == NULL) memory 90 sandbox/win/src/sync_interception.cc ResultCode code = ProxyCreateEvent(name, initial_state, event_type, memory, memory 126 sandbox/win/src/sync_interception.cc void* memory = GetGlobalIPCMemory(); memory 127 sandbox/win/src/sync_interception.cc if (memory == NULL) memory 143 sandbox/win/src/sync_interception.cc ResultCode code = ProxyOpenEvent(name, desired_access, memory, &answer); memory 108 sandbox/win/src/target_services.cc void* memory = GetGlobalIPCMemory(); memory 109 sandbox/win/src/target_services.cc if (NULL == memory) { memory 112 sandbox/win/src/target_services.cc SharedMemIPCClient ipc(memory); memory 32 skia/ext/SkDiscardableMemory_chrome.cc scoped_ptr<base::DiscardableMemory> memory) memory 33 skia/ext/SkDiscardableMemory_chrome.cc : discardable_(memory.Pass()) { memory 26 skia/ext/SkDiscardableMemory_chrome.h SkDiscardableMemoryChrome(scoped_ptr<base::DiscardableMemory> memory); memory 323 third_party/libwebp/dec/io.c p->memory = calloc(1, tmp_size * sizeof(*work)); memory 324 third_party/libwebp/dec/io.c if (p->memory == NULL) { memory 327 third_party/libwebp/dec/io.c work = (int32_t*)p->memory; memory 495 third_party/libwebp/dec/io.c p->memory = calloc(1, tmp_size1 * sizeof(*work) + tmp_size2 * sizeof(*tmp)); memory 496 third_party/libwebp/dec/io.c if (p->memory == NULL) { memory 499 third_party/libwebp/dec/io.c work = (int32_t*)p->memory; memory 540 third_party/libwebp/dec/io.c p->memory = NULL; memory 559 third_party/libwebp/dec/io.c p->memory = malloc(io->mb_w + 2 * uv_width); memory 560 third_party/libwebp/dec/io.c if (p->memory == NULL) { memory 563 third_party/libwebp/dec/io.c p->tmp_y = (uint8_t*)p->memory; memory 613 third_party/libwebp/dec/io.c free(p->memory); memory 614 third_party/libwebp/dec/io.c p->memory = NULL; memory 392 third_party/libwebp/dec/vp8l.c uint8_t* memory = (uint8_t*)WebPSafeCalloc(memory_size, sizeof(*memory)); memory 393 third_party/libwebp/dec/vp8l.c if (memory == NULL) { memory 398 third_party/libwebp/dec/vp8l.c dec->rescaler_memory = memory; memory 400 third_party/libwebp/dec/vp8l.c dec->rescaler = (WebPRescaler*)memory; memory 401 third_party/libwebp/dec/vp8l.c memory += sizeof(*dec->rescaler); memory 402 third_party/libwebp/dec/vp8l.c work = (int32_t*)memory; memory 403 third_party/libwebp/dec/vp8l.c memory += work_size * sizeof(*work); memory 404 third_party/libwebp/dec/vp8l.c scaled_data = (uint32_t*)memory; memory 40 third_party/libwebp/dec/webpi.h void* memory; // overall scratch memory for the output work. memory 63 third_party/libwebp/enc/histogram.c uint8_t* memory = (uint8_t*)WebPSafeMalloc(total_size, sizeof(*memory)); memory 64 third_party/libwebp/enc/histogram.c if (memory == NULL) return NULL; memory 66 third_party/libwebp/enc/histogram.c set = (VP8LHistogramSet*)memory; memory 67 third_party/libwebp/enc/histogram.c memory += sizeof(*set); memory 68 third_party/libwebp/enc/histogram.c set->histograms = (VP8LHistogram**)memory; memory 69 third_party/libwebp/enc/histogram.c memory += size * sizeof(*set->histograms); memory 70 third_party/libwebp/enc/histogram.c bulk = (VP8LHistogram*)memory; memory 128 third_party/libwebp/enc/picture.c void* memory; memory 135 third_party/libwebp/enc/picture.c memory = WebPSafeMalloc(argb_size, sizeof(*picture->argb)); memory 136 third_party/libwebp/enc/picture.c if (memory == NULL) return 0; memory 139 third_party/libwebp/enc/picture.c picture->memory_argb_ = memory; memory 140 third_party/libwebp/enc/picture.c picture->argb = (uint32_t*)memory; memory 641 third_party/libxml/src/include/libxml/tree.h xmlChar *memory, memory 53 third_party/libxml/src/testRelax.c static int memory = 0; memory 70 third_party/libxml/src/testRelax.c memory++; memory 88 third_party/libxml/src/testRelax.c if (memory) { memory 53 third_party/libxml/src/testSchemas.c static int memory = 0; memory 70 third_party/libxml/src/testSchemas.c memory++; memory 84 third_party/libxml/src/testSchemas.c if (memory) { memory 19009 third_party/libxml/src/testapi.c xmlChar * memory; /* preallocated memory */ memory 19021 third_party/libxml/src/testapi.c memory = gen_xmlChar_ptr(n_memory, 2); memory 19024 third_party/libxml/src/testapi.c ret_val = xmlBuildQName((const xmlChar *)ncname, (const xmlChar *)prefix, memory, len); memory 19026 third_party/libxml/src/testapi.c (ret_val != prefix) && (ret_val != memory)) memory 19033 third_party/libxml/src/testapi.c des_xmlChar_ptr(n_memory, memory, 2); memory 601 third_party/libxml/src/threads.c void *memory; memory 611 third_party/libxml/src/threads.c xmlFreeGlobalState(params->memory); memory 618 third_party/libxml/src/threads.c void *memory; memory 692 third_party/libxml/src/threads.c globalval = (xmlGlobalState *) (p ? p->memory : NULL); memory 707 third_party/libxml/src/threads.c p->memory = tsd; memory 926 third_party/libxml/src/threads.c xmlFreeGlobalState(temp->memory); memory 1009 third_party/libxml/src/threads.c globalval = (xmlGlobalState *) (p ? p->memory : NULL); memory 215 third_party/libxml/src/tree.c xmlChar *memory, int len) { memory 225 third_party/libxml/src/tree.c if ((memory == NULL) || (len < lenn + lenp + 2)) { memory 232 third_party/libxml/src/tree.c ret = memory; memory 169 third_party/libxml/src/xmllint.c static int memory = 0; memory 1827 third_party/libxml/src/xmllint.c if (memory) { memory 1973 third_party/libxml/src/xmllint.c if (memory) { memory 2211 third_party/libxml/src/xmllint.c else if ((html) && (memory)) { memory 2326 third_party/libxml/src/xmllint.c } else if (memory) { memory 2584 third_party/libxml/src/xmllint.c if (memory) { memory 3223 third_party/libxml/src/xmllint.c memory++; memory 299 third_party/v4l2capture/v4l2capture.c reqbuf.memory = V4L2_MEMORY_MMAP; memory 327 third_party/v4l2capture/v4l2capture.c buffer.memory = V4L2_MEMORY_MMAP; memory 367 third_party/v4l2capture/v4l2capture.c buffer.memory = V4L2_MEMORY_MMAP; memory 389 third_party/v4l2capture/v4l2capture.c buffer.memory = V4L2_MEMORY_MMAP; memory 85 tools/android/memconsumer/java/src/org/chromium/memconsumer/MemConsumer.java void updateMemoryConsumption(int memory) { memory 86 tools/android/memconsumer/java/src/org/chromium/memconsumer/MemConsumer.java if (memory == mMemory || memory < 0) return; memory 87 tools/android/memconsumer/java/src/org/chromium/memconsumer/MemConsumer.java mMemory = memory; memory 36 tools/android/memconsumer/java/src/org/chromium/memconsumer/ResidentService.java public void useMemory(long memory) { memory 37 tools/android/memconsumer/java/src/org/chromium/memconsumer/ResidentService.java if (memory > 0) { memory 44 tools/android/memconsumer/java/src/org/chromium/memconsumer/ResidentService.java setContentTitle("MC running (" + memory + "Mb)"). memory 52 tools/android/memconsumer/java/src/org/chromium/memconsumer/ResidentService.java if (mIsInForeground && memory == 0) { memory 56 tools/android/memconsumer/java/src/org/chromium/memconsumer/ResidentService.java nativeUseMemory(memory * 1024 * 1024); memory 61 tools/android/memconsumer/java/src/org/chromium/memconsumer/ResidentService.java private native void nativeUseMemory(long memory); memory 14 tools/android/memconsumer/memconsumer_hook.cc jlong memory); memory 33 tools/android/memconsumer/memconsumer_hook.cc jlong memory) { memory 37 tools/android/memconsumer/memconsumer_hook.cc if (memory == 0) { memory 41 tools/android/memconsumer/memconsumer_hook.cc g_memory = static_cast<uint32_t*>(malloc(memory)); memory 46 tools/android/memconsumer/memconsumer_hook.cc memory); memory 50 tools/android/memconsumer/memconsumer_hook.cc memory /= 2; memory 51 tools/android/memconsumer/memconsumer_hook.cc g_memory = static_cast<uint32_t*>(malloc(memory)); memory 53 tools/android/memconsumer/memconsumer_hook.cc for (int i = 0; i < memory / sizeof(uint32_t); ++i) memory 179 ui/base/clipboard/clipboard.cc bitmap.setPixels(bitmap_data->memory()); memory 252 ui/base/clipboard/clipboard_aurax11.cc const scoped_refptr<base::RefCountedMemory>& memory); memory 376 ui/base/clipboard/clipboard_aurax11.cc const scoped_refptr<base::RefCountedMemory>& memory) { memory 378 ui/base/clipboard/clipboard_aurax11.cc clipboard_data_.Insert(atom_key, memory); memory 359 ui/base/clipboard/clipboard_unittest.cc memcpy(shared_buf.memory(), bitmap_data, bitmap_data_size); memory 361 ui/base/clipboard/clipboard_unittest.cc uint32* pixel_buffer = static_cast<uint32*>(shared_buf.memory()); memory 715 ui/base/resource/resource_bundle.cc scoped_refptr<base::RefCountedMemory> memory( memory 717 ui/base/resource/resource_bundle.cc if (!memory.get()) memory 720 ui/base/resource/resource_bundle.cc if (DecodePNG(memory->front(), memory->size(), bitmap, fell_back_to_1x)) memory 727 ui/base/resource/resource_bundle.cc gfx::JPEGCodec::Decode(memory->front(), memory->size())); memory 89 ui/base/x/selection_utils.cc const scoped_refptr<base::RefCountedMemory>& memory) { memory 90 ui/base/x/selection_utils.cc if (!memory.get()) { memory 95 ui/base/x/selection_utils.cc size_t size = memory->size(); memory 99 ui/base/x/selection_utils.cc const unsigned char* front = memory->front(); memory 104 ui/base/x/selection_utils.cc const scoped_refptr<base::RefCountedMemory>& memory) { memory 105 ui/base/x/selection_utils.cc if (!memory.get()) { memory 110 ui/base/x/selection_utils.cc size_t size = memory->size(); memory 114 ui/base/x/selection_utils.cc const unsigned char* front = memory->front(); memory 161 ui/base/x/selection_utils.cc const scoped_refptr<base::RefCountedMemory>& memory) memory 163 ui/base/x/selection_utils.cc memory_(memory), memory 53 ui/base/x/selection_utils.h const scoped_refptr<base::RefCountedMemory>& memory); memory 56 ui/base/x/selection_utils.h const scoped_refptr<base::RefCountedMemory>& memory); memory 101 ui/base/x/selection_utils.h const scoped_refptr<base::RefCountedMemory>& memory); memory 131 ui/gl/gl_image_shm.cc DCHECK(!shared_memory_->memory()); memory 137 ui/gl/gl_image_shm.cc DCHECK(shared_memory_->memory()); memory 160 ui/gl/gl_image_shm.cc shared_memory_->memory()); memory 185 ui/gl/gl_image_shm.cc shared_memory_->memory()); memory 205 ui/gl/gl_image_shm.cc shared_memory_->memory()); memory 154 ui/surface/transport_dib.h void* memory() const; memory 100 ui/surface/transport_dib_gtk.cc reinterpret_cast<uint8_t*>(memory()), memory 70 ui/surface/transport_dib_posix.cc if ((!memory() && !Map()) || !VerifyCanvasSize(w, h)) memory 73 ui/surface/transport_dib_posix.cc reinterpret_cast<uint8_t*>(memory()), memory 85 ui/surface/transport_dib_posix.cc if (memory()) memory 100 ui/surface/transport_dib_posix.cc return shared_memory_.memory(); memory 69 ui/surface/transport_dib_win.cc DCHECK(!memory()) << "Mapped file twice in the same process."; memory 88 ui/surface/transport_dib_win.cc if (memory()) memory 103 ui/surface/transport_dib_win.cc return shared_memory_.memory(); memory 54 webkit/common/blob/blob_data.cc int64 memory = 0; memory 58 webkit/common/blob/blob_data.cc memory += iter->length(); memory 60 webkit/common/blob/blob_data.cc return memory; memory 41 webkit/renderer/compositor_bindings/web_external_bitmap_impl.cc return static_cast<uint8*>(shared_memory_->memory());