Searched refs:default_hooks (Results 1 – 3 of 3) sorted by relevance
/external/jemalloc_new/test/include/test/ |
D | extent_hooks.h | 28 static extent_hooks_t *default_hooks; variable 97 ret = default_hooks->alloc(default_hooks, new_addr, size, alignment, in extent_alloc_hook() 119 err = default_hooks->dalloc(default_hooks, addr, size, committed, 0); in extent_dalloc_hook() 138 default_hooks->destroy(default_hooks, addr, size, committed, 0); in extent_destroy_hook() 158 err = default_hooks->commit(default_hooks, addr, size, offset, length, in extent_commit_hook() 180 err = default_hooks->decommit(default_hooks, addr, size, offset, length, in extent_decommit_hook() 202 err = default_hooks->purge_lazy == NULL || in extent_purge_lazy_hook() 203 default_hooks->purge_lazy(default_hooks, addr, size, offset, length, in extent_purge_lazy_hook() 225 err = default_hooks->purge_forced == NULL || in extent_purge_forced_hook() 226 default_hooks->purge_forced(default_hooks, addr, size, offset, in extent_purge_forced_hook() [all …]
|
/external/jemalloc_new/test/integration/ |
D | extent.c | 189 assert_ptr_eq(old_hooks, default_hooks, "Unexpected extent_hooks error"); in test_manual_hook_body() 190 assert_ptr_eq(old_hooks->alloc, default_hooks->alloc, in test_manual_hook_body() 192 assert_ptr_eq(old_hooks->dalloc, default_hooks->dalloc, in test_manual_hook_body() 194 assert_ptr_eq(old_hooks->commit, default_hooks->commit, in test_manual_hook_body() 196 assert_ptr_eq(old_hooks->decommit, default_hooks->decommit, in test_manual_hook_body() 198 assert_ptr_eq(old_hooks->purge_lazy, default_hooks->purge_lazy, in test_manual_hook_body() 200 assert_ptr_eq(old_hooks->purge_forced, default_hooks->purge_forced, in test_manual_hook_body() 202 assert_ptr_eq(old_hooks->split, default_hooks->split, in test_manual_hook_body() 204 assert_ptr_eq(old_hooks->merge, default_hooks->merge, in test_manual_hook_body()
|
/external/cronet/base/allocator/partition_allocator/pointers/ |
D | raw_ptr_hookable_impl.cc | 22 constexpr RawPtrHooks default_hooks = { variable 34 std::atomic<const RawPtrHooks*> g_hooks{&default_hooks}; 45 InstallRawPtrHooks(&default_hooks); in ResetRawPtrHooks()
|