Home
last modified time | relevance | path

Searched refs:six (Results 1 – 25 of 1063) sorted by relevance

12345678910>>...43

/external/python/six/
Dtest_six.py28 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)
55 assert issubclass(six.text_type, six.string_types)
[all …]
DCHANGES1 Changelog for six
4 This file lists the changes in each six version.
20 - Pull request #167: Add `six.moves.getoutput`.
22 - Pull request #80: Add `six.moves.urllib_parse.splitvalue`.
24 - Pull request #75: Add `six.moves.email_mime_image`.
32 - Issue #122: Improve the performance of `six.int2byte` on Python 3.
34 - Pull request #55 and issue #99: Don't add the `winreg` module to `six.moves`
37 - Pull request #60 and issue #108: Add `six.moves.getcwd` and
38 `six.moves.getcwdu`.
45 - Issue #106: Support the `flush` parameter to `six.print_`.
[all …]
DPKG-INFO2 Name: six
5 Home-page: http://pypi.python.org/pypi/six/
9 Description: .. image:: http://img.shields.io/pypi/v/six.svg
10 :target: https://pypi.python.org/pypi/six
12 .. image:: https://travis-ci.org/benjaminp/six.svg?branch=master
13 :target: https://travis-ci.org/benjaminp/six
16 :target: https://github.com/benjaminp/six/blob/master/LICENSE
27 Online documentation is at http://six.rtfd.org.
29 Bugs can be reported to https://github.com/benjaminp/six. The code can also
32 For questions about six or porting in general, email the python-porting mailing
DREADME.rst1 .. image:: http://img.shields.io/pypi/v/six.svg
2 :target: https://pypi.python.org/pypi/six
4 .. image:: https://travis-ci.org/benjaminp/six.svg?branch=master
5 :target: https://travis-ci.org/benjaminp/six
8 :target: https://github.com/benjaminp/six/blob/master/LICENSE
19 Online documentation is at http://six.rtfd.org.
21 Bugs can be reported to https://github.com/benjaminp/six. The code can also
24 For questions about six or porting in general, email the python-porting mailing
DMETADATA1 name: "six"
3 "Python PyPI six package"
8 value: "https://pypi.python.org/pypi/six"
12 value: "https://github.com/benjaminp/six"
/external/grpc-grpc/src/python/grpcio/grpc/
D__init__.py20 import six
35 class Future(six.with_metaclass(abc.ABCMeta)):
247 class RpcContext(six.with_metaclass(abc.ABCMeta)):
298 class Call(six.with_metaclass(abc.ABCMeta, RpcContext)):
349 class ClientCallDetails(six.with_metaclass(abc.ABCMeta)):
363 class UnaryUnaryClientInterceptor(six.with_metaclass(abc.ABCMeta)):
400 class UnaryStreamClientInterceptor(six.with_metaclass(abc.ABCMeta)):
436 class StreamUnaryClientInterceptor(six.with_metaclass(abc.ABCMeta)):
474 class StreamStreamClientInterceptor(six.with_metaclass(abc.ABCMeta)):
540 class AuthMetadataContext(six.with_metaclass(abc.ABCMeta)):
[all …]
/external/tensorflow/tensorflow/python/estimator/
DBUILD67 "@six_archive//:six",
81 "@six_archive//:six",
92 "@six_archive//:six",
107 "@six_archive//:six",
149 "@six_archive//:six",
169 "@six_archive//:six",
186 "@six_archive//:six",
216 "@six_archive//:six",
229 "@six_archive//:six",
240 "@six_archive//:six",
[all …]
/external/python/six/six.egg-info/
DPKG-INFO2 Name: six
5 Home-page: http://pypi.python.org/pypi/six/
9 Description: .. image:: http://img.shields.io/pypi/v/six.svg
10 :target: https://pypi.python.org/pypi/six
12 .. image:: https://travis-ci.org/benjaminp/six.svg?branch=master
13 :target: https://travis-ci.org/benjaminp/six
16 :target: https://github.com/benjaminp/six/blob/master/LICENSE
27 Online documentation is at http://six.rtfd.org.
29 Bugs can be reported to https://github.com/benjaminp/six. The code can also
32 For questions about six or porting in general, email the python-porting mailing
DSOURCES.txt7 six.py
12 six.egg-info/PKG-INFO
13 six.egg-info/SOURCES.txt
14 six.egg-info/dependency_links.txt
15 six.egg-info/top_level.txt
/external/scapy/scapy/
Dmain.py24 import scapy.modules.six as six namespace
27 IGNORED = list(six.moves.builtins.__dict__)
118 globals_dict = six.moves.builtins.__dict__
129 for name, sym in six.iteritems(mod.__dict__):
224 session = six.moves.builtins.__dict__["scapy_session"]
247 six.moves.cPickle.dump(to_be_saved, f, pickleProto)
260 s = six.moves.cPickle.load(gzip.open(fname,"rb"))
263 s = six.moves.cPickle.load(open(fname,"rb"))
268 scapy_session = six.moves.builtins.__dict__["scapy_session"]
283 s = six.moves.cPickle.load(gzip.open(fname,"rb"))
[all …]
Dconfig.py19 import scapy.modules.six as six namespace
133 for num,layer in six.iteritems(self.num2layer):
140 for layer,num in six.iteritems(self.layer2num):
212 return six.iteritems(self.__dict__)
214 … return ((k,v) for (k,v) in six.iteritems(self.__dict__) if t0-self._timetable[k] < self.timeout)
217 return six.iterkeys(self.__dict__)
219 return (k for k in six.iterkeys(self.__dict__) if t0-self._timetable[k] < self.timeout)
221 return six.iterkeys(self.__dict__)
224 return six.itervalues(self.__dict__)
226 return (v for (k,v) in six.iteritems(self.__dict__) if t0-self._timetable[k] < self.timeout)
[all …]
Dcompat.py15 import scapy.modules.six as six namespace
52 if six.PY2:
66 if six.PY2:
127 if six.PY2:
133 if six.PY2:
/external/grpc-grpc/src/python/grpcio_testing/grpc_testing/
D__init__.py17 import six
24 class UnaryUnaryChannelRpc(six.with_metaclass(abc.ABCMeta)):
58 class UnaryStreamChannelRpc(six.with_metaclass(abc.ABCMeta)):
100 class StreamUnaryChannelRpc(six.with_metaclass(abc.ABCMeta)):
154 class StreamStreamChannelRpc(six.with_metaclass(abc.ABCMeta)):
216 class Channel(six.with_metaclass(abc.ABCMeta, grpc.Channel)):
296 class UnaryUnaryServerRpc(six.with_metaclass(abc.ABCMeta)):
332 class UnaryStreamServerRpc(six.with_metaclass(abc.ABCMeta)):
380 class StreamUnaryServerRpc(six.with_metaclass(abc.ABCMeta)):
431 class StreamStreamServerRpc(six.with_metaclass(abc.ABCMeta)):
[all …]
/external/grpc-grpc/src/python/grpcio/grpc/framework/interfaces/face/
Dface.py20 import six
94 class AbortionError(six.with_metaclass(abc.ABCMeta, Exception)):
147 class RpcContext(six.with_metaclass(abc.ABCMeta)):
195 class Call(six.with_metaclass(abc.ABCMeta, RpcContext)):
251 class ServicerContext(six.with_metaclass(abc.ABCMeta, RpcContext)):
320 class ResponseReceiver(six.with_metaclass(abc.ABCMeta)):
355 class UnaryUnaryMultiCallable(six.with_metaclass(abc.ABCMeta)):
433 class UnaryStreamMultiCallable(six.with_metaclass(abc.ABCMeta)):
482 class StreamUnaryMultiCallable(six.with_metaclass(abc.ABCMeta)):
563 class StreamStreamMultiCallable(six.with_metaclass(abc.ABCMeta)):
[all …]
/external/grpc-grpc/src/python/grpcio/grpc/framework/interfaces/base/
Dbase.py29 import six
87 class Completion(six.with_metaclass(abc.ABCMeta)):
97 class OperationContext(six.with_metaclass(abc.ABCMeta)):
152 class Operator(six.with_metaclass(abc.ABCMeta)):
176 class ProtocolReceiver(six.with_metaclass(abc.ABCMeta)):
189 class Subscription(six.with_metaclass(abc.ABCMeta)):
216 class Servicer(six.with_metaclass(abc.ABCMeta)):
244 class End(six.with_metaclass(abc.ABCMeta)):
/external/protobuf/
Dsix.BUILD3 srcs = ["six-1.10.0/six.py"],
4 outs = ["six.py"],
9 name = "six",
10 srcs = ["six.py"],
DWORKSPACE10 …url = "https://pypi.python.org/packages/source/s/six/six-1.10.0.tar.gz#md5=34eed507548117b2ab523ab…
12 build_file = "six.BUILD",
31 name = "six",
32 actual = "@six_archive//:six",
/external/python/apitools/apitools/base/py/
Dtransfer_test.py21 import six
22 from six.moves import http_client
54 six.StringIO(), chunksize=chunksize, total_size=total_size)
59 download = transfer.Download.FromStream(six.StringIO())
66 six.StringIO(), chunksize=10, total_size=total_size)
75 download = transfer.Download.FromStream(six.StringIO())
88 download = transfer.Download.FromStream(six.StringIO(),
99 download_stream = six.StringIO()
128 download_stream = six.StringIO()
157 download_stream = six.StringIO()
[all …]
Dutil.py23 import six
24 from six.moves import http_client
25 import six.moves.urllib.error as urllib_error
26 import six.moves.urllib.parse as urllib_parse
27 import six.moves.urllib.request as urllib_request
78 if isinstance(scope_spec, six.string_types):
126 if not isinstance(value, six.string_types):
/external/scapy/scapy/layers/tls/crypto/
Dgroups.py22 import scapy.modules.six as six namespace
39 import six
42 not isinstance(p, six.integer_types) or
43 not isinstance(g, six.integer_types)
46 if q is not None and not isinstance(q, six.integer_types):
71 class _FFDHParams(six.with_metaclass(_FFDHParamsMetaclass)):
/external/python/oauth2client/oauth2client/
D_helpers.py19 import six
67 if isinstance(value, six.text_type) else value)
68 if isinstance(result, six.binary_type):
88 if isinstance(value, six.binary_type) else value)
89 if isinstance(result, six.text_type):
Dutil.py21 import six
22 from six.moves import urllib
140 if isinstance(max_positional_args, six.integer_types):
160 if isinstance(scopes, six.string_types):
180 if isinstance(scopes, six.string_types):
/external/python/google-api-python-client/googleapiclient/
Dmodel.py23 import six
30 from six.moves.urllib.parse import urlencode
112 for h, v in six.iteritems(headers):
116 for h, v in six.iteritems(path_params):
167 for key, value in six.iteritems(params):
173 if isinstance(value, six.text_type) and callable(value.encode):
182 for h, v in six.iteritems(resp):
370 for key, original_value in six.iteritems(original):
/external/scapy/scapy/asn1/
Dmib.py17 import scapy.modules.six as six namespace
38 for k in six.iterkeys(self):
59 nodes = [(k, self[k]) for k in six.iterkeys(self)]
60 oids = [self[k] for k in six.iterkeys(self)]
120 for k in six.iterkeys(conf.mib):
142 for k,o in six.iteritems(the_mib):
144 for k,o in six.iteritems(unresolved):
/external/compiler-rt/test/BlocksRuntime/
Dvarargs-bad-assign.c19 int six = 0; in main() local
35 six = sumn(3, 1, 2, 3); in main()
37 if ( six != 6 ) { in main()
38 printf("%s: Expected 6 but got %d\n", argv[0], six); in main()

12345678910>>...43