Home
last modified time | relevance | path

Searched refs:split (Results 1 – 25 of 470) sorted by relevance

12345678910>>...19

/ohos5.0/foundation/multimedia/audio_framework/services/audio_service/common/src/
H A Dvolume_tools.cpp256 if (split <= 0) { in CountU8Volume()
278 for (size_t frameIndex = 0; frameIndex < frameSize - (split - 1); frameIndex += split) { in CountU8Volume()
300 if (split <= 0) { in CountS16Volume()
322 for (size_t frameIndex = 0; frameIndex < frameSize - (split - 1); frameIndex += split) { in CountS16Volume()
344 if (split <= 0) { in CountS24Volume()
366 for (size_t frameIndex = 0; frameIndex < frameSize - (split - 1); frameIndex += split) { in CountS24Volume()
391 if (split <= 0) { in CountS32Volume()
413 for (size_t frameIndex = 0; frameIndex < frameSize - (split - 1); frameIndex += split) { in CountS32Volume()
439 if (split <= 0) { in CountF32Volume()
461 for (size_t frameIndex = 0; frameIndex < frameSize - (split - 1); frameIndex += split) { in CountF32Volume()
[all …]
/ohos5.0/foundation/resourceschedule/ffrt/tools/ffrt_trace_process/
H A Dffrt_trace_recover.py48 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('=')[-1])
171 tid = int(log[log.index("pid="):].split(' ')[0].split('=')[-1])
253 prio = int(mark[mark.index("prev_prio="):].split(' ')[0].split('=')[-1])
255 prio = int(mark[mark.index("next_prio="):].split(' ')[0].split('=')[-1])
268 label = mark.split('[')[-1].split(']')[0]
430 gid = int([e for e in log.split('\n') if "FFRT::[" in e][0].split('|')[-1])
[all …]
H A Dffrt_trace_process.py40 if len(log.strip().split(' ')[0].split('-')) <= 1:
43 return int(log.strip().split(' ')[0].split('-')[-1])
71 return int(match.split(']')[0].split('[')[-1])
96 return (match.split('|')[-2], int(match.split('|')[-1]))
103 return (match.split('|')[-1].split(' ')[0], int(match.split(' ')[-1]))
118 switch_info["prev_tname"] = log[index:].split("prev_pid=")[0].split('=')[-1].rstrip()
121 switch_info["prev_tid"] = int(log[index:].split(' ')[0].split('=')[-1])
124 switch_info["prev_state"] = log[index:].split(' ')[0].split('=')[-1]
127 switch_info["next_tname"] = log[index:].split("next_pid=")[0].split('=')[-1].rstrip()
130 switch_info["next_tid"] = int(log[index:].split(' ')[0].split('=')[-1])
[all …]
/ohos5.0/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/command_line/driver_add/liteos/
H A Dgn_file_add_config.py33 frameworks_model_value = line.split("=")[-1].strip()
105 str_split_list = i.strip().split(" = ")
107 temp_name = str_split_list[0].split(" ")[0].strip("=")
117 parent_path_temp = source_path.split(devices)[0].strip(
119 parent_path = '/'.join(parent_path_temp.split('/')[:3])
121 parent_path_temp = head_path.split(devices)[0].strip(
123 parent_path = '/'.join(parent_path_temp.split('/')[:3])
138 audio_board_name = parent_path_temp.split('/')[3]
151 date_replace['source_path'] = file_source_path_full.split(
156 relatively_path)[-1].split('/')[:-1]).strip('/')
[all …]
H A Dmk_file_add_config.py33 model_dir_value = line.split("=")[-1].strip()
101 include_model_info = model_dir_value.split("model")[-1].strip('"') + "/"
102 makefile_path_config = source_file_path.split(include_model_info)
112 strip(os.path.sep).split(os.path.sep)))),
114 list(filter(lambda x: x, head_path.split(root_path)[-1].
115 strip(os.path.sep).split(os.path.sep)))[:-1])}
118 'source_file_path': source_file_path.split(module, 1)[-1][1:],
120 lambda x: x, head_path.split(module, 1)[-1][1:].
121 split(os.path.sep)))[:-1]).strip(os.path.sep)}
126 list(filter(lambda x: x, head_path.split("model")[-1].strip(
[all …]
/ohos5.0/foundation/ability/ability_runtime/services/dialog_ui/ams_system_dialog/entry/src/main/ets/pages/
H A DselectorPhoneDialog.ets122 globalThis.abilityWant.bundleName = item.split('#')[0];
123 globalThis.abilityWant.abilityName = item.split('#')[1];
124 globalThis.abilityWant.moduleName = item.split('#')[4];
183 if (item.split('#')[3] != '') {
184 if (item.split('#')[3].indexOf('image/json') > -1) {
186 item.split('#')[4] + ':' + item.split('#')[1] + ':' + item.split('#')[7]),
187 item.split('#')[7]);
189 this.elementIconCombine(item.split('#')[3], item.split('#')[7]);
197 if (item.split('#')[2] != '') {
198 Text(item.split('#')[2])
[all …]
H A DselectorPcDialog.ets90 let userId = item.split('#')[6];
97 let typeName = item.split('#')[5];
279 … Image(globalThis.jsonIconMap.get(item.split('#')[0] + ':' + item.split('#')[4] +
280 ':' + item.split('#')[1] + ':' + item.split('#')[7]))
287 Image(item.split('#')[3])
303 Text(item.split('#')[2])
311 Text(item.split('#')[0])
375 … Image(globalThis.jsonIconMap.get(item.split('#')[0] + ':' + item.split('#')[4] +
376 ':' + item.split('#')[1] + ':' + item.split('#')[7]))
399 Text(item.split('#')[2])
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/render/
H A Drs_image.h121 std::string split(depth, '\t'); in dump()
122 desc += split + "RSImage:{"; in dump()
123 desc += split + "\timageFit_: " + std::to_string(static_cast<int>(imageFit_)) + "\n"; in dump()
124 desc += split + "\timageRepeat_: " + std::to_string(static_cast<int>(imageRepeat_)) + "\n"; in dump()
127 desc += split + "\tPointF:{ \n"; in dump()
128 desc += split + "\t\t x_: " + std::to_string(radius_[i].GetX()) + "\n"; in dump()
129 desc += split + "\t\t y_: " + std::to_string(radius_[i].GetY()) + "\n"; in dump()
130 desc += split + "\t}\n"; in dump()
132 desc += split + frameRect_.ToString(); in dump()
133 desc += split + "\tscale_: " + std::to_string(scale_) + "\n"; in dump()
[all …]
/ohos5.0/base/usb/usb_manager/test/native/js_unittest/
H A DDateAndTimeUtil.js85 const h = str.substr(2).split(':')[0];
87 const time = '0' + ':' + str.substr(2).split(':')[1];
90 return h + ':' + str.substr(2).split(':')[1];
93 const h = str.substr(2).split(':')[0];
96 const time = h1 + ':' + str.substr(2).split(':')[1];
109 const minutes = str.split(':')[1];
/ohos5.0/commonlibrary/ets_utils/js_api_module/uri/src/
H A Djs_uri.ts163 let queryStrs: string[] = this.uricalss.query.split('&') || [];
168 let str = item.split('=') || [];
252 let str = item.split('=') || [];
316 let arr: string[] = thisAuthority.split('[');
317 let brr: string[] = arr[1].split(']');
331 let arr: string[] = thisSsp.split('[');
332 let brr: string[] = arr[1].split(']');
389 let arr: string[] = thisAuthority.split('[');
390 let brr: string[] = arr[1].split(']');
402 let arr: string[] = thisSsp.split('[');
[all …]
/ohos5.0/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/command_line/
H A Dhdf_linux_scann.py68 model_path = lines.split("+=")[-1].strip()
249 parent_path = "/".join(makefile_path.split("/")[:-1])
294 split("/")[:-1]
302 info = info.split("=")[-1].strip()
314 line.strip().split("/")[-1]))
329 line = line.strip().split("=")[-1].strip()
362 re_split_list = re.split(re_prefix, line)
384 ["HDF", enable_key.split("HDF")[-1]]
405 ["HDF", enable_key.split("HDF")[-1]]
413 ["HDF", k1.split("HDF")[-1]]
[all …]
H A Doperate_group_passwd.py36 if result_group.split(":")[0] not in self.passwd_group_name_list:
43 if result_passwd.split(":")[0] not in self.passwd_group_name_list:
53 gid = id_re_result.group().split(":")[-1]
55 self.passwd_group_name_list.append(line.split(":")[0])
63 base_group_passwd_str = ":".join(self.group_newline.strip().strip(":").split(":")[:-1])
H A Dhdf_defconfig_patch.py58 if path.split(".")[-1] != "patch":
78 if path.split("\\")[-1] in self.drivers_path_list or \
79 path.split("/")[-1] in self.drivers_path_list:
100 if path.split(".")[-1] != "patch":
124 if path.split(".")[-1] != "patch":
141 enable_line=x, device_base=temp_str.split("=")[0]),
/ohos5.0/build/test/example/
H A Dtest_build_option.py569 cmd = self.CMD.format('--target-cpu', cpu_para).split()
580 cmd = self.CMD.format('--ccache', ccache_para).split()
626 cmd = self.NINJIA_CMD.format(ninja_args).split()
648 cmd = self.CMD.format('--strict-mode', strict_mode).split()
692 cmd = self.CMD.format('--build-xts', build_xts).split()
703 para_list = ignore_api_check.split()
734 cmd = self.CMD.format('--build-type', build_type).split()
744 cmd = self.CMD.format('--log-level', log_level).split()
766 cmd = self.CMD.format('--test', test).split()
777 cmd = self.CMD.format('--gn-args', gn_args).split()
[all …]
H A Dperformance_test.py284 line_list = line.split(":")
323 if ":" in tmp and len(tmp.split(":")) == 2:
324 ccache_res.append(tmp.split(":"))
328 if len(item_.split()) == 6:
329 c_targets_res.append(item_.split())
481 log_info(output.split("[timestamp]")[1])
482 line_mes = " ".join(output.split("[timestamp]")[1].split()[2:])
483 time_stamp = output.split("[timestamp]")[0]
512 self.gn_exec_li.append(line_mes.split())
514 self.gn_script_li.append(line_mes.split())
[all …]
/ohos5.0/build/tools/component_tools/
H A Dparse_kconf.py85 items[COMPONENT] = arr[2].split("=")[0]
86 features = line.split("=", 1)[1].strip("\"")
90 items[FEATRUES] = features.split(",")
95 items[SUBSYS] = arr[0].split("_", 1)[1]
96 items[COMPONENT] = arr[1].split("=")[0]
97 items[VALUE] = line.split("=", 1)[1]
101 items[PROPERTY] = arr[1].split("=")[0]
103 items[VALUE] = line.split("=", 1)[1].strip("\"")
116 arr = line.split("$$")
/ohos5.0/build/toolchain/
H A Dmini_debug_info.py33 subprocess.run(cmd.split(), stdout=output_file)
71 subprocess.run(gen_symbols_cmd.split(), stdout=output_file)
77 columns = line.strip().split()
89 subprocess.run(gen_func_symbols_cmd.split(), stdout=output_file)
95 columns = line.strip().split()
105 subprocess.run(gen_keep_symbols_cmd.split(), stdout=output_file)
116 subprocess.call(cmd.split(), shell=False)
/ohos5.0/build/tools/component_tools/static_check/gn_check/
H A Dcheck_gn.py103 row_info = all_info.split('\n')
105 abs_info = item.split(':')
131 product_name_data = all_info.split('\n')
133 info = line.split(':')
162 product_name_data = all_info.split('\n')
165 info = line.split(':')
212 content = target.split()[0]
215 row_number_info = grep_info.split(':')[0]
258 content = target.split('\n')[0].strip()
261 row_number_info = grep_info.split(':')[0]
/ohos5.0/foundation/multimedia/av_codec/test/unittest/http_source_test/
H A Ddownloader_unit_test.cpp242 string split = ","; variable
243 EXPECT_FALSE(IsExcluded(str, exclusions, split));
250 string split = ","; variable
251 EXPECT_TRUE(IsExcluded(str, exclusions, split));
258 string split = ","; variable
259 EXPECT_FALSE(IsExcluded(str, exclusions, split));
266 string split = ","; variable
267 EXPECT_FALSE(IsExcluded(str, exclusions, split));
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/util/h2/io/
H A Dmod.rs25 mod split; module
26 pub(crate) use split::{split, Reader, Writer};
/ohos5.0/base/startup/init/services/etc/passwd_appender/
H A Dpasswd_appender.py44 arr = line.strip().split(":")
65 arr = line.strip().split(":")
80 arr = line.strip().split(":")
139 passwd_info = line.strip("\n").split(":")
155 limits = limit.split("-")
165 file_list = options.source_file.split(":")
166 range_list = options.input_ranges.split(":")
/ohos5.0/base/hiviewdfx/hiview/base/utility/
H A Dstring_util.cpp50 std::string ConvertVectorToStr(const std::vector<std::string> &listStr, const std::string &split) in ConvertVectorToStr() argument
57 str += split + item; in ConvertVectorToStr()
226 string GetLeftSubstr(const string& input, const string& split) in GetLeftSubstr() argument
228 size_t pos = input.find(split, 0); in GetLeftSubstr()
235 string GetRightSubstr(const string& input, const string& split) in GetRightSubstr() argument
237 size_t pos = input.find(split, 0); in GetRightSubstr()
241 return input.substr(pos + split.size(), input.size() - pos); in GetRightSubstr()
244 string GetRleftSubstr(const string& input, const string& split) in GetRleftSubstr() argument
246 size_t pos = input.rfind(split, string::npos); in GetRleftSubstr()
253 string GetRrightSubstr(const string& input, const string& split) in GetRrightSubstr() argument
[all …]
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.12/
H A Dchangelog-bundlemanager.md23 ## cl.bundlemanager.3 包管理ApplicationInfo结构体中删除split字段。
25 ….com/openharmony/interface_sdk-js/blob/master/api/bundleManager/ApplicationInfo.d.ts)结构体中删除split字段。
28 使用之前已发布的API 9各beta版本且使用到了split的,会编译失败。
31 ….com/openharmony/interface_sdk-js/blob/master/api/bundleManager/ApplicationInfo.d.ts)结构体中删除split字段。
34 删除ApplicationInfo结构体中的split字段。目前元服务中stage模型强制分包,不支持不分包。
/ohos5.0/build/hb/util/post_gn/
H A Dcheck_compilation_parameters.py27 for flag in line.split():
37 for flag in line.split():
53 label_name = line.split()[2]
55 target_out_dir = line.split()[2]
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/disk/src/
H A Ddisk_info.cpp210 auto split = SplitLine(buf, bufToken); in ReadPartition() local
211 for (auto &tmp : split) in ReadPartition()
251 auto split = SplitLine(line, lineToken); in ReadDiskLines() local
252 auto it = split.begin(); in ReadDiskLines()
253 if (it == split.end()) { in ReadDiskLines()
258 if (++it == split.end()) { in ReadDiskLines()
270 ProcessPartition(it, split.end(), table, maxVols, foundPart); in ReadDiskLines()

12345678910>>...19