Home
last modified time | relevance | path

Searched refs:encode_message (Results 1 – 19 of 19) sorted by relevance

/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/
Dprotobuf_test.py186 protobuf.encode_message(original))
244 encoded = protobuf.encode_message(message)
256 protobuf.encode_message(nested)).value
265 protobuf.encode_message(nested)).value
276 my_encoded = protobuf.encode_message(mine)
277 encoded = protobuf.encode_message(nested)
289 my_encoded = protobuf.encode_message(mine)
290 encoded = protobuf.encode_message(nested)
Dtest_util.py439 self.PROTOLIB.encode_message, message)
457 self.CompareEncoded(encoded, self.PROTOLIB.encode_message(message))
538 self.PROTOLIB.encode_message,
551 self.PROTOLIB.encode_message(loaded_message))
598 MyMessage, self.PROTOLIB.encode_message(message))
611 MyMessage, self.PROTOLIB.encode_message(message))
Dprotobuf.py82 def encode_message(self, value): member in _Encoder
88 self.putPrefixedString(encode_message(value))
167 messages.Variant.MESSAGE: _Encoder.encode_message,
221 def encode_message(message): function
Dprotojson.py171 def encode_message(self, message): member in ProtoJson
364 encode_message = ProtoJson.get_default().encode_message variable
Dprotojson_test.py273 protojson.encode_message,
360 decoded_message = protojson.encode_message(
387 decoded_message = protojson.encode_message(MyMessage(a_custom=1))
422 self.protojson.encode_message(MyMessage(a_string='xyz')))
Dtransport_test.py168 encoded_request = protocol.encode_message(request)
169 encoded_response = protocol.encode_message(response)
232 self.encoded_request = protojson.encode_message(self.request)
235 self.encoded_response = protojson.encode_message(self.response)
Dend2end_test.py100 expected_content = protojson.encode_message(remote.RpcStatus(
Dremote.py1098 def encode_message(self, message): member in ProtocolConfig
1107 return self.__protocol.encode_message(message)
Dprotourlencode.py464 def encode_message(message, prefix=''): function
Dtransport.py309 encoded_request = self.protocol.encode_message(request)
Dprotourlencode_test.py327 encoded_message = protourlencode.encode_message(message, prefix='prefix-')
Ddefinition_test.py604 stream = StringIO.StringIO(protobuf.encode_message(file_set))
Dremote_test.py803 encoded_message = config.encode_message(
/external/chromium-trace/catapult/third_party/gsutil/third_party/apitools/apitools/base/py/
Dencoding.py82 return codec.decode_message(type(message), codec.encode_message(message))
87 result = _ProtoJsonApiTools.Get().encode_message(message)
312 def encode_message(self, message): member in _ProtoJsonApiTools
314 return '[%s]' % (', '.join(self.encode_message(x)
320 result = super(_ProtoJsonApiTools, self).encode_message(message)
349 value = json.loads(self.encode_message(value))
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/wsgi/
Dservice.py131 encoded_status = protocol.encode_message(status)
183 encoded_response = protocol.encode_message(response)
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/webapp/
Dservice_handlers.py248 encoded_message = self.__protocol.encode_message(response)
653 def encode_message(self, message): member in URLEncodedRPCMapper
662 return protourlencode.encode_message(message,
Dservice_handlers_test.py958 self.protocol.encode_message(response).AndReturn('encoded')
975 self.protocol.encode_message(response).AndRaise(
1012 self.Reinitialize(self.protocol.encode_message(self.request_message),
1025 self.assertEquals(self.protocol.encode_message(self.response_message),
1030 body = self.protocol.encode_message(self.request_message)
1039 self.protocol.encode_message(self.response_message),
1268 sys.stdin = cStringIO.StringIO(protojson.encode_message(request))
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/demos/tunes_db/client/
Dfetch_descriptor.py96 output.write(protobuf.encode_message(file_set))
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/demos/tunes_db/server/
Dtunes_db.py374 protobuf.encode_message(request)))