Home
last modified time | relevance | path

Searched refs:IsEnum (Results 1 – 23 of 23) sorted by relevance

/external/flatbuffers/src/
Didl_gen_swift.cpp252 if (IsEnum(field.value.type)) { in GenStructReader()
258 IsEnum(field.value.type) ? "{{BASEVALUE}}" : "{{VALUETYPE}}"; in GenStructReader()
260 const auto accessing_value = IsEnum(field.value.type) ? ".value" : ""; in GenStructReader()
289 if (!IsEnum(field.value.type)) { in GenStructReader()
291 } else if (IsEnum(field.value.type)) { in GenStructReader()
324 if (IsEnum(type)) in BuildStructConstructor()
349 if (IsEnum(field.value.type)) { in GenMutableStructReader()
354 if (IsScalar(field.value.type.base_type) && !IsEnum(field.value.type)) { in GenMutableStructReader()
357 } else if (IsEnum(field.value.type)) { in GenMutableStructReader()
368 code_ += GenMutate("{{OFFSET}}", "", IsEnum(field.value.type)); in GenMutableStructReader()
[all …]
Didl_gen_csharp.cpp253 if (IsEnum(type)) return NamespacedName(*type.enum_def); in GenTypeBasic()
298 if (IsEnum(type)) return "(" + NamespacedName(*type.enum_def) + ")"; in DestinationCast()
314 if (IsEnum(type)) in SourceCast()
761 (IsEnum(field.value.type) && field.IsScalarOptional())) { in GenStruct()
960 if (IsEnum(field.value.type.VectorType())) { in GenStruct()
Didl_gen_cpp.cpp718 return (opts_.scoped_enums && IsEnum(type)) || in VectorElementUserFacing()
720 IsEnum(type)); in VectorElementUserFacing()
912 if (IsEnum(element_type) && !opts_.g_only_fixed_enums) { in GenTypeGet()
934 text += GenTypeBasic(element_type, IsEnum(element_type)); in GenTypeSpan()
3618 const auto is_enum = IsEnum(element_type); in GenStructConstructor()
3642 const auto is_enum = IsEnum(type.VectorType()); in GenArrayAccessor()
Didl_gen_dart.cpp509 if (IsEnum(field.value.type)) { in GenStructObjectAPI()
Didl_gen_kotlin.cpp147 static bool IsEnum(const Type &type) { in IsEnum() function in flatbuffers::kotlin::KotlinGenerator
/external/cronet/third_party/protobuf/csharp/src/Google.Protobuf/Reflection/
DCustomOptions.cs297 if (typeArgs.Length == 1 && typeArgs[0].GetTypeInfo().IsEnum) in TryGetPrimitiveValue()
307 if (typeArgs.Length == 1 && typeArgs[0].GetTypeInfo().IsEnum) in TryGetPrimitiveValue()
/external/protobuf/csharp/src/Google.Protobuf/Reflection/
DCustomOptions.cs297 if (typeArgs.Length == 1 && typeArgs[0].GetTypeInfo().IsEnum) in TryGetPrimitiveValue()
307 if (typeArgs.Length == 1 && typeArgs[0].GetTypeInfo().IsEnum) in TryGetPrimitiveValue()
/external/llvm/include/llvm/Support/
DScopedPrinter.h132 bool IsEnum = (Flag.Value & EnumMask) != 0; variable
133 if ((!IsEnum && (Value & Flag.Value) == Flag.Value) ||
134 (IsEnum && (Value & EnumMask) == Flag.Value)) {
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DScopedPrinter.h133 bool IsEnum = (Flag.Value & EnumMask) != 0; variable
134 if ((!IsEnum && (Value & Flag.Value) == Flag.Value) ||
135 (IsEnum && (Value & EnumMask) == Flag.Value)) {
/external/libchrome/base/metrics/
Dfield_trial_params.h105 template <typename T, bool IsEnum = std::is_enum<T>::value>
/external/libtextclassifier/native/utils/flatbuffers/
Dreflection.h187 inline bool IsEnum(const reflection::Type* type) {
Dreflection.cc131 TC3_DCHECK(IsEnum(type)); in ParseEnumValue()
Dmutable.cc142 if (!IsEnum(field->type())) { in SetFromEnumValueName()
174 if (IsEnum(field->type()) && SetFromEnumValueName(field, value)) { in ParseAndSet()
Dmutable_test.cc73 EXPECT_TRUE(IsEnum(buffer->GetFieldOrNull("enum_value")->type())); in TEST_F()
/external/cronet/base/metrics/
Dfield_trial_params.h127 template <typename T, bool IsEnum = std::is_enum<T>::value>
/external/python/cpython2/Lib/plat-mac/
Daetypes.py52 def IsEnum(x): function
56 if IsEnum(enum): return enum
/external/protobuf/src/google/protobuf/
Dmap_type_handler.h89 #define TYPE_TRAITS(FieldType, CType, WireFormatType, IsMessage, IsEnum) \
94 static const bool kIsEnum = IsEnum; \
/external/cronet/third_party/protobuf/src/google/protobuf/
Dmap_type_handler.h89 #define TYPE_TRAITS(FieldType, CType, WireFormatType, IsMessage, IsEnum) \
94 static const bool kIsEnum = IsEnum; \
/external/flatbuffers/include/flatbuffers/
Didl.h487 inline bool IsEnum(const Type &type) { in IsEnum() function
/external/clang/include/clang/Basic/
DTokenKinds.def430 TYPE_TRAIT_1(__is_enum, IsEnum, KEYCXX)
/external/clang/lib/Sema/
DSemaChecking.cpp5164 bool IsEnum = false; in checkFormatExpr() local
5167 IsEnum = true; in checkFormatExpr()
5235 << IntendedTy << IsEnum << E->getSourceRange(), in checkFormatExpr()
5287 << Name << IntendedTy << IsEnum in checkFormatExpr()
5297 << AT.getRepresentativeTypeName(S.Context) << ExprTy << IsEnum in checkFormatExpr()
5319 << IsEnum << CSR << E->getSourceRange(), in checkFormatExpr()
DSemaCodeComplete.cpp330 bool IsEnum(const NamedDecl *ND) const;
1123 bool ResultBuilder::IsEnum(const NamedDecl *ND) const { in IsEnum() function in ResultBuilder
3777 Filter = &ResultBuilder::IsEnum; in CodeCompleteTag()
/external/bcc/tests/cc/
Dcatch.hpp1618 bool IsEnum = std::is_enum<T>::value