Home
last modified time | relevance | path

Searched refs:pthread_once (Results 1 - 22 of 22) sorted by relevance

/kernel/liteos_a/testsuites/kernel/sample/posix/pthread/smoke/
H A DIt_posix_pthread_019.c51 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 DIt_posix_pthread_019.cpp45 // 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 DIt_posix_pthread_049.c55 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 DIt_posix_pthread_211.c40 /* 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 DIt_posix_pthread_050.c56 ret = pthread_once(&g_onceControl, PthreadOnceF01); in PthreadF01()
76 ret = pthread_once(&g_onceControl, PthreadOnceF02); in Testcase()
H A DIt_posix_pthread_048.c48 pthread_once(&g_onceControl, PthreadOnceF01); in PthreadF01()
66 ret = pthread_once(&g_onceControl, PthreadOnceF01); in Testcase()
H A DIt_posix_pthread_051.c54 ret = pthread_once(&g_onceControl, PthreadOnceF01); in PthreadF01()
79 ret = pthread_once(&g_onceControl, PthreadOnceF01); in Testcase()
H A DIt_posix_pthread_215.c56 ret = pthread_once(&g_onceControl, (VOID *)PthreadF02); in PthreadF01()
93 ret = pthread_once(&g_onceControl, (VOID *)PthreadF03); in Testcase()
H A DIt_posix_pthread_214.c57 ret = pthread_once(&onceControl, PthreadF01); in Testcase()
H A DIt_posix_pthread_102.c52 ret = pthread_once(&g_onceControl, PthreadOnceF01); in HwiF01()
H A DIt_posix_pthread_213.c58 ret = pthread_once(arg, PthreadF02); in PthreadF01()
/kernel/liteos_a/testsuites/unittest/libc/posix/pthread/full/
H A DIt_posix_pthread_051.cpp46 ret = pthread_once(&g_onceControl, PthreadOnceF01); in pthread_f01()
75 ret = pthread_once(&g_onceControl, PthreadOnceF01); in Testcase()
H A DIt_posix_pthread_213.cpp51 ret = pthread_once((pthread_once_t *)arg, pthread_f02); in pthread_f01()
/kernel/liteos_a/testsuites/unittest/process/basic/pthread/smoke/
H A Dpthread_once_test_001.cpp45 err = pthread_once(&g_onceCtrl, InitRoutine); in Threadfunc()
/kernel/linux/linux-6.6/tools/lib/api/fs/
H A Dfs.c126 pthread_once(&init_once, lower_name##_init_once); \
/kernel/linux/linux-6.6/tools/perf/util/
H A Dpmus.c547 pthread_once(&extended_type_once, perf_pmus__init_supports_extended_type); in perf_pmus__supports_extended_type()
H A Dcallchain.c1603 pthread_once(&once_control, init_callchain_cursor_key); in get_tls_callchain_cursor()
H A Dannotate.c1321 pthread_once(&once, annotation__init_sharded_mutex); in annotation__get_mutex()
/kernel/liteos_a/compat/posix/src/
H A Dpthread.c534 int pthread_once(pthread_once_t *onceControl, void (*initRoutine)(void)) in pthread_once() function
/kernel/liteos_m/kal/posix/src/
H A Dpthread.c271 int pthread_once(pthread_once_t *onceControl, void (*initRoutine)(void)) in pthread_once() function
/kernel/liteos_m/testsuites/sample/posix/
H A Dpthread_func_test.c692 * @tc.name : event operation for pthread_once
717 ret = pthread_once(&onceControl, PthreadOnceFunc01);
/kernel/liteos_m/testsuites/unittest/posix/src/pthread/
H A Dpthread_cond_func_test.c709 * @tc.name : event operation for pthread_once
735 ret = pthread_once(&onceControl, pthread_once_f01);

Completed in 17 milliseconds