Home
last modified time | relevance | path

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

12

/external/protobuf/src/google/protobuf/
Dextension_set.h78 typedef uint8 FieldType; typedef
92 inline ExtensionInfo(FieldType type, bool is_repeated, bool is_packed) in ExtensionInfo()
96 FieldType type;
166 int number, FieldType type,
169 int number, FieldType type,
173 int number, FieldType type,
239 void SetInt32 (int number, FieldType type, int32 value, desc);
240 void SetInt64 (int number, FieldType type, int64 value, desc);
241 void SetUInt32(int number, FieldType type, uint32 value, desc);
242 void SetUInt64(int number, FieldType type, uint64 value, desc);
[all …]
Dwire_format_lite.h98 enum FieldType { enum
136 static CppType FieldTypeToCppType(FieldType type);
140 WireFormatLite::FieldType type) { in WireTypeForFieldType()
160 static inline int TagSize(int field_number, WireFormatLite::FieldType type);
244 template <typename CType, enum FieldType DeclaredType>
250 template <typename CType, enum FieldType DeclaredType>
258 template <typename CType, enum FieldType DeclaredType>
269 template <typename CType, enum FieldType DeclaredType>
276 template <typename CType, enum FieldType DeclaredType>
282 template <typename CType, enum FieldType DeclaredType>
[all …]
Dextension_set.cc52 inline WireFormatLite::FieldType real_type(FieldType type) { in real_type()
54 return static_cast<WireFormatLite::FieldType>(type); in real_type()
57 inline WireFormatLite::CppType cpp_type(FieldType type) { in cpp_type()
113 int number, FieldType type, in RegisterExtension()
136 int number, FieldType type, in RegisterEnumExtension()
148 int number, FieldType type, in RegisterMessageExtension()
227 void ExtensionSet::Set##CAMELCASE(int number, FieldType type, \
257 void ExtensionSet::Add##CAMELCASE(int number, FieldType type, \
298 void ExtensionSet::SetEnum(int number, FieldType type, int value, in SetEnum()
326 void ExtensionSet::AddEnum(int number, FieldType type, in AddEnum()
[all …]
Dwire_format.h276 static_cast<WireFormatLite::FieldType>( in WireTypeForFieldType()
288 static_cast<WireFormatLite::FieldType>( in TagSize()
Dwire_format_lite_inl.h224 template <typename CType, enum WireFormatLite::FieldType DeclaredType>
241 template <typename CType, enum WireFormatLite::FieldType DeclaredType>
312 template <typename CType, enum WireFormatLite::FieldType DeclaredType>
322 template <typename CType, enum WireFormatLite::FieldType DeclaredType>
337 template <typename CType, enum WireFormatLite::FieldType DeclaredType>
Dextension_set_heavy.cc96 inline FieldDescriptor::Type real_type(FieldType type) { in real_type()
101 inline FieldDescriptor::CppType cpp_type(FieldType type) { in cpp_type()
Dwire_format_unittest.cc68 static_cast<WireFormatLite::FieldType>(i)))); in TEST()
/external/protobuf/java/src/main/java/com/google/protobuf/
DFieldSet.java58 WireFormat.FieldType getLiteType(); in getLiteType()
292 private static void verifyType(final WireFormat.FieldType type, in verifyType()
369 static int getWireFormatForFieldType(final WireFormat.FieldType type, in getWireFormatForFieldType()
433 final WireFormat.FieldType type) throws IOException { in readPrimitiveField()
507 final WireFormat.FieldType type, in writeElement()
512 if (type == WireFormat.FieldType.GROUP) { in writeElement()
532 final WireFormat.FieldType type, in writeElementNoTag()
564 WireFormat.FieldType type = descriptor.getLiteType(); in writeField()
634 final WireFormat.FieldType type, in computeElementSize()
637 if (type == WireFormat.FieldType.GROUP) { in computeElementSize()
[all …]
DGeneratedMessageLite.java340 if (extension.descriptor.getLiteType() == WireFormat.FieldType.ENUM) { in parseUnknownField()
377 WireFormat.FieldType.GROUP) { in parseUnknownField()
433 final WireFormat.FieldType type, in ExtensionDescriptor()
445 private final WireFormat.FieldType type;
453 public WireFormat.FieldType getLiteType() { in getLiteType()
519 final WireFormat.FieldType type) { in internalInitSingular()
532 final WireFormat.FieldType type, in internalInitRepeated()
DWireFormat.java107 public enum FieldType { enum in WireFormat
135 FieldType(final JavaType javaType, final int wireType) { in FieldType() method in WireFormat.FieldType
DDescriptors.java673 public WireFormat.FieldType getLiteType() { in getLiteType()
679 private static final WireFormat.FieldType[] table =
680 WireFormat.FieldType.values();
DAbstractMessage.java352 if (field.getLiteType() == WireFormat.FieldType.ENUM) { in mergeFieldFrom()
/external/clang/include/clang/Basic/
DAllDiagnostics.h28 template <size_t SizeOfStr, typename FieldType>
30 char FIELD_TOO_SMALL[SizeOfStr <= FieldType(~0U) ? 1 : -1];
/external/chromium/chrome/browser/sync/syncable/
Dsyncable-inl.h11 template <typename FieldType, FieldType field_index>
Dsyncable.h542 template <typename FieldType, FieldType field_index>
/external/smali/baksmali/src/main/resources/templates/templates/
Dbaksmali.stg83 field(AccessFlags, FieldName, FieldType, Annotations, InitialValue, Comments) ::=
88 .field <AccessFlags: {<it> }><FieldName>:<FieldType><if(InitialValue)> = <InitialValue><endif>
383 FieldReference(ContainingClass, FieldName, FieldType) ::=
385 <ContainingClass>-><FieldName>:<FieldType>
/external/clang/lib/CodeGen/
DCGClass.cpp555 QualType FieldType = Field->getType(); in EmitMemberInitializer() local
565 FieldType = MemberInit->getIndirectMember()->getAnonField()->getType(); in EmitMemberInitializer()
577 = CGF.getContext().getAsConstantArrayType(FieldType); in EmitMemberInitializer()
594 CGF.EmitAggregateCopy(LHS.getAddress(), Src.getAddress(), FieldType, in EmitMemberInitializer()
609 QualType FieldType = Field->getType(); in EmitInitializerForField() local
610 if (!hasAggregateLLVMType(FieldType)) { in EmitInitializerForField()
617 } else if (FieldType->isAnyComplexType()) { in EmitInitializerForField()
626 QualType BaseElementTy = getContext().getBaseElementType(FieldType); in EmitInitializerForField()
645 EmitAggMemberInitializer(*this, LHS, Init, ArrayIndexVar, FieldType, in EmitInitializerForField()
654 const RecordType *RT = FieldType->getAs<RecordType>(); in EmitInitializerForField()
DCGExprConstant.cpp1312 QualType FieldType = I->getType(); in FillInNullDataMemberPointers() local
1314 if (CGM.getTypes().isZeroInitializable(FieldType)) in FillInNullDataMemberPointers()
1318 FillInNullDataMemberPointers(CGM, FieldType, Elements, FieldOffset); in FillInNullDataMemberPointers()
DCGExpr.cpp2114 QualType FieldType = Field->getType(); in EmitLValueForFieldInitialization() local
2116 if (!FieldType->isReferenceType()) in EmitLValueForFieldInitialization()
2123 assert(!FieldType.getObjCGCAttr() && "fields cannot have GC attrs"); in EmitLValueForFieldInitialization()
2129 llvm::Type *llvmType = ConvertTypeForMem(FieldType); in EmitLValueForFieldInitialization()
2139 return MakeAddrLValue(V, FieldType, Alignment); in EmitLValueForFieldInitialization()
/external/chromium/testing/gmock/include/gmock/
Dgmock-matchers.h1669 template <typename Class, typename FieldType>
1672 FieldMatcher(FieldType Class::*field, in FieldMatcher()
1673 const Matcher<const FieldType&>& matcher) in FieldMatcher()
1716 const FieldType Class::*field_;
1717 const Matcher<const FieldType&> matcher_;
2691 template <typename Class, typename FieldType, typename FieldMatcher>
2693 internal::FieldMatcher<Class, FieldType> > Field(
2694 FieldType Class::*field, const FieldMatcher& matcher) {
2696 internal::FieldMatcher<Class, FieldType>(
2697 field, MatcherCast<const FieldType&>(matcher)));
/external/clang/lib/Sema/
DSemaDeclCXX.cpp3300 QualType FieldType = Context.getBaseElementType(Field->getType()); in MarkBaseAndMemberDestructorsReferenced() local
3302 const RecordType* RT = FieldType->getAs<RecordType>(); in MarkBaseAndMemberDestructorsReferenced()
3320 << FieldType); in MarkBaseAndMemberDestructorsReferenced()
4531 QualType FieldType = S.Context.getBaseElementType(FD->getType()); in shouldDeleteForField() local
4532 CXXRecordDecl *FieldRecord = FieldType->getAsCXXRecordDecl(); in shouldDeleteForField()
4537 if (FieldType->isReferenceType() && !FD->hasInClassInitializer()) { in shouldDeleteForField()
4540 << MD->getParent() << FD << FieldType << /*Reference*/0; in shouldDeleteForField()
4547 if (!inUnion() && FieldType.isConstQualified() && in shouldDeleteForField()
4552 << MD->getParent() << FD << FieldType << /*Const*/1; in shouldDeleteForField()
4556 if (inUnion() && !FieldType.isConstQualified()) in shouldDeleteForField()
[all …]
DSemaDeclAttr.cpp2546 QualType FieldType = Field->getType(); in handleTransparentUnionAttr() local
2547 if (S.Context.getTypeSize(FieldType) != FirstSize || in handleTransparentUnionAttr()
2548 S.Context.getTypeAlign(FieldType) != FirstAlign) { in handleTransparentUnionAttr()
2550 bool isSize = S.Context.getTypeSize(FieldType) != FirstSize; in handleTransparentUnionAttr()
2551 unsigned FieldBits = isSize? S.Context.getTypeSize(FieldType) in handleTransparentUnionAttr()
2552 : S.Context.getTypeAlign(FieldType); in handleTransparentUnionAttr()
DSemaExpr.cpp9892 VarDecl *Var, QualType FieldType, in captureInLambda() argument
9899 = FieldDecl::Create(S.Context, Lambda, Loc, Loc, 0, FieldType, in captureInLambda()
9900 S.Context.getTrivialTypeSourceInfo(FieldType, Loc), in captureInLambda()
9933 QualType BaseType = FieldType; in captureInLambda()
DSemaInit.cpp1862 QualType FieldType = (*Field)->getType(); in CheckDesignatedInitializer() local
1868 FieldType, 0, 0, Index, in CheckDesignatedInitializer()
/external/protobuf/java/src/test/java/com/google/protobuf/
DDescriptorsTest.java397 WireFormat.FieldType[] values2 = WireFormat.FieldType.values(); in testFieldTypeTablesMatch()

12