OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:memory2
(Results
1 - 3
of
3
) sorted by null
/external/chromium_org/base/memory/
discardable_memory_allocator_android_unittest.cc
96
scoped_ptr<DiscardableMemory>
memory2
(allocator_.Allocate(2 * kPageSize));
97
ASSERT_TRUE(
memory2
);
102
// Don't free |
memory2
| to avoid merging the 3 blocks together.
114
scoped_ptr<DiscardableMemory>
memory2
(allocator_.Allocate(kPageSize));
115
ASSERT_TRUE(
memory2
);
123
// Freeing |
memory2
| (located between memory1 and memory3) should merge the
125
memory2
.reset();
133
scoped_ptr<DiscardableMemory>
memory2
(allocator_.Allocate(4 * kPageSize));
134
ASSERT_TRUE(
memory2
);
138
memory2
.reset()
[
all
...]
shared_memory_unittest.cc
120
SharedMemory
memory2
(handle, false);
121
EXPECT_TRUE(
memory2
.Map(kDataSize));
122
volatile int* const ptr = static_cast<int*>(
memory2
.memory());
125
memory2
.Lock();
130
memory2
.Unlock();
133
memory2
.Close();
165
SharedMemory
memory2
;
local
166
rv =
memory2
.Open(test_name, false);
168
rv =
memory2
.Map(kDataSize);
170
EXPECT_NE(memory1.memory(),
memory2
.memory()); // Compare the pointers
225
SharedMemory
memory2
;
local
[
all
...]
/external/chromium/base/
shared_memory_unittest.cc
94
SharedMemory
memory2
(handle, false);
95
EXPECT_TRUE(
memory2
.Map(kDataSize));
96
volatile int* const ptr = static_cast<int*>(
memory2
.memory());
99
memory2
.Lock();
104
memory2
.Unlock();
107
memory2
.Close();
136
SharedMemory
memory2
;
local
137
rv =
memory2
.Open(test_name, false);
139
rv =
memory2
.Map(kDataSize);
141
EXPECT_NE(memory1.memory(),
memory2
.memory()); // Compare the pointers
189
SharedMemory
memory2
;
local
[
all
...]
Completed in 1648 milliseconds