Searched refs:sys (Results 1 - 25 of 490) sorted by relevance

1234567891011>>

/trex/scripts/automation/trex_control_plane/stf/examples/
H A Dstf_path.py1 import sys namespace
4 sys.path.insert(0, "../")
/trex/scripts/automation/trex_control_plane/stl/trex_stl_lib/
H A D__init__.py1 import sys namespace
3 if sys.version_info < (2, 7):
/trex/scripts/external_libs/nose-1.3.4/python2/nose/
H A D__main__.py1 import sys namespace
5 if sys.argv[0].endswith('__main__.py'):
6 sys.argv[0] = '%s -m nose' % sys.executable
/trex/scripts/external_libs/nose-1.3.4/python3/nose/
H A D__main__.py1 import sys namespace
5 if sys.argv[0].endswith('__main__.py'):
6 sys.argv[0] = '%s -m nose' % sys.executable
/trex/scripts/external_libs/requests/requests/packages/chardet/
H A Dcompat.py21 import sys namespace
24 if sys.version_info < (3, 0):
31 if sys.version_info < (3, 0) and isinstance(a, base_str):
/trex/scripts/automation/trex_control_plane/stl/console/
H A Dstl_path.py1 import sys, os namespace
4 sys.path.insert(0, "../")
/trex/scripts/external_libs/requests/requests/packages/
H A D__init__.py12 two modules in `sys.modules` with the same API, but different identities::
24 import sys namespace
30 sys.modules['%s.urllib3' % __name__] = urllib3
36 sys.modules['%s.chardet' % __name__] = chardet
42 sys.modules['%s.idna' % __name__] = idna
/trex/scripts/external_libs/urllib3/urllib3/packages/ssl_match_hostname/
H A D__init__.py1 import sys namespace
6 if sys.version_info < (3, 5):
/trex/scripts/automation/trex_control_plane/stl/examples/
H A Dstl_path.py1 import sys, os namespace
4 sys.path.insert(0, "../")
/trex/scripts/external_libs/pyzmq-14.5.0/python2/ucs2/32bit/zmq/tests/
H A Dtest_etc.py4 import sys namespace
14 not_windows = not sys.platform.startswith('win')
/trex/scripts/external_libs/pyzmq-14.5.0/python2/ucs2/64bit/zmq/tests/
H A Dtest_etc.py4 import sys namespace
14 not_windows = not sys.platform.startswith('win')
/trex/scripts/external_libs/pyzmq-14.5.0/python2/ucs4/64bit/zmq/tests/
H A Dtest_etc.py4 import sys namespace
14 not_windows = not sys.platform.startswith('win')
/trex/scripts/external_libs/pyzmq-14.5.0/python3/ucs4/32bit/zmq/tests/
H A Dtest_etc.py4 import sys namespace
14 not_windows = not sys.platform.startswith('win')
/trex/scripts/external_libs/pyzmq-14.5.0/python3/ucs4/64bit/zmq/tests/
H A Dtest_etc.py4 import sys namespace
14 not_windows = not sys.platform.startswith('win')
/trex/scripts/external_libs/requests/requests/packages/urllib3/packages/ssl_match_hostname/
H A D__init__.py1 import sys namespace
6 if sys.version_info < (3, 5):
/trex/scripts/external_libs/pyzmq-14.5.0/python2/ucs2/32bit/zmq/utils/
H A Dsixcerpt.py23 import sys namespace
26 PY2 = sys.version_info[0] == 2
27 PY3 = sys.version_info[0] == 3
40 frame = sys._getframe(1)
/trex/scripts/external_libs/pyzmq-14.5.0/python2/ucs2/64bit/zmq/utils/
H A Dsixcerpt.py23 import sys namespace
26 PY2 = sys.version_info[0] == 2
27 PY3 = sys.version_info[0] == 3
40 frame = sys._getframe(1)
/trex/scripts/external_libs/pyzmq-14.5.0/python2/ucs4/64bit/zmq/utils/
H A Dsixcerpt.py23 import sys namespace
26 PY2 = sys.version_info[0] == 2
27 PY3 = sys.version_info[0] == 3
40 frame = sys._getframe(1)
/trex/scripts/external_libs/pyzmq-14.5.0/python3/ucs4/32bit/zmq/utils/
H A Dsixcerpt.py23 import sys namespace
26 PY2 = sys.version_info[0] == 2
27 PY3 = sys.version_info[0] == 3
40 frame = sys._getframe(1)
/trex/scripts/external_libs/pyzmq-14.5.0/python3/ucs4/64bit/zmq/utils/
H A Dsixcerpt.py23 import sys namespace
26 PY2 = sys.version_info[0] == 2
27 PY3 = sys.version_info[0] == 3
40 frame = sys._getframe(1)
/trex/src/common/
H A Dos_types.h22 #include <sys/types.h>
/trex/scripts/automation/trex_control_plane/client_utils/
H A Dexternal_packages.py3 import sys namespace
7 python_ver = 'python%s' % sys.version_info.major
8 ucs_ver = 'ucs2' if sys.maxunicode == 65535 else 'ucs4'
25 if PATH_TO_PYTHON_LIB not in sys.path:
26 sys.path.insert(0, PATH_TO_PYTHON_LIB)
29 if path not in sys.path:
30 sys.path.append(path)
40 if full_path not in sys.path:
41 sys.path.insert(1, full_path)
/trex/scripts/automation/trex_control_plane/server/
H A Douter_packages.py3 import sys namespace
5 python_ver = 'python%s' % sys.version_info.major
6 ucs_ver = 'ucs2' if sys.maxunicode == 65535 else 'ucs4'
25 if PATH_TO_PYTHON_LIB not in sys.path:
26 sys.path.insert(0, PATH_TO_PYTHON_LIB)
28 if path not in sys.path:
29 sys.path.insert(0, path)
38 if full_path not in sys.path:
39 sys.path.insert(1, full_path)
/trex/scripts/external_libs/scapy-2.3.1/python2/scapy/arch/
H A D__init__.py11 import sys,os,socket namespace
46 LINUX=sys.platform.startswith("linux")
47 OPENBSD=sys.platform.startswith("openbsd")
48 FREEBSD=sys.platform.startswith("freebsd")
49 NETBSD = sys.platform.startswith("netbsd")
50 DARWIN=sys.platform.startswith("darwin")
51 SOLARIS=sys.platform.startswith("sunos")
52 WINDOWS=sys.platform.startswith("win32")
/trex/scripts/external_libs/texttable-0.8.4/
H A Dsetup.py26 import sys namespace
29 if sys.version < '2.2.3':

Completed in 18 milliseconds

1234567891011>>