Home
last modified time | relevance | path

Searched refs:g_thunks (Results 1 – 3 of 3) sorted by relevance

/external/libchrome/mojo/core/
Dmojo_core.cc20 MojoSystemThunks g_thunks = {0}; variable
31 if (!g_thunks.size) { in MojoGetSystemThunks()
32 g_thunks = mojo::core::GetSystemThunks(); in MojoGetSystemThunks()
33 g_thunks.Initialize = InitializeImpl; in MojoGetSystemThunks()
38 CHECK_GE(thunks->size, g_thunks.size); in MojoGetSystemThunks()
39 memcpy(thunks, &g_thunks, g_thunks.size); in MojoGetSystemThunks()
Dentrypoints.cc350 MojoSystemThunks g_thunks = {sizeof(MojoSystemThunks), variable
410 return g_thunks; in GetSystemThunks()
/external/libchrome/mojo/public/c/system/
Dthunks.cc36 PROTECTED_MEMORY_SECTION base::ProtectedMemory<MojoSystemThunks> g_thunks; variable
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); in CoreLibraryInitializer()
119 auto writer = base::AutoWritableMemory::Create(g_thunks); in CoreLibraryInitializer()
120 g_thunks->size = sizeof(*g_thunks); in CoreLibraryInitializer()
121 base::UnsanitizedCfiCall(g_get_thunks)(&*g_thunks); in CoreLibraryInitializer()
124 CHECK_GT(g_thunks->size, 0u) in CoreLibraryInitializer()
[all …]