HomeSort by relevance Sort by last modified time
    Searched refs:memory1 (Results 1 - 3 of 3) sorted by null

  /external/chromium_org/base/memory/
discardable_memory_allocator_android_unittest.cc 94 scoped_ptr<DiscardableMemory> memory1(allocator_.Allocate(3 * kPageSize));
95 ASSERT_TRUE(memory1);
101 memory1.reset();
104 memory1 = allocator_.Allocate(1 * kPageSize);
105 ASSERT_TRUE(memory1);
107 EXPECT_EQ(address_3, memory1->Memory());
108 WriteToDiscardableMemory(memory1.get(), kPageSize);
112 scoped_ptr<DiscardableMemory> memory1(allocator_.Allocate(kPageSize));
113 ASSERT_TRUE(memory1);
120 void* const memory1_address = memory1->Memory()
    [all...]
shared_memory_unittest.cc 111 SharedMemory memory1; variable
112 EXPECT_TRUE(memory1.CreateNamed("SharedMemoryMultipleLockThreadTest",
114 EXPECT_TRUE(memory1.ShareToProcess(GetCurrentProcess(), &handle));
154 SharedMemory memory1; local
155 bool rv = memory1.Delete(test_name);
157 rv = memory1.Delete(test_name);
159 rv = memory1.Open(test_name, false);
161 rv = memory1.CreateNamed(test_name, false, kDataSize);
163 rv = memory1.Map(kDataSize);
170 EXPECT_NE(memory1.memory(), memory2.memory()); // Compare the pointers
206 SharedMemory memory1; local
    [all...]
  /external/chromium/base/
shared_memory_unittest.cc 85 SharedMemory memory1; local
86 EXPECT_TRUE(memory1.CreateNamed("SharedMemoryMultipleLockThreadTest",
88 EXPECT_TRUE(memory1.ShareToProcess(GetCurrentProcess(), &handle));
125 SharedMemory memory1; local
126 bool rv = memory1.Delete(test_name);
128 rv = memory1.Delete(test_name);
130 rv = memory1.Open(test_name, false);
132 rv = memory1.CreateNamed(test_name, false, kDataSize);
134 rv = memory1.Map(kDataSize);
141 EXPECT_NE(memory1.memory(), memory2.memory()); // Compare the pointers
177 SharedMemory memory1; local
    [all...]

Completed in 678 milliseconds