Searched refs:encode_message (Results 1 – 6 of 6) sorted by relevance
/external/python/apitools/apitools/base/protorpclite/ |
D | protojson_test.py | 215 self.assertEquals('{"an_enum": 89}', protojson.encode_message(message)) 237 protojson.encode_message(message)) 248 self.assertEquals('{"an_enum": ""}', protojson.encode_message(message)) 286 protojson.encode_message, 394 decoded_message = protojson.encode_message( 421 decoded_message = protojson.encode_message(MyMessage(a_custom=1)) 467 self.protojson.encode_message(MyMessage(a_string='xyz')))
|
D | test_util.py | 438 self.PROTOLIB.encode_message, message) 456 self.CompareEncoded(encoded, self.PROTOLIB.encode_message(message)) 537 self.PROTOLIB.encode_message, 550 self.PROTOLIB.encode_message(loaded_message)) 590 encoded = self.PROTOLIB.encode_message(decoded) 602 MyMessage, self.PROTOLIB.encode_message(message)) 615 MyMessage, self.PROTOLIB.encode_message(message))
|
D | protojson.py | 178 def encode_message(self, message): member in ProtoJson 379 encode_message = ProtoJson.get_default().encode_message variable
|
/external/rust/crates/grpcio-sys/grpc/third_party/upb/upb/ |
D | encode.c | 159 static void encode_message(upb_encstate *e, const char *msg, 224 encode_message(e, submsg, subm, &size); in encode_scalar() 237 encode_message(e, submsg, subm, &size); in encode_scalar() 326 encode_message(e, *ptr, subm, &size); in encode_array() 340 encode_message(e, *ptr, subm, &size); in encode_array() 418 static void encode_message(upb_encstate *e, const char *msg, in encode_message() function 465 encode_message(&e, msg, m, size); in upb_encode_ex()
|
/external/python/apitools/apitools/base/py/ |
D | encoding_helper.py | 117 result = _ProtoJsonApiTools.Get().encode_message(message) 347 def encode_message(self, message): member in _ProtoJsonApiTools 349 return '[%s]' % (', '.join(self.encode_message(x) 357 result = super(_ProtoJsonApiTools, self).encode_message(message) 387 value = json.loads(self.encode_message(value)) 461 return codec.decode_message(type(message), codec.encode_message(message))
|
/external/protobuf/python/google/protobuf/internal/ |
D | encoder.py | 820 encode_message = MessageEncoder(field_descriptor.number, False, False) 826 encode_message(write, entry_msg, deterministic)
|