Home
last modified time | relevance | path

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

12

/external/nanopb-c/generator/google/protobuf/internal/
Dencoder.py145 def FieldSize(value): function
147 return FieldSize
174 def FieldSize(value): function
176 return FieldSize
200 def FieldSize(value): function
202 return FieldSize
243 def FieldSize(value): function
246 return FieldSize
265 def FieldSize(value): function
268 return FieldSize
[all …]
/external/protobuf/python/google/protobuf/internal/
Dencoder.py151 def FieldSize(value): function
153 return FieldSize
180 def FieldSize(value): function
182 return FieldSize
206 def FieldSize(value): function
208 return FieldSize
249 def FieldSize(value): function
252 return FieldSize
271 def FieldSize(value): function
274 return FieldSize
[all …]
/external/protobuf/src/google/protobuf/
Dtest_util.cc2745 ASSERT_EQ(2, reflection->FieldSize(message, F("repeated_int32" ))); in ExpectAllFieldsSetViaReflection2()
2746 ASSERT_EQ(2, reflection->FieldSize(message, F("repeated_int64" ))); in ExpectAllFieldsSetViaReflection2()
2747 ASSERT_EQ(2, reflection->FieldSize(message, F("repeated_uint32" ))); in ExpectAllFieldsSetViaReflection2()
2748 ASSERT_EQ(2, reflection->FieldSize(message, F("repeated_uint64" ))); in ExpectAllFieldsSetViaReflection2()
2749 ASSERT_EQ(2, reflection->FieldSize(message, F("repeated_sint32" ))); in ExpectAllFieldsSetViaReflection2()
2750 ASSERT_EQ(2, reflection->FieldSize(message, F("repeated_sint64" ))); in ExpectAllFieldsSetViaReflection2()
2751 ASSERT_EQ(2, reflection->FieldSize(message, F("repeated_fixed32" ))); in ExpectAllFieldsSetViaReflection2()
2752 ASSERT_EQ(2, reflection->FieldSize(message, F("repeated_fixed64" ))); in ExpectAllFieldsSetViaReflection2()
2753 ASSERT_EQ(2, reflection->FieldSize(message, F("repeated_sfixed32"))); in ExpectAllFieldsSetViaReflection2()
2754 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.cc779 count = message_reflection->FieldSize(message, field); in SerializeFieldWithCachedSizes()
944 count = message_reflection->FieldSize(message, field); in FieldByteSize()
972 count = message_reflection->FieldSize(message, field); in FieldDataOnlyByteSize()
Dgenerated_message_reflection.cc645 int GeneratedMessageReflection::FieldSize(const Message& message, in FieldSize() function in google::protobuf::internal::GeneratedMessageReflection
647 USAGE_CHECK_MESSAGE_TYPE(FieldSize); in FieldSize()
648 USAGE_CHECK_REPEATED(FieldSize); in FieldSize()
890 if (FieldSize(message, field) > 0) { in ListFields()
Dgenerated_message_reflection.h184 int FieldSize(const Message& message, const FieldDescriptor* field) const;
Dmessage.h380 virtual int FieldSize(const Message& message,
Dtext_format.cc1464 count = reflection->FieldSize(message, field); in PrintField()
1511 int size = reflection->FieldSize(message, field); in PrintShortRepeatedField()
/external/clang/lib/AST/
DRecordLayoutBuilder.cpp677 void LayoutWideBitField(uint64_t FieldSize, uint64_t TypeSize,
1370 void ItaniumRecordLayoutBuilder::LayoutWideBitField(uint64_t FieldSize, in LayoutWideBitField() argument
1390 if (Size > FieldSize) in LayoutWideBitField()
1407 uint64_t RoundedFieldSize = roundUpSizeToCharAlignment(FieldSize, in LayoutWideBitField()
1417 uint64_t NewSizeInBits = FieldOffset + FieldSize; in LayoutWideBitField()
1439 uint64_t FieldSize = D->getBitWidthValue(Context); in LayoutBitField() local
1511 if (!LastBitfieldTypeSize && !FieldSize) in LayoutBitField()
1521 if (FieldSize > TypeSize) { in LayoutBitField()
1522 LayoutWideBitField(FieldSize, TypeSize, FieldPacked, D); in LayoutBitField()
1533 if (FieldSize == 0 && in LayoutBitField()
[all …]
/external/clang/lib/StaticAnalyzer/Checkers/
DPaddingChecker.cpp176 CharUnits FieldSize = ASTContext.getTypeSizeInChars(FD->getType()); in calculateBaselinePad() local
180 Offset = FieldOffset + FieldSize; in calculateBaselinePad()
/external/protobuf/python/google/protobuf/pyext/
Drepeated_scalar_container.cc82 return message->GetReflection()->FieldSize(*message, in Len()
100 int field_size = reflection->FieldSize(*message, field_descriptor); in AssignItem()
199 int field_size = reflection->FieldSize(*message, field_descriptor); in Item()
465 length = reflection->FieldSize(*message, field_descriptor); in AssSubscript()
Drepeated_composite_container.cc204 return message->GetReflection()->FieldSize(*message, in Length()
642 GOOGLE_DCHECK_EQ(size, message->GetReflection()->FieldSize(*message, field)); in Release()
/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.cpp755 uint64_t FieldSize, FieldOffset; in CreateType() local
789 FieldSize = CGM.getContext().getTypeSize(Ty); in CreateType()
792 FieldSize, FieldAlign, FieldOffset, in CreateType()
795 FieldOffset += FieldSize; in CreateType()
1852 uint64_t FieldSize = 0; in CreateTypeDefinition() local
1858 FieldSize = Field->isBitField() in CreateTypeDefinition()
1910 FieldSize, FieldAlign, FieldOffset, Flags, in CreateTypeDefinition()
2401 uint64_t FieldSize = CGM.getContext().getTypeSize(FType); in CreateMemberType() local
2403 llvm::DIType *Ty = DBuilder.createMemberType(Unit, Name, Unit, 0, FieldSize, in CreateMemberType()
2405 *Offset += FieldSize; in CreateMemberType()
[all …]
DCGObjCMac.cpp944 CharUnits FieldSize);
2168 CharUnits FieldSize) { in UpdateRunSkipBlockVars() argument
2172 FieldSize)); in UpdateRunSkipBlockVars()
2175 FieldSize)); in UpdateRunSkipBlockVars()
2178 FieldSize)); in UpdateRunSkipBlockVars()
2181 FieldSize)); in UpdateRunSkipBlockVars()
2185 FieldSize)); in UpdateRunSkipBlockVars()
2262 CharUnits FieldSize = CGM.getContext().getTypeSizeInChars(Field->getType()); in BuildRCRecordLayout() local
2264 CharUnits UnionIvarSize = FieldSize; in BuildRCRecordLayout()
2274 FieldSize); in BuildRCRecordLayout()
[all …]
DCGClass.cpp879 CharUnits FieldSize = FieldInfo.first; in EmitAsanPrologueOrEpilogue() local
881 SSV[NumFields].Size = D->isBitField() ? 0 : FieldSize.getQuantity(); in EmitAsanPrologueOrEpilogue()
DCGCall.cpp684 CharUnits FieldSize = Context.getTypeSizeInChars(FD->getType()); in getTypeExpansion() local
685 if (UnionSize < FieldSize) { in getTypeExpansion()
686 UnionSize = FieldSize; in getTypeExpansion()
/external/llvm/lib/CodeGen/AsmPrinter/
DDwarfUnit.cpp1391 uint64_t FieldSize = getBaseTypeSize(DD, DT); in constructMemberDIE() local
1394 if (FieldSize && Size != FieldSize) { in constructMemberDIE()
1396 addUInt(MemberDie, dwarf::DW_AT_byte_size, None, FieldSize/8); in constructMemberDIE()
1421 uint64_t Align = DT->getAlignInBits() ? DT->getAlignInBits() : FieldSize; in constructMemberDIE()
DAsmPrinter.cpp1977 uint64_t FieldSize = DL.getTypeAllocSize(Field->getType()); in emitGlobalConstantStruct() local
1979 - Layout->getElementOffset(i)) - FieldSize; in emitGlobalConstantStruct()
1980 SizeSoFar += FieldSize + PadSize; in emitGlobalConstantStruct()
/external/protobuf/src/google/protobuf/compiler/java/
Djava_file.cc83 int size = reflection->FieldSize(message, fields[i]); in CollectExtensions()
/external/protobuf/src/google/protobuf/compiler/
Dparser.cc1028 reflection->FieldSize(*options, uninterpreted_option_field)); in ParseOption()
Dparser_unittest.cc1592 int size = reflection->FieldSize(root, field); in FollowPath()

12