Home
last modified time | relevance | path

Searched refs:FieldSize (Results 1 – 19 of 19) 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/clang/lib/AST/
DRecordLayoutBuilder.cpp633 void LayoutWideBitField(uint64_t FieldSize, uint64_t TypeSize,
1333 uint64_t FieldSize = in LayoutFields() local
1335 assert (FieldSize > 0 && "LayoutFields - ms_struct layout"); in LayoutFields()
1336 if (RemainingInAlignment < FieldSize) in LayoutFields()
1337 RemainingInAlignment = TypeSize - FieldSize; in LayoutFields()
1339 RemainingInAlignment -= FieldSize; in LayoutFields()
1343 uint64_t FieldSize = in LayoutFields() local
1348 RemainingInAlignment = TypeSize - FieldSize; in LayoutFields()
1368 void RecordLayoutBuilder::LayoutWideBitField(uint64_t FieldSize, in LayoutWideBitField() argument
1389 if (Size > FieldSize) in LayoutWideBitField()
[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.cpp230 uint64_t FieldSize, in MakeInfo() argument
240 if (FieldSize > TypeSizeInBits) { in MakeInfo()
250 FieldSize = TypeSizeInBits; in MakeInfo()
256 FieldOffset = ((ContainingTypeSizeInBits)-FieldOffset-FieldSize); in MakeInfo()
295 while (AccessedTargetBits < FieldSize) { in MakeInfo()
314 assert(AccessStart < FieldOffset + FieldSize && "Invalid access start!"); in MakeInfo()
318 FieldOffset + FieldSize) - AccessBitsInFieldStart; in MakeInfo()
347 assert(AccessedTargetBits == FieldSize && "Invalid bit-field access!"); in MakeInfo()
348 return CGBitFieldInfo(FieldSize, NumComponents, Components, IsSigned); in MakeInfo()
354 uint64_t FieldSize) { in MakeInfo() argument
[all …]
DCGRecordLayout.h154 uint64_t FieldOffset, uint64_t FieldSize);
161 uint64_t FieldOffset, uint64_t FieldSize,
DCGDebugInfo.cpp495 uint64_t FieldSize, FieldOffset; in CreateType() local
531 FieldSize = CGM.getContext().getTypeSize(Ty); in CreateType()
534 LineNo, FieldSize, FieldAlign, in CreateType()
538 FieldOffset += FieldSize; in CreateType()
1198 uint64_t FieldSize = 0; in CreateType() local
1204 FieldSize = CGM.getContext().getTypeSize(FType); in CreateType()
1207 FieldSize = BitWidth->EvaluateAsInt(CGM.getContext()).getZExtValue(); in CreateType()
1232 FieldLine, FieldSize, FieldAlign, in CreateType()
1588 uint64_t FieldSize = CGM.getContext().getTypeSize(FType); in CreateMemberType() local
1591 FieldSize, FieldAlign, in CreateMemberType()
[all …]
DCGExprConstant.cpp146 uint64_t FieldSize = in AppendBitField() local
155 if (FieldSize > FieldValue.getBitWidth()) in AppendBitField()
156 FieldValue = FieldValue.zext(FieldSize); in AppendBitField()
159 if (FieldSize < FieldValue.getBitWidth()) in AppendBitField()
160 FieldValue = FieldValue.trunc(FieldSize); in AppendBitField()
176 unsigned NewFieldWidth = FieldSize - BitsInPreviousByte; in AppendBitField()
DCGObjCMac.cpp3687 unsigned FieldSize = CGM.getContext().getTypeSize(Field->getType()); in BuildAggrIvarLayout() local
3691 uint64_t UnionIvarSize = FieldSize / WordSizeInBits; in BuildAggrIvarLayout()
3699 FieldSize / WordSizeInBits)); in BuildAggrIvarLayout()
3707 uint64_t UnionIvarSize = FieldSize; in BuildAggrIvarLayout()
3716 FieldSize / ByteSizeInBits)); in BuildAggrIvarLayout()
3735 unsigned FieldSize in BuildAggrIvarLayout() local
3738 FieldSize / ByteSizeInBits)); in BuildAggrIvarLayout()
/external/llvm/lib/CodeGen/AsmPrinter/
DDwarfCompileUnit.cpp962 uint64_t FieldSize = DT.getOriginalTypeSize(); in createMemberDIE() local
964 if (Size != FieldSize) { in createMemberDIE()
971 uint64_t HiMark = (Offset + FieldSize) & AlignMask; in createMemberDIE()
972 uint64_t FieldOffset = (HiMark - FieldSize); in createMemberDIE()
977 Offset = FieldSize - (Offset + Size); in createMemberDIE()
DAsmPrinter.cpp1560 uint64_t FieldSize = TD->getTypeAllocSize(Field->getType()); in EmitGlobalConstantStruct() local
1562 - Layout->getElementOffset(i)) - FieldSize; in EmitGlobalConstantStruct()
1563 SizeSoFar += FieldSize + PadSize; in EmitGlobalConstantStruct()
/external/protobuf/src/google/protobuf/compiler/javamicro/
Djavamicro_file.cc67 int size = reflection->FieldSize(message, fields[i]); in UsesExtensions()
/external/protobuf/src/google/protobuf/compiler/java/
Djava_file.cc69 int size = reflection->FieldSize(message, fields[i]); in UsesExtensions()