Lines Matching refs:g_thunks
36 PROTECTED_MEMORY_SECTION base::ProtectedMemory<MojoSystemThunks> g_thunks;
49 (reinterpret_cast<uintptr_t>(static_cast<const void*>(&g_thunks->name)) - \
50 reinterpret_cast<uintptr_t>(static_cast<const void*>(&g_thunks)) < \
51 g_thunks->size)
55 ? base::UnsanitizedCfiCall(g_thunks, &MojoSystemThunks::name)(__VA_ARGS__) \
117 DCHECK_EQ(g_thunks->size, 0u);
119 auto writer = base::AutoWritableMemory::Create(g_thunks);
120 g_thunks->size = sizeof(*g_thunks);
121 base::UnsanitizedCfiCall(g_get_thunks)(&*g_thunks);
124 CHECK_GT(g_thunks->size, 0u)
149 DCHECK(g_thunks->Initialize);
476 DCHECK_EQ(thunks->size, sizeof(*g_thunks));
478 // This should only have to check that the |g_thunks->size| is zero, but we
481 DCHECK(g_thunks->size == 0 || !memcmp(&*g_thunks, thunks, sizeof(*g_thunks)))
484 auto writer = base::AutoWritableMemory::Create(g_thunks);
485 *g_thunks = *thunks;