/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/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 …]
|
D | python_message.py | 1003 def _BytesForNonRepeatedElement(value, field_number, field_type): argument 1018 return fn(field_number, value)
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/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 | 426 int32 field_number; in ConsumeField() local 427 if (allow_field_number_ && safe_strto32(field_name, &field_number)) { in ConsumeField() 428 if (descriptor->IsExtensionNumber(field_number)) { in ConsumeField() 429 field = reflection->FindKnownExtensionByNumber(field_number); in ConsumeField() 431 field = descriptor->FindFieldByNumber(field_number); in ConsumeField() 1919 string field_number = SimpleItoa(field.number()); in PrintUnknownFields() local 1923 generator.Print(field_number); in PrintUnknownFields() 1933 generator.Print(field_number); in PrintUnknownFields() 1945 generator.Print(field_number); in PrintUnknownFields() 1957 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() 604 int wire_type, int field_number, io::CodedInputStream* input, in ParseFieldMaybeLazily() argument 608 field_number, static_cast<WireFormatLite::WireType>(wire_type)), in ParseFieldMaybeLazily()
|
D | extension_set.h | 572 int* field_number, ExtensionInfo* extension, 579 bool FindExtensionInfoFromFieldNumber(int wire_type, int field_number, 588 bool ParseFieldWithExtensionInfo(int field_number, 596 bool ParseFieldMaybeLazily(int wire_type, int field_number,
|
D | extension_set.cc | 1115 uint32 tag, ExtensionFinder* extension_finder, int* field_number, in FindExtensionInfoFromTag() argument 1117 *field_number = WireFormatLite::GetTagFieldNumber(tag); in FindExtensionInfoFromTag() 1119 return FindExtensionInfoFromFieldNumber(wire_type, *field_number, in FindExtensionInfoFromTag() 1125 int wire_type, int field_number, ExtensionFinder* extension_finder, in FindExtensionInfoFromFieldNumber() argument 1127 if (!extension_finder->Find(field_number, extension)) { in FindExtensionInfoFromFieldNumber()
|
D | generated_message_reflection.cc | 1773 uint32 field_number = GetOneofCase(message, oneof_descriptor); in GetOneofFieldDescriptor() local 1774 if (field_number == 0) { in GetOneofFieldDescriptor() 1777 return descriptor_->FindFieldByNumber(field_number); in GetOneofFieldDescriptor()
|
D | descriptor_unittest.cc | 5921 int field_number, in FindFileContainingExtension() argument 5957 int field_number, in FindFileContainingExtension() argument 5961 containing_type, field_number, output); in FindFileContainingExtension() 5986 int field_number, in FindFileContainingExtension() argument 6284 int field_number, in FindFileContainingExtension() argument
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/internal/ |
D | proto_writer.cc | 115 inline Status WriteInt32(int field_number, const DataPiece& data, in WriteInt32() argument 119 WireFormatLite::WriteInt32(field_number, i32.ValueOrDie(), stream); in WriteInt32() 125 inline Status WriteSFixed32(int field_number, const DataPiece& data, in WriteSFixed32() argument 129 WireFormatLite::WriteSFixed32(field_number, i32.ValueOrDie(), stream); in WriteSFixed32() 135 inline Status WriteSInt32(int field_number, const DataPiece& data, in WriteSInt32() argument 139 WireFormatLite::WriteSInt32(field_number, i32.ValueOrDie(), stream); in WriteSInt32() 145 inline Status WriteFixed32(int field_number, const DataPiece& data, in WriteFixed32() argument 149 WireFormatLite::WriteFixed32(field_number, u32.ValueOrDie(), stream); in WriteFixed32() 155 inline Status WriteUInt32(int field_number, const DataPiece& data, in WriteUInt32() argument 159 WireFormatLite::WriteUInt32(field_number, u32.ValueOrDie(), stream); in WriteUInt32() [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/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,
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/ |
D | importer.h | 103 int field_number,
|
D | importer.cc | 161 const string& containing_type, int field_number, in FindFileContainingExtension() argument
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/ |
D | GPBCodedOutputStream_PackagePrivate.h | 75 size_t GPBComputeWireFormatTagSize(int field_number, GPBDataType dataType)
|
D | GPBCodedOutputStream.m | 1194 size_t GPBComputeWireFormatTagSize(int field_number, GPBDataType dataType) { 1195 size_t result = GPBComputeTagSize(field_number);
|