Home
last modified time | relevance | path

Searched refs:MallocZoneFunctions (Results 1 – 9 of 9) sorted by relevance

/aosp_15_r20/external/cronet/base/allocator/partition_allocator/src/partition_alloc/shim/
H A Dallocator_shim_default_dispatch_to_apple_zoned_malloc.cc15 MallocZoneFunctions& functions = GetFunctionsForZone(context); in MallocImpl()
24 MallocZoneFunctions& functions = GetFunctionsForZone(context); in CallocImpl()
33 MallocZoneFunctions& functions = GetFunctionsForZone(context); in MemalignImpl()
42 MallocZoneFunctions& functions = GetFunctionsForZone(context); in ReallocImpl()
48 MallocZoneFunctions& functions = GetFunctionsForZone(context); in FreeImpl()
53 MallocZoneFunctions& functions = GetFunctionsForZone(context); in GetSizeEstimateImpl()
61 MallocZoneFunctions& functions = GetFunctionsForZone(context); in GoodSizeImpl()
67 MallocZoneFunctions& functions = GetFunctionsForZone(context); in ClaimedAddressImpl()
83 MallocZoneFunctions& functions = GetFunctionsForZone(context); in BatchMallocImpl()
93 MallocZoneFunctions& functions = GetFunctionsForZone(context); in BatchFreeImpl()
[all …]
H A Dmalloc_zone_functions_apple.cc15 MallocZoneFunctions g_malloc_zones[kMaxZoneCount];
16 static_assert(std::is_trivial_v<MallocZoneFunctions> &&
17 std::is_standard_layout_v<MallocZoneFunctions>,
21 MallocZoneFunctions* functions) { in StoreZoneFunctions()
22 memset(functions, 0, sizeof(MallocZoneFunctions)); in StoreZoneFunctions()
113 const MallocZoneFunctions* functions) { in DoesMallocZoneNeedReplacing()
124 memset(g_malloc_zones, 0, kMaxZoneCount * sizeof(MallocZoneFunctions)); in ClearAllMallocZonesForTesting()
H A Dmalloc_zone_functions_apple.h49 struct MallocZoneFunctions { struct
68 MallocZoneFunctions* functions); argument
71 extern MallocZoneFunctions g_malloc_zones[kMaxZoneCount];
101 const MallocZoneFunctions* functions);
106 inline MallocZoneFunctions& GetFunctionsForZone(void* zone) { in GetFunctionsForZone()
H A Dallocator_interception_apple.h18 struct MallocZoneFunctions;
33 void ReplaceFunctionsForStoredZones(const MallocZoneFunctions* functions);
65 const MallocZoneFunctions* functions);
H A Dallocator_shim_override_apple_symbols.h20 MallocZoneFunctions MallocZoneFunctionsToReplaceDefault() { in MallocZoneFunctionsToReplaceDefault()
21 MallocZoneFunctions new_functions; in MallocZoneFunctionsToReplaceDefault()
22 memset(&new_functions, 0, sizeof(MallocZoneFunctions)); in MallocZoneFunctionsToReplaceDefault()
H A Dallocator_interception_apple.mm135 MallocZoneFunctions g_old_zone;
136 MallocZoneFunctions g_old_purgeable_zone;
327 MallocZoneFunctions& functions = GetFunctionsForZone(zone);
388 void ReplaceFunctionsForStoredZones(const MallocZoneFunctions* functions) {
438 MallocZoneFunctions new_functions = {};
455 MallocZoneFunctions new_functions = {};
566 MallocZoneFunctions new_functions;
572 const MallocZoneFunctions* functions) {
H A Dallocator_shim_apple.cc89 MallocZoneFunctions functions = MallocZoneFunctionsToReplaceDefault(); in InitializeAllocatorShim()
H A Dallocator_interception_apple_unittest.mm20 MallocZoneFunctions& functions = GetFunctionsForZone(zone);
/aosp_15_r20/external/libchrome/base/allocator/
H A Dallocator_shim.cc317 MallocZoneFunctions functions = MallocZoneFunctionsToReplaceDefault(); in InitializeAllocatorShim()