Home
last modified time | relevance | path

Searched refs:FieldType (Results 1 – 25 of 28) 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/chromium/chrome/browser/sync/syncable/
Dsyncable-inl.h11 template <typename FieldType, FieldType field_index>
Dsyncable.h542 template <typename FieldType, FieldType field_index>
/external/clang/include/clang/Basic/
DAllDiagnostics.h29 template <size_t SizeOfStr, typename FieldType>
31 char FIELD_TOO_SMALL[SizeOfStr <= FieldType(~0U) ? 1 : -1];
/external/icu4c/i18n/
Dtzfmt.cpp111 enum FieldType { enum in GMTOffsetField
121 static GMTOffsetField* createTimeField(FieldType type, uint8_t width, UErrorCode& status);
122 static UBool isValid(FieldType type, int32_t width);
123 static FieldType getTypeByLetter(UChar ch);
125 FieldType getType() const;
131 FieldType fType;
173 GMTOffsetField::createTimeField(FieldType type, uint8_t width, UErrorCode& status) { in createTimeField()
191 GMTOffsetField::isValid(FieldType type, int32_t width) { in isValid()
204 GMTOffsetField::FieldType
216 inline GMTOffsetField::FieldType
[all …]
/external/clang/lib/CodeGen/
DCGClass.cpp550 QualType FieldType = Field->getType(); in EmitMemberInitializer() local
564 FieldType = MemberInit->getIndirectMember()->getAnonField()->getType(); in EmitMemberInitializer()
575 = CGF.getContext().getAsConstantArrayType(FieldType); in EmitMemberInitializer()
591 CGF.EmitAggregateCopy(LHS.getAddress(), Src.getAddress(), FieldType, in EmitMemberInitializer()
606 QualType FieldType = Field->getType(); in EmitInitializerForField() local
607 switch (getEvaluationKind(FieldType)) { in EmitInitializerForField()
626 QualType BaseElementTy = getContext().getBaseElementType(FieldType); in EmitInitializerForField()
645 EmitAggMemberInitializer(*this, LHS, Init, ArrayIndexVar, FieldType, in EmitInitializerForField()
652 QualType::DestructionKind dtorKind = FieldType.isDestructedType(); in EmitInitializerForField()
654 pushEHDestroy(dtorKind, LHS.getAddress(), FieldType); in EmitInitializerForField()
[all …]
DCGExprConstant.cpp1332 QualType FieldType = I->getType(); in FillInNullDataMemberPointers() local
1334 if (CGM.getTypes().isZeroInitializable(FieldType)) in FillInNullDataMemberPointers()
1338 FillInNullDataMemberPointers(CGM, FieldType, Elements, FieldOffset); in FillInNullDataMemberPointers()
DCGExpr.cpp2552 QualType FieldType = Field->getType(); in EmitLValueForFieldInitialization() local
2554 if (!FieldType->isReferenceType()) in EmitLValueForFieldInitialization()
2561 assert(!FieldType.getObjCGCAttr() && "fields cannot have GC attrs"); in EmitLValueForFieldInitialization()
2567 llvm::Type *llvmType = ConvertTypeForMem(FieldType); in EmitLValueForFieldInitialization()
2577 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.cpp3585 QualType FieldType = Context.getBaseElementType(Field->getType()); in MarkBaseAndMemberDestructorsReferenced() local
3587 const RecordType* RT = FieldType->getAs<RecordType>(); in MarkBaseAndMemberDestructorsReferenced()
3605 << FieldType); in MarkBaseAndMemberDestructorsReferenced()
4648 QualType FieldType = S.Context.getBaseElementType(FD->getType()); in shouldDeleteForField() local
4649 CXXRecordDecl *FieldRecord = FieldType->getAsCXXRecordDecl(); in shouldDeleteForField()
4654 if (FieldType->isReferenceType() && !FD->hasInClassInitializer()) { in shouldDeleteForField()
4657 << MD->getParent() << FD << FieldType << /*Reference*/0; in shouldDeleteForField()
4664 if (!inUnion() && FieldType.isConstQualified() && in shouldDeleteForField()
4673 if (inUnion() && !FieldType.isConstQualified()) in shouldDeleteForField()
4678 if (FieldType->isRValueReferenceType()) { in shouldDeleteForField()
[all …]
DSemaDeclAttr.cpp3334 QualType FieldType = Field->getType(); in handleTransparentUnionAttr() local
3335 if (S.Context.getTypeSize(FieldType) != FirstSize || in handleTransparentUnionAttr()
3336 S.Context.getTypeAlign(FieldType) != FirstAlign) { in handleTransparentUnionAttr()
3338 bool isSize = S.Context.getTypeSize(FieldType) != FirstSize; in handleTransparentUnionAttr()
3339 unsigned FieldBits = isSize? S.Context.getTypeSize(FieldType) in handleTransparentUnionAttr()
3340 : S.Context.getTypeAlign(FieldType); in handleTransparentUnionAttr()
DSemaExpr.cpp10670 VarDecl *Var, QualType FieldType, in captureInLambda() argument
10678 = FieldDecl::Create(S.Context, Lambda, Loc, Loc, 0, FieldType, in captureInLambda()
10679 S.Context.getTrivialTypeSourceInfo(FieldType, Loc), in captureInLambda()
10712 QualType BaseType = FieldType; in captureInLambda()
/external/protobuf/java/src/test/java/com/google/protobuf/
DDescriptorsTest.java397 WireFormat.FieldType[] values2 = WireFormat.FieldType.values(); in testFieldTypeTablesMatch()
/external/ceres-solver/internal/ceres/gmock/
Dgmock.h6281 template <typename Class, typename FieldType>
6284 FieldMatcher(FieldType Class::*field,
6285 const Matcher<const FieldType&>& matcher)
6328 const FieldType Class::*field_;
6329 const Matcher<const FieldType&> matcher_;
7303 template <typename Class, typename FieldType, typename FieldMatcher>
7305 internal::FieldMatcher<Class, FieldType> > Field(
7306 FieldType Class::*field, const FieldMatcher& matcher) {
7308 internal::FieldMatcher<Class, FieldType>(
7309 field, MatcherCast<const FieldType&>(matcher)));

12