Home
last modified time | relevance | path

Searched refs:once_control (Results 1 – 5 of 5) sorted by relevance

/aosp12/bionic/libc/bionic/
H A Dpthread_once.cpp41 int pthread_once(pthread_once_t* once_control, void (*init_routine)(void)) { in pthread_once() argument
47 atomic_int* once_control_ptr = reinterpret_cast<atomic_int*>(once_control); in pthread_once()
/aosp12/frameworks/native/opengl/libs/EGL/
H A Degl.cpp122 static pthread_once_t once_control = PTHREAD_ONCE_INIT; variable
123 static int sEarlyInitState = pthread_once(&once_control, &early_egl_init);
/aosp12/frameworks/av/media/libaudioprocessing/
H A DAudioResampler.cpp105 static pthread_once_t once_control = PTHREAD_ONCE_INIT; variable
156 int ok = pthread_once(&once_control, init_routine); in create()
H A DAudioResamplerSinc.cpp84 static pthread_once_t once_control = PTHREAD_ONCE_INIT; variable
237 int ok = pthread_once(&once_control, init_routine); in AudioResamplerSinc()
/aosp12/bionic/tests/
H A Dpthread_test.cpp1349 pthread_once_t once_control = PTHREAD_ONCE_INIT; in TEST() local
1350 ASSERT_EQ(0, pthread_once(&once_control, OnceFn)); in TEST()
1351 ASSERT_EQ(0, pthread_once(&once_control, OnceFn)); in TEST()