/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/ |
protojson_test.py | 18 """Tests for protorpc.protojson.""" 30 from protorpc import protojson namespace 79 MODULE = protojson 87 PROTOLIB = protojson 163 message = protojson.decode_message(MyMessage, '{"a_float": 10}') 170 message = protojson.decode_message(MyMessage, 186 protojson.decode_message, 189 protojson.decode_message, 192 protojson.decode_message, 197 message = protojson.decode_message(MyMessage, '{"an_enum": 2}' [all...] |
remote_test.py | 32 from protorpc import protojson namespace 747 protojson, 751 self.assertEquals(protojson, config.protocol) 760 config = remote.ProtocolConfig(protojson, 'proto2') 761 self.assertEquals(protojson, config.protocol) 778 config = remote.ProtocolConfig(protojson, 'proto2', 780 self.assertEquals(protojson, config.protocol) 789 protojson, 796 protojson, 802 config = remote.ProtocolConfig(protojson, 'proto2' [all...] |
transport_test.py | 26 from protorpc import protojson namespace 192 trans = transport.Transport(protocol=protojson) 193 self.do_test(protojson, trans) 194 self.assertEquals(protojson, trans.protocol_config.protocol) 199 protojson, 'protoconfig', 'image/png') 201 self.do_test(protojson, trans) 206 protojson, 'png', 'image/png', ()) 208 self.do_test(protojson, trans) 232 self.encoded_request = protojson.encode_message(self.request) 235 self.encoded_response = protojson.encode_message(self.response [all...] |
end2end_test.py | 25 from protorpc import protojson namespace 100 expected_content = protojson.encode_message(remote.RpcStatus(
|
webapp_test_util.py | 32 from . import protojson namespace 315 def CreateTransport(self, service_url, protocol=protojson):
|
remote.py | 117 from . import protojson namespace 1018 for example, protojson, protobuf, etc.). This is an object that has the [all...] |
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/demos/experimental/wsgi/ |
services.py | 6 from protorpc import protojson namespace 12 protocols.add_protocol(protojson, 'json')
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/demos/quotas/backend/quotas/ |
main.py | 35 from protorpc import protojson namespace 57 return protojson.decode_message(services.QuotaConfig, encoded_config)
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/demos/tunes_db/client/ |
fetch_descriptor.py | 32 from protorpc import protojson namespace 82 http_transport = transport.HttpTransport(registry_url, protocol=protojson)
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/demos/guestbook/client/ |
main.py | 26 from protorpc import protojson namespace
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/wsgi/ |
service_test.py | 27 from protorpc import protojson namespace 61 self.protocols.add_protocol(protojson, 'altproto', 'image/png') 64 global_protocols.add_protocol(protojson, 'server-side-name', 'image/png') 76 new_protocols.add_protocol(protojson, 'altproto', 'image/png')
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/apitools/apitools/base/py/ |
extra_types.py | 15 from protorpc import protojson namespace 243 result = protojson.ProtoJson().encode_field(field, value) 248 result = protojson.ProtoJson().decode_field(
|
encoding.py | 14 from protorpc import protojson namespace 81 codec = protojson.ProtoJson() 250 class _ProtoJsonApiTools(protojson.ProtoJson):
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/webapp/ |
service_handlers.py | 100 from .. import protojson namespace 144 _JSON_CONTENT_TYPE = protojson.CONTENT_TYPE 726 protojson,
|
service_handlers_test.py | 33 from protorpc import protojson namespace [all...] |