Home
last modified time | relevance | path

Searched refs:_sys (Results 1 – 25 of 57) sorted by relevance

123

/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/bench/
Dmain.py44 import sys as _sys namespace
50 if _sys.version_info >= (2, 4):
67 print("Python Release: %s" % ".".join(map(str, _sys.version_info[:3])))
82 (kwargs.get('file') or _sys.stdout).write(
116 flush = _sys.stdout.flush
195 argv = _sys.argv[1:]
199 e = _sys.exc_info()[0](_sys.exc_info()[1])
200 print >> _sys.stderr, "%s\nTry %s -mbench.main --help" % (
202 _os.path.basename(_sys.executable),
204 _sys.exit(2)
[all …]
Dwrite.py46 import sys as _sys namespace
215 _sys.stderr.write("Placeholder container not found!\n")
301 argv = _sys.argv[1:]
305 e = _sys.exc_info()[0](_sys.exc_info()[1])
306 print >> _sys.stderr, "%s\nTry %s -mbench.write --help" % (
308 _os.path.basename(_sys.executable),
310 _sys.exit(2)
315 print >> _sys.stderr, (
317 _os.path.basename(_sys.executable),
320 _sys.exit(0)
[all …]
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/bench/
Dmain.py44 import sys as _sys namespace
69 print("Python Release: %s" % ".".join(map(str, _sys.version_info[:3])))
84 (kwargs.get('file') or _sys.stdout).write(
118 flush = _sys.stdout.flush
197 argv = _sys.argv[1:]
201 e = _sys.exc_info()[0](_sys.exc_info()[1])
202 print >> _sys.stderr, "%s\nTry %s -mbench.main --help" % (
204 _os.path.basename(_sys.executable),
206 _sys.exit(2)
211 print >> _sys.stderr, (
[all …]
Dwrite.py46 import sys as _sys namespace
214 _sys.stderr.write("Placeholder container not found!\n")
300 argv = _sys.argv[1:]
304 e = _sys.exc_info()[0](_sys.exc_info()[1])
305 print >> _sys.stderr, "%s\nTry %s -mbench.write --help" % (
307 _os.path.basename(_sys.executable),
309 _sys.exit(2)
314 print >> _sys.stderr, (
316 _os.path.basename(_sys.executable),
319 _sys.exit(0)
[all …]
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/_setup/py2/term/
D_term.py25 import sys as _sys namespace
45 if 'curses' in _sys.modules:
46 del _sys.modules['curses']
90 _sys.stdout.write(fmt % parm)
91 _sys.stdout.flush()
112 _sys.stdout.write("\n")
113 _sys.stdout.flush()
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/_setup/py3/term/
D_term.py25 import sys as _sys namespace
45 if 'curses' in _sys.modules:
46 del _sys.modules['curses']
91 _sys.stdout.write(fmt % parm)
92 _sys.stdout.flush()
113 _sys.stdout.write("\n")
114 _sys.stdout.flush()
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/
Drcssmin.py361 import sys as _sys namespace
363 '-b' in _sys.argv[1:]
364 or '-bp' in _sys.argv[1:]
365 or '-pb' in _sys.argv[1:]
367 if '-p' in _sys.argv[1:] or '-bp' in _sys.argv[1:] \
368 or '-pb' in _sys.argv[1:]:
371 _sys.stdout.write(cssmin(
372 _sys.stdin.read(), keep_bang_comments=keep_bang_comments
Drun_tests.py31 import sys as _sys namespace
132 for arg in _sys.argv[1:]:
150 _sys.stderr.write("Unrecognized option %r\n" % (arg,))
154 _sys.stderr.write("Too many arguments\n")
157 _sys.stderr.write("Missing arguments\n")
166 _sys.exit(main())
Dsetup.py19 import sys as _sys namespace
27 if 'java' in _sys.platform.lower():
/external/tensorflow/tensorflow/python/platform/
Dtf_logging.py26 import sys as _sys namespace
49 f = _sys._getframe(offset)
62 if _sys.version_info.major >= 3 and _sys.version_info.minor >= 2:
109 if _sys.ps1: _interactive = True
112 _interactive = _sys.flags.interactive
118 _logging_target = _sys.stdout
120 _logging_target = _sys.stderr
179 _THREAD_ID_MASK = 2 * _sys.maxsize + 1
Dapp.py21 import sys as _sys namespace
31 return flags.FLAGS(_sys.argv if argv is None else argv, known_only=True)
38 main = main or _sys.modules['__main__'].main
Dresource_loader.py21 import sys as _sys namespace
57 return _os.path.dirname(_inspect.getfile(_sys._getframe(1)))
116 data_files_path = _os.path.dirname(_inspect.getfile(_sys._getframe(1)))
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/_setup/
D__init__.py28 import sys as _sys namespace
30 if _sys.version_info[0] == 2:
33 elif _sys.version_info[0] == 3:
37 del _os, _sys
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/_setup/
D__init__.py28 import sys as _sys namespace
30 if _sys.version_info[0] == 2:
33 elif _sys.version_info[0] == 3:
37 del _os, _sys
/external/tensorflow/tensorflow/python/util/
Dall_util.py22 import sys as _sys namespace
48 doc_string_modules = [_sys.modules[module_name]]
50 in _tf_inspect.getmembers(_sys.modules[module_name])])
102 current_symbols = set(dir(_sys.modules[module_name]))
106 target_module = _sys.modules[module_name]
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/_setup/py3/
Dshell.py32 import sys as _sys namespace
35 cwd = _os.path.dirname(_os.path.abspath(_sys.argv[0]))
127 if _sys.platform == 'win32':
129 for arg in [_sys.executable, name]:
137 argv = [_sys.executable, name]
209 if _sys.platform == 'win32':
211 for arg in [_sys.executable, name]:
219 argv = [_sys.executable, name]
237 if _sys.platform == 'win32':
336 if _sys.platform == 'win32' or _os.name == 'os2':
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/_setup/py3/
Dshell.py32 import sys as _sys namespace
35 cwd = _os.path.dirname(_os.path.abspath(_sys.argv[0]))
127 if _sys.platform == 'win32':
129 for arg in [_sys.executable, name]:
137 argv = [_sys.executable, name]
209 if _sys.platform == 'win32':
211 for arg in [_sys.executable, name]:
219 argv = [_sys.executable, name]
237 if _sys.platform == 'win32':
336 if _sys.platform == 'win32' or _os.name == 'os2':
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/_setup/py2/
Dshell.py33 import sys as _sys namespace
36 cwd = _os.path.dirname(_os.path.abspath(_sys.argv[0]))
194 if _sys.platform == 'win32':
196 for arg in [_sys.executable, name]:
204 argv = [_sys.executable, name]
291 if _sys.platform == 'win32':
293 for arg in [_sys.executable, name]:
301 argv = [_sys.executable, name]
328 if _sys.platform == 'win32':
463 if _sys.platform == 'win32' or _os.name == 'os2':
Ddist.py27 import sys as _sys namespace
48 argv = [_sys.executable, script] + list(args)
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/_setup/py2/
Dshell.py33 import sys as _sys namespace
36 cwd = _os.path.dirname(_os.path.abspath(_sys.argv[0]))
194 if _sys.platform == 'win32':
196 for arg in [_sys.executable, name]:
204 argv = [_sys.executable, name]
291 if _sys.platform == 'win32':
293 for arg in [_sys.executable, name]:
301 argv = [_sys.executable, name]
328 if _sys.platform == 'win32':
463 if _sys.platform == 'win32' or _os.name == 'os2':
/external/python/cpython2/Lib/
Dthreading.py3 import sys as _sys namespace
8 del _sys.modules[__name__]
75 _sys.stderr.write(format)
642 __exc_info = _sys.exc_info
645 __exc_clear = _sys.exc_clear
686 self.__stderr = _sys.stderr
776 if self.__daemonic and _sys is None:
795 _sys.settrace(_trace_hook)
798 _sys.setprofile(_profile_hook)
812 if _sys and _sys.stderr is not None:
[all …]
/external/python/cpython3/Lib/ctypes/
D__init__.py3 import os as _os, sys as _sys namespace
23 if _os.name == "posix" and _sys.platform == "darwin":
341 if _sys.platform.startswith("aix"):
363 (self._handle & (_sys.maxsize*2 + 1)),
364 id(self) & (_sys.maxsize*2 + 1))
440 pythonapi = PyDLL("python dll", None, _sys.dllhandle)
441 elif _sys.platform == "cygwin":
442 pythonapi = PyDLL("libpython%d.%d.dll" % _sys.version_info[:2])
/external/tensorflow/tensorflow/
Dapi_template.__init__.py25 import sys as _sys namespace
33 _current_module = _sys.modules[__name__]
76 _site_packages_dirs += [_p for _p in _sys.path if 'site-packages' in _p]
Dapi_template_v1.__init__.py25 import sys as _sys namespace
38 _current_module = _sys.modules[__name__]
90 _site_packages_dirs += [_p for _p in _sys.path if 'site-packages' in _p]
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/
Dsetup.py19 import sys as _sys namespace
27 if 'java' in _sys.platform.lower():

123