/external/llvm-project/lld/lib/ReaderWriter/MachO/ |
D | MachONormalizedFileBinaryWriter.cpp | 186 const NormalizedFile &_file; member in lld::mach_o::normalized::MachOFileLayout 256 : _file(file), in MachOFileLayout() 276 if (!_file.functionStarts.empty() || alwaysIncludeFunctionStarts) { in MachOFileLayout() 280 if (_file.generateDataInCodeLoadCommand) { in MachOFileLayout() 391 size += _file.segments.size() * segCommandSize; in loadCommandsSize() 392 count += _file.segments.size(); in loadCommandsSize() 394 size += _file.sections.size() * sectionSize; in loadCommandsSize() 397 if (_file.fileType == llvm::MachO::MH_DYLIB) { in loadCommandsSize() 398 size += sizeof(dylib_command) + pointerAlign(_file.installName.size() + 1); in loadCommandsSize() 411 if (_file.fileType != llvm::MachO::MH_PRELOAD) { in loadCommandsSize() [all …]
|
D | StubsPass.cpp | 213 _file(*_ctx.make_file<MachOFile>("<mach-o Stubs pass>")) { in StubsPass() 214 _file.setOrdinal(_ctx.getNextOrdinalAndIncrement()); in StubsPass() 251 new (_file.allocator()) StubHelperCommonAtom(_file, _stubInfo); in perform() 253 new (_file.allocator()) NonLazyPointerAtom(_file, _ctx.is64Bit(), in perform() 256 new (_file.allocator()) NonLazyPointerAtom(_file, _ctx.is64Bit(), in perform() 293 auto *stub = new (_file.allocator()) StubAtom(_file, _stubInfo); in perform() 295 new (_file.allocator()) LazyPointerAtom(_file, _ctx.is64Bit()); in perform() 296 auto *helper = new (_file.allocator()) StubHelperAtom(_file, _stubInfo); in perform() 368 MachOFile &_file; member in lld::mach_o::StubsPass
|
D | ObjCPass.cpp | 100 _file(*_ctx.make_file<MachOFile>("<mach-o objc pass>")) { in ObjCPass() 101 _file.setOrdinal(_ctx.getNextOrdinalAndIncrement()); in ObjCPass() 115 return new (_file.allocator()) ObjCImageInfoAtom(_file, IsBig, in getImageInfo() 121 MachOFile &_file; member in lld::mach_o::ObjCPass
|
D | TLVPass.cpp | 69 _file(*_ctx.make_file<MachOFile>("<mach-o TLV pass>")) { in TLVPass() 70 _file.setOrdinal(_ctx.getNextOrdinalAndIncrement()); in TLVPass() 118 auto *tlvpEntry = new (_file.allocator()) in makeTLVPEntry() 119 TLVPEntryAtom(_file, _ctx.is64Bit(), target->name()); in makeTLVPEntry() 130 MachOFile &_file; member in lld::mach_o::TLVPass
|
/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/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 | 92 if _state and _state._file: 209 self._file = None 253 if not self._file: 285 file = self._file 286 self._file = None 309 if not self._file: 324 self._file = None 330 self._file = getattr(sys.stdin, 'buffer', sys.stdin) 332 self._file = sys.stdin 344 self._file = open(self._backupfilename, self._mode) [all …]
|
D | tempfile.py | 634 self._file = _io.BytesIO() 636 self._file = _io.TextIOWrapper(_io.BytesIO(), 656 file = self._file 657 newfile = self._file = TemporaryFile(**self._TemporaryFileArgs) 676 if self._file.closed: 681 self._file.close() 685 return self._file.__iter__() 688 self._file.close() 692 return self._file.closed 696 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/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/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/autotest/client/cros/power/ |
D | power_rapl.py | 284 self._file = open(root + '/energy_uj', 'r') 293 self._file.close() 299 self._file.seek(0) 300 return int(self._file.read().rstrip()) 336 self._file = open(file, 'r') 342 self._file.close() 350 self._file.seek(0) 351 return int(self._file.read().rstrip()) / 1000000.
|
/external/curl/docs/libcurl/ |
D | CMakeLists.txt | 27 foreach(_file IN LISTS ${_listname}) 28 if(_file STREQUAL "libcurl-symbols.3") 30 set(_srcfile "${CMAKE_CURRENT_BINARY_DIR}/${_file}") 32 set(_srcfile "${CMAKE_CURRENT_SOURCE_DIR}/${_file}") 35 string(REPLACE ".3" ".html" _htmlfile "${CMAKE_CURRENT_BINARY_DIR}/${_file}") 42 string(REPLACE ".3" ".pdf" _pdffile "${CMAKE_CURRENT_BINARY_DIR}/${_file}") 43 string(REPLACE ".3" ".ps" _psfile "${CMAKE_CURRENT_BINARY_DIR}/${_file}")
|
/external/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 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/llvm-project/lld/lib/ReaderWriter/YAML/ |
D | ReaderWriterYAML.cpp | 709 info->_file = keys.operator->(); in mappingAtoms() 729 keys(io, file, &info->_file->allocator()); in mappingArchive() 760 NormalizedFile *f = reinterpret_cast<NormalizedFile *>(info->_file); in denormalize() 794 io, ref, &info->_file->allocator()); in mapping() 810 : _file(fileFromContext(io)), _contentType(), _alignment(1) { in NormalizedAtom() 816 : _file(fileFromContext(io)), _name(atom->name()), in NormalizedAtom() 841 NormalizedFile *f = reinterpret_cast<NormalizedFile *>(info->_file); in denormalize() 861 assert(info->_file != nullptr); in fileFromContext() 862 return *info->_file; in fileFromContext() 865 const lld::File &file() const override { return _file; } in file() [all …]
|