Searched refs:AutoWritableMemory (Results 1 – 5 of 5) sorted by relevance
178 class AutoWritableMemory {208 AutoWritableMemory(void* ptr, void* ptr_end) { in AutoWritableMemory() function233 static AutoWritableMemory Create(ProtectedMemory<T>& PM) { in Create()235 return AutoWritableMemory(ptr, ptr + 1); in Create()239 AutoWritableMemory(AutoWritableMemory&& original) { in AutoWritableMemory() function249 ~AutoWritableMemory() { in ~AutoWritableMemory()264 DISALLOW_IMPLICIT_CONSTRUCTORS(AutoWritableMemory);270 AutoWritableMemory writer = AutoWritableMemory::Create(*PM); in Initializer()
45 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()
11 PROTECTED_MEMORY_SECTION int AutoWritableMemory::writers = 0;14 base::LazyInstance<Lock>::Leaky AutoWritableMemory::writers_lock =
39 bool AutoWritableMemory::SetMemoryReadWrite(void* start, void* end) { in SetMemoryReadWrite()43 bool AutoWritableMemory::SetMemoryReadOnly(void* start, void* end) { in SetMemoryReadOnly()
110 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()