Home
last modified time | relevance | path

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

12

/external/protobuf/src/google/protobuf/
Dextension_set.h77 typedef uint8 FieldType; typedef
91 inline ExtensionInfo(FieldType type_param, bool isrepeated, bool ispacked) in ExtensionInfo()
95 FieldType type;
168 int number, FieldType type,
171 int number, FieldType type,
175 int number, FieldType type,
220 FieldType ExtensionType(int number) const;
243 void SetInt32 (int number, FieldType type, int32 value, desc);
244 void SetInt64 (int number, FieldType type, int64 value, desc);
245 void SetUInt32(int number, FieldType type, uint32 value, desc);
[all …]
Dwire_format_lite.h96 enum FieldType { enum
134 static CppType FieldTypeToCppType(FieldType type);
138 WireFormatLite::FieldType type) { in WireTypeForFieldType()
158 static inline int TagSize(int field_number, WireFormatLite::FieldType type);
253 template <typename CType, enum FieldType DeclaredType>
259 template <typename CType, enum FieldType DeclaredType>
267 template <typename CType, enum FieldType DeclaredType>
278 template <typename CType, enum FieldType DeclaredType>
285 template <typename CType, enum FieldType DeclaredType>
291 template <typename CType, enum FieldType DeclaredType>
[all …]
Dextension_set.cc51 inline WireFormatLite::FieldType real_type(FieldType type) { in real_type()
53 return static_cast<WireFormatLite::FieldType>(type); in real_type()
56 inline WireFormatLite::CppType cpp_type(FieldType type) { in cpp_type()
128 int number, FieldType type, in RegisterExtension()
151 int number, FieldType type, in RegisterEnumExtension()
163 int number, FieldType type, in RegisterMessageExtension()
215 FieldType ExtensionSet::ExtensionType(int number) const { in ExtensionType()
265 void ExtensionSet::Set##CAMELCASE(int number, FieldType type, \
295 void ExtensionSet::Add##CAMELCASE(int number, FieldType type, \
333 void* ExtensionSet::MutableRawRepeatedField(int number, FieldType field_type, in MutableRawRepeatedField()
[all …]
Dwire_format.h297 static_cast<WireFormatLite::FieldType>( in WireTypeForFieldType()
309 static_cast<WireFormatLite::FieldType>( in TagSize()
Dextension_set_heavy.cc122 inline FieldDescriptor::Type real_type(FieldType type) { in real_type()
127 inline FieldDescriptor::CppType cpp_type(FieldType type) { in cpp_type()
132 inline WireFormatLite::FieldType field_type(FieldType type) { in field_type()
134 return static_cast<WireFormatLite::FieldType>(type); in field_type()
Dwire_format_lite_inl.h228 template <typename CType, enum WireFormatLite::FieldType DeclaredType>
246 template <typename CType, enum WireFormatLite::FieldType DeclaredType>
317 template <typename CType, enum WireFormatLite::FieldType DeclaredType> in READ_REPEATED_FIXED_SIZE_PRIMITIVE()
327 template <typename CType, enum WireFormatLite::FieldType DeclaredType>
342 template <typename CType, enum WireFormatLite::FieldType DeclaredType>
422 template <typename CType, enum WireFormatLite::FieldType DeclaredType>
/external/libchrome/base/json/
Djson_value_converter.h110 template <typename FieldType>
114 virtual bool Convert(const base::Value& value, FieldType* field) const = 0;
117 template <typename StructType, typename FieldType>
121 FieldType StructType::* field, in FieldConverter()
122 ValueConverter<FieldType>* converter) in FieldConverter()
133 FieldType StructType::* field_pointer_;
134 scoped_ptr<ValueConverter<FieldType> > value_converter_;
138 template <typename FieldType>
198 template <typename FieldType>
199 class ValueFieldConverter : public ValueConverter<FieldType> {
[all …]
/external/deqp/framework/platform/android/
DtcuAndroidUtil.cpp221 template<typename FieldType>
222 FieldType getStaticFieldValue (JNIEnv* env, jclass cls, jfieldID fieldId);
268 template<typename FieldType>
269 FieldType getStaticField (JNIEnv* env, const char* className, const char* fieldName) in getStaticField()
272 const jfieldID fieldId = env->GetStaticFieldID(cls, fieldName, getJNITypeStr<FieldType>()); in getStaticField()
277 return getStaticFieldValue<FieldType>(env, cls, fieldId); in getStaticField()
282 template<typename FieldType>
283 FieldType getFieldValue (JNIEnv* env, jobject obj, jfieldID fieldId);
299 template<typename FieldType>
300 FieldType getField (JNIEnv* env, jobject obj, const char* fieldName) in getField()
[all …]
/external/protobuf/java/src/main/java/com/google/protobuf/
DFieldSet.java59 WireFormat.FieldType getLiteType(); in getLiteType()
366 private static void verifyType(final WireFormat.FieldType type, in verifyType()
467 static int getWireFormatForFieldType(final WireFormat.FieldType type, in getWireFormatForFieldType()
554 final WireFormat.FieldType type, in readPrimitiveField()
652 final WireFormat.FieldType type, in writeElement()
657 if (type == WireFormat.FieldType.GROUP) { in writeElement()
677 final WireFormat.FieldType type, in writeElementNoTag()
719 WireFormat.FieldType type = descriptor.getLiteType(); in writeField()
812 final WireFormat.FieldType type, in computeElementSize()
815 if (type == WireFormat.FieldType.GROUP) { in computeElementSize()
[all …]
DGeneratedMessageLite.java546 if (extension.descriptor.getLiteType() == WireFormat.FieldType.ENUM) { in parseUnknownField()
586 WireFormat.FieldType.GROUP) { in parseUnknownField()
637 final WireFormat.FieldType type, in newSingularGeneratedExtension()
657 final WireFormat.FieldType type, in newRepeatedGeneratedExtension()
677 final WireFormat.FieldType type, in ExtensionDescriptor()
689 final WireFormat.FieldType type;
697 public WireFormat.FieldType getLiteType() { in getLiteType()
793 if (descriptor.getLiteType() == WireFormat.FieldType.MESSAGE && in GeneratedExtension()
DWireFormat.java107 public enum FieldType { enum in WireFormat
135 FieldType(final JavaType javaType, final int wireType) { in FieldType() method in WireFormat.FieldType
DExtension.java43 public abstract WireFormat.FieldType getLiteType(); in getLiteType()
DMessageReflection.java349 CodedInputStream input, WireFormat.FieldType type, in readPrimitiveField()
518 CodedInputStream input, WireFormat.FieldType type, in readPrimitiveField()
656 CodedInputStream input, WireFormat.FieldType type, in readPrimitiveField()
752 if (field.getLiteType() == WireFormat.FieldType.ENUM) { in mergeFieldFrom()
DDescriptors.java865 public WireFormat.FieldType getLiteType() { in getLiteType()
877 private static final WireFormat.FieldType[] table =
878 WireFormat.FieldType.values();
/external/clang/include/clang/Basic/
DAllDiagnostics.h29 template <size_t SizeOfStr, typename FieldType>
31 char FIELD_TOO_SMALL[SizeOfStr <= FieldType(~0U) ? 1 : -1];
/external/clang/lib/CodeGen/
DCGRecordLayoutBuilder.cpp300 llvm::Type *FieldType = getStorageType(Field); in lowerUnion() local
301 if (LayoutSize < getSize(FieldType)) in lowerUnion()
302 FieldType = getByteArrayType(LayoutSize); in lowerUnion()
303 setBitFieldInfo(Field, CharUnits::Zero(), FieldType); in lowerUnion()
306 llvm::Type *FieldType = getStorageType(Field); in lowerUnion() local
321 StorageType = FieldType; in lowerUnion()
330 getAlignment(FieldType) > getAlignment(StorageType) || in lowerUnion()
331 (getAlignment(FieldType) == getAlignment(StorageType) && in lowerUnion()
332 getSize(FieldType) > getSize(StorageType))) in lowerUnion()
333 StorageType = FieldType; in lowerUnion()
DCGClass.cpp706 QualType FieldType = Field->getType(); in EmitMemberInitializer() local
720 = CGF.getContext().getAsConstantArrayType(FieldType); in EmitMemberInitializer()
735 CGF.EmitAggregateCopy(LHS.getAddress(), Src.getAddress(), FieldType, in EmitMemberInitializer()
739 QualType::DestructionKind dtorKind = FieldType.isDestructedType(); in EmitMemberInitializer()
741 CGF.pushEHDestroy(dtorKind, LHS.getAddress(), FieldType); in EmitMemberInitializer()
754 QualType FieldType = Field->getType(); in EmitInitializerForField() local
755 switch (getEvaluationKind(FieldType)) { in EmitInitializerForField()
772 QualType BaseElementTy = getContext().getBaseElementType(FieldType); in EmitInitializerForField()
790 EmitAggMemberInitializer(*this, LHS, Init, ArrayIndexVar, FieldType, in EmitInitializerForField()
797 QualType::DestructionKind dtorKind = FieldType.isDestructedType(); in EmitInitializerForField()
[all …]
/external/nanopb-c/generator/proto/
Dnanopb.proto12 enum FieldType { enum
31 optional FieldType type = 3 [default = FT_DEFAULT];
/external/clang/lib/Sema/
DSemaCUDA.cpp367 const RecordType *FieldType = in inferCUDATargetForImplicitSpecialMember() local
369 if (!FieldType) { in inferCUDATargetForImplicitSpecialMember()
373 CXXRecordDecl *FieldRecDecl = cast<CXXRecordDecl>(FieldType->getDecl()); in inferCUDATargetForImplicitSpecialMember()
DSemaDeclCXX.cpp4319 QualType FieldType = Context.getBaseElementType(Field->getType()); in MarkBaseAndMemberDestructorsReferenced() local
4321 const RecordType* RT = FieldType->getAs<RecordType>(); in MarkBaseAndMemberDestructorsReferenced()
4339 << FieldType); in MarkBaseAndMemberDestructorsReferenced()
5635 QualType FieldType = S.Context.getBaseElementType(FD->getType()); in shouldDeleteForField() local
5636 CXXRecordDecl *FieldRecord = FieldType->getAsCXXRecordDecl(); in shouldDeleteForField()
5641 if (FieldType->isReferenceType() && !FD->hasInClassInitializer()) { in shouldDeleteForField()
5644 << MD->getParent() << FD << FieldType << /*Reference*/0; in shouldDeleteForField()
5651 if (!inUnion() && FieldType.isConstQualified() && in shouldDeleteForField()
5660 if (inUnion() && !FieldType.isConstQualified()) in shouldDeleteForField()
5665 if (FieldType->isRValueReferenceType()) { in shouldDeleteForField()
[all …]
DSemaLambda.cpp1394 QualType FieldType = Field->getType(); in performLambdaVarCaptureInitialization() local
1404 QualType BaseType = FieldType; in performLambdaVarCaptureInitialization()
1449 Var->getIdentifier(), FieldType, Loc)); in performLambdaVarCaptureInitialization()
/external/clang/include/clang/Sema/
DInitialization.h189 InitializedEntity(IdentifierInfo *VarID, QualType FieldType, SourceLocation Loc) in InitializedEntity() argument
190 : Kind(EK_LambdaCapture), Parent(nullptr), Type(FieldType), in InitializedEntity()
319 QualType FieldType, in InitializeLambdaCapture() argument
321 return InitializedEntity(VarID, FieldType, Loc); in InitializeLambdaCapture()
/external/icu/icu4c/source/i18n/
Dtzfmt.cpp176 enum FieldType { enum in GMTOffsetField
186 static GMTOffsetField* createTimeField(FieldType type, uint8_t width, UErrorCode& status);
187 static UBool isValid(FieldType type, int32_t width);
188 static FieldType getTypeByLetter(UChar ch);
190 FieldType getType() const;
196 FieldType fType;
238 GMTOffsetField::createTimeField(FieldType type, uint8_t width, UErrorCode& status) { in createTimeField()
256 GMTOffsetField::isValid(FieldType type, int32_t width) { in isValid()
269 GMTOffsetField::FieldType
281 inline GMTOffsetField::FieldType
[all …]
/external/google-breakpad/src/testing/include/gmock/
Dgmock-matchers.h1716 template <typename Class, typename FieldType>
1719 FieldMatcher(FieldType Class::*field, in FieldMatcher()
1720 const Matcher<const FieldType&>& matcher) in FieldMatcher()
1763 const FieldType Class::*field_;
1764 const Matcher<const FieldType&> matcher_;
2812 template <typename Class, typename FieldType, typename FieldMatcher>
2814 internal::FieldMatcher<Class, FieldType> > Field(
2815 FieldType Class::*field, const FieldMatcher& matcher) {
2817 internal::FieldMatcher<Class, FieldType>(
2818 field, MatcherCast<const FieldType&>(matcher)));
/external/gmock/include/gmock/
Dgmock-matchers.h2008 template <typename Class, typename FieldType>
2011 FieldMatcher(FieldType Class::*field,
2012 const Matcher<const FieldType&>& matcher)
2055 const FieldType Class::*field_;
2056 const Matcher<const FieldType&> matcher_;
3564 template <typename Class, typename FieldType, typename FieldMatcher>
3566 internal::FieldMatcher<Class, FieldType> > Field(
3567 FieldType Class::*field, const FieldMatcher& matcher) {
3569 internal::FieldMatcher<Class, FieldType>(
3570 field, MatcherCast<const FieldType&>(matcher)));

12