Home
last modified time | relevance | path

Searched refs:AutoWritableMemory (Results 1 – 5 of 5) sorted by relevance

/external/libchrome/base/memory/
Dprotected_memory.h178 class AutoWritableMemory {
208 AutoWritableMemory(void* ptr, void* ptr_end) { in AutoWritableMemory() function
233 static AutoWritableMemory Create(ProtectedMemory<T>& PM) { in Create()
235 return AutoWritableMemory(ptr, ptr + 1); in Create()
239 AutoWritableMemory(AutoWritableMemory&& original) { in AutoWritableMemory() function
249 ~AutoWritableMemory() { in ~AutoWritableMemory()
264 DISALLOW_IMPLICIT_CONSTRUCTORS(AutoWritableMemory);
270 AutoWritableMemory writer = AutoWritableMemory::Create(*PM); in Initializer()
Dprotected_memory_unittest.cc45 AutoWritableMemory writer = AutoWritableMemory::Create(data); in TEST_F()
54 EXPECT_DEATH({ data->foo = 6; AutoWritableMemory::Create(data); }, ""); in TEST_F()
58 { AutoWritableMemory writer = AutoWritableMemory::Create(data); } in TEST_F()
64 { AutoWritableMemory::Create(data); } in TEST_F()
73 EXPECT_DCHECK_DEATH({ AutoWritableMemory::Create(data); }); in TEST_F()
Dprotected_memory.cc11 PROTECTED_MEMORY_SECTION int AutoWritableMemory::writers = 0;
14 base::LazyInstance<Lock>::Leaky AutoWritableMemory::writers_lock =
Dprotected_memory_posix.cc39 bool AutoWritableMemory::SetMemoryReadWrite(void* start, void* end) { in SetMemoryReadWrite()
43 bool AutoWritableMemory::SetMemoryReadOnly(void* start, void* end) { in SetMemoryReadOnly()
/external/libchrome/mojo/public/c/system/
Dthunks.cc110 auto writer = base::AutoWritableMemory::Create(g_get_thunks); in CoreLibraryInitializer()
119 auto writer = base::AutoWritableMemory::Create(g_thunks); in CoreLibraryInitializer()
484 auto writer = base::AutoWritableMemory::Create(g_thunks); in MojoEmbedderSetSystemThunks()