Home
last modified time | relevance | path

Searched refs:__getitem__ (Results 1 – 5 of 5) sorted by relevance

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/internal/
Dwell_known_types.py667 def __getitem__(self, key): member in Struct
697 def __getitem__(self, index): member in ListValue
699 return _GetStructValue(self.values.__getitem__(index))
702 _SetStructValue(self.values.__getitem__(index), value)
Dcontainers.py202 def __getitem__(self, key): member in BaseContainer
457 def __getitem__(self, key): member in ScalarMap
541 def __getitem__(self, key): member in MessageMap
Dreflection_test.py802 self.assertRaises(IndexError, proto.repeated_int32.__getitem__, 1234)
803 self.assertRaises(IndexError, proto.repeated_int32.__getitem__, -1234)
805 self.assertRaises(TypeError, proto.repeated_int32.__getitem__, 'foo')
806 self.assertRaises(TypeError, proto.repeated_int32.__getitem__, None)
916 self.assertRaises(IndexError, proto.repeated_nested_message.__getitem__,
918 self.assertRaises(IndexError, proto.repeated_nested_message.__getitem__,
922 self.assertRaises(TypeError, proto.repeated_nested_message.__getitem__,
924 self.assertRaises(TypeError, proto.repeated_nested_message.__getitem__,
1263 self.assertRaises(KeyError, extendee_proto.Extensions.__getitem__, 1234)
1276 self.assertRaises(KeyError, extendee_proto.Extensions.__getitem__,
Dpython_message.py1453 def __getitem__(self, extension_handle): member in _ExtensionDict
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/
Dmox.py459 def __getitem__(self, key): member in MockObject