/third_party/python/Lib/ |
H A D | tempfile.py | 42 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 D | random.py | 57 import os as _os namespace 899 if hasattr(_os, "fork"): 900 _os.register_at_fork(after_in_child=_inst.seed)
|
H A D | threading.py | 3 import os as _os namespace 1660 if hasattr(_os, "register_at_fork"): 1661 _os.register_at_fork(after_in_child=_after_fork)
|
H A D | argparse.py | 88 import os as _os namespace 1760 prog = _os.path.basename(_sys.argv[0])
|
/third_party/python/Lib/ctypes/ |
H A D | __init__.py | 3 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 D | dumb.py | 26 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.py | 35 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 D | api.py | 24 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__.py | 14 import os as _os namespace 29 setupterm(term=_os.environ.get("TERM", "unknown"),
|
/third_party/python/Lib/test/test_importlib/ |
H A D | util.py | 408 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 D | typingsInstaller.js | 7068 var _os = require("os"); variable 7083 var platform = _os.platform(); 7110 newLine: _os.EOL, [all...] |
H A D | tsc.js | 4473 var _os = require("os"); variable 4487 var platform = _os.platform(); 4512 newLine: _os.EOL, [all...] |
H A D | tsserverlibrary.js | 7087 var _os = require("os"); variable 7102 var platform = _os.platform(); 7129 newLine: _os.EOL, [all...] |
H A D | typescript.js | 7078 var _os = require("os"); variable 7093 var platform = _os.platform(); 7120 newLine: _os.EOL, [all...] |
H A D | typescriptServices.js | 7078 var _os = require("os"); variable 7093 var platform = _os.platform(); 7120 newLine: _os.EOL, [all...] |
H A D | tsserver.js | 7088 var _os = require("os"); variable 7103 var platform = _os.platform(); 7130 newLine: _os.EOL, [all...] |
/third_party/node/test/fixtures/snapshot/ |
H A D | typescript.js | 6940 var _os = require("os"); variable 6956 var platform = _os.platform(); 6983 newLine: _os.EOL, [all...] |