/external/nanopb-c/generator/google/protobuf/internal/ |
D | wire_format.py | 80 def PackTag(field_number, wire_type): argument 90 return (field_number << TAG_TYPE_BITS) | wire_type 122 def Int32ByteSize(field_number, int32): argument 123 return Int64ByteSize(field_number, int32) 130 def Int64ByteSize(field_number, int64): argument 132 return UInt64ByteSize(field_number, 0xffffffffffffffff & int64) 135 def UInt32ByteSize(field_number, uint32): argument 136 return UInt64ByteSize(field_number, uint32) 139 def UInt64ByteSize(field_number, uint64): argument 140 return TagByteSize(field_number) + _VarUInt64ByteSizeNoTag(uint64) [all …]
|
D | encoder.py | 108 def _TagSize(field_number): argument 112 return _VarintSize(wire_format.PackTag(field_number, 0)) 127 def SpecificSizer(field_number, is_repeated, is_packed): argument 128 tag_size = _TagSize(field_number) 156 def SpecificSizer(field_number, is_repeated, is_packed): argument 157 tag_size = _TagSize(field_number) 185 def SpecificSizer(field_number, is_repeated, is_packed): argument 186 tag_size = _TagSize(field_number) 227 def StringSizer(field_number, is_repeated, is_packed): argument 230 tag_size = _TagSize(field_number) [all …]
|
D | decoder.py | 190 def SpecificDecoder(field_number, is_repeated, is_packed, key, new_default): argument 210 tag_bytes = encoder.TagBytes(field_number, wire_type) 377 def StringDecoder(field_number, is_repeated, is_packed, key, new_default): argument 385 tag_bytes = encoder.TagBytes(field_number, 415 def BytesDecoder(field_number, is_repeated, is_packed, key, new_default): argument 422 tag_bytes = encoder.TagBytes(field_number, 452 def GroupDecoder(field_number, is_repeated, is_packed, key, new_default): argument 455 end_tag_bytes = encoder.TagBytes(field_number, 461 tag_bytes = encoder.TagBytes(field_number, 499 def MessageDecoder(field_number, is_repeated, is_packed, key, new_default): argument [all …]
|
/external/protobuf/python/google/protobuf/internal/ |
D | wire_format.py | 80 def PackTag(field_number, wire_type): argument 90 return (field_number << TAG_TYPE_BITS) | wire_type 122 def Int32ByteSize(field_number, int32): argument 123 return Int64ByteSize(field_number, int32) 130 def Int64ByteSize(field_number, int64): argument 132 return UInt64ByteSize(field_number, 0xffffffffffffffff & int64) 135 def UInt32ByteSize(field_number, uint32): argument 136 return UInt64ByteSize(field_number, uint32) 139 def UInt64ByteSize(field_number, uint64): argument 140 return TagByteSize(field_number) + _VarUInt64ByteSizeNoTag(uint64) [all …]
|
D | encoder.py | 111 def _TagSize(field_number): argument 115 return _VarintSize(wire_format.PackTag(field_number, 0)) 130 def SpecificSizer(field_number, is_repeated, is_packed): argument 131 tag_size = _TagSize(field_number) 159 def SpecificSizer(field_number, is_repeated, is_packed): argument 160 tag_size = _TagSize(field_number) 188 def SpecificSizer(field_number, is_repeated, is_packed): argument 189 tag_size = _TagSize(field_number) 230 def StringSizer(field_number, is_repeated, is_packed): argument 233 tag_size = _TagSize(field_number) [all …]
|
D | wire_format_test.py | 49 field_number = 0xabc 51 self.assertEqual((field_number << 3) | tag_type, 52 wire_format.PackTag(field_number, tag_type)) 55 self.assertRaises(message.EncodeError, PackTag, field_number, 6) 57 self.assertRaises(message.EncodeError, PackTag, field_number, -1) 63 field_number, wire_type = wire_format.UnpackTag( 65 self.assertEqual(expected_field_number, field_number) 109 for field_number, tag_bytes in ((15, 1), (16, 2), (2047, 2), (2048, 3)): 111 actual_size = byte_size_fn(field_number, value) 115 byte_size_fn, field_number, value, expected_size, actual_size))
|
D | decoder.py | 199 def SpecificDecoder(field_number, is_repeated, is_packed, key, new_default): argument 219 tag_bytes = encoder.TagBytes(field_number, wire_type) 353 def EnumDecoder(field_number, is_repeated, is_packed, key, new_default): argument 373 tag_bytes = encoder.TagBytes(field_number, 386 tag_bytes = encoder.TagBytes(field_number, wire_format.WIRETYPE_VARINT) 421 tag_bytes = encoder.TagBytes(field_number, 461 def StringDecoder(field_number, is_repeated, is_packed, key, new_default): argument 477 tag_bytes = encoder.TagBytes(field_number, 507 def BytesDecoder(field_number, is_repeated, is_packed, key, new_default): argument 514 tag_bytes = encoder.TagBytes(field_number, [all …]
|
/external/protobuf/src/google/protobuf/ |
D | wire_format_lite.h | 152 static uint32 MakeTag(int field_number, WireType type); 158 static inline int TagSize(int field_number, WireFormatLite::FieldType type); 244 #define field_number int field_number_arg macro 302 field_number, 329 static inline bool ReadGroup (field_number, input, MessageLite* value); 336 static inline bool ReadGroupNoVirtual(field_number, input, 345 static inline bool ReadGroupNoVirtualNoRecursionDepth(field_number, input, 355 INL static void WriteTag(field_number, WireType type, output); 374 static void WriteInt32 (field_number, int32 value, output); 375 static void WriteInt64 (field_number, int64 value, output); [all …]
|
D | wire_format_lite.cc | 287 int field_number, int value) { in SkipUnknownEnum() argument 288 unknown_fields_->WriteVarint32(field_number); in SkipUnknownEnum() 314 int field_number, in ReadPackedEnumPreserveUnknowns() argument 330 uint32 tag = WireFormatLite::MakeTag(field_number, in ReadPackedEnumPreserveUnknowns() 340 void WireFormatLite::WriteInt32(int field_number, int32 value, in WriteInt32() argument 342 WriteTag(field_number, WIRETYPE_VARINT, output); in WriteInt32() 345 void WireFormatLite::WriteInt64(int field_number, int64 value, in WriteInt64() argument 347 WriteTag(field_number, WIRETYPE_VARINT, output); in WriteInt64() 350 void WireFormatLite::WriteUInt32(int field_number, uint32 value, in WriteUInt32() argument 352 WriteTag(field_number, WIRETYPE_VARINT, output); in WriteUInt32() [all …]
|
D | wire_format_lite_inl.h | 432 inline bool WireFormatLite::ReadGroup(int field_number, in ReadGroup() argument 439 if (!input->LastTagWas(MakeTag(field_number, WIRETYPE_END_GROUP))) { in ReadGroup() 468 int field_number, io::CodedInputStream* input, in ReadGroupNoVirtual() argument 476 if (!input->LastTagWas(MakeTag(field_number, WIRETYPE_END_GROUP))) { in ReadGroupNoVirtual() 483 int field_number, io::CodedInputStream* input, in ReadGroupNoVirtualNoRecursionDepth() argument 487 input->LastTagWas(MakeTag(field_number, WIRETYPE_END_GROUP)); in ReadGroupNoVirtualNoRecursionDepth() 517 inline void WireFormatLite::WriteTag(int field_number, WireType type, in WriteTag() argument 519 output->WriteTag(MakeTag(field_number, type)); in WriteTag() 583 int field_number, const MessageType_WorkAroundCppLookupDefect& value, in WriteGroupNoVirtual() argument 585 WriteTag(field_number, WIRETYPE_START_GROUP, output); in WriteGroupNoVirtual() [all …]
|
D | wire_format.h | 88 static inline int TagSize(int field_number, FieldDescriptor::Type type); 144 uint32 field_number, 252 uint32 field_number, 256 static bool ParseAndMergeMessageSetField(uint32 field_number, 274 virtual void SkipUnknownEnum(int field_number, int value); 304 inline int WireFormat::TagSize(int field_number, FieldDescriptor::Type type) { in TagSize() argument 307 return WireFormatLite::TagSize(field_number, in TagSize()
|
D | descriptor_database.h | 86 int field_number, 150 int field_number, 176 Value FindExtension(const string& containing_type, int field_number); 295 int field_number, 324 int field_number, 353 int field_number,
|
D | descriptor_database.cc | 191 int field_number) { in FindExtension() argument 193 by_extension_, std::make_pair(containing_type, field_number), Value()); in FindExtension() 280 int field_number, in FindFileContainingExtension() argument 282 return MaybeCopy(index_.FindExtension(containing_type, field_number), output); in FindFileContainingExtension() 371 int field_number, in FindFileContainingExtension() argument 373 return MaybeParse(index_.FindExtension(containing_type, field_number), in FindFileContainingExtension() 418 int field_number, in FindFileContainingExtension() argument 424 pool_.FindExtensionByNumber(extendee, field_number); in FindFileContainingExtension() 496 int field_number, in FindFileContainingExtension() argument 500 containing_type, field_number, output)) { in FindFileContainingExtension()
|
D | wire_format.cc | 70 int field_number, int value) { in SkipUnknownEnum() argument 71 unknown_fields_->AddVarint(field_number, value); in SkipUnknownEnum() 155 uint32 field_number, in ReadPackedEnumPreserveUnknowns() argument 171 unknown_fields->AddVarint(field_number, value); in ReadPackedEnumPreserveUnknowns() 402 int field_number = WireFormatLite::GetTagFieldNumber(tag); in ParseAndMergePartial() local 403 field = descriptor->FindFieldByNumber(field_number); in ParseAndMergePartial() 406 if (field == NULL && descriptor->IsExtensionNumber(field_number)) { in ParseAndMergePartial() 408 field = message_reflection->FindKnownExtensionByNumber(field_number); in ParseAndMergePartial() 411 ->FindExtensionByNumber(descriptor, field_number); in ParseAndMergePartial() 434 uint32 field_number, in SkipMessageSetField() argument [all …]
|
D | text_format.cc | 424 int32 field_number; in ConsumeField() local 425 if (allow_field_number_ && safe_strto32(field_name, &field_number)) { in ConsumeField() 426 if (descriptor->IsExtensionNumber(field_number)) { in ConsumeField() 427 field = reflection->FindKnownExtensionByNumber(field_number); in ConsumeField() 429 field = descriptor->FindFieldByNumber(field_number); in ConsumeField() 1887 string field_number = SimpleItoa(field.number()); in PrintUnknownFields() local 1891 generator.Print(field_number); in PrintUnknownFields() 1901 generator.Print(field_number); in PrintUnknownFields() 1913 generator.Print(field_number); in PrintUnknownFields() 1925 generator.Print(field_number); in PrintUnknownFields() [all …]
|
D | extension_set_heavy.cc | 60 int field_number); 63 io::CodedInputStream* input, int field_number) { in SkipMessageSetField() argument 70 unknown_fields_->AddLengthDelimited(field_number), length); in SkipMessageSetField() 557 int wire_type, int field_number, io::CodedInputStream* input, in ParseFieldMaybeLazily() argument 561 field_number, static_cast<WireFormatLite::WireType>(wire_type)), in ParseFieldMaybeLazily()
|
D | extension_set.h | 551 int* field_number, ExtensionInfo* extension, 558 bool FindExtensionInfoFromFieldNumber(int wire_type, int field_number, 567 bool ParseFieldWithExtensionInfo(int field_number, 575 bool ParseFieldMaybeLazily(int wire_type, int field_number,
|
/external/protobuf/src/google/protobuf/util/internal/ |
D | proto_writer.cc | 113 inline Status WriteInt32(int field_number, const DataPiece& data, in WriteInt32() argument 117 WireFormatLite::WriteInt32(field_number, i32.ValueOrDie(), stream); in WriteInt32() 123 inline Status WriteSFixed32(int field_number, const DataPiece& data, in WriteSFixed32() argument 127 WireFormatLite::WriteSFixed32(field_number, i32.ValueOrDie(), stream); in WriteSFixed32() 133 inline Status WriteSInt32(int field_number, const DataPiece& data, in WriteSInt32() argument 137 WireFormatLite::WriteSInt32(field_number, i32.ValueOrDie(), stream); in WriteSInt32() 143 inline Status WriteFixed32(int field_number, const DataPiece& data, in WriteFixed32() argument 147 WireFormatLite::WriteFixed32(field_number, u32.ValueOrDie(), stream); in WriteFixed32() 153 inline Status WriteUInt32(int field_number, const DataPiece& data, in WriteUInt32() argument 157 WireFormatLite::WriteUInt32(field_number, u32.ValueOrDie(), stream); in WriteUInt32() [all …]
|
/external/protobuf/python/google/protobuf/pyext/ |
D | descriptor_database.cc | 131 const string& containing_type, int field_number, in FindFileContainingExtension() argument 142 containing_type.size(), field_number)); in FindFileContainingExtension()
|
D | descriptor_database.h | 63 int field_number,
|
/external/nanopb-c/ |
D | pb_encode.h | 122 bool pb_encode_tag(pb_ostream_t *stream, pb_wire_type_t wiretype, uint32_t field_number);
|
D | pb_encode.c | 459 bool checkreturn pb_encode_tag(pb_ostream_t *stream, pb_wire_type_t wiretype, uint32_t field_number) in pb_encode_tag() argument 461 uint64_t tag = ((uint64_t)field_number << 3) | wiretype; in pb_encode_tag()
|
/external/protobuf/src/google/protobuf/compiler/ |
D | importer.h | 103 int field_number,
|
/external/protobuf/objectivec/ |
D | GPBCodedOutputStream_PackagePrivate.h | 75 size_t GPBComputeWireFormatTagSize(int field_number, GPBDataType dataType)
|
/external/ImageMagick/coders/ |
D | dpx.c | 282 field_number, member 1026 dpx.television.field_number=(unsigned char) ReadBlobByte(image); in ReadDPXImage() 1028 if (dpx.television.field_number != 0) in ReadDPXImage() 1030 (double) dpx.television.field_number); in ReadDPXImage() 1871 dpx.television.field_number=(unsigned char) StringToLong(value); in WriteDPXImage() 1872 offset+=WriteBlobByte(image,dpx.television.field_number); in WriteDPXImage()
|