/foundation/resourceschedule/ffrt/tools/ffrt_trace_process/ |
H A D | ffrt_trace_recover.py | 48 return match.split(']')[0].split('[')[-1] 154 tname = log[log.index("prev_comm="):].split("prev_pid=")[0].split('=')[-1].rstrip() 155 tid = int(log[log.index("prev_pid="):].split(' ')[0].split('=')[-1]) 160 prev_tid = int(log[log.index("prev_pid="):].split(' ')[0].split('=')[-1]) 161 next_tid = int(log[log.index("next_pid="):].split(' ')[0].split(' [all...] |
H A D | ffrt_trace_process.py | 33 return log.strip().split(' ')[0] 40 if len(log.strip().split(' ')[0].split('-')) <= 1: 43 return int(log.strip().split(' ')[0].split('-')[-1]) 58 return int(match.split(')')[0].lstrip('(')) 71 return int(match.split(']')[0].split('[')[-1]) 84 return int(match.strip().split('.')[0]) * int(1e6) + int(match.strip().rstrip(':').split(' [all...] |
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/render/ |
H A D | rs_image.h | 123 std::string split(depth, '\t'); in dump() 124 desc += split + "RSImage:{"; in dump() 125 desc += split + "\timageFit_: " + std::to_string(static_cast<int>(imageFit_)) + "\n"; in dump() 126 desc += split + "\timageRepeat_: " + std::to_string(static_cast<int>(imageRepeat_)) + "\n"; in dump() 129 desc += split + "\tPointF:{ \n"; in dump() 130 desc += split + "\t\t x_: " + std::to_string(radius_[i].GetX()) + "\n"; in dump() 131 desc += split + "\t\t y_: " + std::to_string(radius_[i].GetY()) + "\n"; in dump() 132 desc += split + "\t}\n"; in dump() 134 desc += split + frameRect_.ToString(); in dump() 135 desc += split in dump() [all...] |
/foundation/multimedia/av_codec/test/unittest/http_source_test/ |
H A D | downloader_unit_test.cpp | 242 string split = ","; in HWTEST_F() local 243 EXPECT_FALSE(IsExcluded(str, exclusions, split)); in HWTEST_F() 250 string split = ","; in HWTEST_F() local 251 EXPECT_TRUE(IsExcluded(str, exclusions, split)); in HWTEST_F() 258 string split = ","; in HWTEST_F() local 259 EXPECT_FALSE(IsExcluded(str, exclusions, split)); in HWTEST_F() 266 string split = ","; in HWTEST_F() local 267 EXPECT_FALSE(IsExcluded(str, exclusions, split)); in HWTEST_F()
|
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_hal/unittest/ |
H A D | wifi_wpa_common_test.cpp | 92 const char split[len] = "string"; in HWTEST_F() local 94 GetStrKeyVal(src, split, &out); in HWTEST_F() 95 EXPECT_NE(split, "string"); in HWTEST_F() 102 const char split[len] = "in"; in HWTEST_F() local 104 GetStrKeyVal(src, split, &out); in HWTEST_F()
|
/foundation/arkui/ace_engine/test/tools/event_tree_to_graph/src/beans/ |
H A D | event_tree.py | 44 spliced_lines = input_str.split('\n') 55 spliced_tree_lines = tree_index_str.split(': ') 68 spliced_touch_points = packed_str.split('\n') 84 spliced_frame_nodes = packed_str.split('\n')
|
/foundation/ability/idl_tool/scripts/ |
H A D | idl.py | 43 (path, name) = os.path.split(input_arguments.idl_tool_path) 54 dst_file_list = input_arguments.dst_file.split(',') 70 src_idls = input_arguments.src_idl.split(",")
|
/foundation/filemanagement/storage_service/services/storage_daemon/disk/src/ |
H A D | disk_info.cpp | 208 auto split = SplitLine(buf, bufToken); in ReadPartition() local 209 for (auto &tmp : split) in ReadPartition() 261 auto split = SplitLine(line, lineToken); in ReadDiskLines() local 262 auto it = split.begin(); in ReadDiskLines() 263 if (it == split.end()) { in ReadDiskLines() 268 if (++it == split.end()) { in ReadDiskLines() 280 ProcessPartition(it, split.end(), table, maxVols, foundPart); in ReadDiskLines()
|
/foundation/communication/dsoftbus/ |
H A D | config.py | 31 str1 = line.split('=') 44 str1 = line.split('=')
|
/foundation/multimedia/media_foundation/test/scenetest/helper/ |
H A D | media_data_source_imp.cpp | 66 const char* split = ","; in ReadDataFromFile() local 67 char* p = strtok(const_cast<char *>(data.c_str()), split); in ReadDataFromFile() 71 p = strtok(nullptr, split); in ReadDataFromFile()
|
H A D | lite_stream_player.cpp | 151 const char* split = ","; in ReadDataFromFile() local 153 char* p = strtok(s_input, split); in ReadDataFromFile() 159 p=strtok(nullptr, split); in ReadDataFromFile()
|
/foundation/filemanagement/storage_service/services/storage_daemon/ |
H A D | main.cpp | 70 auto split = StorageDaemon::SplitLine(line, token); in ParasConfig() local 71 if (split.size() != CONFIG_PARAM_NUM) { in ParasConfig() 76 auto it = split.begin(); in ParasConfig()
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_tool/src/utils/ |
H A D | database_utils.cpp | 83 std::string split = (index == 0) ? "" : opt.split; in TitleToStr() local 84 str.append(split + columnInfo.name); in TitleToStr() 103 std::string split = (index == 0) ? "" : opt.split; in RowToStr() local 104 rowStr.append(split + value); in RowToStr()
|
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/ |
H A D | trans_db.cpp | 47 const char *split = ""; in Insert() local 49 sql.append(split).append(key); in Insert() 55 split = ","; in Insert() 120 const char *split = ""; in Update() local 122 sql.append(split); in Update() 131 split = ","; in Update()
|
/foundation/communication/wifi/wifi/relation_services/wifi_hal_service/wifi_hal_module/wpa_supplicant_hal/ |
H A D | wifi_wpa_common.c | 43 void GetStrKeyVal(char *src, const char *split, WpaKeyValue *out) in GetStrKeyVal() argument 45 if (src == NULL || split == NULL || out == NULL) { in GetStrKeyVal() 48 char *p = strstr(src, split); in GetStrKeyVal() 55 p += strlen(split); in GetStrKeyVal()
|
/foundation/communication/dhcp/services/dhcp_server/src/ |
H A D | dhcp_binding.cpp | 122 static char **SplitString(const char *buf, const char *split) in SplitString() argument 126 size_t len = strlen(split); in SplitString() 128 while ((p = strstr(pos, split)) != nullptr) { in SplitString() 146 while ((p = strstr(pos, split)) != nullptr) { in SplitString()
|
/foundation/arkui/ace_engine/test/tools/event_tree_to_graph/src/ |
H A D | keywords.py | 55 texts = key_and_value.split(":") 57 texts = key_and_value.split(": ")
|
/foundation/ai/ai_engine/services/server/plugin_manager/ |
H A D | get_config_ini.py | 103 plugin_list = plugin_list.split(',') 142 legal_boards = supported_boards.split(DELIMITER) 146 for session in related_sessions.split(DELIMITER):
|
/foundation/multimedia/audio_framework/services/audio_policy/server/src/service/config/ |
H A D | audio_usage_strategy_parser.cpp | 114 std::vector<std::string> AudioUsageStrategyParser::split(const std::string &line, const std::string &sep) in split() function in OHOS::AudioStandard::AudioUsageStrategyParser 147 std::vector<std::string> buf = split(streamUsage, ","); in ParserStreamUsageInfo() 174 std::vector<std::string> buf = split(sourceTypes, ","); in ParserSourceTypeInfo()
|
H A D | audio_device_parser.cpp | 199 std::vector<std::string> split(const std::string &line, const std::string &sep) in split() function 218 std::vector<std::string> buf = split(deviceRole, ","); in ParseDeviceRole() 230 std::vector<std::string> buf = split(deviceCategory, ","); in ParseDeviceCategory() 250 std::vector<std::string> buf = split(deviceUsage, ","); in ParseDeviceUsage()
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_tool/include/utils/ |
H A D | constant_utils.h | 28 std::string split {","};
|
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_toolkit/utils/ |
H A D | wifi_global_func.cpp | 109 std::vector<int> SplitStringToIntVector(const std::string &str, const std::string &split) in SplitStringToIntVector() argument 112 if (str.empty() || split.empty()) { in SplitStringToIntVector() 118 while ((endPos = str.find(split, begPos)) != std::string::npos) { in SplitStringToIntVector() 125 begPos = endPos + split.size(); in SplitStringToIntVector() 222 void SplitString(const std::string &str, const std::string &split, std::vector<std::string> &vec) in SplitString() argument 224 if (split.empty()) { in SplitString() 231 while ((endPos = str.find(split, begPos)) != std::string::npos) { in SplitString() 236 begPos = endPos + split.size(); in SplitString()
|
/foundation/communication/netstack/utils/common_utils/include/ |
H A D | netstack_common_utils.h | 75 bool IsExcluded(const std::string &str, const std::string &exclusions, const std::string &split); 77 bool IsHostNameExcluded(const std::string &url, const std::string &exclusions, const std::string &split);
|
/foundation/ability/ability_runtime/frameworks/native/appkit/ability_delegator/runner_runtime/ |
H A D | delegator_mgmt.js | 20 for (let key of shortName.split('.')) {
|
/foundation/arkui/ace_engine/adapter/ohos/entrance/pa_engine/engine/jsi/ |
H A D | paMgmt.js | 20 for (let key of shortName.split('.')) {
|