Home
last modified time | relevance | path

Searched +full:py3 +full:- +full:six (Results 1 – 25 of 92) sorted by relevance

1234

/external/tensorflow/tensorflow/python/estimator/
DBUILD11 srcs_version = "PY3",
38 srcs_version = "PY3",
51 srcs_version = "PY3",
61 srcs_version = "PY3",
66 "@six_archive//:six",
73 srcs_version = "PY3",
80 "@six_archive//:six",
87 srcs_version = "PY3",
91 "@six_archive//:six",
98 srcs_version = "PY3",
[all …]
/external/tensorflow/tensorflow/tools/compatibility/
DBUILD20 srcs_version = "PY3",
21 deps = ["@six_archive//:six"],
27 srcs_version = "PY3",
30 "@six_archive//:six",
37 python_version = "PY3",
38 srcs_version = "PY3",
43 "@six_archive//:six",
50 python_version = "PY3",
51 srcs_version = "PY3",
54 "@six_archive//:six",
[all …]
/external/python/six/documentation/
Dindex.rst1 Six: Python 2 and 3 Compatibility Library
4 .. module:: six
11 Six provides simple utilities for wrapping over differences between Python 2 and
13 without modification. six consists of only one Python file, so it is painless
16 Six can be downloaded on `PyPi <https://pypi.python.org/pypi/six/>`_. Its bug
17 tracker and code hosting is on `GitHub <https://github.com/benjaminp/six>`_.
19 The name, "six", comes from the fact that 2*3 equals 6. Why not addition?
25 ------------------
32 ----------------
38 .. data:: PY3
[all …]
/external/tensorflow/tensorflow/tools/test/
DBUILD23 srcs_version = "PY3",
30 "@six_archive//:six",
37 python_version = "PY3",
38 srcs_version = "PY3",
50 srcs_version = "PY3",
55 "@six_archive//:six",
62 python_version = "PY3",
63 srcs_version = "PY3",
67 "@six_archive//:six",
74 srcs_version = "PY3",
[all …]
/external/tensorflow/tensorflow/python/tools/
DBUILD26 srcs_version = "PY3",
31 # py_binary may not depend on them when --define=no_tensorflow_py_deps=true
43 srcs_version = "PY3",
50 python_version = "PY3",
51 srcs_version = "PY3",
64 srcs_version = "PY3",
77 "@six_archive//:six",
84 python_version = "PY3",
85 srcs_version = "PY3",
92 srcs_version = "PY3",
[all …]
/external/autotest/client/common_lib/
Dseven.py2 # Use of this source code is governed by a BSD-style license that can be
4 """Miscellaneous Python 2-3 compatibility functions.
6 Seven is an extension to the compatibility layer six.
8 to Python 3, but aren't present in the six library.
11 import six
12 import six.moves.configparser
17 if six.PY3:
44 control files in autotest and prevent compiler-wide settings like
46 have not yet been made Python 3-compatible.
54 None (output of six.exec_)
[all …]
/external/python/six/
Dtest_six.py1 # Copyright (c) 2010-2017 Benjamin Peterson
28 import six
35 six._add_doc(f, """New doc""")
41 m = six._import_module("logging.handlers")
46 assert isinstance(1, six.integer_types)
47 assert isinstance(-1, six.integer_types)
48 assert isinstance(six.MAXSIZE + 23, six.integer_types)
49 assert not isinstance(.1, six.integer_types)
53 assert isinstance("hi", six.string_types)
54 assert isinstance(six.u("hi"), six.string_types)
[all …]
Dsix.py1 # Copyright (c) 2010-2017 Benjamin Peterson
37 PY3 = sys.version_info[0] == 3 variable
40 if PY3:
57 MAXSIZE = int((1 << 31) - 1)
67 # 32-bit
68 MAXSIZE = int((1 << 31) - 1)
70 # 64-bit
71 MAXSIZE = int((1 << 63) - 1)
107 if PY3:
143 if PY3:
[all …]
/external/tensorflow/tensorflow/python/util/
DBUILD5 # buildifier: disable=same-origin-load
8 # buildifier: disable=same-origin-load
11 # buildifier: disable=same-origin-load
14 # buildifier: disable=same-origin-load
232 python_version = "PY3",
247 python_version = "PY3",
258 python_version = "PY3",
269 python_version = "PY3",
280 srcs_version = "PY3",
290 python_version = "PY3",
[all …]
/external/python/parse_type/tasks/_vendor/
Dsix.py3 # Copyright (c) 2010-2015 Benjamin Peterson
37 PY3 = sys.version_info[0] == 3 variable
40 if PY3:
57 MAXSIZE = int((1 << 31) - 1)
67 # 32-bit
68 MAXSIZE = int((1 << 31) - 1)
70 # 64-bit
71 MAXSIZE = int((1 << 63) - 1)
107 if PY3:
143 if PY3:
[all …]
/external/scapy/scapy/modules/
Dsix.py1 # Copyright (c) 2010-2017 Benjamin Peterson
42 PY3 = sys.version_info[0] == 3 variable
45 if PY3:
62 MAXSIZE = int((1 << 31) - 1)
72 # 32-bit
73 MAXSIZE = int((1 << 31) - 1)
75 # 64-bit
76 MAXSIZE = int((1 << 63) - 1)
112 if PY3:
148 if PY3:
[all …]
/external/tensorflow/tensorflow/python/client/
DBUILD6 # buildifier: disable=same-origin-load
9 # buildifier: disable=same-origin-load
23 srcs_version = "PY3",
121 srcs_version = "PY3",
132 "@six_archive//:six",
140 python_version = "PY3",
154 srcs_version = "PY3",
182 python_version = "PY3",
240 srcs_version = "PY3",
261 srcs_version = "PY3",
[all …]
/external/tensorflow/tensorflow/lite/experimental/mlir/testing/
DBUILD20 srcs_version = "PY3",
29 "@six_archive//:six",
40 "--zip_file_path=$(location :zip_%s)" % test_name,
43 #"--unzip_binary_path=$(location //third_party/unzip)",
90 srcs_version = "PY3",
104 python_version = "PY3",
105 srcs_version = "PY3",
113 "@six_archive//:six",
/external/flatbuffers/python/flatbuffers/
Dcompat.py7 # http://www.apache.org/licenses/LICENSE-2.0
15 """ A tiny version of `six` to help with backwards compability. Also includes
24 PY3 = sys.version_info[0] == 3 variable
27 if PY3:
56 if PY3:
86 # NOTE: Future Jython support may require code here (look at `six`).
/external/tensorflow/tensorflow/python/feature_column/
DBUILD11 srcs_version = "PY3",
22 srcs_version = "PY3",
49 "@six_archive//:six",
60 srcs_version = "PY3",
90 "@six_archive//:six",
97 "testdata/embedding.ckpt.data-00000-of-00001",
128 srcs_version = "PY3",
172 srcs_version = "PY3",
201 srcs_version = "PY3",
234 python_version = "PY3",
[all …]
/external/chromium-trace/catapult/devil/devil/android/
Dmd5sum.py2 # Use of this source code is governed by a BSD-style license that can be
11 import six
20 _STARTS_WITH_CHECKSUM_RE = re.compile(r'^[0-9a-fA-F]{16}$')
43 if isinstance(paths, six.string_types):
56 if six.PY3:
57 data = data.encode('utf-8')
62 [md5sum_bin_host_path, "-gz", compressed_paths])
81 if isinstance(paths, six.string_types):
101 # indicator), and trigger a (re-)push via the exit code.
102 md5sum_script += '! [[ $(ls -l $a) = *%d* ]]&&exit 2;' % md5sum_file_size
[all …]
/external/angle/
D.vpython35 # (since pure-python dependencies can be easily vendored into third_party).
10 # this never requires the end-user machine to have a working python extension
20 # vpython path/to/script.py some --arguments
30 name: "infra/python/wheels/protobuf-py3"
37 name: "infra/python/wheels/six-py2_py3"
54 name: "infra/python/wheels/importlab-py3"
61 name: "infra/python/wheels/networkx-py3"
68 name: "infra/python/wheels/decorator-py3"
75 name: "infra/python/wheels/libcst-py3"
89 name: "infra/python/wheels/typing-inspect-py3"
[all …]
/external/tensorflow/tensorflow/python/util/protobuf/
DBUILD3 # buildifier: disable=same-origin-load
6 # buildifier: disable=same-origin-load
9 # buildifier: disable=same-origin-load
48 python_version = "PY3",
52 "@six_archive//:six",
63 # copybara:uncomment_begin(google-only)
80 srcs_version = "PY3",
93 "@six_archive//:six",
/external/libyuv/
D.vpython35 # (since pure-python dependencies can be easily vendored into third_party).
10 # this never requires the end-user machine to have a working python extension
20 # vpython path/to/script.py some --arguments
27 # The default set of platforms vpython checks does not yet include mac-arm64.
29 # allows us to ensure that vpython specs stay mac-arm64-friendly
45 name: "infra/python/wheels/protobuf-py2_py3"
52 name: "infra/python/wheels/six-py2_py3"
68 name: "infra/python/wheels/numpy/mac-arm64_cp38_cp38"
79 name: "infra/python/wheels/requests-py3"
85 name: "infra/python/wheels/mock-py2_py3"
[all …]
/external/tensorflow/tensorflow/tools/build_info/
DBUILD13 python_version = "PY3",
14 srcs_version = "PY3",
15 tags = ["no-remote-exec"],
19 "@six_archive//:six",
/external/tensorflow/tensorflow/python/lib/io/
DBUILD3 # buildifier: disable=same-origin-load
6 # buildifier: disable=same-origin-load
37 srcs_version = "PY3",
44 "@six_archive//:six",
66 python_version = "PY3",
82 python_version = "PY3",
/external/scapy/test/
Dlinux.uts20 from scapy.modules.six.moves import range
28 IPTABLE_RULE = "iptables -%c INPUT -s %s -p tcp --sport 80 -j DROP"
76 # ex: https://travis-ci.org/secdev/scapy/jobs/247473497
97 assert six.PY3 or isinstance(pointer, str)
98 assert six.PY3 or len(pointer) > 1
102 = Interface aliases & sub-interfaces
/external/tensorflow/tensorflow/python/distribute/coordinator/
DBUILD12 srcs_version = "PY3",
34 "@six_archive//:six",
43 srcs_version = "PY3",
50 srcs_version = "PY3",
65 python_version = "PY3",
104 python_version = "PY3",
108 "noasan", # Multi-process runner does not work with test sanitizers
110 "notsan", # Multi-process runner does not work with test sanitizers
139 srcs_version = "PY3",
148 python_version = "PY3",
[all …]
/external/python/apitools/apitools/base/py/
Dlist_pager.py9 # http://www.apache.org/licenses/LICENSE-2.0
20 import six
36 if isinstance(attribute, six.string_types):
54 if isinstance(attribute, six.string_types):
61 return setattr(_GetattrNested(message, attribute[:-1]),
62 attribute[-1], value)
96 returned. None if caller-specified batch size is unsupported.
109 # On Py3, None is not comparable so min() below will fail.
114 # behavior on Py3.
129 limit -= 1
/external/tensorflow/tensorflow/python/distribute/
DBUILD17 srcs_version = "PY3",
33 srcs_version = "PY3",
58 "@six_archive//:six",
65 srcs_version = "PY3",
89 srcs_version = "PY3",
100 python_version = "PY3",
118 srcs_version = "PY3",
141 srcs_version = "PY3",
168 python_version = "PY3",
169 srcs_version = "PY3",
[all …]

1234