/external/snakeyaml/ |
D | patch-android-src | 30 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/ |
D | build.py | 29 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/ |
D | test-binary-kernel.cpp | 56 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/ |
D | multissltests.py | 149 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/ |
D | multissltests.py | 167 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/ |
D | test_from_cmd.py | 84 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/ |
D | test_shutil.py | 1391 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/ |
D | pddm.py | 661 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__.py | 171 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/ |
D | logger.py | 86 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/ |
D | avahi_utils.py | 25 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/ |
D | wrjpgcom.c | 546 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/ |
D | divide_and_merge_profiles.py | 61 src_file = os.path.join(input_dir, f) 66 command = 'cp %s %s' % (src_file, dst_file)
|
/external/bcc/src/python/bcc/ |
D | __init__.py | 267 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/ |
D | update.py | 153 with open(src, 'r') as src_file: 156 for line in src_file:
|
/external/mesa3d/src/gallium/auxiliary/tgsi/ |
D | tgsi_transform.h | 505 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/ |
D | bashreadline.lua | 20 local b = BPF:new{src_file="bashreadline.c", debug=0}
|
/external/python/cpython2/Lib/test/ |
D | test_shutil.py | 667 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/ |
D | vfsreadlat.py | 42 b = BPF(src_file = "vfsreadlat.c")
|
/external/bcc/examples/networking/http_filter/ |
D | http-parse-simple.py | 64 bpf = BPF(src_file = "http-parse-simple.c",debug = 0)
|
/external/mesa3d/src/gallium/drivers/r300/compiler/ |
D | radeon_compiler_util.h | 78 rc_register_file src_file,
|
/external/bcc/src/lua/bcc/ |
D | bpf.lua | 125 elseif args.src_file then 126 local src = _find_file(Bpf.SCRIPT_ROOT, args.src_file)
|
/external/bcc/src/cc/frontends/p4/test/ |
D | testP4toEbpf.py | 68 b = BPF(src_file=destname, debug=0)
|
/external/u-boot/include/ |
D | qfw.h | 125 char src_file[BIOS_LINKER_LOADER_FILESZ]; member
|
/external/bcc/tests/python/ |
D | test_call1.py | 23 b = BPF(src_file=arg1, debug=0)
|