/kernel/liteos_a/testsuites/kernel/sample/posix/pthread/smoke/ |
H A D | It_posix_pthread_019.c | 51 ret = pthread_once(NULL, PthreadOnceF01); in Testcase() 55 ret = pthread_once(&onceBlock, PthreadOnceF01); in Testcase() 60 ret = pthread_once(&onceBlock, NULL); in Testcase() 63 ret = pthread_once(&onceBlock, PthreadOnceF01); in Testcase() 67 ret = pthread_once(&onceBlock, PthreadOnceF01); in Testcase()
|
/kernel/liteos_a/testsuites/unittest/libc/posix/pthread/smoke/ |
H A D | It_posix_pthread_019.cpp | 45 // If 1:all pthread_once() will wait until one of them transfer his state to (2) DONE,so all of them will stuck in Testcase() 48 ret = pthread_once(&onceBlock, PthreadOnceF01); in Testcase() 54 ret = pthread_once(&onceBlock, PthreadOnceF01); in Testcase() 58 ret = pthread_once(&onceBlock, PthreadOnceF01); in Testcase()
|
/kernel/liteos_a/testsuites/kernel/sample/posix/pthread/full/ |
H A D | It_posix_pthread_049.c | 55 ret = pthread_once(&g_onceControl, PthreadOnceF01); in PthreadF01() 74 ret = pthread_once(&g_onceControl, PthreadOnceF02); in Testcase() 78 ret = pthread_once(&g_onceControl, PthreadOnceF01); in Testcase()
|
H A D | It_posix_pthread_211.c | 40 /* The init function that pthread_once calls */ 54 ret = pthread_once(&onceControl, PthreadF01); in Testcase() 59 ret = pthread_once(&onceControl, PthreadF01); in Testcase()
|
H A D | It_posix_pthread_050.c | 56 ret = pthread_once(&g_onceControl, PthreadOnceF01); in PthreadF01() 76 ret = pthread_once(&g_onceControl, PthreadOnceF02); in Testcase()
|
H A D | It_posix_pthread_048.c | 48 pthread_once(&g_onceControl, PthreadOnceF01); in PthreadF01() 66 ret = pthread_once(&g_onceControl, PthreadOnceF01); in Testcase()
|
H A D | It_posix_pthread_051.c | 54 ret = pthread_once(&g_onceControl, PthreadOnceF01); in PthreadF01() 79 ret = pthread_once(&g_onceControl, PthreadOnceF01); in Testcase()
|
H A D | It_posix_pthread_215.c | 56 ret = pthread_once(&g_onceControl, (VOID *)PthreadF02); in PthreadF01() 93 ret = pthread_once(&g_onceControl, (VOID *)PthreadF03); in Testcase()
|
H A D | It_posix_pthread_214.c | 57 ret = pthread_once(&onceControl, PthreadF01); in Testcase()
|
H A D | It_posix_pthread_102.c | 52 ret = pthread_once(&g_onceControl, PthreadOnceF01); in HwiF01()
|
H A D | It_posix_pthread_213.c | 58 ret = pthread_once(arg, PthreadF02); in PthreadF01()
|
/kernel/liteos_a/testsuites/unittest/libc/posix/pthread/full/ |
H A D | It_posix_pthread_051.cpp | 46 ret = pthread_once(&g_onceControl, PthreadOnceF01); in pthread_f01() 75 ret = pthread_once(&g_onceControl, PthreadOnceF01); in Testcase()
|
H A D | It_posix_pthread_213.cpp | 51 ret = pthread_once((pthread_once_t *)arg, pthread_f02); in pthread_f01()
|
/kernel/liteos_a/testsuites/unittest/process/basic/pthread/smoke/ |
H A D | pthread_once_test_001.cpp | 45 err = pthread_once(&g_onceCtrl, InitRoutine); in Threadfunc()
|
/kernel/linux/linux-6.6/tools/lib/api/fs/ |
H A D | fs.c | 126 pthread_once(&init_once, lower_name##_init_once); \
|
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | pmus.c | 547 pthread_once(&extended_type_once, perf_pmus__init_supports_extended_type); in perf_pmus__supports_extended_type()
|
H A D | callchain.c | 1603 pthread_once(&once_control, init_callchain_cursor_key); in get_tls_callchain_cursor()
|
H A D | annotate.c | 1321 pthread_once(&once, annotation__init_sharded_mutex); in annotation__get_mutex()
|
/kernel/liteos_a/compat/posix/src/ |
H A D | pthread.c | 534 int pthread_once(pthread_once_t *onceControl, void (*initRoutine)(void)) in pthread_once() function
|
/kernel/liteos_m/kal/posix/src/ |
H A D | pthread.c | 271 int pthread_once(pthread_once_t *onceControl, void (*initRoutine)(void)) in pthread_once() function
|
/kernel/liteos_m/testsuites/sample/posix/ |
H A D | pthread_func_test.c | 692 * @tc.name : event operation for pthread_once 717 ret = pthread_once(&onceControl, PthreadOnceFunc01);
|
/kernel/liteos_m/testsuites/unittest/posix/src/pthread/ |
H A D | pthread_cond_func_test.c | 709 * @tc.name : event operation for pthread_once 735 ret = pthread_once(&onceControl, pthread_once_f01);
|