/external/chromium-trace/catapult/common/py_utils/py_utils/ |
D | lock.py | 37 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 …]
|
D | lock_unittest.py | 41 def _ReadFileWithExclusiveLockNonBlocking(target_file, status_file): argument 42 with open(target_file, 'r') as f:
|
/external/python/cpython2/Lib/plat-mac/lib-scriptpackages/CodeWarrior/ |
D | CodeWarrior_suite.py | 336 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__.py | 77 getbaseclasses(target_file) 144 'SRCF' : target_file,
|
/external/clang/tools/scan-build-py/tests/functional/cases/ |
D | test_from_cdb.py | 17 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/ |
D | test_from_cdb.py | 16 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/ |
D | pixel_factory_image_verify.py | 135 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/ |
D | gn_utils.py | 166 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/ |
D | intercept.py | 160 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/ |
D | release_aar.py | 98 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/ |
D | intercept.py | 172 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/ |
D | zip_reader_unittest.cc | 426 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()
|
D | zip_reader.h | 216 void ExtractChunk(base::File target_file,
|
/external/angle/third_party/zlib/google/ |
D | zip_reader_unittest.cc | 426 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()
|
D | zip_reader.h | 216 void ExtractChunk(base::File target_file,
|
/external/grpc-grpc/tools/distrib/python/ |
D | make_grpcio_tools.py | 155 target_file = os.path.abspath( 157 shutil.copyfile(source_file, target_file)
|
/external/rust/crates/grpcio-sys/grpc/tools/distrib/python/ |
D | make_grpcio_tools.py | 155 target_file = os.path.abspath( 157 shutil.copyfile(source_file, target_file)
|
/external/llvm-project/lldb/source/Target/ |
D | ModuleCache.cpp | 192 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/ |
D | test_posix.py | 451 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)
|
D | test_tarfile.py | 1058 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/ |
D | ModuleCache.h | 63 const FileSpec &target_file);
|
/external/llvm-project/lldb/test/API/python_api/process/io/ |
D | TestProcessIO.py | 108 def read_file_and_delete(self, target_file, local_file): argument 111 remote=target_file, local=local_file))
|
/external/tensorflow/tensorflow/core/platform/ |
D | env.cc | 479 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/ |
D | recompiler.py | 1383 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/ |
D | expect.py | 348 with open(target_filename, 'r') as target_file: 349 file_contents = target_file.read()
|