/external/nanopb-c/generator/google/protobuf/internal/ |
wire_format.py | 80 def PackTag(field_number, wire_type): 85 field_number: Expected to be an integer in the range [1, 1 << 29) 90 return (field_number << TAG_TYPE_BITS) | wire_type 95 returns a (field_number, wire_type) tuple. 122 def Int32ByteSize(field_number, int32): 123 return Int64ByteSize(field_number, int32) 130 def Int64ByteSize(field_number, int64): 132 return UInt64ByteSize(field_number, 0xffffffffffffffff & int64) 135 def UInt32ByteSize(field_number, uint32): 136 return UInt64ByteSize(field_number, uint32 [all...] |
encoder.py | 108 def _TagSize(field_number): 112 return _VarintSize(wire_format.PackTag(field_number, 0)) 127 def SpecificSizer(field_number, is_repeated, is_packed): 128 tag_size = _TagSize(field_number) 156 def SpecificSizer(field_number, is_repeated, is_packed): 157 tag_size = _TagSize(field_number) 185 def SpecificSizer(field_number, is_repeated, is_packed): 186 tag_size = _TagSize(field_number) 209 # constructor" is a function that takes (field_number, is_repeated, is_packed) 227 def StringSizer(field_number, is_repeated, is_packed) [all...] |
/external/protobuf/python/google/protobuf/internal/ |
wire_format.py | 80 def PackTag(field_number, wire_type): 85 field_number: Expected to be an integer in the range [1, 1 << 29) 90 return (field_number << TAG_TYPE_BITS) | wire_type 95 returns a (field_number, wire_type) tuple. 122 def Int32ByteSize(field_number, int32): 123 return Int64ByteSize(field_number, int32) 130 def Int64ByteSize(field_number, int64): 132 return UInt64ByteSize(field_number, 0xffffffffffffffff & int64) 135 def UInt32ByteSize(field_number, uint32): 136 return UInt64ByteSize(field_number, uint32 [all...] |
encoder.py | 111 def _TagSize(field_number): 115 return _VarintSize(wire_format.PackTag(field_number, 0)) 130 def SpecificSizer(field_number, is_repeated, is_packed): 131 tag_size = _TagSize(field_number) 159 def SpecificSizer(field_number, is_repeated, is_packed): 160 tag_size = _TagSize(field_number) 188 def SpecificSizer(field_number, is_repeated, is_packed): 189 tag_size = _TagSize(field_number) 212 # constructor" is a function that takes (field_number, is_repeated, is_packed) 230 def StringSizer(field_number, is_repeated, is_packed) [all...] |
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) 113 'byte_size_fn: %s, field_number: %d, value: %r\n [all...] |
/external/protobuf/src/google/protobuf/ |
wire_format_lite.h | 152 static uint32 MakeTag(int field_number, WireType type); 158 static inline int TagSize(int field_number, WireFormatLite::FieldType type); 186 #define GOOGLE_PROTOBUF_WIRE_FORMAT_MAKE_TAG(FIELD_NUMBER, TYPE) \ 188 ((FIELD_NUMBER) << ::google::protobuf::internal::WireFormatLite::kTagTypeBits) \ 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) 479 #undef field_number macro [all...] |
wire_format_lite.cc | 273 int /* field_number */, int /* value */) { 287 int field_number, int value) { 288 unknown_fields_->WriteVarint32(field_number); 314 int field_number, 330 uint32 tag = WireFormatLite::MakeTag(field_number, 340 void WireFormatLite::WriteInt32(int field_number, int32 value, 342 WriteTag(field_number, WIRETYPE_VARINT, output); 345 void WireFormatLite::WriteInt64(int field_number, int64 value, 347 WriteTag(field_number, WIRETYPE_VARINT, output); 350 void WireFormatLite::WriteUInt32(int field_number, uint32 value [all...] |
wire_format_lite_inl.h | 432 inline bool WireFormatLite::ReadGroup(int field_number, 439 if (!input->LastTagWas(MakeTag(field_number, WIRETYPE_END_GROUP))) { 468 int field_number, io::CodedInputStream* input, 476 if (!input->LastTagWas(MakeTag(field_number, WIRETYPE_END_GROUP))) { 483 int field_number, io::CodedInputStream* input, 487 input->LastTagWas(MakeTag(field_number, WIRETYPE_END_GROUP)); 517 inline void WireFormatLite::WriteTag(int field_number, WireType type, 519 output->WriteTag(MakeTag(field_number, type)); 583 int field_number, const MessageType_WorkAroundCppLookupDefect& value, 585 WriteTag(field_number, WIRETYPE_START_GROUP, output) [all...] |
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) { 307 return WireFormatLite::TagSize(field_number,
|
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,
|
/prebuilts/tools/darwin-x86_64/protoc/include/google/protobuf/ |
wire_format_lite.h | 152 static uint32 MakeTag(int field_number, WireType type); 158 static inline int TagSize(int field_number, WireFormatLite::FieldType type); 186 #define GOOGLE_PROTOBUF_WIRE_FORMAT_MAKE_TAG(FIELD_NUMBER, TYPE) \ 188 ((FIELD_NUMBER) << ::google::protobuf::internal::WireFormatLite::kTagTypeBits) \ 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) 479 #undef field_number macro [all...] |
wire_format_lite_inl.h | 432 inline bool WireFormatLite::ReadGroup(int field_number, 439 if (!input->LastTagWas(MakeTag(field_number, WIRETYPE_END_GROUP))) { 468 int field_number, io::CodedInputStream* input, 476 if (!input->LastTagWas(MakeTag(field_number, WIRETYPE_END_GROUP))) { 483 int field_number, io::CodedInputStream* input, 487 input->LastTagWas(MakeTag(field_number, WIRETYPE_END_GROUP)); 517 inline void WireFormatLite::WriteTag(int field_number, WireType type, 519 output->WriteTag(MakeTag(field_number, type)); 583 int field_number, const MessageType_WorkAroundCppLookupDefect& value, 585 WriteTag(field_number, WIRETYPE_START_GROUP, output) [all...] |
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) { 307 return WireFormatLite::TagSize(field_number,
|
/prebuilts/misc/darwin-x86_64/protobuf2.5/include/google/protobuf/ |
wire_format_lite.h | 152 static uint32 MakeTag(int field_number, WireType type); 158 static inline int TagSize(int field_number, WireFormatLite::FieldType type); 175 #define GOOGLE_PROTOBUF_WIRE_FORMAT_MAKE_TAG(FIELD_NUMBER, TYPE) \ 177 ((FIELD_NUMBER) << ::google::protobuf::internal::WireFormatLite::kTagTypeBits) \ 233 #define field_number int field_number macro 292 static inline bool ReadGroup (field_number, input, MessageLite* value); 299 static inline bool ReadGroupNoVirtual(field_number, input, 307 static inline void WriteTag(field_number, WireType type, output) INL; 326 static void WriteInt32 (field_number, int32 value, output) 441 #undef field_number macro [all...] |
wire_format_lite_inl.h | 343 inline bool WireFormatLite::ReadGroup(int field_number, 350 if (!input->LastTagWas(MakeTag(field_number, WIRETYPE_END_GROUP))) { 382 int field_number, io::CodedInputStream* input, 390 if (!input->LastTagWas(MakeTag(field_number, WIRETYPE_END_GROUP))) { 415 inline void WireFormatLite::WriteTag(int field_number, WireType type, 417 output->WriteTag(MakeTag(field_number, type)); 481 int field_number, const MessageType_WorkAroundCppLookupDefect& value, 483 WriteTag(field_number, WIRETYPE_START_GROUP, output); 485 WriteTag(field_number, WIRETYPE_END_GROUP, output); 489 int field_number, const MessageType_WorkAroundCppLookupDefect& value [all...] |
descriptor_database.h | 86 int field_number, 149 int field_number, 175 Value FindExtension(const string& containing_type, int field_number); 294 int field_number, 323 int field_number, 352 int field_number,
|
/prebuilts/misc/linux-x86_64/protobuf2.5/include/google/protobuf/ |
wire_format_lite.h | 152 static uint32 MakeTag(int field_number, WireType type); 158 static inline int TagSize(int field_number, WireFormatLite::FieldType type); 175 #define GOOGLE_PROTOBUF_WIRE_FORMAT_MAKE_TAG(FIELD_NUMBER, TYPE) \ 177 ((FIELD_NUMBER) << ::google::protobuf::internal::WireFormatLite::kTagTypeBits) \ 233 #define field_number int field_number macro 292 static inline bool ReadGroup (field_number, input, MessageLite* value); 299 static inline bool ReadGroupNoVirtual(field_number, input, 307 static inline void WriteTag(field_number, WireType type, output) INL; 326 static void WriteInt32 (field_number, int32 value, output) 441 #undef field_number macro [all...] |
wire_format_lite_inl.h | 343 inline bool WireFormatLite::ReadGroup(int field_number, 350 if (!input->LastTagWas(MakeTag(field_number, WIRETYPE_END_GROUP))) { 382 int field_number, io::CodedInputStream* input, 390 if (!input->LastTagWas(MakeTag(field_number, WIRETYPE_END_GROUP))) { 415 inline void WireFormatLite::WriteTag(int field_number, WireType type, 417 output->WriteTag(MakeTag(field_number, type)); 481 int field_number, const MessageType_WorkAroundCppLookupDefect& value, 483 WriteTag(field_number, WIRETYPE_START_GROUP, output); 485 WriteTag(field_number, WIRETYPE_END_GROUP, output); 489 int field_number, const MessageType_WorkAroundCppLookupDefect& value [all...] |
/prebuilts/misc/windows/protobuf2.5/include/google/protobuf/ |
wire_format_lite.h | 152 static uint32 MakeTag(int field_number, WireType type); 158 static inline int TagSize(int field_number, WireFormatLite::FieldType type); 175 #define GOOGLE_PROTOBUF_WIRE_FORMAT_MAKE_TAG(FIELD_NUMBER, TYPE) \ 177 ((FIELD_NUMBER) << ::google::protobuf::internal::WireFormatLite::kTagTypeBits) \ 233 #define field_number int field_number macro 292 static inline bool ReadGroup (field_number, input, MessageLite* value); 299 static inline bool ReadGroupNoVirtual(field_number, input, 307 static inline void WriteTag(field_number, WireType type, output) INL; 326 static void WriteInt32 (field_number, int32 value, output) 441 #undef field_number macro [all...] |
wire_format_lite_inl.h | 343 inline bool WireFormatLite::ReadGroup(int field_number, 350 if (!input->LastTagWas(MakeTag(field_number, WIRETYPE_END_GROUP))) { 382 int field_number, io::CodedInputStream* input, 390 if (!input->LastTagWas(MakeTag(field_number, WIRETYPE_END_GROUP))) { 415 inline void WireFormatLite::WriteTag(int field_number, WireType type, 417 output->WriteTag(MakeTag(field_number, type)); 481 int field_number, const MessageType_WorkAroundCppLookupDefect& value, 483 WriteTag(field_number, WIRETYPE_START_GROUP, output); 485 WriteTag(field_number, WIRETYPE_END_GROUP, output); 489 int field_number, const MessageType_WorkAroundCppLookupDefect& value [all...] |
/prebuilts/tools/linux-x86_64/protoc/include/google/protobuf/ |
wire_format_lite.h | 152 static uint32 MakeTag(int field_number, WireType type); 158 static inline int TagSize(int field_number, WireFormatLite::FieldType type); 175 #define GOOGLE_PROTOBUF_WIRE_FORMAT_MAKE_TAG(FIELD_NUMBER, TYPE) \ 177 ((FIELD_NUMBER) << ::google::protobuf::internal::WireFormatLite::kTagTypeBits) \ 233 #define field_number int field_number macro 292 static inline bool ReadGroup (field_number, input, MessageLite* value); 299 static inline bool ReadGroupNoVirtual(field_number, input, 307 static inline void WriteTag(field_number, WireType type, output) INL; 326 static void WriteInt32 (field_number, int32 value, output) 441 #undef field_number macro [all...] |
wire_format_lite_inl.h | 343 inline bool WireFormatLite::ReadGroup(int field_number, 350 if (!input->LastTagWas(MakeTag(field_number, WIRETYPE_END_GROUP))) { 382 int field_number, io::CodedInputStream* input, 390 if (!input->LastTagWas(MakeTag(field_number, WIRETYPE_END_GROUP))) { 415 inline void WireFormatLite::WriteTag(int field_number, WireType type, 417 output->WriteTag(MakeTag(field_number, type)); 481 int field_number, const MessageType_WorkAroundCppLookupDefect& value, 483 WriteTag(field_number, WIRETYPE_START_GROUP, output); 485 WriteTag(field_number, WIRETYPE_END_GROUP, output); 489 int field_number, const MessageType_WorkAroundCppLookupDefect& value [all...] |
/system/nvram/messages/include/nvram/messages/ |
message_codec.h | 44 constexpr FieldDescriptor(uint32_t field_number, 48 : field_number(field_number), 53 uint32_t field_number; member in struct:nvram::proto::FieldDescriptor
|
struct.h | 128 constexpr FieldSpec(uint32_t field_number, MemberType Struct::* member) 129 : kFieldNumber(field_number), kMember(member) {} 149 constexpr FieldSpec<Struct, Member> MakeField(uint32_t field_number, 151 return FieldSpec<Struct, Member>(field_number, member); 169 constexpr OneOfFieldSpec(uint32_t field_number, 172 : FieldSpec<Struct, TaggedUnionType>(field_number, member), kTag(tag) {} 183 uint32_t field_number, 186 return OneOfFieldSpec<Struct, TagType, Member...>(field_number, member, tag);
|
/external/protobuf/python/google/protobuf/pyext/ |
descriptor_database.h | 63 int field_number,
|