/external/nanopb-c/ |
D | pb_decode.c | 38 static bool checkreturn read_raw_value(pb_istream_t *stream, pb_wire_type_t wire_type, uint8_t *buf… 42 static bool checkreturn decode_static_field(pb_istream_t *stream, pb_wire_type_t wire_type, pb_fiel… 43 static bool checkreturn decode_callback_field(pb_istream_t *stream, pb_wire_type_t wire_type, pb_fi… 44 static bool checkreturn decode_field(pb_istream_t *stream, pb_wire_type_t wire_type, pb_field_itera… 45 …n_decoder(pb_istream_t *stream, pb_extension_t *extension, uint32_t tag, pb_wire_type_t wire_type); 46 …urn decode_extension(pb_istream_t *stream, uint32_t tag, pb_wire_type_t wire_type, pb_field_iterat… 246 bool checkreturn pb_decode_tag(pb_istream_t *stream, pb_wire_type_t *wire_type, uint32_t *tag, bool… in pb_decode_tag() argument 250 *wire_type = (pb_wire_type_t) 0; in pb_decode_tag() 268 *wire_type = (pb_wire_type_t)(temp & 7); in pb_decode_tag() 272 bool checkreturn pb_skip_field(pb_istream_t *stream, pb_wire_type_t wire_type) in pb_skip_field() argument [all …]
|
D | pb_decode.h | 120 bool pb_decode_tag(pb_istream_t *stream, pb_wire_type_t *wire_type, uint32_t *tag, bool *eof); 123 bool pb_skip_field(pb_istream_t *stream, pb_wire_type_t wire_type);
|
D | pb.h | 317 uint32_t tag, pb_wire_type_t wire_type);
|
/external/nanopb-c/examples/using_union_messages/ |
D | decode.c | 19 pb_wire_type_t wire_type; in decode_unionmessage_type() local 23 while (pb_decode_tag(stream, &wire_type, &tag, &eof)) in decode_unionmessage_type() 25 if (wire_type == PB_WT_STRING) in decode_unionmessage_type() 39 pb_skip_field(stream, wire_type); in decode_unionmessage_type()
|
/external/protobuf/python/google/protobuf/internal/ |
D | encoder.py | 397 def TagBytes(field_number, wire_type): argument 400 return _VarintBytes(wire_format.PackTag(field_number, wire_type)) 407 def _SimpleEncoder(wire_type, encode_value, compute_value_size): argument 432 tag_bytes = TagBytes(field_number, wire_type) 439 tag_bytes = TagBytes(field_number, wire_type) 448 def _ModifiedEncoder(wire_type, encode_value, compute_value_size, modify_value): argument 466 tag_bytes = TagBytes(field_number, wire_type) 473 tag_bytes = TagBytes(field_number, wire_type) 482 def _StructPackEncoder(wire_type, format): argument 504 tag_bytes = TagBytes(field_number, wire_type) [all …]
|
D | wire_format.py | 80 def PackTag(field_number, wire_type): argument 88 if not 0 <= wire_type <= _WIRETYPE_MAX: 89 raise message.EncodeError('Unknown wire type: %d' % wire_type) 90 return (field_number << TAG_TYPE_BITS) | wire_type
|
D | decoder.py | 198 def _SimpleDecoder(wire_type, decode_value): argument 227 tag_bytes = encoder.TagBytes(field_number, wire_type) 257 def _ModifiedDecoder(wire_type, decode_value, modify_value): argument 268 return _SimpleDecoder(wire_type, InnerDecode) 271 def _StructPackDecoder(wire_type, format): argument 293 return _SimpleDecoder(wire_type, InnerDecode) 826 wire_type = ord(tag_bytes[0:1]) & wiretype_mask 827 return WIRETYPE_TO_SKIPPER[wire_type](buffer, pos, end)
|
D | unknown_fields_test.py | 60 wire_type = type_checkers.FIELD_TYPE_TO_WIRE_TYPE[field_descriptor.type] 61 field_tag = encoder.TagBytes(field_descriptor.number, wire_type) 201 wire_type = type_checkers.FIELD_TYPE_TO_WIRE_TYPE[field_descriptor.type] 202 field_tag = encoder.TagBytes(field_descriptor.number, wire_type)
|
D | wire_format_test.py | 59 field_number, wire_type = wire_format.UnpackTag( 62 self.assertEqual(expected_wire_type, wire_type)
|
/external/nanopb-c/generator/google/protobuf/internal/ |
D | encoder.py | 388 def TagBytes(field_number, wire_type): argument 391 return _VarintBytes(wire_format.PackTag(field_number, wire_type)) 398 def _SimpleEncoder(wire_type, encode_value, compute_value_size): argument 423 tag_bytes = TagBytes(field_number, wire_type) 430 tag_bytes = TagBytes(field_number, wire_type) 439 def _ModifiedEncoder(wire_type, encode_value, compute_value_size, modify_value): argument 457 tag_bytes = TagBytes(field_number, wire_type) 464 tag_bytes = TagBytes(field_number, wire_type) 473 def _StructPackEncoder(wire_type, format): argument 495 tag_bytes = TagBytes(field_number, wire_type) [all …]
|
D | wire_format.py | 80 def PackTag(field_number, wire_type): argument 88 if not 0 <= wire_type <= _WIRETYPE_MAX: 89 raise message.EncodeError('Unknown wire type: %d' % wire_type) 90 return (field_number << TAG_TYPE_BITS) | wire_type
|
D | decoder.py | 181 def _SimpleDecoder(wire_type, decode_value): argument 210 tag_bytes = encoder.TagBytes(field_number, wire_type) 240 def _ModifiedDecoder(wire_type, decode_value, modify_value): argument 251 return _SimpleDecoder(wire_type, InnerDecode) 254 def _StructPackDecoder(wire_type, format): argument 276 return _SimpleDecoder(wire_type, InnerDecode) 715 wire_type = local_ord(tag_bytes[0]) & wiretype_mask 716 return WIRETYPE_TO_SKIPPER[wire_type](buffer, pos, end)
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/ |
D | protobuf.py | 300 wire_type = encoded_tag & _WIRE_TYPE_MASK 302 found_wire_type_decoder = _WIRE_TYPE_TO_DECODER_MAP[wire_type] 304 raise messages.DecodeError('No such wire type %d' % wire_type) 317 if expected_wire_type != wire_type: 320 _WIRE_TYPE_NAME[wire_type])) 331 variant = _WIRE_TYPE_TO_VARIANT_MAP.get(wire_type)
|
/external/protobuf/src/google/protobuf/ |
D | wire_format_lite.cc | 221 WireFormatLite::WireType wire_type = WireFormatLite::GetTagWireType(tag); in SkipMessage() local 223 if (wire_type == WireFormatLite::WIRETYPE_END_GROUP) { in SkipMessage() 241 WireFormatLite::WireType wire_type = WireFormatLite::GetTagWireType(tag); in SkipMessage() local 243 if (wire_type == WireFormatLite::WIRETYPE_END_GROUP) { in SkipMessage()
|
D | extension_set.cc | 972 WireFormatLite::WireType wire_type = WireFormatLite::GetTagWireType(tag); in FindExtensionInfoFromTag() local 973 return FindExtensionInfoFromFieldNumber(wire_type, *field_number, in FindExtensionInfoFromTag() 979 int wire_type, int field_number, ExtensionFinder* extension_finder, in FindExtensionInfoFromFieldNumber() argument 991 wire_type == WireFormatLite::WIRETYPE_LENGTH_DELIMITED && in FindExtensionInfoFromFieldNumber() 997 return expected_wire_type == wire_type; in FindExtensionInfoFromFieldNumber()
|
D | extension_set_heavy.cc | 537 int wire_type, int field_number, io::CodedInputStream* input, in ParseFieldMaybeLazily() argument 541 field_number, static_cast<WireFormatLite::WireType>(wire_type)), in ParseFieldMaybeLazily()
|
D | wire_format.cc | 151 WireFormatLite::WireType wire_type = WireFormatLite::GetTagWireType(tag); in SkipMessage() local 153 if (wire_type == WireFormatLite::WIRETYPE_END_GROUP) { in SkipMessage()
|
D | extension_set.h | 539 bool FindExtensionInfoFromFieldNumber(int wire_type, int field_number, 556 bool ParseFieldMaybeLazily(int wire_type, int field_number,
|
/external/nanopb-c/docs/ |
D | reference.rst | 315 uint32_t tag, pb_wire_type_t wire_type); 657 bool pb_decode_tag(pb_istream_t *stream, pb_wire_type_t *wire_type, int *tag, bool *eof); 660 :wire_type: Pointer to variable where to store the wire type of the field. 672 bool pb_skip_field(pb_istream_t *stream, pb_wire_type_t wire_type); 675 :wire_type: Type of field to skip.
|