/external/python/oauth2client/oauth2client/ |
D | file.py | 39 self._filename = filename 42 if os.path.islink(self._filename): 44 'File: {0} is a symbolic link.'.format(self._filename)) 58 f = open(self._filename, 'rb') 78 if not os.path.exists(self._filename): 81 open(self._filename, 'a+b').close() 96 f = open(self._filename, 'w') 106 os.unlink(self._filename)
|
/external/python/oauth2client/oauth2client/contrib/ |
D | locked_file.py | 75 self._filename = filename 91 return self._filename 126 'File {0} is already locked'.format(self._filename)) 129 validate_file(self._filename) 131 self._fh = open(self._filename, self._mode) 135 self._fh = open(self._filename, self._fallback_mode) 138 lock_filename = self._posix_lockfile(self._filename) 156 self._fh = open(self._filename, self._fallback_mode) 163 lock_filename = self._posix_lockfile(self._filename) 209 return self._opener._filename
|
D | _fcntl_opener.py | 40 'File {0} is already locked'.format(self._filename)) 43 locked_file.validate_file(self._filename) 45 self._fh = open(self._filename, self._mode) 50 self._fh = open(self._filename, self._fallback_mode) 68 self._filename, timeout) 71 self._fh = open(self._filename, self._fallback_mode)
|
D | _win32_opener.py | 51 'File {0} is already locked'.format(self._filename)) 54 locked_file.validate_file(self._filename) 56 self._fh = open(self._filename, self._mode) 61 self._fh = open(self._filename, self._fallback_mode) 87 self._filename, timeout) 90 self._fh = open(self._filename, self._fallback_mode)
|
D | multiprocess_file_storage.py | 199 self._filename = filename 222 logger.debug('Wrote credential file {0}.'.format(self._filename)) 229 _create_file_if_needed(self._filename) 230 self._file = open(self._filename, 'r+') 238 if os.path.exists(self._filename): 239 self._file = open(self._filename, 'r')
|
/external/python/cpython2/Lib/ |
D | fileinput.py | 206 self._filename = None 298 self._filename = self._files[0] 305 if self._filename == '-': 306 self._filename = '<stdin>' 312 self._filename + (self._backup or os.extsep+"bak")) 316 os.rename(self._filename, self._backupfilename) 321 self._output = open(self._filename, "w") 323 fd = os.open(self._filename, 329 os.chmod(self._filename, perm) 337 self._file = self._openhook(self._filename, self._mode) [all …]
|
D | symtable.py | 41 self._filename = filename 51 return "<{0}SymbolTable for module {1}>".format(kind, self._filename) 55 self._filename) 109 return [_newSymbolTable(st, self._filename) 114 return [_newSymbolTable(st, self._filename)
|
D | inspect.py | 459 def getabsfile(object, _filename=None): argument 464 if _filename is None: 465 _filename = getsourcefile(object) or getfile(object) 466 return os.path.normcase(os.path.abspath(_filename)) 471 def getmodule(object, _filename=None): argument 478 if _filename is not None and _filename in modulesbyfile: 479 return sys.modules.get(modulesbyfile[_filename]) 482 file = getabsfile(object, _filename)
|
/external/python/cpython3/Lib/ |
D | fileinput.py | 206 self._filename = None 320 self._filename = self._files[0] 327 if self._filename == '-': 328 self._filename = '<stdin>' 337 os.fspath(self._filename) + (self._backup or ".bak")) 343 os.rename(self._filename, self._backupfilename) 348 self._output = open(self._filename, self._write_mode) 354 fd = os.open(self._filename, mode, perm) 357 os.chmod(self._filename, perm) 365 self._file = self._openhook(self._filename, self._mode) [all …]
|
D | symtable.py | 41 self._filename = filename 51 return "<{0}SymbolTable for module {1}>".format(kind, self._filename) 55 self._filename) 102 return [_newSymbolTable(st, self._filename) 107 return [_newSymbolTable(st, self._filename)
|
/external/autotest/client/site_tests/hardware_TrimIntegrity/ |
D | hardware_TrimIntegrity.py | 56 (chunk_count - 1, self._filename, chunk_size, self.HASH_CMD)) 72 fd = os.open(self._filename, os.O_RDWR, 0666) 114 self._filename = utils.get_free_root_partition() 116 self._filename = self._diskname 118 self._filename = filename 123 file_size = utils.get_disk_size(self._filename) 139 logging.info('filename: %s, filesize: %d', self._filename, file_size) 157 (self._filename, chunk_size, chunk_count)) 190 fd = os.open(self._filename, os.O_RDWR, 0666)
|
/external/autotest/client/cros/ |
D | cros_logging.py | 236 self._filename = filename 247 'ls -tr1 %s.*' % self._filename, 249 log_files.append(self._filename) 301 self._filename = filename 307 with open(self._filename, 'r') as f: 316 logging.error('Could not read log file %s', self._filename)
|
D | memory_bandwidth_logger.py | 70 self._filename = filename 76 self._f = open(self._filename, 'rb')
|
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/serialization/ |
D | csv_dataset_serialization_test.py | 49 self._filename = os.path.join(self.get_temp_dir(), "file.csv") 53 with open(self._filename, "wb") as f: 63 filename = self._filename
|
/external/toolchain-utils/ |
D | update_telemetry_defaults.py | 37 self._filename = fullname 41 if os.path.exists(self._filename): 42 with open(self._filename, 'r', encoding='utf-8') as fp: 46 with open(self._filename, 'w', encoding='utf-8') as fp:
|
/external/pigweed/pw_protobuf/py/pw_protobuf/ |
D | output_file.py | 47 self._filename: str = filename 65 return self._filename
|
/external/tensorflow/tensorflow/python/data/experimental/ops/ |
D | writers.py | 77 self._filename = ops.convert_to_tensor( 115 …dataset._variant_tensor, self._filename, self._compression_type) # pylint: disable=protected-acce…
|
/external/tensorflow/tensorflow/python/util/ |
D | tf_stack.py | 139 self._filename = filter_filename 153 filtered_filenames = frozenset((self._filename,))
|
/external/chromium-trace/catapult/systrace/systrace/tracing_agents/ |
D | atrace_from_file_agent.py | 94 self._filename = os.path.expanduser(options.from_file) 118 with open(self._filename, 'rb') as f:
|
/external/python/apitools/apitools/base/py/ |
D | credentials_lib.py | 597 self._filename = filename 639 with open(self._filename, 'rb') as f: 666 with open(self._filename, 'wb') as f: 672 if not os.path.exists(self._filename): 675 open(self._filename, 'a+b').close()
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
D | XMLValidator.java | 157 fileParserThread(String _filename) { in fileParserThread() argument 158 filename = _filename; in fileParserThread()
|
/external/rust/crates/bindgen/src/ |
D | callbacks.rs | 80 fn include_file(&self, _filename: &str) {} in include_file()
|
/external/python/dateutil/dateutil/zoneinfo/ |
D | __init__.py | 19 return (gettz, (self._filename,))
|
/external/python/oauth2client/tests/contrib/ |
D | test_locked_file.py | 35 self.assertEqual(instance._filename, filename) 223 opener._filename = 'some file'
|
/external/python/dateutil/dateutil/tz/ |
D | tz.py | 457 self._filename = fileobj 461 self._filename = filename 463 self._filename = fileobj.name 465 self._filename = repr(fileobj) 859 return "%s(%s)" % (self.__class__.__name__, repr(self._filename)) 865 return (self.__class__, (None, self._filename), self.__dict__)
|