Home
last modified time | relevance | path

Searched refs:target_file (Results 1 – 25 of 31) sorted by relevance

12

/external/chromium-trace/catapult/common/py_utils/py_utils/
Dlock.py37 def FileLock(target_file, flags): argument
43 AcquireFileLock(target_file, flags)
47 ReleaseFileLock(target_file)
50 def AcquireFileLock(target_file, flags): argument
61 _LockImplWin(target_file, flags)
63 _LockImplPosix(target_file, flags)
68 def ReleaseFileLock(target_file): argument
74 _UnlockImplWin(target_file)
76 _UnlockImplPosix(target_file)
83 def _LockImplWin(target_file, flags): argument
[all …]
Dlock_unittest.py41 def _ReadFileWithExclusiveLockNonBlocking(target_file, status_file): argument
42 with open(target_file, 'r') as f:
/external/python/cpython2/Lib/plat-mac/lib-scriptpackages/CodeWarrior/
DCodeWarrior_suite.py336 class target_file(aetools.ComponentItem): class
404 target_files = target_file
528 target_file._superclassnames = []
529 target_file._privpropdict = {
547 target_file._privelemdict = {
568 'target_file' : target_file,
640 'SRCF' : target_file,
D__init__.py77 getbaseclasses(target_file)
144 'SRCF' : target_file,
/external/clang/tools/scan-build-py/tests/functional/cases/
Dtest_from_cdb.py17 target_file = 'build_{0}.json'.format(name)
21 source_file = os.path.join(source_dir, target_file + '.in')
22 target_file = os.path.join(target_dir, 'compile_commands.json')
24 with open(target_file, 'w') as out_handle:
28 return target_file
/external/llvm-project/clang/tools/scan-build-py/tests/functional/cases/
Dtest_from_cdb.py16 target_file = 'build_{0}.json'.format(name)
20 source_file = os.path.join(source_dir, target_file + '.in')
21 target_file = os.path.join(target_dir, 'compile_commands.json')
23 with open(target_file, 'w') as out_handle:
27 return target_file
/external/avb/tools/transparency/
Dpixel_factory_image_verify.py135 target_file = os.path.join(self.working_dir, download_filename)
136 if os.path.exists(target_file):
138 os.remove(target_file)
146 target_file, e))
/external/perfetto/tools/
Dgn_utils.py166 def gen_buildflags(gn_args, target_file): argument
175 shutil.copy(src, os.path.join(repo_root(), target_file))
190 target_file = os.path.relpath(tmp_file[:-4])
192 if not filecmp.cmp(tmp_file, target_file):
193 sys.stderr.write('%s needs to be regenerated\n' % target_file)
197 os.rename(tmp_file, target_file)
/external/llvm-project/clang/tools/scan-build-py/libscanbuild/
Dintercept.py160 target_file = os.path.join(target_dir, target_file_name)
161 logging.debug('writing execution report to: %s', target_file)
162 write_exec_trace(target_file, execution)
/external/webrtc/tools_webrtc/android/
Drelease_aar.py98 def _UploadFile(user, password, filename, version, target_file): argument
105 target_path = target_dir + '/' + target_file
128 def _GeneratePom(target_file, version, commit): argument
134 with open(target_file, 'w') as fh:
/external/clang/tools/scan-build-py/libscanbuild/
Dintercept.py172 target_file = os.path.join(target_dir, pid + '.cmd')
173 logging.debug('writing exec report to: %s', target_file)
174 with open(target_file, 'ab') as handler:
/external/zlib/google/
Dzip_reader_unittest.cc426 base::FilePath target_file = test_dir_.AppendASCII("quux.txt"); in TEST_F() local
431 target_file, in TEST_F()
454 ASSERT_TRUE(base::GetFileSize(target_file, &file_size)); in TEST_F()
464 base::FilePath target_file = test_dir_.AppendASCII("foo"); in TEST_F() local
469 target_file, in TEST_F()
485 ASSERT_TRUE(base::DirectoryExists(target_file)); in TEST_F()
Dzip_reader.h216 void ExtractChunk(base::File target_file,
/external/angle/third_party/zlib/google/
Dzip_reader_unittest.cc426 base::FilePath target_file = test_dir_.AppendASCII("quux.txt"); in TEST_F() local
431 target_file, in TEST_F()
454 ASSERT_TRUE(base::GetFileSize(target_file, &file_size)); in TEST_F()
464 base::FilePath target_file = test_dir_.AppendASCII("foo"); in TEST_F() local
469 target_file, in TEST_F()
485 ASSERT_TRUE(base::DirectoryExists(target_file)); in TEST_F()
Dzip_reader.h216 void ExtractChunk(base::File target_file,
/external/grpc-grpc/tools/distrib/python/
Dmake_grpcio_tools.py155 target_file = os.path.abspath(
157 shutil.copyfile(source_file, target_file)
/external/rust/crates/grpcio-sys/grpc/tools/distrib/python/
Dmake_grpcio_tools.py155 target_file = os.path.abspath(
157 shutil.copyfile(source_file, target_file)
/external/llvm-project/lldb/source/Target/
DModuleCache.cpp192 const FileSpec &target_file) { in Put() argument
196 JoinPath(module_spec_dir, target_file.GetFilename().AsCString()); in Put()
207 root_dir_spec, hostname, target_file, module_file_path, true); in Put()
/external/python/cpython2/Lib/test/
Dtest_posix.py451 def _test_chflags_regular_file(self, chflags_func, target_file): argument
452 st = os.stat(target_file)
457 chflags_func(target_file, st.st_flags | stat.UF_IMMUTABLE)
465 new_st = os.stat(target_file)
468 fd = open(target_file, 'w+')
472 posix.chflags(target_file, st.st_flags)
Dtest_tarfile.py1058 target_file = os.path.join(tempdir,'symlink')
1061 os.symlink(source_file, target_file)
1064 tar.add(target_file, arcname=os.path.basename(target_file))
1088 target_file = os.path.join(tempdir,'symlink')
1091 os.symlink(source_file, target_file)
1093 tar.add(target_file, arcname=os.path.basename(target_file))
1118 target_file = os.path.join(tempdir,'symlink')
1121 os.link(source_file, target_file)
1124 tar.add(target_file, arcname=os.path.basename(target_file))
/external/llvm-project/lldb/include/lldb/Target/
DModuleCache.h63 const FileSpec &target_file);
/external/llvm-project/lldb/test/API/python_api/process/io/
DTestProcessIO.py108 def read_file_and_delete(self, target_file, local_file): argument
111 remote=target_file, local=local_file))
/external/tensorflow/tensorflow/core/platform/
Denv.cc479 std::unique_ptr<WritableFile> target_file; in FileSystemCopyFile() local
480 TF_RETURN_IF_ERROR(target_fs->NewWritableFile(target_name, &target_file)); in FileSystemCopyFile()
491 TF_RETURN_IF_ERROR(target_file->Append(result)); in FileSystemCopyFile()
494 return target_file->Close(); in FileSystemCopyFile()
/external/python/cffi/cffi/
Drecompiler.py1383 def _make_c_or_py_source(ffi, module_name, preamble, target_file, verbose): argument
1385 print("generating %s" % (target_file,))
1394 with open(target_file, 'r') as f1:
1401 tmp_file = '%s.~%d' % (target_file, os.getpid())
1405 os.rename(tmp_file, target_file)
1407 os.unlink(target_file)
1408 os.rename(tmp_file, target_file)
/external/swiftshader/third_party/SPIRV-Tools/test/tools/
Dexpect.py348 with open(target_filename, 'r') as target_file:
349 file_contents = target_file.read()

12