Home
last modified time | relevance | path

Searched refs:tid2 (Results 1 – 7 of 7) sorted by relevance

/kernel/liteos_a/testsuites/unittest/security/vid/smoke/
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 + i)), i); in ChildFunc()
[all …]
/kernel/liteos_a/testsuites/unittest/process/lock/mutex/full/
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()
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()
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/
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/
Daccesstokenidcommon.cpp137 pthread_t tid2; in ThreadTest() local
146 ret = pthread_create(&tid2, nullptr, TokenTest, dataToken); in ThreadTest()
157 pthread_join(tid2, nullptr); in ThreadTest()
/kernel/linux/linux-5.10/drivers/net/ethernet/aquantia/atlantic/hw_atl2/
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()