HomeSort by relevance Sort by last modified time
    Searched refs:wiretype (Results 1 - 10 of 10) sorted by null

  /external/nanopb-c/
pb_encode.h 122 bool pb_encode_tag(pb_ostream_t *stream, pb_wire_type_t wiretype, uint32_t field_number);
pb_encode.c 459 bool checkreturn pb_encode_tag(pb_ostream_t *stream, pb_wire_type_t wiretype, uint32_t field_number)
461 uint64_t tag = ((uint64_t)field_number << 3) | wiretype;
467 pb_wire_type_t wiretype; local
473 wiretype = PB_WT_VARINT;
477 wiretype = PB_WT_32BIT;
481 wiretype = PB_WT_64BIT;
487 wiretype = PB_WT_STRING;
494 return pb_encode_tag(stream, wiretype, field->tag);
  /external/golang-protobuf/proto/
decode.go 51 var ErrInternalBadWireType = errors.New("proto: internal error: bad wiretype for oneof")
484 return fmt.Errorf("proto: %s: wiretype end group for non-group", st)
512 err = fmt.Errorf("bad wiretype for oneof field in %T", m)
528 if wire != WireStartGroup && wire != p.WireType {
533 err = fmt.Errorf("proto: bad wiretype for field %s.%s: got wiretype %d, want %d", st, st.Field(fieldnum).Name, wire, p.WireType)
all_test.go     [all...]
  /external/nanopb-c/generator/google/protobuf/internal/
python_message.py 210 def AddDecoder(wiretype, is_packed):
211 tag_bytes = encoder.TagBytes(field_descriptor.number, wiretype)
    [all...]
  /external/protobuf/src/google/protobuf/compiler/cpp/
cpp_message.cc 3035 internal::WireFormatLite::WireType wiretype = local
3045 internal::WireFormatLite::WireType wiretype = local
    [all...]
  /external/protobuf/python/google/protobuf/internal/
python_message.py 322 def AddDecoder(wiretype, is_packed):
323 tag_bytes = encoder.TagBytes(field_descriptor.number, wiretype)
    [all...]
  /external/golang-protobuf/protoc-gen-go/generator/
generator.go     [all...]
  /prebuilts/go/darwin-x86/src/encoding/gob/
doc.go 192 pair (-type id, encoded-type) where encoded-type is the gob encoding of a wireType
195 type wireType struct {
243 WireType 16
259 (byteCount (-type id, encoding of a wireType)* (type id, encoding of a value))*
345 // Now we send a type descriptor, which is itself a struct (wireType).
346 // The type of wireType itself is known (it's built in, as is the type of
347 // all its components), so we just need to send a *value* of type wireType
352 03 // Add 3 to field number; now 2 (wireType.structType; this is a struct).
358 50 6f 69 6e 74 // wireType.structType.CommonType.name = "Point"
360 ff 82 // wireType.structType.CommonType._id = 6
    [all...]
  /prebuilts/go/linux-x86/src/encoding/gob/
doc.go 192 pair (-type id, encoded-type) where encoded-type is the gob encoding of a wireType
195 type wireType struct {
243 WireType 16
259 (byteCount (-type id, encoding of a wireType)* (type id, encoding of a value))*
345 // Now we send a type descriptor, which is itself a struct (wireType).
346 // The type of wireType itself is known (it's built in, as is the type of
347 // all its components), so we just need to send a *value* of type wireType
352 03 // Add 3 to field number; now 2 (wireType.structType; this is a struct).
358 50 6f 69 6e 74 // wireType.structType.CommonType.name = "Point"
360 ff 82 // wireType.structType.CommonType._id = 6
    [all...]

Completed in 895 milliseconds