Home
last modified time | relevance | path

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

12

/external/chromium-trace/catapult/third_party/py_vulcanize/third_party/rcssmin/_setup/py2/
Dshell.py31 import os as _os namespace
36 cwd = _os.path.dirname(_os.path.abspath(_sys.argv[0]))
63 path = _os.path.sep.join(path.split('/'))
64 return _os.path.normpath(_os.path.join(cwd, path))
80 _os.unlink(native(dest))
88 if _os.path.exists(dest):
90 _os.chmod(native(path), 0644)
117 _text_openflags = _os.O_RDWR | _os.O_CREAT | _os.O_EXCL
118 _text_openflags |= getattr(_os, 'O_NOINHERIT', 0)
119 _text_openflags |= getattr(_os, 'O_NOFOLLOW', 0)
[all …]
Dsetup.py29 import os as _os namespace
89 if filename and _os.path.isfile(filename):
101 if filename and _os.path.isfile(filename):
127 if filename and _os.path.isfile(filename):
146 if filename and _os.path.isfile(filename):
165 if filename and _os.path.isfile(filename):
180 sep = _os.path.sep
182 sep = _os.path.join('1', '2')[1:-1]
184 for dirpath, _, filenames in _shell.walk(_os.path.join(lib, root)):
189 _os.path.normpath(dirpath).replace(sep, '.')
[all …]
Ddata.py28 import os as _os namespace
37 drive, path = '', _os.path.normpath(path)
39 splitunc = _os.path.splitunc
45 drive, path = _os.path.splitdrive(path)
48 sep = _os.path.sep
50 sep = _os.path.join('1', '2')[1:-1]
52 prefix, path = _os.path.split(path)
55 drive = _os.path.join(drive, prefix)
151 normalized = _os.path.normpath(manpage)
152 _, ext = _os.path.splitext(normalized)
[all …]
Dext.py30 import os as _os namespace
182 src = _os.path.join(tempdir, 'conftest.c')
190 self.target = _os.path.join(tempdir, 'conftest')
254 return _os.popen(self.compiler.executable_filename(self.target), mode)
/external/chromium-trace/catapult/third_party/py_vulcanize/third_party/rjsmin/_setup/py2/
Dshell.py31 import os as _os namespace
36 cwd = _os.path.dirname(_os.path.abspath(_sys.argv[0]))
63 path = _os.path.sep.join(path.split('/'))
64 return _os.path.normpath(_os.path.join(cwd, path))
80 _os.unlink(native(dest))
88 if _os.path.exists(dest):
90 _os.chmod(native(path), 0644)
117 _text_openflags = _os.O_RDWR | _os.O_CREAT | _os.O_EXCL
118 _text_openflags |= getattr(_os, 'O_NOINHERIT', 0)
119 _text_openflags |= getattr(_os, 'O_NOFOLLOW', 0)
[all …]
Dsetup.py29 import os as _os namespace
89 if filename and _os.path.isfile(filename):
101 if filename and _os.path.isfile(filename):
127 if filename and _os.path.isfile(filename):
146 if filename and _os.path.isfile(filename):
165 if filename and _os.path.isfile(filename):
180 sep = _os.path.sep
182 sep = _os.path.join('1', '2')[1:-1]
184 for dirpath, _, filenames in _shell.walk(_os.path.join(lib, root)):
189 _os.path.normpath(dirpath).replace(sep, '.')
[all …]
Ddata.py28 import os as _os namespace
37 drive, path = '', _os.path.normpath(path)
39 splitunc = _os.path.splitunc
45 drive, path = _os.path.splitdrive(path)
48 sep = _os.path.sep
50 sep = _os.path.join('1', '2')[1:-1]
52 prefix, path = _os.path.split(path)
55 drive = _os.path.join(drive, prefix)
151 normalized = _os.path.normpath(manpage)
152 _, ext = _os.path.splitext(normalized)
[all …]
Dext.py30 import os as _os namespace
182 src = _os.path.join(tempdir, 'conftest.c')
190 self.target = _os.path.join(tempdir, 'conftest')
254 return _os.popen(self.compiler.executable_filename(self.target), mode)
/external/chromium-trace/catapult/third_party/py_vulcanize/third_party/rjsmin/_setup/py3/
Dshell.py29 import os as _os namespace
35 cwd = _os.path.dirname(_os.path.abspath(_sys.argv[0]))
62 path = _os.path.sep.join(path.split('/'))
63 return _os.path.normpath(_os.path.join(cwd, path))
79 _os.unlink(native(dest))
87 if _os.path.exists(dest):
89 _os.chmod(native(path), 0o644)
102 _os.write(fd, ((r"""
126 fd, _ = None, _os.close(fd)
170 _os.close(fd)
[all …]
Dsetup.py29 import os as _os namespace
90 if filename and _os.path.isfile(filename):
102 if filename and _os.path.isfile(filename):
128 if filename and _os.path.isfile(filename):
147 if filename and _os.path.isfile(filename):
166 if filename and _os.path.isfile(filename):
181 sep = _os.path.sep
183 sep = _os.path.join('1', '2')[1:-1]
185 for dirpath, _, filenames in _shell.walk(_os.path.join(lib, root)):
190 _os.path.normpath(dirpath).replace(sep, '.')
[all …]
Ddata.py28 import os as _os namespace
37 drive, path = '', _os.path.normpath(path)
39 splitunc = _os.path.splitunc
45 drive, path = _os.path.splitdrive(path)
48 sep = _os.path.sep
50 sep = _os.path.join('1', '2')[1:-1]
52 prefix, path = _os.path.split(path)
55 drive = _os.path.join(drive, prefix)
151 normalized = _os.path.normpath(manpage)
152 _, ext = _os.path.splitext(normalized)
[all …]
Dext.py31 import os as _os namespace
181 src = _os.path.join(tempdir, 'conftest.c')
189 self.target = _os.path.join(tempdir, 'conftest')
253 return _os.popen(self.compiler.executable_filename(self.target), mode)
/external/chromium-trace/catapult/third_party/py_vulcanize/third_party/rcssmin/_setup/py3/
Dshell.py29 import os as _os namespace
35 cwd = _os.path.dirname(_os.path.abspath(_sys.argv[0]))
62 path = _os.path.sep.join(path.split('/'))
63 return _os.path.normpath(_os.path.join(cwd, path))
79 _os.unlink(native(dest))
87 if _os.path.exists(dest):
89 _os.chmod(native(path), 0o644)
102 _os.write(fd, ((r"""
126 fd, _ = None, _os.close(fd)
170 _os.close(fd)
[all …]
Dsetup.py29 import os as _os namespace
90 if filename and _os.path.isfile(filename):
102 if filename and _os.path.isfile(filename):
128 if filename and _os.path.isfile(filename):
147 if filename and _os.path.isfile(filename):
166 if filename and _os.path.isfile(filename):
181 sep = _os.path.sep
183 sep = _os.path.join('1', '2')[1:-1]
185 for dirpath, _, filenames in _shell.walk(_os.path.join(lib, root)):
190 _os.path.normpath(dirpath).replace(sep, '.')
[all …]
Ddata.py28 import os as _os namespace
37 drive, path = '', _os.path.normpath(path)
39 splitunc = _os.path.splitunc
45 drive, path = _os.path.splitdrive(path)
48 sep = _os.path.sep
50 sep = _os.path.join('1', '2')[1:-1]
52 prefix, path = _os.path.split(path)
55 drive = _os.path.join(drive, prefix)
151 normalized = _os.path.normpath(manpage)
152 _, ext = _os.path.splitext(normalized)
[all …]
Dext.py31 import os as _os namespace
181 src = _os.path.join(tempdir, 'conftest.c')
189 self.target = _os.path.join(tempdir, 'conftest')
253 return _os.popen(self.compiler.executable_filename(self.target), mode)
/external/opencv3/3rdparty/openexr/IlmImf/
DImfStdIO.cpp159 _os (new ofstream (fileName, ios_base::binary)), in StdOFStream()
162 if (!*_os) in StdOFStream()
164 delete _os; in StdOFStream()
172 _os (&os), in StdOFStream()
182 delete _os; in ~StdOFStream()
190 _os->write (c, n); in write()
191 checkError (*_os); in write()
198 return std::streamoff (_os->tellp()); in tellp()
205 _os->seekp (pos); in seekp()
206 checkError (*_os); in seekp()
[all …]
DImfStdIO.h126 std::ofstream * _os;
146 std::string str () const {return _os.str();} in str()
150 std::ostringstream _os;
/external/chromium-trace/catapult/telemetry/third_party/modulegraph/modulegraph/
Dzipio.py10 import os as _os namespace
62 if _os.path.exists(path):
67 root = _os.path.splitdrive(path)
69 path, bn = _os.path.split(path)
71 if _os.path.exists(path):
79 if not _os.path.isfile(path):
131 if not rest and not _os.path.isfile(path):
132 return _os.listdir(path)
185 ok = _os.path.isfile(path)
230 ok = _os.path.isdir(path)
[all …]
/external/chromium-trace/catapult/third_party/py_vulcanize/third_party/rcssmin/_setup/
D__init__.py27 import os as _os namespace
31 __path__ = [_os.path.join(__path__[0], 'py2')]
34 __path__ = [_os.path.join(__path__[0], 'py3')]
37 del _os, _sys
/external/chromium-trace/catapult/third_party/py_vulcanize/third_party/rjsmin/_setup/
D__init__.py27 import os as _os namespace
31 __path__ = [_os.path.join(__path__[0], 'py2')]
34 __path__ = [_os.path.join(__path__[0], 'py3')]
37 del _os, _sys
/external/chromium-trace/catapult/third_party/py_vulcanize/third_party/rcssmin/
Drun_tests.py29 import os as _os namespace
96 example=_os.path.basename(example),
105 strip = len(basedir) - len(_os.path.basename(basedir))
114 if not _os.path.isdir(_os.path.join(basedir, dirname, 'out')):
120 _os.path.join(dirname, filename),
121 _os.path.join(dirname, 'out', filename[:-4] + '.out'),
/external/chromium-trace/catapult/firefighter/update/common/buildbot/
Dslave.py32 self._os = _ParseOs(host_data['osfamily'])
33 self._os_version = _ParseOsVersion(self._os, host_data['os version'])
42 self._os = 'linux'
92 return self._os
/external/opencv3/modules/stitching/include/opencv2/stitching/detail/
Dutil.hpp61 Stringstream _os; \
62 _os << msg; \
63 __android_log_print(ANDROID_LOG_DEBUG, "STITCHING", "%s", _os.str().c_str()); \
/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()

12