HomeSort by relevance Sort by last modified time
    Searched full:wiretype (Results 1 - 25 of 77) sorted by null

1 2 3 4

  /external/protobuf/java/src/main/java/com/google/protobuf/
WireFormat.java 69 static int makeTag(final int fieldNumber, final int wireType) {
70 return (fieldNumber << TAG_TYPE_BITS) | wireType;
135 FieldType(final JavaType javaType, final int wireType) {
137 this.wireType = wireType;
141 private final int wireType;
144 public int getWireType() { return wireType; }
  /prebuilts/go/darwin-x86/src/encoding/gob/
decoder.go 26 wireType map[typeId]*wireType // map from remote ID to local description
44 dec.wireType = make(map[typeId]*wireType)
55 if id < firstUserId || dec.wireType[id] != nil {
61 wire := new(wireType)
67 dec.wireType[id] = wire
debug.go 114 wireType map[typeId]*wireType
180 wireType: make(map[typeId]*wireType),
356 // Encoding is of a wireType. Decode the structure as usual
358 wire := new(wireType)
359 // A wireType defines a single field.
433 deb.delta(0) // end wireType
435 deb.wireType[id] = wire
441 wire, ok := deb.wireType[id
    [all...]
doc.go 176 pair (-type id, encoded-type) where encoded-type is the gob encoding of a wireType
179 type wireType struct {
227 WireType 16
243 (byteCount (-type id, encoding of a wireType)* (type id, encoding of a value))*
323 // Now we send a type descriptor, which is itself a struct (wireType).
324 // The type of wireType itself is known (it's built in, as is the type of
325 // all its components), so we just need to send a *value* of type wireType
330 03 // Add 3 to field number; now 2 (wireType.structType; this is a struct).
336 50 6f 69 6e 74 // wireType.structType.CommonType.name = "Point"
338 ff 82 // wireType.structType.CommonType._id = 6
    [all...]
type.go 269 var tWireType = mustGetTypeInfo(reflect.TypeOf(wireType{})).id
270 var wireTypeUserInfo *userTypeInfo // userTypeInfo of (*wireType)
294 wireTypeUserInfo = userType(reflect.TypeOf((*wireType)(nil)))
641 // (-id, wireType).
643 // to decode a wireType; it is exactly the wireType struct here, interpreted
645 // ids for wireType and structType etc. are known. The relevant pieces
649 type wireType struct {
659 func (w *wireType) string() string {
687 wire *wireType
    [all...]
decode.go 805 elemId := dec.wireType[wireId].ArrayT.Elem
814 keyId := dec.wireType[wireId].MapT.Key
815 elemId := dec.wireType[wireId].MapT.Elem
833 elemId = dec.wireType[wireId].SliceT.Elem
884 wire := dec.wireType[wireId]
896 keyId := dec.wireType[wireId].MapT.Key
897 elemId := dec.wireType[wireId].MapT.Elem
966 wire, ok := dec.wireType[fw]
971 // choose the decoding method using the data in the wireType.
1036 return dec.wireType[remoteId].string(
    [all...]
  /prebuilts/go/linux-x86/src/encoding/gob/
decoder.go 26 wireType map[typeId]*wireType // map from remote ID to local description
44 dec.wireType = make(map[typeId]*wireType)
55 if id < firstUserId || dec.wireType[id] != nil {
61 wire := new(wireType)
67 dec.wireType[id] = wire
debug.go 114 wireType map[typeId]*wireType
180 wireType: make(map[typeId]*wireType),
356 // Encoding is of a wireType. Decode the structure as usual
358 wire := new(wireType)
359 // A wireType defines a single field.
433 deb.delta(0) // end wireType
435 deb.wireType[id] = wire
441 wire, ok := deb.wireType[id
    [all...]
doc.go 176 pair (-type id, encoded-type) where encoded-type is the gob encoding of a wireType
179 type wireType struct {
227 WireType 16
243 (byteCount (-type id, encoding of a wireType)* (type id, encoding of a value))*
323 // Now we send a type descriptor, which is itself a struct (wireType).
324 // The type of wireType itself is known (it's built in, as is the type of
325 // all its components), so we just need to send a *value* of type wireType
330 03 // Add 3 to field number; now 2 (wireType.structType; this is a struct).
336 50 6f 69 6e 74 // wireType.structType.CommonType.name = "Point"
338 ff 82 // wireType.structType.CommonType._id = 6
    [all...]
type.go 269 var tWireType = mustGetTypeInfo(reflect.TypeOf(wireType{})).id
270 var wireTypeUserInfo *userTypeInfo // userTypeInfo of (*wireType)
294 wireTypeUserInfo = userType(reflect.TypeOf((*wireType)(nil)))
641 // (-id, wireType).
643 // to decode a wireType; it is exactly the wireType struct here, interpreted
645 // ids for wireType and structType etc. are known. The relevant pieces
649 type wireType struct {
659 func (w *wireType) string() string {
687 wire *wireType
    [all...]
  /prebuilts/misc/darwin-x86_64/protobuf2.5/include/google/protobuf/
wire_format.h 78 // Given a field return its WireType
79 static inline WireFormatLite::WireType WireTypeForField(
82 // Given a FieldSescriptor::Type return its WireType
83 static inline WireFormatLite::WireType WireTypeForFieldType(
130 // Skips a field value of the given WireType. The input should start
263 inline WireFormatLite::WireType WireFormat::WireTypeForField(
272 inline WireFormatLite::WireType WireFormat::WireTypeForFieldType(
wire_format_lite.h 86 enum WireType {
136 // Given a FieldSescriptor::Type return its WireType
137 static inline WireFormatLite::WireType WireTypeForFieldType(
152 static uint32 MakeTag(int field_number, WireType type);
153 static WireType GetTagWireType(uint32 tag);
307 static inline void WriteTag(field_number, WireType type, output) INL;
369 static inline uint8* WriteTagToArray(field_number, WireType type, output) INL;
494 static const WireFormatLite::WireType kWireTypeForFieldType[];
528 inline uint32 WireFormatLite::MakeTag(int field_number, WireType type) {
532 inline WireFormatLite::WireType WireFormatLite::GetTagWireType(uint32 tag)
    [all...]
  /prebuilts/misc/linux-x86_64/protobuf2.5/include/google/protobuf/
wire_format.h 78 // Given a field return its WireType
79 static inline WireFormatLite::WireType WireTypeForField(
82 // Given a FieldSescriptor::Type return its WireType
83 static inline WireFormatLite::WireType WireTypeForFieldType(
130 // Skips a field value of the given WireType. The input should start
263 inline WireFormatLite::WireType WireFormat::WireTypeForField(
272 inline WireFormatLite::WireType WireFormat::WireTypeForFieldType(
wire_format_lite.h 86 enum WireType {
136 // Given a FieldSescriptor::Type return its WireType
137 static inline WireFormatLite::WireType WireTypeForFieldType(
152 static uint32 MakeTag(int field_number, WireType type);
153 static WireType GetTagWireType(uint32 tag);
307 static inline void WriteTag(field_number, WireType type, output) INL;
369 static inline uint8* WriteTagToArray(field_number, WireType type, output) INL;
494 static const WireFormatLite::WireType kWireTypeForFieldType[];
528 inline uint32 WireFormatLite::MakeTag(int field_number, WireType type) {
532 inline WireFormatLite::WireType WireFormatLite::GetTagWireType(uint32 tag)
    [all...]
  /prebuilts/misc/windows/protobuf2.5/include/google/protobuf/
wire_format.h 78 // Given a field return its WireType
79 static inline WireFormatLite::WireType WireTypeForField(
82 // Given a FieldSescriptor::Type return its WireType
83 static inline WireFormatLite::WireType WireTypeForFieldType(
130 // Skips a field value of the given WireType. The input should start
263 inline WireFormatLite::WireType WireFormat::WireTypeForField(
272 inline WireFormatLite::WireType WireFormat::WireTypeForFieldType(
wire_format_lite.h 86 enum WireType {
136 // Given a FieldSescriptor::Type return its WireType
137 static inline WireFormatLite::WireType WireTypeForFieldType(
152 static uint32 MakeTag(int field_number, WireType type);
153 static WireType GetTagWireType(uint32 tag);
307 static inline void WriteTag(field_number, WireType type, output) INL;
369 static inline uint8* WriteTagToArray(field_number, WireType type, output) INL;
494 static const WireFormatLite::WireType kWireTypeForFieldType[];
528 inline uint32 WireFormatLite::MakeTag(int field_number, WireType type) {
532 inline WireFormatLite::WireType WireFormatLite::GetTagWireType(uint32 tag)
    [all...]
  /prebuilts/tools/linux-x86_64/protoc/include/google/protobuf/
wire_format.h 78 // Given a field return its WireType
79 static inline WireFormatLite::WireType WireTypeForField(
82 // Given a FieldSescriptor::Type return its WireType
83 static inline WireFormatLite::WireType WireTypeForFieldType(
130 // Skips a field value of the given WireType. The input should start
263 inline WireFormatLite::WireType WireFormat::WireTypeForField(
272 inline WireFormatLite::WireType WireFormat::WireTypeForFieldType(
wire_format_lite.h 86 enum WireType {
136 // Given a FieldSescriptor::Type return its WireType
137 static inline WireFormatLite::WireType WireTypeForFieldType(
152 static uint32 MakeTag(int field_number, WireType type);
153 static WireType GetTagWireType(uint32 tag);
307 static inline void WriteTag(field_number, WireType type, output) INL;
369 static inline uint8* WriteTagToArray(field_number, WireType type, output) INL;
494 static const WireFormatLite::WireType kWireTypeForFieldType[];
528 inline uint32 WireFormatLite::MakeTag(int field_number, WireType type) {
532 inline WireFormatLite::WireType WireFormatLite::GetTagWireType(uint32 tag)
    [all...]
  /external/nanopb-c/
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/protobuf/java/src/main/java/com/google/protobuf/micro/
WireFormatMicro.java 69 static int makeTag(final int fieldNumber, final int wireType) {
70 return (fieldNumber << TAG_TYPE_BITS) | wireType;
  /external/protobuf/src/google/protobuf/
wire_format_lite.h 86 enum WireType {
136 // Given a FieldSescriptor::Type return its WireType
137 static inline WireFormatLite::WireType WireTypeForFieldType(
152 static uint32 MakeTag(int field_number, WireType type);
153 static WireType GetTagWireType(uint32 tag);
318 static inline void WriteTag(field_number, WireType type, output) INL;
384 static inline uint8* WriteTagToArray(field_number, WireType type, output) INL;
515 static const WireFormatLite::WireType kWireTypeForFieldType[];
567 inline uint32 WireFormatLite::MakeTag(int field_number, WireType type) {
571 inline WireFormatLite::WireType WireFormatLite::GetTagWireType(uint32 tag)
    [all...]
wire_format.h 78 // Given a field return its WireType
79 static inline WireFormatLite::WireType WireTypeForField(
82 // Given a FieldDescriptor::Type return its WireType
83 static inline WireFormatLite::WireType WireTypeForFieldType(
130 // Skips a field value of the given WireType. The input should start
283 inline WireFormatLite::WireType WireFormat::WireTypeForField(
292 inline WireFormatLite::WireType WireFormat::WireTypeForFieldType(
  /prebuilts/tools/darwin-x86_64/protoc/include/google/protobuf/
wire_format_lite.h 86 enum WireType {
136 // Given a FieldSescriptor::Type return its WireType
137 static inline WireFormatLite::WireType WireTypeForFieldType(
152 static uint32 MakeTag(int field_number, WireType type);
153 static WireType GetTagWireType(uint32 tag);
355 INL static void WriteTag(field_number, WireType type, output);
421 INL static uint8* WriteTagToArray(field_number, WireType type, output);
537 static const WireFormatLite::WireType kWireTypeForFieldType[];
589 inline uint32 WireFormatLite::MakeTag(int field_number, WireType type) {
593 inline WireFormatLite::WireType WireFormatLite::GetTagWireType(uint32 tag)
    [all...]
wire_format.h 78 // Given a field return its WireType
79 static inline WireFormatLite::WireType WireTypeForField(
82 // Given a FieldDescriptor::Type return its WireType
83 static inline WireFormatLite::WireType WireTypeForFieldType(
130 // Skips a field value of the given WireType. The input should start
282 inline WireFormatLite::WireType WireFormat::WireTypeForField(
291 inline WireFormatLite::WireType WireFormat::WireTypeForFieldType(
  /external/protobuf/java/src/main/java/com/google/protobuf/nano/
WireFormatNano.java 71 static int makeTag(final int fieldNumber, final int wireType) {
72 return (fieldNumber << TAG_TYPE_BITS) | wireType;

Completed in 896 milliseconds

1 2 3 4