Home
last modified time | relevance | path

Searched refs:strs (Results 1 – 6 of 6) sorted by relevance

/test/ostest/wukong/shell_command/src/
Dwukong_main.cpp108 std::vector<std::string> strs; in IsRunning() local
109 OHOS::SplitStr(pidStr, " ", strs); in IsRunning()
110 for (auto i : strs) { in IsRunning()
113 if (strs.size() >= NUMBER_TWO) { in IsRunning()
/test/testfwk/arkxtest/uitest/test/
Dmock_element_node_iterator.h50 string strs = str + split; in StringSplit() local
51 size_t pos = strs.find(split); in StringSplit()
53 while (pos != strs.npos) { in StringSplit()
54 std::string temp = strs.substr(0, pos); in StringSplit()
56 strs = strs.substr(pos + 1, strs.size()); in StringSplit()
57 pos = strs.find(split); in StringSplit()
/test/xts/acts/hiviewdfx/hiappeventtest/hiappeventcpptest/
DHiAppEventCPPTest.cpp207 char* strs[] = {str1, str2}; variable
212 OH_HiAppEvent_AddStringArrayParam(list, "str_arr_key", strs, sizeof(strs) / sizeof(strs[0]));
649 char* strs[100]; variable
652 strs[i] = new char[32];
653 sprintf_s(strs[i], num,"hello_world_%d",i);
654 std::cout << sizeof(strs[i]) << std::endl;
655 std::cout << strs[i] << std::endl;
661 OH_HiAppEvent_AddStringArrayParam(list, "str_arr_key", strs, sizeof(strs) / sizeof(strs[0]));
690 string strs = ""; variable
692 strs.append("abcdefgh");
[all …]
/test/testfwk/developer_test/src/core/
Dutils.py169 strs = line.replace('\n', '').split('=')
170 properties[strs[0]] = strs[1]
/test/xts/acts/hiviewdfx/hiappeventtest/hiappeventndktest/entry/src/main/cpp/
Dhiappeventndk.cpp228 char *strs[] = {str, par}; in OHHiAppEventAddStringArrayParam() local
229 OH_HiAppEvent_AddStringArrayParam(list, "string_arr_key", strs, sizeof(strs) / sizeof(strs[0])); in OHHiAppEventAddStringArrayParam()
/test/ostest/wukong/common/src/
Dwukong_util.cpp117 std::vector<std::string> strs; in WuKongUtil() local
118 OHOS::SplitStr(curDir_, "/", strs); in WuKongUtil()
119 for (auto str : strs) { in WuKongUtil()