Home
last modified time | relevance | path

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

1234

/external/python/pyfakefs/pyfakefs/tests/
Dfake_filesystem_shutil_test.py173 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/
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/llvm-project/utils/arcanist/
Dclang-format.sh28 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/
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/zlib/google/
Dzip.cc175 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/
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/llvm-project/lldb/test/API/lang/objc/orderedset/
DTestOrderedSet.py11 src_file = "main.m"
12 src_file_spec = lldb.SBFileSpec(src_file)
/external/tensorflow/tensorflow/lite/tools/
Dbuild_aar.sh205 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/go/chromeos/
Dsetup_chromeos_testing.py121 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/toolchain-utils/llvm_tools/
Dupload_lexan_crashes_to_forcey.py121 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/python/cpython3/Tools/ssl/
Dmultissltests.py187 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/rust/crates/zip/tests/
Dend_to_end.rs23 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/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/llvm-project/clang/tools/scan-build-py/tests/functional/cases/
Dtest_from_cmd.py83 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/commands/expression/save_jit_objects/
DTestSaveJITObjects.py31 src_file = "main.c"
32 src_file_spec = lldb.SBFileSpec(src_file)
/external/llvm-project/libc/cmake/modules/
DLLVMLibCHeaderRules.cmake22 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/incomplete-types/
DTestCppIncompleteTypes.py49 src_file = "main.cpp"
50 src_file_spec = lldb.SBFileSpec(src_file)
/external/llvm-project/lldb/test/API/lang/cpp/limit-debug-info/
DTestWithLimitDebugInfo.py15 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/
DTestUnionMembers.py43 src_file = os.path.join(self.getSourceDir(), "main.c")
44 self.src_file_spec = lldb.SBFileSpec(src_file)
/external/crosvm/qcow_utils/src/
Dqcow_img.rs247 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/angle/src/libANGLE/renderer/metal/shaders/
Dgen_mtl_internal_shaders.py113 for src_file in src_files:
114 include_str = '#include "' + src_file + '" \n'
/external/llvm-project/compiler-rt/lib/xray/tests/
DCMakeLists.txt12 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/llvm-project/lldb/test/API/lang/cpp/gmodules/
DTestWithModuleDebugging.py17 src_file = os.path.join(self.getSourceDir(), "main.cpp")
18 src_file_spec = lldb.SBFileSpec(src_file)
/external/llvm-project/lldb/test/API/lang/cpp/global_operators/
DTestCppGlobalOperators.py18 src_file = "main.cpp"
19 src_file_spec = lldb.SBFileSpec(src_file)
/external/llvm-project/lldb/test/API/commands/expression/macros/
DTestMacros.py30 src_file = "main.cpp"
32 src_file_spec = lldb.SBFileSpec(src_file)

1234