Home
last modified time | relevance | path

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

12

/third_party/python/Lib/
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.TMP_MAX
78 _os.lstat(fn)
92 if isinstance(arg, _os.PathLike):
[all …]
Drandom.py57 import os as _os namespace
925 if hasattr(_os, "fork"):
926 _os.register_at_fork(after_in_child=_inst.seed)
Dthreading.py3 import os as _os namespace
1637 if hasattr(_os, "register_at_fork"):
1638 _os.register_at_fork(after_in_child=_after_fork)
Dargparse.py88 import os as _os namespace
1716 prog = _os.path.basename(_sys.argv[0])
/third_party/python/Lib/dbm/
Ddumb.py26 import os as _os namespace
45 _os = _os # for _commit() variable in _Database
77 _os.remove(filename)
120 self._os.unlink(self._bakfile)
125 self._os.rename(self._dirfile, self._bakfile)
281 self._os.chmod(file, self._mode)
307 um = _os.umask(0)
308 _os.umask(um)
/third_party/python/Lib/ctypes/
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:
109 if _os.name == "nt":
135 elif _os.name == "posix":
265 if _os.name == "nt":
357 mode |= ( _os.RTLD_MEMBER | _os.RTLD_NOW )
358 if _os.name == "nt":
404 if _os.name == "nt":
[all …]
/third_party/python/Lib/importlib/
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.O_CREAT | _os.O_WRONLY, mode & 0o666)
198 _os.replace(path_tmp, path)
[all …]
/third_party/gn/infra/recipe_modules/target/
Dapi.py23 self._os = os
53 return self._os
75 return self._os == other._os and self._arch == other._arch
/third_party/python/Lib/curses/
D__init__.py14 import os as _os namespace
29 setupterm(term=_os.environ.get("TERM", "unknown"),
/third_party/skia/third_party/externals/angle2/doc/
DBranchingAndRolling.md29 for deps (**not** deps\_os)
/third_party/gn/docs/
Dcross_compiles.md29 build will set target\_cpu to "arm" if target\_os is set to "android").
/third_party/typescript/src/compiler/
Dsys.ts1429 const _os = require("os"); constant
1450 const platform: string = _os.platform();
1478 newLine: _os.EOL,
/third_party/python/Lib/test/test_importlib/
Dutil.py417 if any(x in self.importlib._bootstrap_external._os.environ
/third_party/python/Doc/c-api/
Dsys.rst3 .. _os:
/third_party/python/Doc/library/
Dos.rst62 .. _os-filenames:
155 .. _os-procinfo:
726 .. _os-newstreams:
743 .. _os-fd-ops:
1626 .. _os-file-dir:
3518 .. _os-process:
4673 .. _os-path:
/third_party/python/patches/
Dcpython_mingw_v3.10.2.patch628 -if _os.name == "nt":
629 +if _os.name == "nt" and _sys.version.find('GCC') >= 0:
631 +elif _os.name == "nt":
1320 +if 'MSYSTEM' in _os.environ:
/third_party/rust/crates/clap/
DCHANGELOG.md535 …_values_os`, `default_value_if_os`, and `default_value_ifs_os` as the non `_os` variants now accep…
1987 * provides `default_value_os` and `default_value_if[s]_os` ([0f2a3782](https://github.com/clap-rs…
/third_party/node/doc/changelogs/
DCHANGELOG_V11.md1240 …/nodejs/node/commit/0ebe6ebbb1)] - **os**: implement os.release() using uv\_os\_uname() (cjihrig) …
1257 …dejs/node/commit/c59edcadc1)] - **src**: remove using v8::Function in node\_os.cc (cjihrig) [#2564…
1614 * \[[`add566eee5`](https://github.com/nodejs/node/commit/add566eee5)] - **os**: use uv\_os\_gethost…
1957 …om/nodejs/node/commit/2d885ed0f9)] - **src**: fix compiler warning in node\_os (Daniel Bevenius) […
DCHANGELOG_V10.md863 …/nodejs/node/commit/eef2debcc7)] - **os**: implement os.release() using uv\_os\_uname() (cjihrig) …
864 * \[[`d4688485b5`](https://github.com/nodejs/node/commit/d4688485b5)] - **os**: use uv\_os\_gethost…
4411 …/nodejs/node/commit/056b858e57)] - **(SEMVER-MAJOR)** **os**: migrate node\_os.cc to internal/erro…
DCHANGELOG_V12.md1408 …/github.com/nodejs/node/commit/b1c9f75a20)] - **src**: use ToLocal in node\_os.cc (wenningplus) [#…
4606 …ub.com/nodejs/node/commit/2528dee674)] - **report**: list envvars using uv\_os\_environ() (cjihrig…
6120 …mit/16e4cd19f2)] - **(SEMVER-MAJOR)** **os**: implement os.type() using uv\_os\_uname() (cjihrig) …
DCHANGELOG_V7.md1098 …com/nodejs/node/commit/0c0334f7a4)] - **src**: add a missing space in node\_os.cc (Alexey Orlenko)…
DCHANGELOG_V9.md1596 * \[[`40acda2e6b`](https://github.com/nodejs/node/commit/40acda2e6b)] - **src**: use uv\_os\_getpid…
DCHANGELOG_V4.md411 …com/nodejs/node/commit/90d8e118fb)] - **src**: add a missing space in node\_os.cc (Alexey Orlenko)…
DCHANGELOG_V18.md2418 …om/nodejs/node/commit/3036b85d71)] - **src**: remove \<unistd.h> from node\_os.cc (Tobias Nießen) …
DCHANGELOG_V14.md3533 …/github.com/nodejs/node/commit/c492a2715e)] - **src**: use ToLocal in node\_os.cc (wenningplus) [#…

12