Searched refs:demoDatas (Results 1 – 3 of 3) sorted by relevance
/commonlibrary/c_utils/base/test/unittest/common/ |
D | utils_safe_block_queue_tracking.cpp | 82 void GetThreadDatePushedStatus(std::array<DemoThreadData, THREAD_NUM>& demoDatas, in GetThreadDatePushedStatus() argument 87 for (auto& t : demoDatas) { in GetThreadDatePushedStatus() 96 void GetThreadDateGetedStatus(std::array<DemoThreadData, THREAD_NUM>& demoDatas, in GetThreadDateGetedStatus() argument 101 for (auto& t : demoDatas) { in GetThreadDateGetedStatus() 161 std::array<DemoThreadData, THREAD_NUM> demoDatas; variable 162 demoDatas.fill(DemoThreadData()); 163 demoDatas[0].Put(1); 164 ASSERT_FALSE(demoDatas[0].joinStatus); 169 ASSERT_FALSE(demoDatas[0].joinStatus); 172 threads[i] = std::thread(PutHandleThreadData, std::ref(demoDatas[i]), i); [all …]
|
D | utils_safe_block_queue_test.cpp | 71 void GetThreadDatePushedStatus(std::array<DemoThreadData, THREAD_NUM>& demoDatas, in GetThreadDatePushedStatus() argument 76 for (auto& t : demoDatas) { in GetThreadDatePushedStatus() 86 void GetThreadDateGetedStatus(std::array<DemoThreadData, THREAD_NUM>& demoDatas, in GetThreadDateGetedStatus() argument 91 for (auto& t : demoDatas) { in GetThreadDateGetedStatus() 154 std::array<DemoThreadData, THREAD_NUM> demoDatas; variable 155 demoDatas.fill(DemoThreadData()); 158 threads[i] = std::thread(PutHandleThreadData, std::ref(demoDatas[i]), i); 169 GetThreadDatePushedStatus(demoDatas, pushedIn, unpushedIn); 176 demoDatas[0].Get(); 182 GetThreadDatePushedStatus(demoDatas, pushedIn, unpushedIn); [all …]
|
D | utils_safe_queue_test.cpp | 86 demoDatas.fill(DemoThreadData()); in TestThreading() 95 std::ref(demoDatas[i]), i, system_clock::from_time_t(timeT)); in AllThreadPut() 104 std::ref(demoDatas[i]), i, system_clock::from_time_t(timeT)); in AllThreadGet() 112 for (auto &t : demoDatas) in GetThreadDatePushedStatus() 127 for (auto &t : demoDatas) in GetThreadDateGetedStatus() 149 std::array<DemoThreadData, THREAD_NUM> demoDatas; member in OHOS::__anon674d8cba0111::TestThreading 186 testThread.demoDatas[0].Get(t);
|