Home
last modified time | relevance | path

Searched refs:init_guard (Results 1 – 2 of 2) sorted by relevance

/external/cpuinfo/src/
Dinit.c17 static INIT_ONCE init_guard = INIT_ONCE_STATIC_INIT; variable
19 static pthread_once_t init_guard = PTHREAD_ONCE_INIT; variable
21 static bool init_guard = false; variable
27 pthread_once(&init_guard, &cpuinfo_x86_mach_init); in cpuinfo_initialize()
29 pthread_once(&init_guard, &cpuinfo_x86_linux_init); in cpuinfo_initialize()
31 InitOnceExecuteOnce(&init_guard, &cpuinfo_x86_windows_init, NULL, NULL); in cpuinfo_initialize()
37 pthread_once(&init_guard, &cpuinfo_arm_linux_init); in cpuinfo_initialize()
39 pthread_once(&init_guard, &cpuinfo_arm_mach_init); in cpuinfo_initialize()
41 InitOnceExecuteOnce(&init_guard, &cpuinfo_arm_windows_init, NULL, NULL); in cpuinfo_initialize()
47 pthread_once(&init_guard, &cpuinfo_emscripten_init); in cpuinfo_initialize()
[all …]
/external/XNNPACK/src/
Dinit.c71 static INIT_ONCE init_guard = INIT_ONCE_STATIC_INIT; variable
73 static pthread_once_t init_guard = PTHREAD_ONCE_INIT; variable
7672 InitOnceExecuteOnce(&init_guard, &init_windows, NULL, NULL); in xnn_initialize()
7674 pthread_once(&init_guard, &init); in xnn_initialize()