Home
last modified time | relevance | path

Searched refs:src_file (Results 1 – 25 of 53) sorted by relevance

123

/external/snakeyaml/
Dpatch-android-src30 src_file="$2"
42 if ! [[ $src_file == $src_file_prefix* ]]; then
43 echo "$src_file_prefix is not a valid prefix of $src_file" >&2
47 if ! [[ -f $src_file ]]; then
48 echo "Source file $src_file does not exist." >&2
53 src_file="${src_file#$src_file_prefix}"
55 patch_file_src=$(grep --files-with-matches -R "diff --git a/$src_file" "$ANDROID_PATCHES_DIR")
57 echo "Error: Could not find a corresponding .patch file for $src_file" >&2
75 if [[ $src_file != $src_file_check ]]; then
76 echo "Check-fail: $src_file was not same as found in patch file ($src_file_check)" >&2
/external/vulkan-validation-layers/build-android/
Dbuild.py29 src_file = os.path.join(src_dir, file_name)
32 print('Copying {} to {}...'.format(src_file, dst_file))
33 if os.path.isdir(src_file):
34 _install_dir(src_file, dst_file)
35 elif os.path.islink(src_file):
36 _install_symlink(src_file, dst_file)
38 _install_file(src_file, dst_file)
48 def _install_symlink(src_file, dst_file): argument
52 link_target = os.readlink(src_file)
56 def _install_file(src_file, dst_file): argument
[all …]
/external/libxcam/tests/
Dtest-binary-kernel.cpp56 FileHandle src_file, bin_file; in main() local
98 if (src_file.open (src_path, "r") != XCAM_RETURN_NO_ERROR || in main()
104 ret = src_file.get_file_size (src_size); in main()
110 src_file.read_file (kernel_body, src_size); in main()
/external/python/cpython2/Tools/ssl/
Dmultissltests.py149 self.src_file = os.path.join(
203 return os.path.isfile(self.src_file)
219 src_dir = os.path.dirname(self.src_file)
227 log.info("Storing {}".format(self.src_file))
228 with open(self.src_file, "wb") as f:
238 tf = tarfile.open(self.src_file)
273 log.debug("Already has src {}".format(self.src_file))
/external/python/cpython3/Tools/ssl/
Dmultissltests.py167 self.src_file = os.path.join(
222 return os.path.isfile(self.src_file)
238 src_dir = os.path.dirname(self.src_file)
246 log.info("Storing {}".format(self.src_file))
247 with open(self.src_file, "wb") as f:
257 tf = tarfile.open(self.src_file)
303 log.debug("Already has src {}".format(self.src_file))
/external/clang/tools/scan-build-py/tests/functional/cases/
Dtest_from_cmd.py84 src_file = os.path.join(target_dir, src_file_name)
86 create_empty_file(src_file)
87 command = ' '.join([compiler, '-c', src_file, '-o', obj_file])
/external/python/cpython3/Lib/test/
Dtest_shutil.py1391 src_file = os.path.join(src_dir, 'foo')
1392 write_file(src_file, 'foo')
1393 rv = shutil.copyfile(src_file, dst_file)
1395 self.assertEqual(read_file(src_file), read_file(dst_file))
1401 src_file = os.path.join(src_dir, 'foo')
1402 write_file(src_file, 'foo')
1403 self.assertRaises(SameFileError, shutil.copyfile, src_file, src_file)
1405 self.assertRaises(Error, shutil.copyfile, src_file, src_file)
1524 self.src_file = os.path.join(self.src_dir, filename)
1526 with open(self.src_file, "wb") as f:
[all …]
/external/protobuf/objectivec/DevTools/
Dpddm.py661 src_file = SourceFile(f, _ImportResolver)
664 src_file.ProcessContent(strip_expansion=opts.collapse)
670 if src_file.processed_content != src_file.original_content:
674 f.write(src_file.processed_content)
/external/clang/tools/scan-build-py/libear/
D__init__.py171 src_file = 'check.c'
172 with open(os.path.join(work_dir, src_file), 'w') as handle:
175 execute([self.ctx.compiler, src_file] + self.ctx.c_flags,
/external/toolchain-utils/cros_utils/
Dlogger.py86 src_file = '%s.%s' % (os.path.basename(suffixed_basename), extension)
90 os.symlink(src_file, dest_file)
252 src_file = '%s.%s' % (os.path.basename(suffixed_basename), extension)
254 print('MockLogger: Calling os.symlink(%s, %s)' % (src_file, dest_file))
/external/autotest/client/common_lib/cros/
Davahi_utils.py25 def avahi_config(options, src_file='/etc/avahi/avahi-daemon.conf', host=None): argument
42 existing_config = run('cat %s 2> /dev/null' % src_file).stdout
/external/libjpeg-turbo/
Dwrjpgcom.c546 FILE *src_file; in main() local
553 src_file = (comment_file != NULL ? comment_file : stdin); in main()
554 while ((c = getc(src_file)) != EOF) { in main()
/external/toolchain-utils/fdo_scripts/
Ddivide_and_merge_profiles.py61 src_file = os.path.join(input_dir, f)
66 command = 'cp %s %s' % (src_file, dst_file)
/external/bcc/src/python/bcc/
D__init__.py267 def __init__(self, src_file=b"", hdr_file=b"", text=None, debug=0, argument
283 src_file = _assert_is_bytes(src_file)
320 src_file = BPF._find_file(src_file)
322 if src_file.endswith(b".b"):
323 self.module = lib.bpf_module_create_b(src_file, hdr_file,
326 self.module = lib.bpf_module_create_c(src_file, self.debug,
329 raise Exception("Failed to compile BPF module %s" % src_file)
/external/swiftshader/third_party/llvm-7.0/scripts/
Dupdate.py153 with open(src, 'r') as src_file:
156 for line in src_file:
/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_transform.h505 unsigned src_file, in tgsi_transform_kill_inst() argument
516 tgsi_transform_src_reg_xyzw(&inst.Src[0], src_file, src_index); in tgsi_transform_kill_inst()
531 unsigned src_file, in tgsi_transform_tex_inst() argument
548 tgsi_transform_src_reg_xyzw(&inst.Src[0], src_file, src_index); in tgsi_transform_tex_inst()
/external/bcc/examples/lua/
Dbashreadline.lua20 local b = BPF:new{src_file="bashreadline.c", debug=0}
/external/python/cpython2/Lib/test/
Dtest_shutil.py667 self.src_file = os.path.join(self.src_dir, filename)
678 with open(self.src_file, "wb") as f:
705 self._check_move_file(self.src_file, self.dst_file, self.dst_file)
709 self._check_move_file(self.src_file, self.dst_dir, self.dst_file)
715 self._check_move_file(self.src_file, self.file_other_fs,
722 self._check_move_file(self.src_file, self.dir_other_fs,
774 self.assertRaises(shutil.Error, shutil.move, self.src_file, self.dst_dir)
/external/bcc/examples/tracing/
Dvfsreadlat.py42 b = BPF(src_file = "vfsreadlat.c")
/external/bcc/examples/networking/http_filter/
Dhttp-parse-simple.py64 bpf = BPF(src_file = "http-parse-simple.c",debug = 0)
/external/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_compiler_util.h78 rc_register_file src_file,
/external/bcc/src/lua/bcc/
Dbpf.lua125 elseif args.src_file then
126 local src = _find_file(Bpf.SCRIPT_ROOT, args.src_file)
/external/bcc/src/cc/frontends/p4/test/
DtestP4toEbpf.py68 b = BPF(src_file=destname, debug=0)
/external/u-boot/include/
Dqfw.h125 char src_file[BIOS_LINKER_LOADER_FILESZ]; member
/external/bcc/tests/python/
Dtest_call1.py23 b = BPF(src_file=arg1, debug=0)

123