/external/python/pyfakefs/pyfakefs/tests/ |
D | fake_filesystem_shutil_test.py | 173 src_file = self.make_path('xyzzy') 175 self.create_file(src_file) 176 os.chmod(src_file, 0o750) 177 self.assertTrue(os.path.exists(src_file)) 179 shutil.copy(src_file, dst_file) 181 self.assertEqual(os.stat(src_file).st_mode, os.stat(dst_file).st_mode) 184 src_file = self.make_path('xyzzy') 187 self.create_file(src_file) 189 os.chmod(src_file, 0o750) 190 self.assertTrue(os.path.exists(src_file)) [all …]
|
/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/llvm-project/utils/arcanist/ |
D | clang-format.sh | 28 src_file="${1}" 31 readonly src_file 34 cp -p "${src_file}" "${original_file}" 35 cp -p "${src_file}" "${formatted_file}" 55 git diff-index -U0 "${arc_base_commit}" "${src_file}" \ 58 cp -p "${src_file}" "${formatted_file}" 59 cp -p "${original_file}" "${src_file}" 60 if ! diff -q "${src_file}" "${formatted_file}" > /dev/null ; then 64 cat "${src_file}"
|
/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/zlib/google/ |
D | zip.cc | 175 bool Unzip(const base::FilePath& src_file, const base::FilePath& dest_dir) { in Unzip() argument 177 src_file, dest_dir, base::BindRepeating(&ExcludeNoFilesFilter), true); in Unzip() 180 bool UnzipWithFilterCallback(const base::FilePath& src_file, in UnzipWithFilterCallback() argument 184 base::File file(src_file, base::File::FLAG_OPEN | base::File::FLAG_READ); in UnzipWithFilterCallback() 186 DLOG(WARNING) << "Failed to open " << src_file.value(); in UnzipWithFilterCallback() 196 bool UnzipWithFilterAndWriters(const base::PlatformFile& src_file, in UnzipWithFilterAndWriters() argument 202 if (!reader.OpenFromPlatformFile(src_file)) { in UnzipWithFilterAndWriters() 203 DLOG(WARNING) << "Failed to open src_file " << src_file; in UnzipWithFilterAndWriters()
|
/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/llvm-project/lldb/test/API/lang/objc/orderedset/ |
D | TestOrderedSet.py | 11 src_file = "main.m" 12 src_file_spec = lldb.SBFileSpec(src_file)
|
/external/tensorflow/tensorflow/lite/tools/ |
D | build_aar.sh | 205 for src_file in $(echo ${FLAG_TFLITE_OPS_SRCS} | sed "s/,/ /g") 207 cp ${src_file} ${TMP_DIR} 208 TFLITE_OPS_SRCS="${TFLITE_OPS_SRCS},$(basename ${src_file})"
|
/external/toolchain-utils/llvm_tools/ |
D | upload_lexan_crashes_to_forcey.py | 121 sh_file, src_file = repro_files 122 assert not src_file.endswith('.sh'), repro_files 124 src_file, sh_file = repro_files 138 os.path.join(tempdir, src_file),
|
/external/toolchain-utils/go/chromeos/ |
D | setup_chromeos_testing.py | 121 src_file = os.path.join(chromeos_root, 'src', 'scripts', 124 if os.path.exists(src_file): 125 cmd = 'cp %s %s' % (src_file, dest_file) 136 src_file)
|
/external/rust/crates/zip/tests/ |
D | end_to_end.rs | 23 let src_file = &mut Cursor::new(Vec::new()); in copy() localVariable 24 write_to_zip(src_file).expect("file written"); in copy() 29 let mut src_archive = zip::ZipArchive::new(src_file).unwrap(); in copy()
|
/external/python/cpython3/Tools/ssl/ |
D | multissltests.py | 187 self.src_file = os.path.join( 247 return os.path.isfile(self.src_file) 263 src_dir = os.path.dirname(self.src_file) 283 log.info("Storing {}".format(self.src_file)) 284 with open(self.src_file, "wb") as f: 294 tf = tarfile.open(self.src_file) 345 log.debug("Already has src {}".format(self.src_file))
|
/external/llvm-project/lldb/test/API/commands/expression/save_jit_objects/ |
D | TestSaveJITObjects.py | 31 src_file = "main.c" 32 src_file_spec = lldb.SBFileSpec(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/llvm-project/clang/tools/scan-build-py/tests/functional/cases/ |
D | test_from_cmd.py | 83 src_file = os.path.join(target_dir, src_file_name) 85 create_empty_file(src_file) 86 command = ' '.join([compiler, '-c', src_file, '-o', obj_file])
|
/external/llvm-project/lldb/test/API/lang/cpp/incomplete-types/ |
D | TestCppIncompleteTypes.py | 49 src_file = "main.cpp" 50 src_file_spec = lldb.SBFileSpec(src_file)
|
/external/llvm-project/libc/cmake/modules/ |
D | LLVMLibCHeaderRules.cmake | 22 set(src_file ${CMAKE_CURRENT_SOURCE_DIR}/${ADD_HEADER_HDR}) variable 26 COMMAND cp ${src_file} ${dest_file} 27 DEPENDS ${src_file}
|
/external/llvm-project/lldb/test/API/lang/cpp/limit-debug-info/ |
D | TestWithLimitDebugInfo.py | 15 src_file = os.path.join(self.getSourceDir(), "main.cpp") 16 src_file_spec = lldb.SBFileSpec(src_file)
|
/external/llvm-project/lldb/test/API/lang/c/unions/ |
D | TestUnionMembers.py | 43 src_file = os.path.join(self.getSourceDir(), "main.c") 44 self.src_file_spec = lldb.SBFileSpec(src_file)
|
/external/angle/src/libANGLE/renderer/metal/shaders/ |
D | gen_mtl_internal_shaders.py | 113 for src_file in src_files: 114 include_str = '#include "' + src_file + '" \n'
|
/external/llvm-project/lldb/test/API/lang/cpp/gmodules/ |
D | TestWithModuleDebugging.py | 17 src_file = os.path.join(self.getSourceDir(), "main.cpp") 18 src_file_spec = lldb.SBFileSpec(src_file)
|
/external/llvm-project/compiler-rt/lib/xray/tests/ |
D | CMakeLists.txt | 12 foreach (src_file ${XRAY_ALL_SOURCE_FILES_ABS_PATHS}) 13 if (NOT EXISTS "${src_file}") 14 message(FATAL_ERROR "Source file \"${src_file}\" does not exist")
|
/external/crosvm/qcow_utils/src/ |
D | qcow_img.rs | 247 let mut src_file = match OpenOptions::new().read(true).open(source_path) { in dd() localVariable 264 let nread = src_file.read(&mut buf[..this_count]).map_err(|_| ())?; in dd() 285 let src_file = match OpenOptions::new().read(true).open(src_path) { in convert() localVariable 312 match disk::convert(src_file, dst_file, dst_type) { in convert()
|
/external/llvm-project/lldb/test/API/lang/cpp/global_operators/ |
D | TestCppGlobalOperators.py | 18 src_file = "main.cpp" 19 src_file_spec = lldb.SBFileSpec(src_file)
|
/external/llvm-project/lldb/test/API/commands/expression/macros/ |
D | TestMacros.py | 30 src_file = "main.cpp" 32 src_file_spec = lldb.SBFileSpec(src_file)
|