Home
last modified time | relevance | path

Searched refs:_os (Results 1 - 17 of 17) sorted by relevance

/third_party/python/Lib/
H A Dtempfile.py42 import os as _os namespace
52 _text_openflags = _os.O_RDWR | _os.O_CREAT | _os.O_EXCL
53 if hasattr(_os, 'O_NOFOLLOW'):
54 _text_openflags |= _os.O_NOFOLLOW
57 if hasattr(_os, 'O_BINARY'):
58 _bin_openflags |= _os.O_BINARY
60 if hasattr(_os, 'TMP_MAX'):
61 TMP_MAX = _os
[all...]
H A Drandom.py57 import os as _os namespace
899 if hasattr(_os, "fork"):
900 _os.register_at_fork(after_in_child=_inst.seed)
H A Dthreading.py3 import os as _os namespace
1660 if hasattr(_os, "register_at_fork"):
1661 _os.register_at_fork(after_in_child=_after_fork)
H A Dargparse.py88 import os as _os namespace
1760 prog = _os.path.basename(_sys.argv[0])
/third_party/python/Lib/ctypes/
H A D__init__.py3 import os as _os, sys as _sys namespace
20 if _os.name == "nt":
24 if _os.name == "posix" and _sys.platform == "darwin":
30 if int(_os.uname().release.split('.')[0]) < 8:
108 if _os.name == "nt":
137 elif _os.name == "posix":
267 if _os.name == "nt":
359 mode |= ( _os.RTLD_MEMBER | _os.RTLD_NOW )
360 if _os
[all...]
/third_party/python/Lib/dbm/
H A Ddumb.py26 import os as _os namespace
45 _os = _os # for _commit() variable in _Database
49 filebasename = self._os.fsencode(filebasename)
78 _os.remove(filename)
121 self._os.unlink(self._bakfile)
126 self._os.rename(self._dirfile, self._bakfile)
282 self._os.chmod(file, self._mode)
308 um = _os.umask(0)
309 _os
[all...]
/third_party/python/Lib/importlib/
H A D_bootstrap_external.py35 import nt as _os namespace
38 import posix as _os namespace
69 return not sys.flags.ignore_environment and key in _os.environ
104 for new_root, tail in map(_os._path_splitroot, path_parts):
147 return _os.stat(path)
167 path = _os.getcwd()
176 root = _os._path_splitroot(path)[0].replace('/', '\\')
191 fd = _os.open(path_tmp,
192 _os.O_EXCL | _os
[all...]
/third_party/gn/infra/recipe_modules/target/
H A Dapi.py24 self._os = os
54 return self._os
76 return self._os == other._os and self._arch == other._arch
/third_party/python/Lib/curses/
H A D__init__.py14 import os as _os namespace
29 setupterm(term=_os.environ.get("TERM", "unknown"),
/third_party/python/Lib/test/test_importlib/
H A Dutil.py408 if any(x in self.importlib._bootstrap_external._os.environ
410 self.skipTest('os.environ changes not reflected in _os.environ')
/third_party/typescript/lib/
H A DtypingsInstaller.js7068 var _os = require("os"); variable
7083 var platform = _os.platform();
7110 newLine: _os.EOL,
[all...]
H A Dtsc.js4473 var _os = require("os"); variable
4487 var platform = _os.platform();
4512 newLine: _os.EOL,
[all...]
H A Dtsserverlibrary.js7087 var _os = require("os"); variable
7102 var platform = _os.platform();
7129 newLine: _os.EOL,
[all...]
H A Dtypescript.js7078 var _os = require("os"); variable
7093 var platform = _os.platform();
7120 newLine: _os.EOL,
[all...]
H A DtypescriptServices.js7078 var _os = require("os"); variable
7093 var platform = _os.platform();
7120 newLine: _os.EOL,
[all...]
H A Dtsserver.js7088 var _os = require("os"); variable
7103 var platform = _os.platform();
7130 newLine: _os.EOL,
[all...]
/third_party/node/test/fixtures/snapshot/
H A Dtypescript.js6940 var _os = require("os"); variable
6956 var platform = _os.platform();
6983 newLine: _os.EOL,
[all...]

Completed in 185 milliseconds