Home
last modified time | relevance | path

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

1234567891011

/build/common/asan/
Dasan_helper.c49 typedef void* (*dlopen_fn_t)(const char *file, int mode);
50 static void *trap_dlopen(const char *file, int mode);
52 static void *trap_dlopen(const char *file, int mode) in trap_dlopen() argument
57 return fn(file, mode); in trap_dlopen()
62 void *dlopen(const char *file, int mode) in dlopen() argument
64 while (g_isAsan && file != NULL) { in dlopen()
65 char *p = strstr(file, LIB); in dlopen()
71 asprintf(&f, "%.*s/asan%s", (int)(p - file), file, p); in dlopen()
84 return real_dlopen(file, mode); in dlopen()
Dsymbolize.sh68 file="$(basename $1)"
71 file="libc.so"
73 …find "$@" -type f -name "$file" -exec sh -c 'test ${1##*/} = libclang_rt.asan.so -o ${1##*/} = lib…
88 for file in ${files_found[$1]}; do
89 if [ -z "${buildid_cache[$file]}" ]; then
90 buildid_cache[$file]=" $(file -bL "${file}"|grep -o BuildID[^\ ,]*)"
92 sym_cached[$1+$2]+=" $($symbolizer -Cfpie "${file}" $2 2>/dev/null)${buildid_cache[$file]}"
/build/ohos/notice/
Dmerge_notice_files.py54 for file in build_utils.get_all_files(options.static_library_notice_dir):
55 if os.stat(file).st_size == 0:
57 if not file.endswith('.a.txt'):
59 notice_file_name = os.path.basename(file)
60 if file not in basenames:
62 valid_notices.append(file)
63 depfiles.append(file)
65 for file in valid_notices:
80 os.path.basename(file))
82 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",
84 "--all-parts-host-info-file",
86 "--output-file",
113 "--all-parts-info-file",
115 "--platforms-parts-file",
117 "--system-install-info-file",
163 "--install-info-file",
165 "--output-file",
264 "--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): argument
59 with open(file, "rb") as f:
67 def read_component_from_bundle_json(file): argument
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/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): argument
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/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_kits.gni3 # you may not use this file except in compliance with the License.
85 foreach(file, sdk_lib.headers) {
86 lib_header_files += [ string_replace(file, lib_header_base, "") ]
171 "--input-file",
175 "--output-build-file",
177 "--sdk-info-file",
184 "--signature-file-check-dir",
190 "--signature-file-gen-dir",
/build/ohos/ndk/
Dscan_ndk_targets.py41 def remove_comment(file): argument
43 with open(file, 'r') as in_file:
77 def get_ndk_targets(file, options): argument
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.
60 "--system-capability-file",
124 "--doxygen-file",
127 rebase_path("$target_gen_dir/" + get_path_info(ndk_doxygen_output, "file") +
143 rebase_path("$target_gen_dir/" + get_path_info(ndk_docs_portal, "file") +
242 "--notice-file",
248 "$target_gen_dir/" + get_path_info(_output, "file") + ".md5.stamp",
274 "--notice-file",
282 "$target_gen_dir/" + get_path_info(_output, "file") + ".md5.stamp",
306 "--notice-file",
[all …]
/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/
Dprebuilts_download.sh237 for file in `ls ${libcxx_dir}`
239 if [ ! -d "${libcxx_dir}/${file}/c++" ];then
241 `cp -r ${libcxx_dir}/${file}/* ${libcxx_dir}/c++`
242 `mv ${libcxx_dir}/c++ ${libcxx_dir}/${file}/c++`
260 for file in `find $rust_dir -path $rust_dir/x86_64-unknown-linux-gnu -prune -o -name "lib*.*"`
262 dir_name=${file%/*}
263 file_name=${file##*/}
289 mv $file "$dir_name/$newfile_name"
/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/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",
/build/ohos/statistics/
Dbuild_overlap_statistics.py49 def get_subsystem_paths(file, root_dir): argument
56 with open(file, 'r') as jfile:
77 for file in fnmatch.filter(files, pattern):
79 splits = os.path.join(root, file).split('/obj/')
88 sources_file = get_sources_file(os.path.join(root, file))

1234567891011