Home
last modified time | relevance | path

Searched refs:file (Results 1 – 25 of 283) sorted by relevance

12345678910>>...12

/build/common/asan/
Dasan_helper.c52 typedef void* (*dlopen_fn_t)(const char *file, int mode);
53 static void *trap_dlopen(const char *file, int mode);
55 static void *trap_dlopen(const char *file, int mode) in trap_dlopen() argument
60 return fn(file, mode); in trap_dlopen()
65 void *dlopen(const char *file, int mode) in dlopen() argument
67 while (g_isAsan && file != NULL) { in dlopen()
68 char *p = strstr(file, LIB); in dlopen()
74 asprintf(&f, "%.*s/asan%s", (int)(p - file), file, p); in dlopen()
87 return real_dlopen(file, mode); in dlopen()
/build/scripts/
Dsign_sdk.py37 for file in files:
38 file = os.path.join(root, file)
39 …if file.split('/')[-1] in sign_list or file.endswith('.so') or file.endswith('.dylib') or file.spl…
40 cmd2 = ['codesign', '--sign', sign, '--timestamp', '--options=runtime', file]
57 for file in os.listdir('.'):
58 sign_sdk(file, sign_list)
/build/ohos/notice/
Dmerge_notice_files.py58 for file in files:
59 if os.stat(file).st_size == 0:
61 if not file.endswith('.a.txt'):
63 notice_file_name = os.path.basename(file)
64 if file not in basenames:
66 valid_notices.append(file)
67 depfiles.append(file)
69 for file in valid_notices:
84 os.path.basename(file))
86 shutil.copyfile(file, dest)
[all …]
Dcollect_system_notice_files.py30 with open(options.install_info_file, 'r') as file:
31 install_info = json.load(file)
38 with open(subsystem_info, 'r') as file:
39 subsystem_info = json.load(file)
45 with open(module_info, 'r') as file:
46 module_info = json.load(file)
64 for file in notice_files:
66 os.path.relpath(file, options.notice_root_dir))
68 shutil.copyfile(file, dest)
69 if os.path.isfile("{}.json".format(file)):
[all …]
/build/ohos/packages/
Dcheck_seccomp_library_name.py51 for file in os.listdir(cfg_dir):
52 if file.endswith(".cfg"):
53 services_name |= parse_cfg_file("{}/{}".format(cfg_dir, file))
62 for file in os.listdir(lib_dir):
63 if not file.startswith('lib') or not file.endswith('_filter.z.so'):
66 front_pos = file.find('lib') + 3
67 rear_pos = file.find('_filter.z.so')
68 name = file[front_pos : rear_pos]
DBUILD.gn3 # you may not use this file except in compliance with the License.
30 "file",
87 "--all-parts-host-info-file",
89 "--output-file",
116 "--all-parts-info-file",
118 "--platforms-parts-file",
120 "--system-install-info-file",
166 "--install-info-file",
168 "--output-file",
273 "--system-install-info-file",
[all …]
/build/misc/mac/
Dfind_sdk.py62 print(out, file=sys.stderr)
63 print(err, file=sys.stderr)
88 print('', file=sys.stderr)
90 file=sys.stderr)
91 print('', file=sys.stderr)
94 % min_sdk_version, file=sys.stderr)
97 file=sys.stderr)
98 print('', file=sys.stderr)
100 file=sys.stderr)
101 print('', file=sys.stderr)
/build/tools/component_tools/
Dfull_components_generator.py44 for file in os.listdir(folder):
45 abs_file = os.path.join(folder, file)
46 if str(file) == name:
51 for file in files:
52 if len(file) > 0 and os.path.exists(file):
53 ret.append(file)
57 def read_component_from_ohos_build(file: str):
59 with open(file, "rb") as f:
67 def read_component_from_bundle_json(file: str):
69 with open(file, "rb") as f:
Dcomponents_dependence_analysis.py69 with open(file_path, 'r') as file:
70 file_data = file.read()
86 for file in os.listdir(root_path):
87 file_path = os.path.join(root_path, file)
88 if file == 'BUILD.gn':
95 for file in os.listdir(root_path):
96 file_path = os.path.join(root_path, file)
97 if file != 'out' and os.path.isdir(file_path):
/build/
Dprebuilts_config.sh46 for file in $(ls ${libcxx_dir})
48 if [ ! -d "${libcxx_dir}/${file}/c++" ];then
50 $(cp -r ${libcxx_dir}/${file}/* ${libcxx_dir}/c++)
51 $(mv ${libcxx_dir}/c++ ${libcxx_dir}/${file}/c++)
69 for file in $(find "$rust_dir" -path "$rust_dir/x86_64-unknown-linux-gnu" -prune -o -name "lib*.*")
71 dir_name=${file%/*}
72 file_name=${file##*/}
98 mv $file "$dir_name/$newfile_name"
/build/hb/util/post_build/
Dpart_rom_statistics.py82 with open(file_path, 'rb') as file:
83 file_json = json.load(file)
97 with open(part_info_path, 'rb') as file:
98 file_json = json.load(file)
115 with open(module_info_path, 'rb') as file:
116 file_json = json.load(file)
135 for file in os.listdir(image_path):
136 if file.endswith(".img"):
138 img_path = os.path.join(image_path, file)
140 image_dict['img_name'] = file
[all …]
/build/hb/util/preloader/
Dparse_lite_subsystems_config.py23 def _read_lite_component_configs(file): argument
24 subsystem_name = os.path.basename(file)[:-5]
27 with open(file, 'rb') as fin:
62 for file in files:
63 if file[-5:] == '.json':
65 root, file))
/build/ohos/sa_profile/sa_info_process/
Dmerge_sa_info.py63 def __parse_json_file(self, file: str):
64 with open(file, 'r') as json_files:
69 raise json_err.BadFormatJsonError('provide a valid value for process', file)
80 raise json_err.BadFormatJsonError('provide a valid value for systemability', file)
83 raise json_err.BadFormatJsonError(_format.format('systemabiltiy', sys_count), file)
86 raise json_err.BadFormatJsonError('systemability must have name and libpath', file)
97 for file in sa_info_filelist:
98 self.__parse_json_file(file)
/build/hb/util/post_gn/
Dcheck_compilation_parameters.py46 with open(ninja_file, 'r') as file:
47 for line in file:
72 with open(file_path, 'r') as file:
73 file_json = json.load(file)
80 with open(file_path, 'r') as file:
81 file_json = json.load(file)
/build/ohos/
Dwrite_kits_description.py29 with open(build_config, 'r') as file:
30 data = json.load(file)
44 with open(options.input, 'r') as file:
45 kits_info = json.load(file)
Dohos_part.gni3 # you may not use this file except in compliance with the License.
122 "--input-file",
124 "--sdk-modules-info-file",
126 "--output-install-file",
128 "--output-deps-file",
130 "--output-host-file",
/build/ohos/sa_profile/
Dsa_profile.gni3 # you may not use this file except in compliance with the License.
18 # sa info config file template
53 "--output-module-info-file",
131 "--src-sa-info-file",
133 "--system-install-info-file",
135 "--src-sa-install-info-file",
150 "--system-install-info-file",
160 # Check if sa archive info file exists
170 "--sa-profile-archive-info-file",
192 "--src-sa-install-info-file",
[all …]
DBUILD.gn3 # you may not use this file except in compliance with the License.
31 # variants-toolchain-file from //build/ohos/build_var.gni
36 "--sa-profile-infos-file",
38 "--variants-toolchain-file",
40 "--output-file",
/build/ohos/common/
DBUILD.gn3 # you may not use this file except in compliance with the License.
65 "--dist-parts-info-file",
67 "--parts-src-installed-info-file",
69 "--binary-installed-info-file",
90 "--src-install-info-file",
92 "--binary-install-info-file",
94 "--all-subsystem-info-file",
/build/ohos/ndk/
Dscan_ndk_targets.py41 def remove_comment(file: str):
43 with open(file, 'r') as in_file:
77 def get_ndk_targets(file: str, options):
80 gn_file = os.path.join(tmp, os.path.basename(file))
81 do_dos2unix(file, gn_file)
82 do_gn_format(gn_file, file)
89 os.path.relpath(os.path.dirname(file), options.root_dir),
DBUILD.gn3 # you may not use this file except in compliance with the License.
61 "--system-capability-file",
137 "--doxygen-file",
141 get_path_info(ndk_doxygen_output, "file") + ".md5.stamp",
156 rebase_path("$target_gen_dir/" + get_path_info(ndk_docs_portal, "file") +
295 "--notice-file",
301 "$target_gen_dir/" + get_path_info(_output, "file") + ".md5.stamp",
327 "--notice-file",
335 "$target_gen_dir/" + get_path_info(_output, "file") + ".md5.stamp",
359 "--notice-file",
[all …]
/build/misc/overrides/
Dbuild.gni3 # found in the LICENSE file.
6 # Chromium specific targets in a client project's GN file etc.
15 # Skip assertions about 4GiB file size limit.
/build/lite/ndk/doc/
Dgen_doc.py37 with open(doxygen_file.name, 'r') as file:
38 contents = file.read()
56 'w', encoding='utf-8') as file:
57 file.write(contents)
/build/config/
Dpython.gni3 # found in the LICENSE file.
12 # All non-trivial Python scripts should use a "pydeps" file to track their
13 # sources. To create a .pydep file for a target in //example:
20 # Keep the .pydep file up-to-date by adding to //PRESUBMIT.py under one of:
24 # pydeps_file: Path to .pydeps file to read sources from (optional).
50 # Even though the .pydep file is not used at runtime, it must be added
64 # associated .pydeps file. In other words:
68 # .pydeps file in the source tree (e.g. "//build/.../foo.pydeps").
70 # - The .pydeps file contains a list of python dependencies (imports really)
76 # Read the .pydeps file now. Note that this is done every time this
/build/ohos/hisysevent/
Dhisysevent.gni3 # you may not use this file except in compliance with the License.
48 "--parts-config-file",
50 "--system-install-info-file",
54 "--hisysevent-install-info-file",

12345678910>>...12