Home
last modified time | relevance | path

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

12

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/
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",
DBUILD659 "//external:six"
DMakefile.am802 six.BUILD \
/frameworks/base/core/tests/coretests/src/android/view/
DCreateViewTest.java71 ViewOne six = new ViewOne(mContext); in testLayout3() local
72 vert.addView(six, new LinearLayout.LayoutParams(MATCH_PARENT, MATCH_PARENT, 0)); in testLayout3()
114 TextView six = new TextView(mContext); in testLayout6() local
115 six.setText("F"); in testLayout6()
116 vert.addView(six, new LinearLayout.LayoutParams(MATCH_PARENT, WRAP_CONTENT, 0)); in testLayout6()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/internal/
Dtype_checkers.py48 import six
50 if six.PY3:
129 if not isinstance(proposed_value, six.integer_types):
131 (proposed_value, type(proposed_value), six.integer_types))
153 if not isinstance(proposed_value, six.integer_types):
155 (proposed_value, type(proposed_value), six.integer_types))
173 if not isinstance(proposed_value, (bytes, six.text_type)):
175 (proposed_value, type(proposed_value), (bytes, six.text_type)))
Dtext_format_test.py39 import six
124 class UnicodeSub(six.text_type):
378 six.assertRaisesRegex(self, text_format.ParseError, (
385 six.assertRaisesRegex(self, text_format.ParseError, (
392 six.assertRaisesRegex(self, text_format.ParseError,
399 six.assertRaisesRegex(self, text_format.ParseError,
407 six.assertRaisesRegex(self, text_format.ParseError,
712 six.assertRaisesRegex(self, text_format.ParseError, (
718 six.assertRaisesRegex(
801 six.assertRaisesRegex(self,
[all …]
Dencoder.py71 import six
376 write(six.int2byte(0x80|bits))
379 return write(six.int2byte(bits))
394 write(six.int2byte(0x80|bits))
397 return write(six.int2byte(bits))
Ddecoder.py85 import six
87 if six.PY3:
121 b = six.indexbytes(buffer, pos)
141 b = six.indexbytes(buffer, pos)
181 while six.indexbytes(buffer, pos) & 0x80:
465 local_unicode = six.text_type
D_parameterized.py158 import six
178 isinstance(obj, six.string_types))
Dwell_known_types.py45 import six
626 _INT_OR_FLOAT = six.integer_types + (float,)
636 elif isinstance(value, six.string_types):
Dpython_message.py58 import six
60 import six.moves.copyreg as copyreg
455 six.reraise(type(exc), exc, sys.exc_info()[2])
468 if isinstance(value, six.string_types):
Dmessage_test.py52 import six
73 if six.PY3:
737 self.assertIsInstance(m.optional_string, six.text_type)
1298 self.assertIsInstance(msg.map_string_string['abc'], six.text_type)
1387 self.assertIsInstance(key, six.text_type)
1388 self.assertIsInstance(value, six.text_type)
Dreflection_test.py41 import six
1026 … class MyProtoClass(six.with_metaclass(reflection.GeneratedProtocolMessageType, message.Message)):
1073 class CarMessage(six.with_metaclass(reflection.GeneratedProtocolMessageType, message.Message)):
1679 self.assertEqual(type(proto.optional_string), six.text_type)
1681 proto.optional_string = six.text_type('Testing')
1686 self.assertEqual(proto.optional_string, six.text_type('Testing'))
1732 self.assertEqual(type(message2.str), six.text_type)
1756 six.text_type(proto))
2941 … class MessageClass(six.with_metaclass(reflection.GeneratedProtocolMessageType, message.Message)):
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/
Dtext_encoding.py34 import six
76 Ord = ord if isinstance(text, six.string_types) else lambda x: x
Djson_format.py53 import six
73 _UNPAIRED_SURROGATE_PATTERN = re.compile(six.u(
322 if not isinstance(text, six.text_type): text = text.decode('utf-8')
336 _INT_OR_FLOAT = six.integer_types + (float,)
487 elif isinstance(value, six.string_types):
599 if isinstance(value, six.text_type) and value.find(' ') != -1:
Dtext_format.py48 import six
50 if six.PY3:
103 if six.PY2:
109 if six.PY2:
110 if isinstance(val, six.text_type):
401 if isinstance(value, six.text_type):
1155 return six.text_type(the_bytes, 'utf-8')
Ddescriptor.py37 import six
75 class DescriptorBase(six.with_metaclass(DescriptorMetaclass)):
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/
Dtox.ini22 six>=1.9
/frameworks/base/core/proto/android/os/
Dpagetypeinfo.proto34 * The six migration types are Unmovable, Reclaimable, Movable, Reserve, CMA, and Isolate.
/frameworks/rs/script_api/
Drs_object_types.spec98 An enum used to specify one the six faces of a cubemap.
Drs_matrix.spec265 the six clipping planes <code>left, right, bottom, top, near, far</code>.
315 six clipping planes <code>left, right, bottom, top, near, far</code> into a unit cube
/frameworks/rs/script_api/include/
Drs_object_types.rsh95 * An enum used to specify one the six faces of a cubemap.
Drs_matrix.rsh271 * the six clipping planes left, right, bottom, top, near, far.
332 * six clipping planes left, right, bottom, top, near, far into a unit cube
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Darena_unittest.cc136 const PleaseDontCopyMe* four, int five, const char* six, in MustBeConstructedWithOneThroughEight() argument
139 six_(six), seven_(seven), eight_(eight) {} in MustBeConstructedWithOneThroughEight()

12