/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/autotest/client/site_tests/hardware_TrimIntegrity/ |
D | hardware_TrimIntegrity.py | 54 (chunk_count - 1, self._filename, chunk_size, self.HASH_CMD)) 70 fd = os.open(self._filename, os.O_RDWR, 0666) 112 self._filename = utils.get_free_root_partition() 114 self._filename = self._diskname 116 self._filename = filename 121 file_size = utils.get_disk_size(self._filename) 137 logging.info('filename: %s, filesize: %d', self._filename, file_size) 155 (self._filename, chunk_size, chunk_count)) 187 fd = os.open(self._filename, os.O_RDWR, 0666)
|
/external/autotest/client/cros/ |
D | cros_logging.py | 221 self._filename = filename 232 'ls -tr1 %s.*' % self._filename, 234 log_files.append(self._filename) 271 self._filename = filename 277 with open(self._filename, 'r') as f: 286 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/toolchain-utils/ |
D | update_telemetry_defaults.py | 35 self._filename = fullname 39 if os.path.exists(self._filename): 40 with open(self._filename, 'r') as fp: 44 with open(self._filename, 'w') as fp:
|
/external/chromium-trace/catapult/systrace/systrace/tracing_agents/ |
D | atrace_from_file_agent.py | 45 self._filename = os.path.expanduser(options.from_file) 69 with open(self._filename, 'rb') as f:
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | PathProfileInfo.cpp | 81 std::string _filename; member in __anon3d5d6cfa0111::PathProfileLoaderPass 293 _filename = PathProfileInfoFilename; in runOnModule() 296 if (!(_file = fopen(_filename.c_str(), "rb"))) { in runOnModule() 297 errs () << "error: input '" << _filename << "' file does not exist.\n"; in runOnModule()
|
/external/libmojo/third_party/catapult/devil/devil/android/sdk/ |
D | shared_prefs.py | 199 self._filename = filename 221 return self._filename
|
/external/chromium-trace/catapult/devil/devil/android/sdk/ |
D | shared_prefs.py | 203 self._filename = filename 225 return self._filename
|
/external/mesa3d/src/compiler/ |
D | Makefile.glsl.am | 175 # automake to name the resulting generated code as <library-name>_filename.c.
|
/external/sfntly/cpp/src/test/tinyxml/ |
D | tinyxml.cpp | 965 bool TiXmlDocument::LoadFile( const char* _filename, TiXmlEncoding encoding ) in LoadFile() argument 967 TIXML_STRING filename( _filename ); in LoadFile()
|
/external/compiler-rt/lib/sanitizer_common/scripts/ |
D | cpplint.py | 743 self._filename = filename 747 return os.path.abspath(self._filename).replace('\\', '/')
|
/external/libvpx/libvpx/tools/ |
D | cpplint.py | 868 self._filename = filename 872 return os.path.abspath(self._filename).replace('\\', '/')
|