Home
last modified time | relevance | path

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

/external/python/apitools/apitools/base/protorpclite/
Dprotojson_test.py215 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')))
Dtest_util.py438 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))
Dprotojson.py178 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/
Dencode.c159 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/
Dencoding_helper.py117 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/cronet/third_party/protobuf/python/google/protobuf/internal/
Dencoder.py821 encode_message = MessageEncoder(field_descriptor.number, False, False)
827 encode_message(write, entry_msg, deterministic)
/external/protobuf/python/google/protobuf/internal/
Dencoder.py821 encode_message = MessageEncoder(field_descriptor.number, False, False)
827 encode_message(write, entry_msg, deterministic)
/external/protobuf/ruby/ext/google/protobuf_c/
Druby-upb.c1530 static void encode_message(upb_encstate* e, const upb_Message* msg,
1589 encode_message(e, submsg, subm, &size); in encode_scalar()
1602 encode_message(e, submsg, subm, &size); in encode_scalar()
1692 encode_message(e, *ptr, subm, &size); in encode_array()
1706 encode_message(e, *ptr, subm, &size); in encode_array()
1840 encode_message(e, ext->data.ptr, ext->ext->sub.submsg, &size); in encode_msgset_item()
1848 static void encode_message(upb_encstate* e, const upb_Message* msg, in encode_message() function
1920 encode_message(&e, msg, l, size); in upb_Encode()
/external/cronet/third_party/protobuf/ruby/ext/google/protobuf_c/
Druby-upb.c1530 static void encode_message(upb_encstate* e, const upb_Message* msg,
1589 encode_message(e, submsg, subm, &size); in encode_scalar()
1602 encode_message(e, submsg, subm, &size); in encode_scalar()
1692 encode_message(e, *ptr, subm, &size); in encode_array()
1706 encode_message(e, *ptr, subm, &size); in encode_array()
1840 encode_message(e, ext->data.ptr, ext->ext->sub.submsg, &size); in encode_msgset_item()
1848 static void encode_message(upb_encstate* e, const upb_Message* msg, in encode_message() function
1920 encode_message(&e, msg, l, size); in upb_Encode()
/external/cronet/third_party/protobuf/php/ext/google/protobuf/
Dphp-upb.c1506 static void encode_message(upb_encstate* e, const upb_Message* msg,
1565 encode_message(e, submsg, subm, &size); in encode_scalar()
1578 encode_message(e, submsg, subm, &size); in encode_scalar()
1668 encode_message(e, *ptr, subm, &size); in encode_array()
1682 encode_message(e, *ptr, subm, &size); in encode_array()
1810 encode_message(e, ext->data.ptr, ext->ext->sub.submsg, &size); in encode_msgset_item()
1818 static void encode_message(upb_encstate* e, const upb_Message* msg, in encode_message() function
1890 encode_message(&e, msg, l, size); in upb_Encode()
/external/protobuf/php/ext/google/protobuf/
Dphp-upb.c1506 static void encode_message(upb_encstate* e, const upb_Message* msg,
1565 encode_message(e, submsg, subm, &size); in encode_scalar()
1578 encode_message(e, submsg, subm, &size); in encode_scalar()
1668 encode_message(e, *ptr, subm, &size); in encode_array()
1682 encode_message(e, *ptr, subm, &size); in encode_array()
1810 encode_message(e, ext->data.ptr, ext->ext->sub.submsg, &size); in encode_msgset_item()
1818 static void encode_message(upb_encstate* e, const upb_Message* msg, in encode_message() function
1890 encode_message(&e, msg, l, size); in upb_Encode()