/base/hiviewdfx/faultloggerd/tools/crasher_cpp/faults/ |
H A D | multi_thread_container_access.cpp | 37 std::vector<std::thread> threads;
in MultiThreadVectorAccess() local 46 threads.push_back(std::move(th));
in MultiThreadVectorAccess() 49 for (auto& th : threads) {
in MultiThreadVectorAccess() 59 std::vector<std::thread> threads;
in MultiThreadMapAccess() local 68 threads.push_back(std::move(th));
in MultiThreadMapAccess() 71 for (auto& th : threads) {
in MultiThreadMapAccess() 81 std::vector<std::thread> threads;
in MultiThreadListAccess() local 91 threads.push_back(std::move(th));
in MultiThreadListAccess() 94 for (auto& th : threads) {
in MultiThreadListAccess()
|
/base/security/huks/test/reliability/src/ |
H A D | api_pressure_test.cpp | 923 std::vector<std::thread> threads; in HWTEST_F() local 926 threads.emplace_back(std::thread(&ApiPressureTest::GetSdkVersionTest, this)); in HWTEST_F() 930 for (auto &t : threads) { in HWTEST_F() 944 std::vector<std::thread> threads; in HWTEST_F() local 947 threads.emplace_back(std::thread(&ApiPressureTest::InitializeTest, this)); in HWTEST_F() 951 for (auto &t : threads) { in HWTEST_F() 965 std::vector<std::thread> threads; in HWTEST_F() local 968 threads.emplace_back(std::thread(&ApiPressureTest::RefreshKeyInfoTest, this)); in HWTEST_F() 972 for (auto &t : threads) { in HWTEST_F() 986 std::vector<std::thread> threads; in HWTEST_F() local 1010 std::vector<std::thread> threads; HWTEST_F() local 1040 std::vector<std::thread> threads; HWTEST_F() local 1070 std::vector<std::thread> threads; HWTEST_F() local 1091 std::vector<std::thread> threads; HWTEST_F() local 1121 std::vector<std::thread> threads; HWTEST_F() local 1151 std::vector<std::thread> threads; HWTEST_F() local 1172 std::vector<std::thread> threads; HWTEST_F() local 1211 std::vector<std::thread> threads; HWTEST_F() local 1255 std::vector<std::thread> threads; HWTEST_F() local 1298 std::vector<std::thread> threads; HWTEST_F() local 1350 std::vector<std::thread> threads; HWTEST_F() local 1386 std::vector<std::thread> threads; HWTEST_F() local 1435 std::vector<std::thread> threads; HWTEST_F() local 1471 std::vector<std::thread> threads; HWTEST_F() local 1492 std::vector<std::thread> threads; HWTEST_F() local 1513 std::vector<std::thread> threads; HWTEST_F() local 1534 std::vector<std::thread> threads; HWTEST_F() local [all...] |
H A D | three_stage_multi_thread.cpp | 236 std::vector<std::thread> threads; in ThreeStageTest() local 242 threads.emplace_back(std::thread(AbortSessionTest, &handleBlob)); in ThreeStageTest() 244 threads.emplace_back(std::thread(UpdateSessionTest, &handleBlob)); in ThreeStageTest() 248 for (auto &t : threads) { in ThreeStageTest() 275 std::vector<std::thread> threads; in HWTEST_F() local 278 threads.emplace_back(std::thread(&ThreeStageTest, i)); in HWTEST_F() 281 for (auto &t : threads) { in HWTEST_F()
|
/base/global/resource_management_lite/frameworks/resmgr_lite/test/unittest/lite/common/ |
H A D | string_utils_test.cpp | 84 std::vector<std::thread> threads; in TestThread() local 86 threads.push_back(std::thread(FuncMultiThread, num, lock)); in TestThread() 88 for (auto &thread : threads) { in TestThread()
|
/base/security/huks/test/unittest/huks_standard_test/module_test/utils_test/src/ |
H A D | hks_condition_test.cpp | 162 pthread_t threads[TSET_THREADS_COUNT] {}; in HWTEST_F() 164 EXPECT_EQ(pthread_create(&threads[i], nullptr, WaitThread, condition), 0); in HWTEST_F() 168 EXPECT_EQ(pthread_join(threads[i], nullptr), 0); in HWTEST_F() 303 pthread_t threads[TEST_THREADS_COUNT] {}; in HWTEST_F() 305 EXPECT_EQ(pthread_create(&threads[i], nullptr, functions[i], condition), 0); in HWTEST_F() 309 EXPECT_EQ(pthread_join(threads[i], nullptr), 0); in HWTEST_F()
|
/base/hiviewdfx/faultloggerd/test/unittest/backtrace/ |
H A D | backtrace_utils_test.cpp | 239 std::vector<std::thread> threads(threadCount); in HWTEST_F() 240 for (auto it = std::begin(threads); it != std::end(threads); ++it) { in HWTEST_F() 244 for (auto&& thread : threads) { in HWTEST_F()
|
/base/startup/init/test/moduletest/ |
H A D | hookmgr_moduletest.cpp | 101 std::vector<std::thread> threads; in HWTEST_F() local 103 threads.push_back(std::thread(HookExecFunc, 10)); in HWTEST_F() 105 for (auto & th : threads) { in HWTEST_F()
|
/base/hiviewdfx/faultloggerd/test/unittest/signal_handler/ |
H A D | signal_handler_test.cpp | 353 std::vector<std::thread> threads; in HWTEST_F() local 356 threads.push_back(std::thread(TestThread2, i, SIGSEGV, testThreadCount, false)); in HWTEST_F() 359 for (auto& thread : threads) { in HWTEST_F() 383 std::vector<std::thread> threads; in HWTEST_F() local 390 threads.push_back(std::thread (TestThread2, i, SIGSEGV, testThreadCount, exitEarly)); in HWTEST_F() 393 for (auto& thread : threads) { in HWTEST_F() 506 std::vector<std::thread> threads; in HWTEST_F() local 509 threads.push_back(std::thread (TestThread2, i, SIGSEGV, testThreadCount, true)); in HWTEST_F() 512 for (auto& thread : threads) { in HWTEST_F()
|
/base/hiviewdfx/faultloggerd/interfaces/innerkits/formatter/ |
H A D | dfx_json_formatter.cpp | 74 Json::Value threads; in FormatJsonStack() local 75 if (!(reader.parse(jsonStack, threads))) { in FormatJsonStack() 80 for (uint32_t i = 0; i < threads.size(); ++i) { in FormatJsonStack() 82 Json::Value thread = threads[i]; in FormatJsonStack()
|
/base/hiviewdfx/faultloggerd/interfaces/innerkits/signal_handler/include/ |
H A D | dfx_signal_handler.h | 19 #include <threads.h>
|
/base/hiviewdfx/faultloggerd/test/unittest/process_dump/ |
H A D | process_dump_test.cpp | 76 * @tc.desc: test init process threads 99 * @tc.desc: test init other threads 108 auto threads = process->GetOtherThreads(); in HWTEST_F() local 109 EXPECT_GT(threads.size(), 0) << "DfxProcessTest003 Failed"; in HWTEST_F() 111 threads = process->GetOtherThreads(); in HWTEST_F() 112 EXPECT_EQ(threads.size(), 0) << "DfxProcessTest003 Failed"; in HWTEST_F()
|
/base/hiviewdfx/faultloggerd/interfaces/innerkits/async_stack/ |
H A D | async_stack.cpp | 19 #include <threads.h>
|
/base/hiviewdfx/faultloggerd/tools/process_dump/ |
H A D | dfx_stack_info_formatter.h | 49 void AppendThreads(const std::vector<std::shared_ptr<DfxThread>>& threads, Json::Value& jsonInfo) const;
|
H A D | dfx_stack_info_formatter.cpp | 117 jsonInfo["threads"] = threadsJsonArray; in GetNativeCrashInfo() 183 void DfxStackInfoFormatter::AppendThreads(const std::vector<std::shared_ptr<DfxThread>>& threads, in AppendThreads() argument 186 for (auto const& oneThread : threads) { in AppendThreads()
|
/base/hiviewdfx/hiview/build/ |
H A D | gen_plugin_build.py | 222 def add_plugin(plugins, loadorder, threads, config_plugins): 224 for name, value in threads.items(): 319 threads = {} 320 if 'threads' in info: 321 threads = info['threads'] 322 add_plugin(plugins, info['loadorder'], threads, config_plugins)
|
/base/hiviewdfx/hicollie/frameworks/native/test/unittest/common/ |
H A D | watchdog_interface_test.cpp | 169 std::vector<std::thread> threads(maxThread); in HWTEST_F() 171 threads[i] = std::thread(&WatchdogInterfaceTest::DoAddWatchThread, this); in HWTEST_F() 174 for (auto& th : threads) { in HWTEST_F()
|
/base/global/resource_management/frameworks/resmgr/test/unittest/common/ |
H A D | string_utils_test.cpp | 82 std::vector<std::thread> threads; in TestThread() local 84 threads.push_back(std::thread(FuncMultiThread, num, mutex)); in TestThread() 86 for (auto &thread : threads) { in TestThread()
|
/base/hiviewdfx/hiview/base/event_publish/include/ |
H A D | app_event_handler.h | 102 std::vector<ThreadInfo> threads; member
|
/base/hiviewdfx/hiview/plugins/faultlogger/service/ |
H A D | freeze_json_generator.cpp | 247 FreezeJsonParams::Builder& FreezeJsonParams::Builder::InitThreads(const std::string& threads)
in InitThreads() argument 249 threads_ = threads;
in InitThreads()
|
H A D | freeze_json_generator.h | 118 Builder& InitThreads(const std::string& threads);
167 static constexpr const char* const jsonParamsThreads = "threads";
|
/base/telephony/core_service/test/unittest/core_service_gtest/ |
H A D | vcard_test.cpp | 1288 std::vector<std::thread> threads; in HWTEST_F() local 1290 threads.emplace_back(std::thread(std::bind(TestImport, fileName, dataShareHelper))); in HWTEST_F() 1293 for (auto &thread : threads) { in HWTEST_F() 1307 std::vector<std::thread> threads; in HWTEST_F() local 1310 threads.emplace_back(std::thread(std::bind(TestExport, fileName))); in HWTEST_F() 1312 for (auto &thread : threads) { in HWTEST_F()
|
/base/hiviewdfx/hiview/base/event_publish/ |
H A D | app_event_handler.cpp | 209 AddVectorToJsonString("threads", event.threads, jsonStr); in PostEvent()
|
/base/hiviewdfx/hiview/plugins/faultlogger/test/common/unittest/ |
H A D | faultlogger_unittest.cpp | 389 "pid":1605, "threads":[{"frames":[{"buildId":"", "file":"/system/lib/ld-musl-arm.so.1", "offset":72, "pc": in GenCppCrashLogTestCommon() 424 string keywords[] = { "\"time\":", "\"pid\":", "\"exception\":", "\"threads\":", "\"thread_name\":", "\"tid\":" }; in HWTEST_F()
|