Home
last modified time | relevance | path

Searched refs:item (Results 1 - 25 of 34) sorted by relevance

12

/build/rust/tests/test_proc_macro_crate/test_attribute_macro/src/
H A Dlib.rs22 pub fn show_streams(attr: TokenStream, item: TokenStream) -> TokenStream { in show_streams()
24 println!("item: \"{}\"", item); in show_streams()
25 item in show_streams()
/build/tools/component_tools/static_check/gn_check/
H A Dcheck_gn.py104 for item in row_info:
105 abs_info = item.split(':')
298 for item in abs_path:
299 if item['content'].startswith('//third_party'):
301 if item['content'].startswith('//build'):
303 if item['content'].startswith('//prebuilts'):
305 if item['content'].startswith('//out'):
307 bad_targets_to_excel.append([item['path'][len(
308 self.check_path) + 1:], 'line {}:{}'.format(item['line_number'], item['conten
[all...]
/build/scripts/
H A Dcopy_ex.py24 1. If src item is a symlink, and points to some item inside src,
26 2. If src item points to items outside src, then follow links to copy
28 3. Else copy src item to dest.
30 1. If src item is a symlink, then follow links to copy the original file
32 2. Else copy src item to dest.
50 for item in items:
51 srcname = os.path.join(src, item.name)
52 destname = os.path.join(dest, item.name)
53 is_symlink = item
[all...]
H A Dkernel_permission_handler.py27 if not all(isinstance(item, str) for item in value):
H A Dninja2trace.py70 for item in self.durations:
71 duration = item.end - item.start
73 file.write('{}: {}\n'.format(item.target_obj_names[0],
H A Dhapbuilder.py84 for item in assets:
85 if os.path.isfile(item):
87 item, os.path.join(assets_dir, os.path.basename(item)))
88 elif os.path.isdir(item):
90 item, os.path.join(assets_dir, os.path.basename(item)))
H A Dentry.py68 for item in args.export_para:
69 key, value = item.split(':')
/build/lite/
H A Dcopy_files.py28 for item in os.listdir(src):
29 if '.git' in item or '.repo' in item:
31 src_path = os.path.join(src, item)
32 dst_path = os.path.join(dst, item)
/build/ohos/packages/rules/
H A Dcategorized_libraries_utils.py70 for item in module_info["dest"]:
71 pos = item.rfind("/")
73 dest.append(item)
75 lib_name = item[pos + 1:]
76 dir_name = item[:pos]
/build/ohos/statistics/
H A Dbuild_overlap_statistics.py132 for item in sorted(statistics, key=overlap_rate_key, reverse=True):
134 item.get('subsystem'), item.get('files'),
135 item.get('files_percentage'), item.get('builds'),
136 item.get('builds_percentage'), item.get('overlap_rate')))
/build/hb/util/preloader/
H A Dparse_lite_subsystems_config.py36 for item in targets:
37 target_names = item.strip('"').split(':')
39 test_targets.append(item)
41 non_test_targets.append(item)
/build/ohos/sdk/
H A Dparse_sdk_description.py70 def add_target(item: dict, target: str, sdk_systems: list):
73 item.get('targets').get('linux').add_target('"%s",' % target)
75 item.get('targets').get('windows').add_target('"%s",' % target)
77 item.get('targets').get('darwin').add_target('"%s",' % target)
79 item.get('targets').get('ohos').add_target('"%s",' % target)
86 {% for item in sdk_targets %}
88 {% set sdk_type = item.get('type') %}
89 {% set targets = item.get('targets') %}
212 for item in sdk_targets:
213 if item['typ
[all...]
H A Dcopy_sdk_modules.py125 for item in archive_paths:
126 if sdk_label == item.get('label'):
127 dest = os.path.join(sdk_out_dir, item.get('install_dir'),
131 cp_info['install_dir'] = item.get('install_dir')
/build/test/example/
H A Dconftest.py65 def pytest_runtest_makereport(item, call):
68 if str(item.function.__doc__) != "None":
69 report.description = str(item.function.__doc__)
H A Dperformance_test.py306 self.gn_exec_res = [[item[2], item[1], round(float(item[0]) / 1000, 4)] for item in self.gn_exec_li if
307 item and re.match(r"[\d.]+", item[0])][
309 self.gn_script_res = [[item[2], item[1], round(float(item[0]) / 1000, 4)] for item i
[all...]
/build/ohos/notice/
H A Dcollect_system_notice_files.py32 for item in install_info:
33 subsystem_info_files.append(item['part_info_file'])
40 for item in subsystem_info:
41 module_info_files.append(item['module_info_file'])
/build/ohos/testfwk/
H A Dtest_js_file_copy.py44 for item in files:
45 if item.endswith('.js'):
46 name_list.append(item)
47 file_list.append(os.path.join(root, item))
/build/toolchain/
H A Dgcc_link_wrapper.py50 for item in command:
51 if str(item).find("crtbegin_dynamic.o") >= 0:
52 index = command.index(item)
53 new_crtbegin = str(item).replace("crtbegin_dynamic.o",
H A Drustc_wrapper.py61 for item in rustenv:
62 (key, value) = item.split("=", 1)
H A Dmini_debug_info.py28 for item in sort_lines:
29 output_file.write('{}\n'.format(item))
/build/tools/component_tools/static_check/bundle_check/
H A Dbundle_json_check.py61 for item in bundle_error:
62 item['rule'] = BCWarnInfo.CHECK_RULE_2_1
63 item['path'] = bundle_path
64 item['component'] = component_name
65 item['subsystem'] = subsystem_name
124 for item in all_errors:
126 item['subsystem'],
127 item['component'],
128 item['path'],
129 item['rul
[all...]
/build/hb/util/
H A Dproduct_util.py114 for item in os.listdir(bip_path):
115 if item[0] in ".":
118 product_name = item[0:-len('.json')
119 ] if item.endswith('.json') else item
120 config_path = os.path.join(bip_path, item)
135 for item in os.listdir(bipl_path):
136 if item[0] in ".":
139 product_name = item[0:-len('.json')
140 ] if item
[all...]
/build/config/components/init/seccomp/scripts/
H A Dgenerate_code_from_policy.py289 for item in allow_list:
290 pos = item.find(':')
291 syscall = item
293 syscall = item[:pos]
315 final_priority_function_name_list_with_args = set(item[:item.find(':')]
316 for item in self.final_priority_with_args)
317 final_function_name_list_with_args = set(item[:item.find(':')]
318 for item i
[all...]
/build/tools/component_tools/
H A Dparse_kconf.py40 for item in data.get(SUBSYS_LIST):
41 subsys_name = item.get(SUBSYS)
42 for component in item.get(COMPONENT_LIST):
/build/ohos/packages/
H A Dprocess_field_validate.py111 for item in i["gid"]:
112 self.append_gid(item)
125 Processitem is the data structure of an item read from the process list
135 Use the JSON item in the process list to initialize the class
215 # no CfgItem in HASH meet the item in process list
254 For each item in the list, find out whether there is a CfgItem needs validation in HASH
283 for item in field["gid"]:
284 cfg_item.append_gid(item)

Completed in 8 milliseconds

12