Home
last modified time | relevance | path

Searched refs:split (Results 1 - 25 of 26) sorted by relevance

12

/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(
155 date_replace['head_path'] = '/'.join(file_head_path_full.split(
[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)
111 list(filter(lambda x: x, driver_file_path.split(root_path)[-1].
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(o
[all...]
/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/command_line/
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_linux_scann.py68 model_path = lines.split("+=")[-1].strip()
75 self.makefile_path.split(os.path.sep)[:-1]), model_path)
124 parent_path = "/".join(model_makefile_path.split("/")[:-1])
130 self.re_temp1_model, model_makefile_path).group().split("/")[-1]
175 if j.strip().strip("\\").strip().split(".")[-1] == "o":
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("
[all...]
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]),
H A Dhdf_model_enable_operation.py52 model_name = result.group().split('/')[-1]
76 model_list.append(model_name.group().split('/')[-1])
201 lambda x: x.split(split_sign)[-1] == endswitch, files))
242 if file_path.split("_")[-1] == "defconfig":
262 if file_path.split("_")[-1] == "defconfig":
H A Dhdf_add_handler.py120 driver_file_path.split("\\")[-1])
196 if i.find(file_name.split(".")[0]) > 0:
247 if i.find(file_name.split(".")[0]) > 0:
298 user_file_path = driver_file_path.split(root)[-1].replace("\\", "/")
318 ohos_relative_path = '/'.join(relative_path.split("/")[:-1])
342 parent_depth = len(drv_src_dir.split(os.path.sep))
347 if len(dir_path.split(os.path.sep)) == parent_depth + 1:
349 if len(dir_path.split(os.path.sep)) == parent_depth + 2:
350 dir_dict.get(dir_path.split(os.path.sep)[-2]).append(dir_name)
H A Dhdf_liteos_scann.py86 self.build_path.split(os.path.sep)[:-1])
90 model_name = model_path[1:-2].split("/")[0]
164 temp_str).split("=")
168 temp_split_list = temp_str.split("=")
222 temp_str).split("=")
333 list1 = temp_info.strip().split("=")
401 split("HDF")[-1]]).lower()
432 replace_line = temp_import.strip().split("=")
H A Dhdf_command_line_server.py46 header_parts = header.split(',')
58 args = arg_parser.parse_args(body.strip().split(' '))
H A Dhdf_delete_handler.py66 hdf_utils.write_file(file_path, "".join(temp_info.split(res)))
77 hdf_utils.write_file(file_path, "".join(temp_info.split(res)))
101 if dot_path.split(".")[-1] == "config":
172 if key.split("_")[-1] == "name":
273 model_dir_path = "/".join(file_path.split("/")[:-1])
299 if dot_path.split(".")[-1] == "config":
H A Dhdf_lite_mk_file.py78 parts = vendor_drivers_path.split('/')
H A Dhdf_get_handler.py160 if key.split("_")[-1] == "path":
177 if board.split("_")[-1] != "linux":
271 device_driver_name_list = driver_name.split("-")
H A Dhdf_module_kconfig_file.py69 parts = config_item.split(self.config_splitter)
/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/command_line/driver_add/linux/
H A Dmk_file_add_config.py32 model_dir_value = line.split("=")[-1].strip()
133 temp_makefile = "/".join(parent_str.split("/")[1:])
186 include_model_info = model_dir_value.split("model")[-1].strip('"') + "/"
187 makefile_path_config = source_file_path.split(include_model_info)
193 'head_file_path': '/'.join(head_path.split("model")[-1].strip(os.path.sep).split(os.path.sep)[:-1])
/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/command_line/hdi_operate/
H A Dhdi_add_handler.py161 file = '.'.join(file.split('.')[0].split('_'))
163 file = '.'.join(file.split('.')[0].split('_'))
249 target_file_name = template_file_name.split(
254 target_file_name = template_file_name.split(
270 hcs_file_name_temp = file_name.split(".")[0].replace("_", ".")
296 if line.split("::")[0].strip() == str_line.split("::")[0].strip():
405 template_file = '.'.join(template_file.split('
[all...]
H A Dhdi_delete_handler.py166 temp_line = temp_new_line.split(" ")
214 temp_str = pre_dict[list(pre_dict.keys())[0]][0].split(":")[0]
/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/
H A Dhdf_utils.py29 self.words_list = self.split()
46 def split(self): member in WordsConverter
56 words_list.extend([w for w in word.split('_') if w])
370 if filename.split("_")[0] == kernal.capitalize():
411 if key.split("_")[-1] == "path":
527 res_list = re.split(self.driver_re_flg, "".join(self.file_info))
536 res_list = re.split(flag_re, "".join(self.file_info))
/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/command_line/driver_add/
H A Dhdf_add_driver.py90 device_base=device_enable.split("=")[0]),
283 path_list = list(os.path.split(source_file))
293 create_source_name = "%s_%s_%s.c" % (device, driver, create_name.split("_")[0])
294 data_model.update({'include_file': "%s_%s_%s.h" % (device, driver, create_name.split("_")[0])})
328 path_list = list(os.path.split(head_path))
338 create_name.split("_")[0])
/drivers/hdf_core/framework/tools/idl-gen/
H A Didl_generator.py68 if os.path.split(path)[1] == file_name:
89 root_path, _ = os.path.split(file) # 输入文件所在目录
255 idl_type = self._typedef_list.get(type_name).split(' ')[0] + '[]'
329 path_name = re.split(r'[/\\]', self._split_path(file_path))
H A D_header_parser.py134 self._header_dict["path"], self._header_dict["name"] = os.path.split(path)
173 union_dict["name"] = stack["name"].split(" ")[-1]
/drivers/peripheral/audio/test/sample/tools/gen_cr_by_pr/
H A Dgen_cr_by_pr.py104 path = url.split('/')[-3:]
/drivers/peripheral/audio/test/sample/tools/get_mem_excel/
H A Dget_mem_excel.py125 fields = line.split()
/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/hcs/
H A DNodeTools.js87 let ps = path.split('.');
614 let arr = s.split(',');
/drivers/hdf_core/framework/tools/hdi-gen/
H A Dbuild_hdi_files_info.py247 map_result = opt_args.root.split(":")
295 self.name = self.file_name.split('.')[0]
631 imp_result = imp.split(":")
/drivers/peripheral/wlan/wpa/interfaces/hdi_service/service_common/
H A Dwpa_p2p_cmd.c47 void GetStrKeyVal(char *src, const char *split, struct HdiWpaKeyValue *out) in GetStrKeyVal() argument
49 if (src == NULL || split == NULL || out == NULL) { in GetStrKeyVal()
52 char *p = strstr(src, split); in GetStrKeyVal()
63 p += strlen(split); in GetStrKeyVal()

Completed in 17 milliseconds

12