/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/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 | 592 self._file = f 640 _lock_file(self._file) 646 _unlock_file(self._file) 655 _sync_flush(self._file) 666 self._file.seek(0, 2) 667 cur_len = self._file.tell() 679 self._file.seek(start) 683 buffer = self._file.read(min(4096, 684 stop - self._file.tell())) 697 self._file.close() [all …]
|
D | wave.py | 129 self._file = Chunk(file, bigendian = 0) 130 if self._file.getname() != b'RIFF': 132 if self._file.read(4) != b'WAVE': 139 chunk = Chunk(self._file, bigendian = 0) 183 return self._file 190 self._file = None 315 self._file = file 433 self._file.write(data) 444 if self._file: 448 self._file.flush() [all …]
|
D | fileinput.py | 92 if _state and _state._file: 213 self._file = None 256 if not self._file: 281 file = self._file 282 self._file = None 305 if not self._file: 320 self._file = None 326 self._file = getattr(sys.stdin, 'buffer', sys.stdin) 328 self._file = sys.stdin 340 self._file = open(self._backupfilename, self._mode) [all …]
|
D | tempfile.py | 638 self._file = _io.BytesIO() 643 self._file = _io.StringIO(newline="\n") 659 file = self._file 660 newfile = self._file = TemporaryFile(**self._TemporaryFileArgs) 675 if self._file.closed: 680 self._file.close() 684 return self._file.__iter__() 687 self._file.close() 691 return self._file.closed 696 return self._file.encoding [all …]
|
/external/chromium-trace/catapult/common/py_trace_event/py_trace_event/trace_event_impl/ |
D | trace_test.py | 21 self._file = None 28 self._file = tempfile.NamedTemporaryFile() 29 trace_enable(open(self._file.name, 'a+')) 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/libxcam/tests/ |
D | test-poll-thread.cpp | 42 : _file (NULL) in PollCB() 51 : _file (NULL), 84 FILE *_file; member in PollCB 116 if (_file) in open_file() 118 _file = fopen ("capture_buffer.nv12", "wb"); in open_file() 124 if (_file) in close_file() 125 fclose (_file); in close_file() 126 _file = NULL; in close_file() 132 if (!_file) in dump_to_file() 134 return fwrite(buf, nbyte, 1, _file); in dump_to_file()
|
/external/curl/docs/libcurl/ |
D | CMakeLists.txt | 6 foreach(_file IN LISTS ${_listname}) 7 if(_file STREQUAL "libcurl-symbols.3") 9 set(_srcfile "${CMAKE_CURRENT_BINARY_DIR}/${_file}") 11 set(_srcfile "${CMAKE_CURRENT_SOURCE_DIR}/${_file}") 14 string(REPLACE ".3" ".html" _htmlfile "${CMAKE_CURRENT_BINARY_DIR}/${_file}") 21 string(REPLACE ".3" ".pdf" _pdffile "${CMAKE_CURRENT_BINARY_DIR}/${_file}") 22 string(REPLACE ".3" ".ps" _psfile "${CMAKE_CURRENT_BINARY_DIR}/${_file}")
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | PathProfileInfo.cpp | 78 FILE* _file; member in __anon4206f3c40111::PathProfileLoaderPass 296 if (!(_file = fopen(_filename.c_str(), "rb"))) { in runOnModule() 303 while( fread(&profType, sizeof(ProfilingType), 1, _file) ) { in runOnModule() 313 fclose (_file); in runOnModule() 318 fclose (_file); in runOnModule() 338 if( fread(&savedArgsLength, sizeof(unsigned), 1, _file) != 1 ) { in handleArgumentInfo() 345 if( fread(args, 1, savedArgsLength, _file) != savedArgsLength ) in handleArgumentInfo() 354 fseek(_file, 4-(savedArgsLength&3), SEEK_CUR); in handleArgumentInfo() 361 if( fread(&functionCount, sizeof(functionCount), 1, _file) != 1 ) { in handlePathInfo() 369 if( fread(&pathHeader, sizeof(pathHeader), 1, _file) != 1 ) { in handlePathInfo() [all …]
|
/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/python/setuptools/setuptools/ |
D | sandbox.py | 22 _file = file variable 24 _file = None variable 274 if _file: 275 builtins.file = self._file 281 if _file: 282 builtins.file = _file 315 if _file: 316 _file = _mk_single_path_wrapper('file', _file) variable in AbstractSandbox 409 if _file: 411 def _file(self, path, mode='r', *args, **kw): member in DirectorySandbox [all …]
|
/external/libxcam/plugins/smart/sample/ |
D | sample_smart_analysis.cpp | 57 FILE *_file; member in FrameSaver 67 : _file (NULL) in FrameSaver() 102 if (!_file) { in save_frame() 115 1, line_bytes, _file) != line_bytes) { in save_frame() 128 if ((_file) && (_frame_save == 0)) in open_file() 136 _file = fopen(file_name, "wb"); in open_file() 142 if (_file) in close_file() 143 fclose (_file); in close_file() 144 _file = NULL; in close_file()
|
/external/python/google-api-python-client/googleapiclient/discovery_cache/ |
D | file_cache.py | 87 self._file = os.path.join(tempfile.gettempdir(), FILENAME) 88 f = LockedFile(self._file, 'a+', 'r') 101 f = LockedFile(self._file, 'r+', 'r') 120 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;
|
/external/emma/core/java12/com/vladium/emma/instr/ |
D | InstrProcessor.java | 92 final File _file = new File (fileName); in setMetaOutFile() local 94 if (_file.exists () && ! _file.isFile ()) in setMetaOutFile() 95 … throw new IllegalArgumentException ("not a file: [" + _file.getAbsolutePath () + "]"); in setMetaOutFile() 97 m_mdataOutFile = _file; in setMetaOutFile()
|
/external/toolchain-utils/ |
D | file_lock_machine.py | 97 self._file = None 148 self._file = open(self._filepath, 'a+') 149 self._file.seek(0, os.SEEK_SET) 151 if fcntl.flock(self._file.fileno(), fcntl.LOCK_EX) == -1: 155 desc = json.load(self._file) 182 self._file.truncate(0) 183 self._file.write(json.dumps(self._description.__dict__, skipkeys=True)) 184 self._file.close()
|