Home
last modified time | relevance | path

Searched refs:f (Results 1 – 25 of 78) sorted by relevance

1234

/build/common/asan/
Dsymbolize.sh73 …find "$@" -type f -name "$file" -exec sh -c 'test ${1##*/} = libclang_rt.asan.so -o ${1##*/} = lib…
126 f="$1"
127 echo -n "Resolving $f ... "
128 symbolize < "$f" > "${f%${f##*/}}resolved_${f##*/}"
134 for f in $(find "$dir" -type f -name asan.log.*); do
135 symbolize_file "$f"
140 for f in "${asan_logs[@]}"; do
141 if [ -d "$f" ]; then
142 symbolize_dir "$f"
144 symbolize_file "$f"
Dasan_helper.c70 char *f = NULL; in dlopen() local
71 asprintf(&f, "%.*s/asan%s", (int)(p - file), file, p); in dlopen()
72 if (f == NULL) { in dlopen()
76 void *ret = real_dlopen(f, mode); in dlopen()
77 free(f); in dlopen()
78 f = NULL; in dlopen()
/build/lite/make_rootfs/
Drootfs_linux.config1 /bin/apphilogcat f 500 4 4
2 /bin/sh f 500 2 2
3 /bin/toybox f 555 0 0
4 /bin/foundation f 500 7 7
Drootfs_liteos.config1 /bin/foundation f 500 7 7
2 /bin/apphilogcat f 500 4 4
3 /bin/hidumper f 500 4 4
/build/scripts/
Dcopy_ex.py105 def copy_file(f, argument
111 if os.path.isdir(f):
112 copy_tree(f,
113 os.path.join(dest, os.path.basename(f)),
116 deps.extend(build_utils.get_all_files(f))
118 if os.path.isfile(os.path.join(dest, os.path.basename(f))):
119 dest = os.path.join(dest, os.path.basename(f))
121 deps.append(f)
124 if filecmp.cmp(dest, f, shallow=False):
131 shutil.copy(f, dest)
[all …]
Dcompile_app.py142 dest = os.path.join(cwd, f'{module_libs_dir}/libs', ohos_app_abi, lib_name)
157 f'module={options.test_module}@ohosTest', 'assembleHap']
170 with open(os.path.join(cwd, 'local.properties'), 'w') as f:
172 f.write(f'{sdk_type}={sdk_dir}\n')
173 f.write(f'nodejs.dir={nodejs_dir}\n')
184 print(f"[1/1] Hvigor info: {line}")
186 print(f"[2/2] Hvigor warning: {line}")
188 with open(os.path.join(cwd, 'build', 'build.log'), 'w') as f:
189 f.write(f'{stdout}\n')
190 f.write(f'{stderr}\n')
[all …]
Dfind.py48 for f in fnmatch.filter(files, options.pattern):
52 os.path.relpath(os.path.join(root, f),
58 print(os.path.join(root, f))
Dninja2trace.py47 with open(filename, mode='r') as f:
48 firstline = f.readline()
53 for _, line in enumerate(f.readlines()):
100 with gzip.open(dest_file_name, "wt") as f:
101 json.dump(tracelist, f)
/build/toolchain/mac/
Dget_tool_mtime.py17 for f in sys.argv[1:]:
18 variable = os.path.splitext(os.path.basename(f))[0]
19 print('%s = %d' % (variable, os.path.getmtime(f)))
/build/hb/util/
Dio_util.py34 raise OHOSException(f'{input_file} not found', '0008')
58 raise OHOSException(f'{input_file} not found', '0010')
67 raise OHOSException(f'{input_file} load failed, error line:'
68 f' {mark.line + 1}:{mark.column + 1}', '0011')
70 raise OHOSException(f'{input_file} load failed', '0011')
Ddevice_util.py43 raise OHOSException(f'cannot find {kernel_type}_{kernel_version} '
44 f'in {board_path}', "0004")
79 raise OHOSException(f'kernel_type or kernel_version '
80 f'not found in {config}', '0005')
89 raise OHOSException(f'invalid path: {path}', '0006')
103 f'board_toolchain_type is None in {config}', '0007')
Dlog_util.py62 msg = msg.replace('error:', f'{Colors.ERROR}error{Colors.END}:')
63 return f'{Colors.ERROR}[OHOS {level.upper()}]{Colors.END} {msg}'
65 return f'[OHOS {level.upper()}] {msg}'
67 return f'{Colors.WARNING}[OHOS {level.upper()}]{Colors.END} {msg}'
/build/tools/component_tools/
Dfull_components_generator.py59 with open(file, "rb") as f:
60 data = json.load(f)
69 with open(file, "rb") as f:
70 data = json.load(f)
96 with open(subsys_file, "rb") as f:
97 data = json.load(f)
143 with open(args.out, "w") as f:
144 f.write(json.dumps(ret, indent=2))
Dparse_kconf.py37 with open(path, "rb") as f:
38 data = json.load(f)
50 with open(path, "rb") as f:
51 data = json.load(f)
128 with open(kconf, "r") as f:
129 for line in f.readlines():
164 with open(out, "w") as f:
165 f.write(json.dumps(result, indent=2))
Dgenerate_kconfig.py53 with open(file, "rb") as f:
54 data = json.load(f)
59 with open(outpath, "w") as f:
60 f.writelines(result)
/build/tools/
Dproduct_config_version_convert.py26 with open(products_path,'r+', encoding='utf-8') as f:
27 data = json.load(f)
58 with open(path, 'r+', encoding='utf-8') as f:
59 data = json.load(f)
91 f.seek(0)
92 f.write(json_data)
93 f.truncate()
/build/scripts/util/
Dbuild_utils.py79 files.extend((os.path.join(root, f) for f in matched_files))
85 with open(path) as f:
86 return dict(l.rstrip().split('=', 1) for l in f)
161 delete=False) as f:
164 os.fchmod(f.fileno(), 0o664)
165 yield f
168 f.close()
170 and filecmp.cmp(f.name, path)):
171 shutil.move(f.name, path)
173 if os.path.exists(f.name):
[all …]
/build/ohos/ndk/
Darchive_ndk.py48 for f in filenames:
49 if f not in filter_file_name:
50 files.extend([os.path.join(root, f)])
52 for f in files:
53 compress = compress_fn(f) if compress_fn else None
55 zip_path = os.path.join(prefix, os.path.relpath(f, directory))
57 zip_path = os.path.relpath(f, directory)
60 src_path=f,
Dgenerate_ndk_docs.py51 with open(doxygen_file.name, 'r') as f:
52 contents = f.read()
66 with open(doxygen_file.name, 'w') as f:
67 f.write(contents)
97 for f in filenames:
98 depfile_deps += ([os.path.join(root, f)])
Dgenerate_version_script.py49 with open(options.ndk_description_file, 'r') as f:
50 interfaces = json.load(f)
54 with open(options.output, 'w') as f:
55 f.write(MAP_FILE_TEMPLATE %
Dgenerate_ndk_stub_file.py47 with open(options.ndk_description_file, 'r') as f:
48 interfaces = json.load(f)
55 with open(options.output, 'w') as f:
56 f.write('\n'.join(contents))
/build/templates/common/
Dcheck_part_subsystem_name.py47 message = f"subsystem name or part name is incorrect, " \
48 f"target is {args.target_path}, subsystem name is {args.subsystem_name}, " \
49 f"part name is {args.part_name}"
51 print(f"[0/0] warning: {message}")
Dcheck_deps_handler.py33 _warning_info = f"{_tips_info} {args.part_name}."
36 _warning_info = f"{_tips_info} {part_deps_info.get('build_config_file')}."
42 print(f"[0/0] WARNING: {_warning_info}")
148 print(f"[0/0] WARNING:{message}")
170 print(f"[0/0] {message}")
/build/lite/
Dgen_module_notice_file.py130 with open(nf_src, 'rt') as f:
131 nf_dict["license_content"] = decode(f.read())
132 with open(cp_src, 'rt') as f:
133 nf_dict["copyright"] = decode(f.read())
135 with open(target_license_path, 'at') as f:
136 f.write("Software: {}\n\n".format(encode(nf_dict["software"])))
137 f.write("Copyright notice: \n{}\n".format(
139 f.write("License: {}\n{}\n\n".format(
/build/ohos/packages/
Dsystem_gzip_package.py55 for f in files:
56 if os.path.exists(f):
59 if f in additional_files:
60 tar.add(f, arcname=os.path.basename(f))
62 tar.add(f, arcname='system')

1234