Home
last modified time | relevance | path

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

/external/protobuf/python/google/protobuf/internal/
Dencoder.py139 def FieldSize(value): function
141 return FieldSize
168 def FieldSize(value): function
170 return FieldSize
194 def FieldSize(value): function
196 return FieldSize
237 def FieldSize(value): function
240 return FieldSize
259 def FieldSize(value): function
262 return FieldSize
[all …]
/external/protobuf/src/google/protobuf/
Dtest_util.cc2360 ASSERT_EQ(2, reflection->FieldSize(message, F("repeated_int32" ))); in ExpectAllFieldsSetViaReflection2()
2361 ASSERT_EQ(2, reflection->FieldSize(message, F("repeated_int64" ))); in ExpectAllFieldsSetViaReflection2()
2362 ASSERT_EQ(2, reflection->FieldSize(message, F("repeated_uint32" ))); in ExpectAllFieldsSetViaReflection2()
2363 ASSERT_EQ(2, reflection->FieldSize(message, F("repeated_uint64" ))); in ExpectAllFieldsSetViaReflection2()
2364 ASSERT_EQ(2, reflection->FieldSize(message, F("repeated_sint32" ))); in ExpectAllFieldsSetViaReflection2()
2365 ASSERT_EQ(2, reflection->FieldSize(message, F("repeated_sint64" ))); in ExpectAllFieldsSetViaReflection2()
2366 ASSERT_EQ(2, reflection->FieldSize(message, F("repeated_fixed32" ))); in ExpectAllFieldsSetViaReflection2()
2367 ASSERT_EQ(2, reflection->FieldSize(message, F("repeated_fixed64" ))); in ExpectAllFieldsSetViaReflection2()
2368 ASSERT_EQ(2, reflection->FieldSize(message, F("repeated_sfixed32"))); in ExpectAllFieldsSetViaReflection2()
2369 ASSERT_EQ(2, reflection->FieldSize(message, F("repeated_sfixed64"))); in ExpectAllFieldsSetViaReflection2()
[all …]
Dreflection_ops.cc66 int count = from_reflection->FieldSize(from, field); in Merge()
155 int size = reflection->FieldSize(message, field); in IsInitialized()
185 int size = reflection->FieldSize(*message, field); in DiscardUnknownFields()
241 int size = reflection->FieldSize(message, field); in FindInitializationErrors()
Dgenerated_message_reflection.cc426 int GeneratedMessageReflection::FieldSize(const Message& message, in FieldSize() function in google::protobuf::internal::GeneratedMessageReflection
428 USAGE_CHECK_MESSAGE_TYPE(FieldSize); in FieldSize()
429 USAGE_CHECK_REPEATED(FieldSize); in FieldSize()
652 if (FieldSize(message, field) > 0) { in ListFields()
Dwire_format.cc754 count = message_reflection->FieldSize(message, field); in SerializeFieldWithCachedSizes()
918 count = message_reflection->FieldSize(message, field); in FieldByteSize()
946 count = message_reflection->FieldSize(message, field); in FieldDataOnlyByteSize()
Dmessage.h403 virtual int FieldSize(const Message& message,
Dgenerated_message_reflection.h141 int FieldSize(const Message& message, const FieldDescriptor* field) const;
Dtext_format.cc939 count = reflection->FieldSize(message, field); in PrintField()
990 int size = reflection->FieldSize(message, field); in PrintShortRepeatedField()
Ddescriptor.cc1504 count = reflection->FieldSize(options, fields[i]); in RetrieveOptions()
3828 FieldSize(*original_options, original_uninterpreted_options_field); in InterpretOptions()
/external/clang/lib/CodeGen/
DCGRecordLayoutBuilder.cpp235 uint64_t FieldSize, in MakeInfo() argument
245 if (FieldSize > TypeSizeInBits) { in MakeInfo()
255 FieldSize = TypeSizeInBits; in MakeInfo()
261 FieldOffset = ((ContainingTypeSizeInBits)-FieldOffset-FieldSize); in MakeInfo()
300 while (AccessedTargetBits < FieldSize) { in MakeInfo()
319 assert(AccessStart < FieldOffset + FieldSize && "Invalid access start!"); in MakeInfo()
323 FieldOffset + FieldSize) - AccessBitsInFieldStart; in MakeInfo()
352 assert(AccessedTargetBits == FieldSize && "Invalid bit-field access!"); in MakeInfo()
353 return CGBitFieldInfo(FieldSize, NumComponents, Components, IsSigned); in MakeInfo()
359 uint64_t FieldSize) { in MakeInfo() argument
[all …]
DCGRecordLayout.h155 uint64_t FieldOffset, uint64_t FieldSize);
162 uint64_t FieldOffset, uint64_t FieldSize,
DCGDebugInfo.cpp602 uint64_t FieldSize, FieldOffset; in CreateType() local
638 FieldSize = CGM.getContext().getTypeSize(Ty); in CreateType()
641 LineNo, FieldSize, FieldAlign, in CreateType()
645 FieldOffset += FieldSize; in CreateType()
1372 uint64_t FieldSize = 0; in CreateType() local
1378 FieldSize = Field->isBitField() in CreateType()
1420 FieldLine, FieldSize, FieldAlign, in CreateType()
1911 uint64_t FieldSize = CGM.getContext().getTypeSize(FType); in CreateMemberType() local
1914 FieldSize, FieldAlign, in CreateMemberType()
1916 *Offset += FieldSize; in CreateMemberType()
[all …]
DCGCall.cpp437 CharUnits FieldSize = getContext().getTypeSizeInChars(FD->getType()); in GetExpandedTypes() local
438 if (UnionSize < FieldSize) { in GetExpandedTypes()
439 UnionSize = FieldSize; in GetExpandedTypes()
489 CharUnits FieldSize = getContext().getTypeSizeInChars(FD->getType()); in ExpandTypeFromArgs() local
490 if (UnionSize < FieldSize) { in ExpandTypeFromArgs()
491 UnionSize = FieldSize; in ExpandTypeFromArgs()
1821 CharUnits FieldSize = getContext().getTypeSizeInChars(FD->getType()); in ExpandTypeToArgs() local
1822 if (UnionSize < FieldSize) { in ExpandTypeToArgs()
1823 UnionSize = FieldSize; in ExpandTypeToArgs()
DCGExprConstant.cpp176 uint64_t FieldSize = Field->getBitWidthValue(Context); in AppendBitField() local
184 if (FieldSize > FieldValue.getBitWidth()) in AppendBitField()
185 FieldValue = FieldValue.zext(FieldSize); in AppendBitField()
188 if (FieldSize < FieldValue.getBitWidth()) in AppendBitField()
189 FieldValue = FieldValue.trunc(FieldSize); in AppendBitField()
205 unsigned NewFieldWidth = FieldSize - BitsInPreviousByte; in AppendBitField()
DCGObjCMac.cpp3922 unsigned FieldSize = CGM.getContext().getTypeSize(Field->getType()); in BuildAggrIvarLayout() local
3926 uint64_t UnionIvarSize = FieldSize / WordSizeInBits; in BuildAggrIvarLayout()
3934 FieldSize / WordSizeInBits)); in BuildAggrIvarLayout()
3942 uint64_t UnionIvarSize = FieldSize; in BuildAggrIvarLayout()
3951 FieldSize / ByteSizeInBits)); in BuildAggrIvarLayout()
3969 unsigned FieldSize in BuildAggrIvarLayout() local
3972 FieldSize / ByteSizeInBits)); in BuildAggrIvarLayout()
/external/clang/lib/AST/
DRecordLayoutBuilder.cpp676 void LayoutWideBitField(uint64_t FieldSize, uint64_t TypeSize,
1619 uint64_t FieldSize = FD->getBitWidthValue(Context); in LayoutFields() local
1620 assert (FieldSize > 0 && "LayoutFields - ms_struct layout"); in LayoutFields()
1621 if (RemainingInAlignment < FieldSize) in LayoutFields()
1622 RemainingInAlignment = TypeSize - FieldSize; in LayoutFields()
1624 RemainingInAlignment -= FieldSize; in LayoutFields()
1628 uint64_t FieldSize = FD->getBitWidthValue(Context); in LayoutFields() local
1632 RemainingInAlignment = TypeSize - FieldSize; in LayoutFields()
1657 void RecordLayoutBuilder::LayoutWideBitField(uint64_t FieldSize, in LayoutWideBitField() argument
1678 if (Size > FieldSize) in LayoutWideBitField()
[all …]
/external/protobuf/src/google/protobuf/compiler/javamicro/
Djavamicro_file.cc67 int size = reflection->FieldSize(message, fields[i]); in UsesExtensions()
/external/llvm/lib/CodeGen/AsmPrinter/
DDwarfCompileUnit.cpp1442 uint64_t FieldSize = DT.getOriginalTypeSize(); in createMemberDIE() local
1444 if (Size != FieldSize) { in createMemberDIE()
1451 uint64_t HiMark = (Offset + FieldSize) & AlignMask; in createMemberDIE()
1452 uint64_t FieldOffset = (HiMark - FieldSize); in createMemberDIE()
1457 Offset = FieldSize - (Offset + Size); in createMemberDIE()
DAsmPrinter.cpp1751 uint64_t FieldSize = TD->getTypeAllocSize(Field->getType()); in EmitGlobalConstantStruct() local
1753 - Layout->getElementOffset(i)) - FieldSize; in EmitGlobalConstantStruct()
1754 SizeSoFar += FieldSize + PadSize; in EmitGlobalConstantStruct()
/external/protobuf/src/google/protobuf/compiler/java/
Djava_file.cc69 int size = reflection->FieldSize(message, fields[i]); in UsesExtensions()