Home
last modified time | relevance | path

Searched refs:thunks (Results 1 – 13 of 13) sorted by relevance

/external/chromium_org/base/allocator/
Dallocator_extension.cc13 thunks::GetAllocatorWasteSizeFunction get_allocator_waste_size_function = in GetAllocatorWasteSize()
14 thunks::GetGetAllocatorWasteSizeFunction(); in GetAllocatorWasteSize()
21 thunks::GetStatsFunction get_stats_function = thunks::GetGetStatsFunction(); in GetStats()
29 thunks::ReleaseFreeMemoryFunction release_free_memory_function = in ReleaseFreeMemory()
30 thunks::GetReleaseFreeMemoryFunction(); in ReleaseFreeMemory()
36 thunks::GetAllocatorWasteSizeFunction get_allocator_waste_size_function) { in SetGetAllocatorWasteSizeFunction()
37 DCHECK_EQ(thunks::GetGetAllocatorWasteSizeFunction(), in SetGetAllocatorWasteSizeFunction()
38 reinterpret_cast<thunks::GetAllocatorWasteSizeFunction>(NULL)); in SetGetAllocatorWasteSizeFunction()
39 thunks::SetGetAllocatorWasteSizeFunction(get_allocator_waste_size_function); in SetGetAllocatorWasteSizeFunction()
42 void SetGetStatsFunction(thunks::GetStatsFunction get_stats_function) { in SetGetStatsFunction()
[all …]
Dallocator_extension.h48 thunks::GetAllocatorWasteSizeFunction get_allocator_waste_size_function);
51 thunks::GetStatsFunction get_stats_function);
54 thunks::ReleaseFreeMemoryFunction release_free_memory_function);
Dallocator_shim.cc304 base::allocator::thunks::SetGetAllocatorWasteSizeFunction( in _heap_init()
306 base::allocator::thunks::SetGetStatsFunction(get_stats_thunk); in _heap_init()
307 base::allocator::thunks::SetReleaseFreeMemoryFunction( in _heap_init()
Dallocator_extension_thunks.h12 namespace thunks {
Dallocator_extension_thunks.cc11 namespace thunks { namespace
/external/chromium_org/sandbox/win/src/
Dinterception_agent.cc109 size_t buffer_bytes = offsetof(DllInterceptionData, thunks) + in OnDllLoad()
121 dlls_[i]->used_bytes = offsetof(DllInterceptionData, thunks); in OnDllLoad()
149 DllInterceptionData* thunks) { in PatchDll() argument
150 DCHECK_NT(NULL != thunks); in PatchDll()
175 NTSTATUS ret = resolver->Setup(thunks->base, in PatchDll()
180 &thunks->thunks[i], in PatchDll()
189 g_originals[function->id] = &thunks->thunks[i]; in PatchDll()
191 thunks->num_thunks++; in PatchDll()
192 thunks->used_bytes += sizeof(ThunkData); in PatchDll()
Dinterception.cc407 DllInterceptionData* thunks = reinterpret_cast<DllInterceptionData*>( in PatchNtdll() local
413 dll_data.used_bytes = offsetof(DllInterceptionData, thunks); in PatchNtdll()
419 if (!PatchClientFunctions(thunks, thunk_bytes, &dll_data)) in PatchNtdll()
424 bool ok = FALSE != ::WriteProcessMemory(child, thunks, &dll_data, in PatchNtdll()
425 offsetof(DllInterceptionData, thunks), in PatchNtdll()
428 if (!ok || (offsetof(DllInterceptionData, thunks) != written)) in PatchNtdll()
433 ::VirtualProtectEx(child, thunks, thunk_bytes, in PatchNtdll()
441 bool InterceptionManager::PatchClientFunctions(DllInterceptionData* thunks, in PatchClientFunctions() argument
444 DCHECK(NULL != thunks); in PatchClientFunctions()
525 &thunks->thunks[dll_data->num_thunks], in PatchClientFunctions()
[all …]
Dinterception_internal.h69 ThunkData thunks[1]; member
Dinterception_agent.h69 bool PatchDll(const DllPatchInfo* dll_info, DllInterceptionData* thunks);
Dinterception.h204 bool PatchClientFunctions(DllInterceptionData* thunks,
/external/clang/include/clang/Frontend/
DCodeGenOptions.def62 CODEGENOPT(HiddenWeakVTables , 1, 0) ///< Emit weak vtables, RTTI, and thunks with
/external/llvm/docs/
DPasses.rst964 two overridable thunks to it.
DCodeGenerator.rst2349 such as thunks and vararg functions, enough space to cache the argument