Home
last modified time | relevance | path

Searched refs:tid2 (Results 1 - 10 of 10) sorted by relevance

/kernel/liteos_a/testsuites/unittest/security/vid/smoke/
H A Dvid_test_001.cpp51 timer_t *tid2 = nullptr; in ChildFunc() local
57 tid2 = (timer_t *)malloc(sizeof(UINTPTR) * 1024); in ChildFunc()
58 if (tid2 == NULL) { in ChildFunc()
63 free(tid2); in ChildFunc()
66 (void)memset_s(tid2, sizeof(char *) * 1024, 0, sizeof(char *) * 1024); in ChildFunc()
69 *(ret1 + i) = timer_create(CLOCK_REALTIME, &ent, tid2 + i); in ChildFunc()
72 ICUNIT_ASSERT_EQUAL_VOID(i, (int)(*(tid2 + i)), i); in ChildFunc()
81 ret = timer_delete(*(tid2 + i)); in ChildFunc()
88 *(ret1 + i) = timer_create(CLOCK_REALTIME, &ent, tid2 + i); in ChildFunc()
91 ICUNIT_ASSERT_EQUAL_VOID(i, (int)(*(tid2 in ChildFunc()
[all...]
/kernel/liteos_a/testsuites/unittest/process/lock/mutex/full/
H A Dpthread_mutex_test_023.cpp72 pthread_t tid1, tid2; in Testcase() local
97 ret = pthread_create(&tid2, nullptr, ThreadFuncTest2, nullptr); in Testcase()
101 pthread_join(tid2, nullptr); in Testcase()
H A Dpthread_mutex_test_024.cpp95 pthread_t tid1, tid2, tid3; in Testcase() local
135 ret = pthread_create(&tid2, nullptr, ThreadFuncTest2, nullptr); in Testcase()
146 pthread_join(tid2, nullptr); in Testcase()
H A Dpthread_mutex_test_025.cpp72 pthread_t tid1, tid2; in Child() local
103 ret = pthread_create(&tid2, nullptr, ThreadFuncTest2, nullptr); in Child()
/kernel/liteos_a/testsuites/unittest/process/basic/pthread/full/
H A Dpthread_test_014.cpp104 pthread_t tid, tid1, tid2, tid3; in TestCase() local
124 ret = pthread_create(&tid2, NULL, ThreadFunc2, 0); in TestCase()
145 ret = pthread_join(tid2, NULL); in TestCase()
/kernel/linux/build/test/fuzztest/accesstokenid/src/
H A Daccesstokenidcommon.cpp134 pthread_t tid2; in ThreadTest() local
143 ret = pthread_create(&tid2, nullptr, TokenTest, dataToken); in ThreadTest()
154 pthread_join(tid2, nullptr); in ThreadTest()
/kernel/liteos_m/testsuites/unittest/xts/ipc/semaphone/
H A Dsem_test.c206 pthread_t tid2; variable
221 ret = pthread_create(&tid2, NULL, ThreadNThreadWait2, (void *)&sem);
250 ret = pthread_join(tid2, NULL);
H A Dsem_xts_test.c378 pthread_t tid2; variable
389 reInt = pthread_create(&tid2, NULL, ThreadNThreadWaitF02, (void*)&sem);
418 reInt = pthread_join(tid2, NULL);
/kernel/linux/linux-5.10/drivers/net/ethernet/aquantia/atlantic/hw_atl2/
H A Dhw_atl2_utils_fw.c77 struct transaction_counter_s tid1, tid2; in hw_atl2_shared_buffer_read_block() local
92 hw_atl2_shared_buffer_read(self, transaction_id, tid2); in hw_atl2_shared_buffer_read_block()
97 } while (tid2.transaction_cnt_a != tid2.transaction_cnt_b || in hw_atl2_shared_buffer_read_block()
98 tid1.transaction_cnt_a != tid2.transaction_cnt_a); in hw_atl2_shared_buffer_read_block()
/kernel/linux/linux-6.6/drivers/net/ethernet/aquantia/atlantic/hw_atl2/
H A Dhw_atl2_utils_fw.c77 struct transaction_counter_s tid1, tid2; in hw_atl2_shared_buffer_read_block() local
92 hw_atl2_shared_buffer_read(self, transaction_id, tid2); in hw_atl2_shared_buffer_read_block()
97 } while (tid2.transaction_cnt_a != tid2.transaction_cnt_b || in hw_atl2_shared_buffer_read_block()
98 tid1.transaction_cnt_a != tid2.transaction_cnt_a); in hw_atl2_shared_buffer_read_block()

Completed in 5 milliseconds