Home
last modified time | relevance | path

Searched refs:FieldSize (Results 1 – 25 of 43) sorted by relevance

12

/external/protobuf/src/google/protobuf/
Dmap_test_util.cc92 EXPECT_EQ(size, message.GetReflection()->FieldSize( in ExpectMapsSize()
94 EXPECT_EQ(size, message.GetReflection()->FieldSize( in ExpectMapsSize()
96 EXPECT_EQ(size, message.GetReflection()->FieldSize( in ExpectMapsSize()
98 EXPECT_EQ(size, message.GetReflection()->FieldSize( in ExpectMapsSize()
100 EXPECT_EQ(size, message.GetReflection()->FieldSize( in ExpectMapsSize()
102 EXPECT_EQ(size, message.GetReflection()->FieldSize( in ExpectMapsSize()
104 EXPECT_EQ(size, message.GetReflection()->FieldSize( in ExpectMapsSize()
106 EXPECT_EQ(size, message.GetReflection()->FieldSize( in ExpectMapsSize()
108 EXPECT_EQ(size, message.GetReflection()->FieldSize( in ExpectMapsSize()
110 EXPECT_EQ(size, message.GetReflection()->FieldSize( in ExpectMapsSize()
[all …]
Dtest_util.cc2746 ASSERT_EQ(2, reflection->FieldSize(message, F("repeated_int32" ))); in ExpectAllFieldsSetViaReflection2()
2747 ASSERT_EQ(2, reflection->FieldSize(message, F("repeated_int64" ))); in ExpectAllFieldsSetViaReflection2()
2748 ASSERT_EQ(2, reflection->FieldSize(message, F("repeated_uint32" ))); in ExpectAllFieldsSetViaReflection2()
2749 ASSERT_EQ(2, reflection->FieldSize(message, F("repeated_uint64" ))); in ExpectAllFieldsSetViaReflection2()
2750 ASSERT_EQ(2, reflection->FieldSize(message, F("repeated_sint32" ))); in ExpectAllFieldsSetViaReflection2()
2751 ASSERT_EQ(2, reflection->FieldSize(message, F("repeated_sint64" ))); in ExpectAllFieldsSetViaReflection2()
2752 ASSERT_EQ(2, reflection->FieldSize(message, F("repeated_fixed32" ))); in ExpectAllFieldsSetViaReflection2()
2753 ASSERT_EQ(2, reflection->FieldSize(message, F("repeated_fixed64" ))); in ExpectAllFieldsSetViaReflection2()
2754 ASSERT_EQ(2, reflection->FieldSize(message, F("repeated_sfixed32"))); in ExpectAllFieldsSetViaReflection2()
2755 ASSERT_EQ(2, reflection->FieldSize(message, F("repeated_sfixed64"))); in ExpectAllFieldsSetViaReflection2()
[all …]
Dreflection_ops.cc72 int count = from_reflection->FieldSize(from, field); in Merge()
162 int size = reflection->FieldSize(message, field); in IsInitialized()
192 int size = reflection->FieldSize(*message, field); in DiscardUnknownFields()
248 int size = reflection->FieldSize(message, field); in FindInitializationErrors()
Dwire_format.cc832 count = message_reflection->FieldSize(message, field); in SerializeFieldWithCachedSizes()
1004 count = message_reflection->FieldSize(message, field); in FieldByteSize()
1032 count = message_reflection->FieldSize(message, field); in FieldDataOnlyByteSize()
Dgenerated_message_reflection.cc764 int GeneratedMessageReflection::FieldSize(const Message& message, in FieldSize() function in google::protobuf::internal::GeneratedMessageReflection
766 USAGE_CHECK_MESSAGE_TYPE(FieldSize); in FieldSize()
767 USAGE_CHECK_REPEATED(FieldSize); in FieldSize()
1043 if (FieldSize(message, field) > 0) { in ListFields()
/external/protobuf/python/google/protobuf/internal/
Dencoder.py148 def FieldSize(value): function
150 return FieldSize
177 def FieldSize(value): function
179 return FieldSize
203 def FieldSize(value): function
205 return FieldSize
246 def FieldSize(value): function
249 return FieldSize
268 def FieldSize(value): function
271 return FieldSize
[all …]
/external/clang/lib/AST/
DRecordLayoutBuilder.cpp677 void LayoutWideBitField(uint64_t FieldSize, uint64_t TypeSize,
1369 void ItaniumRecordLayoutBuilder::LayoutWideBitField(uint64_t FieldSize, in LayoutWideBitField() argument
1389 if (Size > FieldSize) in LayoutWideBitField()
1406 uint64_t RoundedFieldSize = roundUpSizeToCharAlignment(FieldSize, in LayoutWideBitField()
1415 uint64_t NewSizeInBits = FieldOffset + FieldSize; in LayoutWideBitField()
1437 uint64_t FieldSize = D->getBitWidthValue(Context); in LayoutBitField() local
1509 if (!LastBitfieldTypeSize && !FieldSize) in LayoutBitField()
1519 if (FieldSize > TypeSize) { in LayoutBitField()
1520 LayoutWideBitField(FieldSize, TypeSize, FieldPacked, D); in LayoutBitField()
1531 if (FieldSize == 0 && in LayoutBitField()
[all …]
/external/libprotobuf-mutator/src/
Dmutator.cc205 int field_size = reflection->FieldSize(*message, field); in Sample()
244 const int field_size = reflection->FieldSize(*message, field); in Sample()
295 const int field_size = reflection->FieldSize(*message, field); in Sample()
312 if (int field_size = reflection->FieldSize(*message, field)) { in Sample()
518 const int field_size1 = reflection->FieldSize(message1, field); in CrossOverImpl()
519 int field_size2 = reflection->FieldSize(*message2, field); in CrossOverImpl()
526 assert(field_size2 == reflection->FieldSize(*message2, field)); in CrossOverImpl()
552 assert(keep == reflection->FieldSize(*message2, field)); in CrossOverImpl()
594 assert(!reflection->FieldSize(*message, field)); in InitializeAndTrim()
601 const int field_size = reflection->FieldSize(*message, field); in InitializeAndTrim()
Dfield_instance.h222 int field_size = reflection().FieldSize(*message_, descriptor()); in Delete()
316 size_t field_size = reflection().FieldSize(*message_, descriptor()); in InsertRepeated()
/external/compiler-rt/lib/esan/
Dcache_frag.cpp32 u32 *FieldSize; // auxiliary struct field info. member
107 i, Struct->FieldOffset[i], Struct->FieldSize[i], in reportStructCounter()
/external/bcc/src/cc/
Djson_map_decl_visitor.cc135 CharUnits FieldSize = C.getTypeSizeInChars(F->getType()); in VisitRecordDecl() local
145 Offset = FieldOffset + FieldSize; in VisitRecordDecl()
/external/grpc-grpc/src/cpp/ext/filters/census/
Drpc_encoding.h182 enum FieldSize { enum
267 enum FieldSize { enum
/external/protobuf/python/google/protobuf/pyext/
Drepeated_scalar_container.cc82 return message->GetReflection()->FieldSize(*message, in Len()
94 int field_size = reflection->FieldSize(*message, field_descriptor); in AssignItem()
196 int field_size = reflection->FieldSize(*message, field_descriptor); in Item()
458 length = reflection->FieldSize(*message, field_descriptor); in AssSubscript()
Drepeated_composite_container.cc85 return message->GetReflection()->FieldSize(*message, in Length()
472 GOOGLE_DCHECK_EQ(size, message->GetReflection()->FieldSize(*message, field)); in Release()
/external/clang/lib/StaticAnalyzer/Checkers/
DPaddingChecker.cpp176 CharUnits FieldSize = ASTContext.getTypeSizeInChars(FD->getType()); in calculateBaselinePad() local
180 Offset = FieldOffset + FieldSize; in calculateBaselinePad()
/external/swiftshader/third_party/subzero/pnacl-llvm/
DNaClBitcodeHeader.cpp213 size_t FieldSize = Field->GetTotalSize(); in ReadFields() local
214 BufPtr += FieldSize; in ReadFields()
/external/llvm/lib/CodeGen/AsmPrinter/
DDwarfUnit.cpp1385 uint64_t FieldSize = DD->getBaseTypeSize(DT); in constructMemberDIE() local
1388 bool IsBitfield = FieldSize && Size != FieldSize; in constructMemberDIE()
1392 addUInt(MemberDie, dwarf::DW_AT_byte_size, None, FieldSize/8); in constructMemberDIE()
1396 uint64_t Align = DT->getAlignInBits() ? DT->getAlignInBits() : FieldSize; in constructMemberDIE()
1404 uint64_t HiMark = (Offset + FieldSize) & AlignMask; in constructMemberDIE()
1405 uint64_t FieldOffset = (HiMark - FieldSize); in constructMemberDIE()
1410 Offset = FieldSize - (Offset + Size); in constructMemberDIE()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/AsmPrinter/
DDwarfUnit.cpp1532 uint64_t FieldSize = DD->getBaseTypeSize(DT); in constructMemberDIE() local
1536 bool IsBitfield = FieldSize && Size != FieldSize; in constructMemberDIE()
1540 addUInt(MemberDie, dwarf::DW_AT_byte_size, None, FieldSize/8); in constructMemberDIE()
1547 uint32_t AlignInBits = FieldSize; in constructMemberDIE()
1555 uint64_t HiMark = (Offset + FieldSize) & AlignMask; in constructMemberDIE()
1556 uint64_t FieldOffset = (HiMark - FieldSize); in constructMemberDIE()
1561 Offset = FieldSize - (Offset + Size); in constructMemberDIE()
/external/protobuf/src/google/protobuf/util/
Dmessage_differencer.cc627 reflection1->FieldSize(message1, field1) : 1; in CompareWithFieldsInternal()
665 reflection2->FieldSize(message2, field2) : 1; in CompareWithFieldsInternal()
794 const int count1 = reflection1->FieldSize(message1, repeated_field); in CompareRepeatedField()
795 const int count2 = reflection2->FieldSize(message2, repeated_field); in CompareRepeatedField()
1370 message1.GetReflection()->FieldSize(message1, repeated_field); in MatchRepeatedFieldIndices()
1372 message2.GetReflection()->FieldSize(message2, repeated_field); in MatchRepeatedFieldIndices()
Dfield_mask_util.cc404 int size = source_reflection->FieldSize(source, field); \ in MergeMessage()
423 int size = source_reflection->FieldSize(source, field); in MergeMessage()
/external/protobuf/src/google/protobuf/compiler/javamicro/
Djavamicro_file.cc69 int size = reflection->FieldSize(message, fields[i]); in UsesExtensions()
/external/protobuf/src/google/protobuf/compiler/javanano/
Djavanano_file.cc70 int size = reflection->FieldSize(message, fields[i]); in UsesExtensions()
/external/clang/lib/CodeGen/
DCGExprConstant.cpp171 uint64_t FieldSize = Field->getBitWidthValue(Context); in AppendBitField() local
179 if (FieldSize > FieldValue.getBitWidth()) in AppendBitField()
180 FieldValue = FieldValue.zext(FieldSize); in AppendBitField()
183 if (FieldSize < FieldValue.getBitWidth()) in AppendBitField()
184 FieldValue = FieldValue.trunc(FieldSize); in AppendBitField()
200 unsigned NewFieldWidth = FieldSize - BitsInPreviousByte; in AppendBitField()
DCGDebugInfo.cpp781 uint64_t FieldSize, FieldOffset; in CreateType() local
815 FieldSize = CGM.getContext().getTypeSize(Ty); in CreateType()
818 FieldSize, FieldAlign, FieldOffset, in CreateType()
821 FieldOffset += FieldSize; in CreateType()
1978 uint64_t FieldSize = 0; in CreateTypeDefinition() local
1984 FieldSize = Field->isBitField() in CreateTypeDefinition()
2036 FieldSize, FieldAlign, FieldOffset, Flags, in CreateTypeDefinition()
2596 uint64_t FieldSize = CGM.getContext().getTypeSize(FType); in CreateMemberType() local
2598 llvm::DIType *Ty = DBuilder.createMemberType(Unit, Name, Unit, 0, FieldSize, in CreateMemberType()
2600 *Offset += FieldSize; in CreateMemberType()
[all …]
/external/swiftshader/third_party/LLVM/lib/CodeGen/AsmPrinter/
DDwarfCompileUnit.cpp1321 uint64_t FieldSize = DT.getOriginalTypeSize(); in createMemberDIE() local
1323 if (Size != FieldSize) { in createMemberDIE()
1330 uint64_t HiMark = (Offset + FieldSize) & AlignMask; in createMemberDIE()
1331 uint64_t FieldOffset = (HiMark - FieldSize); in createMemberDIE()
1336 Offset = FieldSize - (Offset + Size); in createMemberDIE()

12