Home
last modified time | relevance | path

Searched refs:FieldSize (Results 1 – 25 of 26) 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()
Ddescriptor.cc1751 count = reflection->FieldSize(options, fields[i]); in RetrieveOptions()
4703 FieldSize(*original_options, original_uninterpreted_options_field); in InterpretOptions()
/external/clang/lib/AST/
DRecordLayoutBuilder.cpp679 void LayoutWideBitField(uint64_t FieldSize, uint64_t TypeSize,
1373 void RecordLayoutBuilder::LayoutWideBitField(uint64_t FieldSize, in LayoutWideBitField() argument
1393 if (Size > FieldSize) in LayoutWideBitField()
1410 uint64_t RoundedFieldSize = roundUpSizeToCharAlignment(FieldSize, in LayoutWideBitField()
1420 uint64_t NewSizeInBits = FieldOffset + FieldSize; in LayoutWideBitField()
1442 uint64_t FieldSize = D->getBitWidthValue(Context); in LayoutBitField() local
1514 if (!LastBitfieldTypeSize && !FieldSize) in LayoutBitField()
1524 if (FieldSize > TypeSize) { in LayoutBitField()
1525 LayoutWideBitField(FieldSize, TypeSize, FieldPacked, D); in LayoutBitField()
1536 if (FieldSize == 0 && in LayoutBitField()
[all …]
/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/llvm/lib/CodeGen/AsmPrinter/
DDwarfUnit.cpp1487 uint64_t FieldSize = getBaseTypeSize(DD, DT); in constructMemberDIE() local
1490 if (FieldSize && Size != FieldSize) { in constructMemberDIE()
1492 addUInt(MemberDie, dwarf::DW_AT_byte_size, None, FieldSize/8); in constructMemberDIE()
1497 uint64_t HiMark = (Offset + FieldSize) & AlignMask; in constructMemberDIE()
1498 uint64_t FieldOffset = (HiMark - FieldSize); in constructMemberDIE()
1503 Offset = FieldSize - (Offset + Size); in constructMemberDIE()
DAsmPrinter.cpp1964 uint64_t FieldSize = DL->getTypeAllocSize(Field->getType()); in emitGlobalConstantStruct() local
1966 - Layout->getElementOffset(i)) - FieldSize; in emitGlobalConstantStruct()
1967 SizeSoFar += FieldSize + PadSize; in emitGlobalConstantStruct()
/external/clang/lib/CodeGen/
DCGExprConstant.cpp164 uint64_t FieldSize = Field->getBitWidthValue(Context); in AppendBitField() local
172 if (FieldSize > FieldValue.getBitWidth()) in AppendBitField()
173 FieldValue = FieldValue.zext(FieldSize); in AppendBitField()
176 if (FieldSize < FieldValue.getBitWidth()) in AppendBitField()
177 FieldValue = FieldValue.trunc(FieldSize); in AppendBitField()
193 unsigned NewFieldWidth = FieldSize - BitsInPreviousByte; in AppendBitField()
DCGDebugInfo.cpp708 uint64_t FieldSize, FieldOffset; in CreateType() local
744 FieldSize = CGM.getContext().getTypeSize(Ty); in CreateType()
747 DBuilder.createMemberType(Unit, "__descriptor", Unit, LineNo, FieldSize, in CreateType()
751 FieldOffset += FieldSize; in CreateType()
1750 uint64_t FieldSize = 0; in CreateTypeDefinition() local
1756 FieldSize = Field->isBitField() in CreateTypeDefinition()
1808 FieldSize, FieldAlign, FieldOffset, Flags, in CreateTypeDefinition()
2303 uint64_t FieldSize = CGM.getContext().getTypeSize(FType); in CreateMemberType() local
2305 llvm::DIType Ty = DBuilder.createMemberType(Unit, Name, Unit, 0, FieldSize, in CreateMemberType()
2307 *Offset += FieldSize; in CreateMemberType()
[all …]
DCGObjCMac.cpp957 CharUnits FieldSize);
2038 CharUnits FieldSize) { in UpdateRunSkipBlockVars() argument
2042 FieldSize)); in UpdateRunSkipBlockVars()
2045 FieldSize)); in UpdateRunSkipBlockVars()
2048 FieldSize)); in UpdateRunSkipBlockVars()
2051 FieldSize)); in UpdateRunSkipBlockVars()
2055 FieldSize)); in UpdateRunSkipBlockVars()
2132 CharUnits FieldSize = CGM.getContext().getTypeSizeInChars(Field->getType()); in BuildRCRecordLayout() local
2134 CharUnits UnionIvarSize = FieldSize; in BuildRCRecordLayout()
2144 FieldSize); in BuildRCRecordLayout()
[all …]
DCGClass.cpp736 CharUnits FieldSize = FieldInfo.first; in EmitAsanPrologueOrEpilogue() local
738 SSV[NumFields].Size = D->isBitField() ? 0 : FieldSize.getQuantity(); in EmitAsanPrologueOrEpilogue()
DCGCall.cpp653 CharUnits FieldSize = Context.getTypeSizeInChars(FD->getType()); in getTypeExpansion() local
654 if (UnionSize < FieldSize) { in getTypeExpansion()
655 UnionSize = FieldSize; in getTypeExpansion()
/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/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