Home
last modified time | relevance | path

Searched refs:_os (Results 1 – 9 of 9) sorted by relevance

/external/python/cpython2/Lib/
Dtempfile.py33 import os as _os namespace
65 _text_openflags = _os.O_RDWR | _os.O_CREAT | _os.O_EXCL
66 if hasattr(_os, 'O_NOINHERIT'):
67 _text_openflags |= _os.O_NOINHERIT
68 if hasattr(_os, 'O_NOFOLLOW'):
69 _text_openflags |= _os.O_NOFOLLOW
72 if hasattr(_os, 'O_BINARY'):
73 _bin_openflags |= _os.O_BINARY
75 if hasattr(_os, 'TMP_MAX'):
76 TMP_MAX = _os.TMP_MAX
[all …]
Ddumbdbm.py25 import os as _os namespace
45 _os = _os # for _commit() variable in _Database
57 self._dirfile = filebasename + _os.extsep + 'dir'
63 self._datfile = filebasename + _os.extsep + 'dat'
64 self._bakfile = filebasename + _os.extsep + 'bak'
105 self._os.unlink(self._bakfile)
106 except self._os.error:
110 self._os.rename(self._dirfile, self._bakfile)
111 except self._os.error:
224 if hasattr(self._os, 'chmod'):
[all …]
Dargparse.py87 import os as _os namespace
163 width = int(_os.environ['COLUMNS'])
1586 prog = _os.path.basename(_sys.argv[0])
/external/chromium-trace/catapult/common/py_utils/py_utils/
Dshell_util.py7 import os as _os namespace
15 old_path = _os.getcwd()
16 _os.chdir(new_path)
17 print '> cd', _os.getcwd()
21 _os.chdir(old_path)
36 args = [_os.path.join(*path_parts)] + list(args)
37 env = dict(_os.environ)
/external/python/cpython2/Lib/ctypes/
D__init__.py3 import os as _os, sys as _sys namespace
19 if _os.name in ("nt", "ce"):
23 if _os.name == "posix" and _sys.platform == "darwin":
29 if int(_os.uname()[2].split('.')[0]) < 8:
108 if _os.name in ("nt", "ce"):
111 if _os.name == "ce":
137 elif _os.name == "posix":
242 if _os.name == "nt":
265 if _os.name in ("nt", "ce"):
283 if _os.name in ("nt", "ce"):
[all …]
/external/python/cpython2/Lib/curses/
D__init__.py17 import os as _os namespace
32 setupterm(term=_os.environ.get("TERM", "unknown"),
/external/jmdns/src/javax/jmdns/impl/
DDNSRecord.java849 String _os; field in DNSRecord.HostInformation
863 _os = os; in HostInformation()
906 if ((_os == null) && (hinfo._os != null)) { in sameValue()
909 return _cpu.equals(hinfo._cpu) && _os.equals(hinfo._os); in sameValue()
927 String hostInfo = _cpu + " " + _os; in write()
939 hinfo.put("os", _os); in getServiceInfo()
961 aLog.append(" cpu: '" + _cpu + "' os: '" + _os + "'"); in toString()
/external/python/cpython2/Doc/c-api/
Dsys.rst3 .. _os:
/external/python/cpython2/Doc/library/
Dos.rst64 .. _os-procinfo:
453 .. _os-newstreams:
591 .. _os-fd-ops:
922 .. _os-file-dir:
1679 .. _os-process:
2363 .. _os-path:
2504 .. _os-miscfunc: