/external/python/cpython3/Lib/ |
D | aifc.py | 306 _file = None # Set here since __del__ checks it variable in Aifc_read 313 self._file = file 329 chunk = Chunk(self._file) 370 return self._file 377 file = self._file 379 self._file = None 557 _file = None # Set here since __del__ checks it variable in Aifc_write 576 self._file = file 731 self._file.write(data) 742 if self._file is None: [all …]
|
D | sunau.py | 169 if self._file: 179 self._file = file 225 return self._file 273 data = self._file.read() 275 data = self._file.read(nframes * self._framesize) 286 self._file.seek(self._data_pos) 297 self._file.seek(self._data_pos + pos * self._framesize) 301 file = self._file 303 self._file = None 319 if self._file: [all …]
|
D | mailbox.py | 595 self._file = f 643 _lock_file(self._file) 649 _unlock_file(self._file) 658 _sync_flush(self._file) 669 self._file.seek(0, 2) 670 cur_len = self._file.tell() 682 self._file.seek(start) 686 buffer = self._file.read(min(4096, 687 stop - self._file.tell())) 700 self._file.close() [all …]
|
D | wave.py | 128 self._file = Chunk(file, bigendian = 0) 129 if self._file.getname() != b'RIFF': 131 if self._file.read(4) != b'WAVE': 138 chunk = Chunk(self._file, bigendian = 0) 182 return self._file 189 self._file = None 314 self._file = file 432 self._file.write(data) 443 if self._file: 447 self._file.flush() [all …]
|
D | fileinput.py | 87 if _state and _state._file: 205 self._file = None 260 if not self._file: 292 file = self._file 293 self._file = None 316 if not self._file: 331 self._file = None 344 self._file = getattr(sys.stdin, 'buffer', sys.stdin) 346 self._file = sys.stdin 358 self._file = open(self._backupfilename, self._mode, encoding=encoding) [all …]
|
D | tempfile.py | 649 self._file = _io.BytesIO() 652 self._file = _io.TextIOWrapper(_io.BytesIO(), 672 file = self._file 673 newfile = self._file = TemporaryFile(**self._TemporaryFileArgs) 692 if self._file.closed: 697 self._file.close() 701 return self._file.__iter__() 704 self._file.close() 708 return self._file.closed 712 return self._file.encoding [all …]
|
/external/python/cpython2/Lib/ |
D | aifc.py | 291 _file = None # Set here since __del__ checks it variable in Aifc_read 299 self._file = file 315 chunk = Chunk(self._file) 362 return self._file 375 self._file.close() 574 _file = None # Set here since __del__ checks it variable in Aifc_write 590 self._file = file 608 if self._file: 737 self._file.write(data) 748 if self._file is None: [all …]
|
D | sunau.py | 161 if self._file: 165 self._file = file 212 return self._file 260 data = self._file.read() 262 data = self._file.read(nframes * self._framesize) 273 self._file.seek(self._data_pos) 284 self._file.seek(self._data_pos + pos * self._framesize) 288 self._file = None 299 if self._file: 303 self._file = file [all …]
|
D | mailbox.py | 582 self._file = f 631 _lock_file(self._file) 637 _unlock_file(self._file) 646 _sync_flush(self._file) 657 self._file.seek(0, 2) 658 cur_len = self._file.tell() 670 self._file.seek(start) 674 buffer = self._file.read(min(4096, 675 stop - self._file.tell())) 688 self._file.close() [all …]
|
D | tempfile.py | 528 self._file = _StringIO() 541 file = self._file 542 newfile = self._file = TemporaryFile(*self._TemporaryFileArgs) 557 if self._file.closed: 562 self._file.close() 566 return self._file.__iter__() 569 self._file.close() 573 return self._file.closed 577 return self._file.fileno() 580 self._file.flush() [all …]
|
D | wave.py | 129 self._file = Chunk(file, bigendian = 0) 130 if self._file.getname() != 'RIFF': 132 if self._file.read(4) != 'WAVE': 139 chunk = Chunk(self._file, bigendian = 0) 176 return self._file 183 self._file = None 318 self._file = file 433 data.tofile(self._file) 438 self._file.write(data) 449 if self._file: [all …]
|
D | fileinput.py | 94 if _state and _state._file: 209 self._file = None 241 if not self._file: 266 file = self._file 267 self._file = None 290 if not self._file: 302 self._file = None 307 self._file = sys.stdin 317 self._file = open(self._backupfilename, self._mode) 319 perm = os.fstat(self._file.fileno()).st_mode [all …]
|
/external/chromium-trace/catapult/common/py_trace_event/py_trace_event/trace_event_impl/ |
D | trace_test.py | 21 self._file = None 29 self._file = open(filename, 'a+') 30 trace_enable(self._file) 35 e = ParsedTraceEvents(trace_filename=self._file.name) 36 self._file.close() 37 self._file = None 42 return self._file.name 47 if self._file: 48 self._file.close()
|
/external/python/oauth2client/oauth2client/contrib/ |
D | multistore_file.py | 215 self._file = locked_file.LockedFile(filename, 'r+', 'r') 292 if not os.path.exists(self._file.filename()): 295 open(self._file.filename(), 'a+b').close() 303 self._file.open_and_lock() 318 if not self._file.is_locked(): 324 'valid for this run.', self._file.filename()) 326 if os.path.getsize(self._file.filename()) == 0: 341 self._file.unlock_and_close() 353 self._file.file_handle().seek(0) 354 return json.load(self._file.file_handle()) [all …]
|
D | multiprocess_file_storage.py | 198 self._file = None 208 if not self._file: 211 loaded_credentials = _load_credentials_file(self._file) 221 _write_credentials_file(self._file, self._credentials) 230 self._file = open(self._filename, 'r+') 239 self._file = open(self._filename, 'r') 241 self._file = None 247 if self._file is not None: 248 self._file.close() 249 self._file = None
|
/external/autotest/utils/frozen_chromite/third_party/oauth2client/ |
D | multistore_file.py | 197 self._file = LockedFile(filename, 'r+', 'r') 274 if not os.path.exists(self._file.filename()): 277 open(self._file.filename(), 'a+b').close() 285 self._file.open_and_lock() 298 if not self._file.is_locked(): 304 'valid for this run.', self._file.filename()) 305 if os.path.getsize(self._file.filename()) == 0: 320 self._file.unlock_and_close() 332 self._file.file_handle().seek(0) 333 return json.load(self._file.file_handle()) [all …]
|
/external/autotest/client/cros/power/ |
D | power_rapl.py | 285 self._file = open(root + '/energy_uj', 'r') 294 self._file.close() 300 self._file.seek(0) 301 return int(self._file.read().rstrip()) 337 self._file = open(file, 'r') 343 self._file.close() 351 self._file.seek(0) 352 return int(self._file.read().rstrip()) / 1000000.
|
/external/lzma/CPP/7zip/UI/Console/ |
D | BenchCon.cpp | 12 FILE *_file; member 21 fputs(s, _file); in Print() 26 fputc('\n', _file); in NewLine() 38 callback._file = f; in BenchCon()
|
/external/curl/docs/libcurl/ |
D | CMakeLists.txt | 29 foreach(_file IN LISTS ${_listname}) 30 if(_file STREQUAL "libcurl-symbols.3") 32 set(_srcfile "${CMAKE_CURRENT_BINARY_DIR}/${_file}") 34 set(_srcfile "${CMAKE_CURRENT_SOURCE_DIR}/${_file}") 37 string(REPLACE ".3" ".html" _htmlfile "${CMAKE_CURRENT_BINARY_DIR}/${_file}") 44 string(REPLACE ".3" ".pdf" _pdffile "${CMAKE_CURRENT_BINARY_DIR}/${_file}") 45 string(REPLACE ".3" ".ps" _psfile "${CMAKE_CURRENT_BINARY_DIR}/${_file}")
|
/external/expat/expat/cmake/autotools/ |
D | expat-package-init.cmake | 8 macro(set_and_check _var _file) 9 set(${_var} "${_file}") 10 if(NOT EXISTS "${_file}") 11 … message(FATAL_ERROR "File or directory ${_file} referenced by variable ${_var} does not exist !")
|
/external/python/setuptools/setuptools/ |
D | sandbox.py | 22 _file = file variable 24 _file = None variable 284 if _file: 285 builtins.file = self._file 291 if _file: 292 builtins.file = _file 325 if _file: 326 _file = _mk_single_path_wrapper('file', _file) variable in AbstractSandbox 445 if _file: 447 def _file(self, path, mode='r', *args, **kw): member in DirectorySandbox [all …]
|
/external/pigweed/pw_build/ |
D | evaluate_path_expressions.gni | 89 foreach(_file, invoker.files) { 90 _inputs += [ _file.source ] 91 _outputs += [ _file.dest ] 92 _arg = rebase_path(_file.source) + ":" + rebase_path(_file.dest)
|
/external/autotest/utils/frozen_chromite/third_party/googleapiclient/discovery_cache/ |
D | file_cache.py | 82 self._file = os.path.join(tempfile.gettempdir(), FILENAME) 83 f = LockedFile(self._file, 'a+', 'r') 96 f = LockedFile(self._file, 'r+', 'r') 115 f = LockedFile(self._file, 'r+', 'r')
|
/external/python/google-api-python-client/googleapiclient/discovery_cache/ |
D | file_cache.py | 89 self._file = os.path.join(tempfile.gettempdir(), FILENAME) 90 f = LockedFile(self._file, "a+", "r") 103 f = LockedFile(self._file, "r+", "r") 122 f = LockedFile(self._file, "r+", "r")
|
/external/antlr/runtime/ActionScript/project/src/org/antlr/runtime/ |
D | ANTLRFileStream.as | 8 protected var _file:File; 15 _file = file; 33 return _file.name;
|