Home
last modified time | relevance | path

Searched refs:globals (Results 1 – 25 of 60) sorted by relevance

123

/aosp12/bionic/libc/bionic/
H A Dmalloc_heapprofd.cpp282 __libc_globals.mutate([](libc_globals* globals) { in HandleHeapprofdSignal() argument
326 static void CommonInstallHooks(libc_globals* globals) { in CommonInstallHooks() argument
344 FinishInstallHooks(globals, nullptr, kHeapprofdPrefix); in CommonInstallHooks()
347 void HeapprofdInstallHooksAtInit(libc_globals* globals) { in HeapprofdInstallHooksAtInit() argument
348 MaybeModifyGlobals(kWithoutLock, [globals] { in HeapprofdInstallHooksAtInit()
351 CommonInstallHooks(globals); in HeapprofdInstallHooksAtInit()
364 __libc_globals.mutate([](libc_globals* globals) { in InitHeapprofd() argument
365 CommonInstallHooks(globals); in InitHeapprofd()
380 __libc_globals.mutate([](libc_globals* globals) { in MallocInitHeapprofdHook() argument
382 atomic_store(&globals->default_dispatch_table, previous_dispatch); in MallocInitHeapprofdHook()
[all …]
H A Dmalloc_common_dynamic.cpp340 atomic_store(&globals->default_dispatch_table, &globals->malloc_dispatch_table); in FinishInstallHooks()
342 atomic_store(&globals->current_dispatch_table, &globals->malloc_dispatch_table); in FinishInstallHooks()
364 if (!FinishInstallHooks(globals, options, prefix)) { in InstallHooks()
376 static void MallocInitImpl(libc_globals* globals) { in MallocInitImpl() argument
380 MaybeInitGwpAsanFromLibc(globals); in MallocInitImpl()
392 hook_installed = InstallHooks(globals, options, kDebugPrefix, kDebugSharedLib); in MallocInitImpl()
399 HeapprofdInstallHooksAtInit(globals); in MallocInitImpl()
411 __LIBC_HIDDEN__ void __libc_init_malloc(libc_globals* globals) { in __libc_init_malloc() argument
412 MallocInitImpl(globals); in __libc_init_malloc()
533 __libc_globals.mutate([&](libc_globals* globals) { in android_mallopt() argument
[all …]
H A Dgwp_asan_wrappers.cpp212 bool MaybeInitGwpAsanFromLibc(libc_globals* globals) { in MaybeInitGwpAsanFromLibc() argument
222 return MaybeInitGwpAsan(globals); in MaybeInitGwpAsanFromLibc()
229 bool MaybeInitGwpAsan(libc_globals* globals, bool force_init) { in MaybeInitGwpAsan() argument
257 globals->malloc_dispatch_table = gwp_asan_dispatch; in MaybeInitGwpAsan()
258 atomic_store(&globals->default_dispatch_table, &gwp_asan_dispatch); in MaybeInitGwpAsan()
263 atomic_store(&globals->current_dispatch_table, &gwp_asan_dispatch); in MaybeInitGwpAsan()
H A Dheap_tagging.cpp49 __libc_globals.mutate([](libc_globals* globals) { in SetDefaultHeapTaggingLevel() argument
52 globals->heap_pointer_tag = (reinterpret_cast<uintptr_t>(POINTER_TAG) << TAG_SHIFT) | in SetDefaultHeapTaggingLevel()
110 __libc_globals.mutate([](libc_globals* globals) { in SetHeapTaggingLevel() argument
114 globals->heap_pointer_tag = static_cast<uintptr_t>(0xffull << UNTAG_SHIFT); in SetHeapTaggingLevel()
H A Dgwp_asan_wrappers.h36 bool MaybeInitGwpAsanFromLibc(libc_globals* globals);
39 bool MaybeInitGwpAsan(libc_globals* globals, bool force_init = false);
H A Dsetjmp_cookie.cpp42 void __libc_init_setjmp_cookie(libc_globals* globals) { in __libc_init_setjmp_cookie() argument
47 globals->setjmp_cookie = value & ~1; in __libc_init_setjmp_cookie()
H A Dlibc_init_common.cpp69 __libc_globals.mutate([](libc_globals* globals) { in __libc_init_globals() argument
70 __libc_init_vdso(globals); in __libc_init_globals()
71 __libc_init_setjmp_cookie(globals); in __libc_init_globals()
H A Dmalloc_limit.cpp264 __libc_globals.mutate([](libc_globals* globals) { in EnableLimitDispatchTable() argument
265 atomic_store(&globals->current_dispatch_table, &__limit_dispatch); in EnableLimitDispatchTable()
284 __libc_globals.mutate([](libc_globals* globals) { in EnableLimitDispatchTable() argument
285 atomic_store(&globals->current_dispatch_table, &__limit_dispatch); in EnableLimitDispatchTable()
H A Dvdso.cpp76 void __libc_init_vdso(libc_globals* globals) { in __libc_init_vdso() argument
77 auto&& vdso = globals->vdso; in __libc_init_vdso()
H A Dmalloc_heapprofd.h37 void HeapprofdInstallHooksAtInit(libc_globals* globals);
H A Dmalloc_common_dynamic.h43 bool FinishInstallHooks(libc_globals* globals, const char* options, const char* prefix);
H A Dmalloc_common.cpp333 __libc_globals.mutate([&](libc_globals* globals) { in android_mallopt() argument
334 return MaybeInitGwpAsan(globals, *reinterpret_cast<bool*>(arg)); in android_mallopt()
/aosp12/system/incremental_delivery/libdataloader/
H A DDataLoaderConnector.cpp267 static Globals& globals() { in globals() function
268 static Globals globals; in globals() local
269 return globals; in globals()
574 if (globals().stopped) { in onPendingReadsLooperEvent()
584 if (globals().stopped) { in onLogLooperEvent()
589 return dataLoaderConnector->onLogLooperEvent(globals().pageReads, globals().pageReadsWithUid); in onLogLooperEvent()
660 while (!globals().stopped) { in pendingReadsLooperThread()
667 while (!globals().stopped) { in logLooperThread()
706 globals().legacyDataLoaderFactory = factory; in DataLoader_Initialize()
711 globals().dataLoaderFactory = factory; in DataLoader_Initialize_WithFeatures()
[all …]
/aosp12/frameworks/libs/native_bridge_support/libc/
H A Dmalloc_init.cpp59 static void malloc_init_impl(libc_globals* globals) { in malloc_init_impl() argument
83 globals->malloc_dispatch_table = malloc_default_dispatch; in malloc_init_impl()
84 atomic_store(&globals->default_dispatch_table, &malloc_default_dispatch); in malloc_init_impl()
85 atomic_store(&globals->current_dispatch_table, &malloc_default_dispatch); in malloc_init_impl()
90 __LIBC_HIDDEN__ void __libc_init_malloc(libc_globals* globals) { in __libc_init_malloc() argument
91 malloc_init_impl(globals); in __libc_init_malloc()
/aosp12/bionic/libc/private/
H A Dbionic_globals.h122 __LIBC_HIDDEN__ void __libc_init_malloc(libc_globals* globals);
123 __LIBC_HIDDEN__ void __libc_init_setjmp_cookie(libc_globals* globals);
124 __LIBC_HIDDEN__ void __libc_init_vdso(libc_globals* globals);
/aosp12/system/security/keystore2/src/
H A Dkeystore2_main.rs18 use keystore2::globals::ENFORCEMENTS;
64 *keystore2::globals::DB_PATH.write().expect("Could not lock DB_PATH.") = in main()
105 &keystore2::globals::DB_PATH.read().expect("Could not get DB_PATH."), in main()
H A Dentropy.rs31 crate::globals::ASYNC_TASK.add_idle(|shelf| { in register_feeder()
51 let km_devs = crate::globals::get_keymint_devices(); in feed_devices()
H A Dlib.rs27 pub mod globals; module
/aosp12/build/make/core/
H A Dproduct_config.rbc21 globals = dict()
25 globals[k] = getattr(rblf_env, k)
29 globals[k] = getattr(rblf_cli, k)
32 _envsetup_init(globals)
45 if not bv in globals:
48 return globals
69 def _printvars(globals, cfg):
75 for attr, val in sorted(globals.items()):
98 globals = dict(**_globals_base)
135 pcm(globals, handle)
[all …]
/aosp12/build/make/tools/rbcrun/
H A Dhost.go35 globals starlark.StringDict member
102 globals, err := starlark.ExecFile(childThread, modulePath, nil, builtins)
103 e = &modentry{globals, err}
111 return e.globals, e.err
/aosp12/frameworks/base/rs/java/android/renderscript/
H A DScriptGroup.java121 Object[] args, Map<Script.FieldID, Object> globals) { in Closure() argument
126 mBindings = globals; in Closure()
129 int numValues = args.length + globals.size(); in Closure()
143 for (Map.Entry<Script.FieldID, Object> entry : globals.entrySet()) { in Closure()
161 Object[] args, Map<Script.FieldID, Object> globals) { in Closure() argument
166 mBindings = globals; in Closure()
169 int numValues = globals.size(); in Closure()
178 for (Map.Entry<Script.FieldID, Object> entry : globals.entrySet()) { in Closure()
/aosp12/build/blueprint/
H A Dsingleton_ctx.go169 globals *liveTracker member
280 err = s.globals.addNinjaStringDeps(ninjaStr)
285 return ninjaStr.Eval(s.globals.variables)
/aosp12/frameworks/rs/support/java/src/androidx/renderscript/
H A DScriptGroup.java130 Object[] args, Map<Script.FieldID, Object> globals) { in Closure() argument
139 mBindings = globals; in Closure()
142 int numValues = args.length + globals.size(); in Closure()
156 for (Map.Entry<Script.FieldID, Object> entry : globals.entrySet()) { in Closure()
172 Object[] args, Map<Script.FieldID, Object> globals) { in Closure() argument
182 mBindings = globals; in Closure()
185 int numValues = globals.size(); in Closure()
194 for (Map.Entry<Script.FieldID, Object> entry : globals.entrySet()) { in Closure()
/aosp12/frameworks/native/cmds/installd/
H A DAndroid.bp30 "globals.cpp",
245 "globals.cpp",
/aosp12/packages/modules/DnsResolver/
H A Dcbindgen.toml16 item_types = ["globals", "enums", "structs", "unions", "typedefs", "opaque", "functions", "constant…

123