/build/rust/tests/test_proc_macro_crate/test_attribute_macro/src/ |
H A D | lib.rs | 22 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 D | check_gn.py | 104 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 D | copy_ex.py | 24 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 D | kernel_permission_handler.py | 27 if not all(isinstance(item, str) for item in value):
|
H A D | ninja2trace.py | 70 for item in self.durations: 71 duration = item.end - item.start 73 file.write('{}: {}\n'.format(item.target_obj_names[0],
|
H A D | hapbuilder.py | 84 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 D | entry.py | 68 for item in args.export_para: 69 key, value = item.split(':')
|
/build/lite/ |
H A D | copy_files.py | 28 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 D | categorized_libraries_utils.py | 70 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 D | build_overlap_statistics.py | 132 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 D | parse_lite_subsystems_config.py | 36 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 D | parse_sdk_description.py | 70 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 D | copy_sdk_modules.py | 125 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 D | conftest.py | 65 def pytest_runtest_makereport(item, call): 68 if str(item.function.__doc__) != "None": 69 report.description = str(item.function.__doc__)
|
H A D | performance_test.py | 306 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 D | collect_system_notice_files.py | 32 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 D | test_js_file_copy.py | 44 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 D | gcc_link_wrapper.py | 50 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 D | rustc_wrapper.py | 61 for item in rustenv: 62 (key, value) = item.split("=", 1)
|
H A D | mini_debug_info.py | 28 for item in sort_lines: 29 output_file.write('{}\n'.format(item))
|
/build/tools/component_tools/static_check/bundle_check/ |
H A D | bundle_json_check.py | 61 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 D | product_util.py | 114 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 D | generate_code_from_policy.py | 289 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 D | parse_kconf.py | 40 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 D | process_field_validate.py | 111 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)
|