Home
last modified time | relevance | path

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

/external/grpc-grpc/third_party/nanopb/
Dpb_encode.c474 bool checkreturn pb_encode_tag(pb_ostream_t *stream, pb_wire_type_t wiretype, uint32_t field_number) in pb_encode_tag() argument
476 uint64_t tag = ((uint64_t)field_number << 3) | wiretype; in pb_encode_tag()
482 pb_wire_type_t wiretype; in pb_encode_tag_for_field() local
488 wiretype = PB_WT_VARINT; in pb_encode_tag_for_field()
492 wiretype = PB_WT_32BIT; in pb_encode_tag_for_field()
496 wiretype = PB_WT_64BIT; in pb_encode_tag_for_field()
503 wiretype = PB_WT_STRING; in pb_encode_tag_for_field()
510 return pb_encode_tag(stream, wiretype, field->tag); in pb_encode_tag_for_field()
Dpb_encode.h122 bool pb_encode_tag(pb_ostream_t *stream, pb_wire_type_t wiretype, uint32_t field_number);
/external/nanopb-c/
Dpb_encode.c635 bool checkreturn pb_encode_tag(pb_ostream_t *stream, pb_wire_type_t wiretype, uint32_t field_number) in pb_encode_tag() argument
637 pb_uint64_t tag = ((pb_uint64_t)field_number << 3) | wiretype; in pb_encode_tag()
643 pb_wire_type_t wiretype; in pb_encode_tag_for_field() local
649 wiretype = PB_WT_VARINT; in pb_encode_tag_for_field()
653 wiretype = PB_WT_32BIT; in pb_encode_tag_for_field()
657 wiretype = PB_WT_64BIT; in pb_encode_tag_for_field()
664 wiretype = PB_WT_STRING; in pb_encode_tag_for_field()
671 return pb_encode_tag(stream, wiretype, field->tag); in pb_encode_tag_for_field()
Dpb_encode.h128 bool pb_encode_tag(pb_ostream_t *stream, pb_wire_type_t wiretype, uint32_t field_number);
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_helpers.cc1587 internal::WireFormatLite::WireType wiretype) { in ShouldRepeat() argument
1592 wiretype != internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED); in ShouldRepeat()
1595 void GenerateFieldBody(internal::WireFormatLite::WireType wiretype, in GenerateFieldBody() argument
1597 uint32 tag = WireFormatLite::MakeTag(field->number(), wiretype); in GenerateFieldBody()
1598 switch (wiretype) { in GenerateFieldBody()
1746 auto wiretype = WireFormatLite::GetTagWireType(expected_tag); in GenerateParseLoop() local
1747 uint32 tag = WireFormatLite::MakeTag(field->number(), wiretype); in GenerateParseLoop()
1749 bool is_repeat = ShouldRepeat(field, wiretype); in GenerateParseLoop()
1758 GenerateFieldBody(wiretype, field); in GenerateParseLoop()
Dcpp_message.cc3540 internal::WireFormatLite::WireType wiretype = in GenerateMergeFromCodedStream() local
3543 internal::WireFormatLite::MakeTag(field->number(), wiretype); in GenerateMergeFromCodedStream()
3551 internal::WireFormatLite::WireType wiretype = in GenerateMergeFromCodedStream() local
3554 internal::WireFormatLite::MakeTag(field->number(), wiretype); in GenerateMergeFromCodedStream()
/external/golang-protobuf/proto/
Dtable_marshal.go413 wt := wiretype(tags[0])
454 wt := wiretype(tags[0])
481 wt := wiretype(tags[0])
493 func wiretype(encoding string) uint64 { func
2288 keyWireTag := 1<<3 | wiretype(keyTags[0])
2289 valWireTag := 2<<3 | wiretype(valTags[0])
/external/golang-protobuf/protoc-gen-go/generator/
Dgenerator.go1465 func (g *Generator) goTag(message *Descriptor, field *descriptor.FieldDescriptorProto, wiretype str…
1569 wiretype,
2241 typename, wiretype := g.GoType(message, field)
2243 …tag := fmt.Sprintf("protobuf:%s json:%q", g.goTag(message, field, wiretype), jsonName+",omitempty")
2341 tag := "protobuf:" + g.goTag(message, field, wiretype)
/external/protobuf/python/google/protobuf/internal/
Dpython_message.py321 def AddDecoder(wiretype, is_packed): argument
322 tag_bytes = encoder.TagBytes(field_descriptor.number, wiretype)
/external/nanopb-c/docs/
Dreference.rst486 bool pb_encode_tag(pb_ostream_t *stream, pb_wire_type_t wiretype, uint32_t field_number);
489 :wiretype: PB_WT_VARINT, PB_WT_64BIT, PB_WT_STRING or PB_WT_32BIT
/external/grpc-grpc/third_party/nanopb/docs/
Dreference.rst476 bool pb_encode_tag(pb_ostream_t *stream, pb_wire_type_t wiretype, uint32_t field_number);
479 :wiretype: PB_WT_VARINT, PB_WT_64BIT, PB_WT_STRING or PB_WT_32BIT