Searched refs:lookup_by_name (Results 1 – 6 of 6) sorted by relevance
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/wsgi/ |
D | service_test.py | 69 self.service_url, protocol=self.protocols.lookup_by_name('altproto')) 79 self.service_url, protocol=new_protocols.lookup_by_name('altproto'))
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/ |
D | remote_test.py | 865 self.assertEquals('json', self.protocols.lookup_by_name('JsOn').name) 866 self.assertEquals('json2', self.protocols.lookup_by_name('Json2').name) 890 protobuf_protocol = protocols.lookup_by_name('protobuf') 893 protojson_protocol = protocols.lookup_by_name('protojson') 901 protobuf_protocol = protocols.lookup_by_name('protobuf') 904 protojson_protocol = protocols.lookup_by_name('protojson')
|
D | transport.py | 167 protocol = protocols.lookup_by_name(protocol)
|
D | messages.py | 372 def lookup_by_name(cls, name): member in _EnumClass 432 return cls.lookup_by_name(index)
|
D | remote.py | 1177 def lookup_by_name(self, name): member in Protocols
|
D | messages_test.py | 106 self.assertEquals(Color.RED, Color.lookup_by_name('RED')) 107 self.assertRaises(KeyError, Color.lookup_by_name, 20) 108 self.assertRaises(KeyError, Color.lookup_by_name, Color.RED)
|