Home
last modified time | relevance | path

Searched refs:_sys (Results 1 – 25 of 65) 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 >= 8:
73 elif _sys.version_info.major >= 3 and _sys.version_info.minor >= 2:
121 if _sys.ps1: _interactive = True
124 _interactive = _sys.flags.interactive
130 _logging_target = _sys.stdout
132 _logging_target = _sys.stderr
191 _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
60 return _os.path.dirname(_inspect.getfile(_sys._getframe(1)))
129 _os.path.dirname(_inspect.getfile(_sys._getframe(1))), path)
/external/tensorflow/tensorflow/
Dvirtual_root_template_v1.__init__.py22 import sys as _sys namespace
69 return _sys.modules.setdefault(old_name, _module)
90 if "tensorflow_estimator" not in _sys.modules:
107 if not isinstance(_sys.modules[__name__], _deprecation.DeprecationWrapper):
108 _sys.modules[__name__] = _deprecation.DeprecationWrapper(
109 _sys.modules[__name__], "")
Dapi_template_v1.__init__.py26 import sys as _sys namespace
56 _API_MODULE = _sys.modules[__name__].bitwise # pylint: disable=undefined-variable
57 _current_module = _sys.modules[__name__]
130 _site_packages_dirs += [_p for _p in _sys.path if 'site-packages' in _p]
Dvirtual_root_template_v2.__init__.py22 import sys as _sys namespace
69 return _sys.modules.setdefault(old_name, _module)
90 if "tensorflow_estimator" not in _sys.modules:
Dapi_template.__init__.py39 import sys as _sys namespace
56 _API_MODULE = _sys.modules[__name__].bitwise
58 _current_module = _sys.modules[__name__]
121 _site_packages_dirs += [_p for _p in _sys.path if 'site-packages' in _p]
/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/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/tensorflow/tensorflow/python/util/
Dall_util.py22 import sys as _sys namespace
48 doc_string_modules = [_sys.modules[module_name]]
50 name for name, _ 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/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/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/python/cpython3/Lib/ctypes/
D__init__.py3 import os as _os, sys as _sys namespace
24 if _os.name == "posix" and _sys.platform == "darwin":
56 _sys.audit("ctypes.create_string_buffer", init, size)
62 _sys.audit("ctypes.create_string_buffer", None, init)
289 _sys.audit("ctypes.create_unicode_buffer", init, size)
295 _sys.audit("ctypes.create_unicode_buffer", None, init)
350 if _sys.platform.startswith("aix"):
381 (self._handle & (_sys.maxsize*2 + 1)),
382 id(self) & (_sys.maxsize*2 + 1))
460 pythonapi = PyDLL("python dll", None, _sys.dllhandle)
[all …]
/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':
/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 …]

123