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/syzkaller/vendor/github.com/golang/protobuf/proto/
Dtable_marshal.go404 wt := wiretype(tags[0])
436 wt := wiretype(tags[0])
463 wt := wiretype(tags[0])
479 func wiretype(encoding string) uint64 { func
2272 keyWireTag := 1<<3 | wiretype(keyTags[0])
2273 valWireTag := 2<<3 | wiretype(valTags[0])
/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.py322 def AddDecoder(wiretype, is_packed): argument
323 tag_bytes = encoder.TagBytes(field_descriptor.number, wiretype)
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_message.cc3035 internal::WireFormatLite::WireType wiretype = in GenerateMergeFromCodedStream() local
3040 field->number(), wiretype))); in GenerateMergeFromCodedStream()
3045 internal::WireFormatLite::WireType wiretype = in GenerateMergeFromCodedStream() local
3050 field->number(), wiretype))); in GenerateMergeFromCodedStream()
/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
/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