/external/flatbuffers/src/ |
D | idl_gen_swift.cpp | 252 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 …]
|
D | idl_gen_csharp.cpp | 253 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()
|
D | idl_gen_cpp.cpp | 718 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()
|
D | idl_gen_dart.cpp | 509 if (IsEnum(field.value.type)) { in GenStructObjectAPI()
|
D | idl_gen_kotlin.cpp | 147 static bool IsEnum(const Type &type) { in IsEnum() function in flatbuffers::kotlin::KotlinGenerator
|
/external/cronet/third_party/protobuf/csharp/src/Google.Protobuf/Reflection/ |
D | CustomOptions.cs | 297 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/ |
D | CustomOptions.cs | 297 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/ |
D | ScopedPrinter.h | 132 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/ |
D | ScopedPrinter.h | 133 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/ |
D | field_trial_params.h | 105 template <typename T, bool IsEnum = std::is_enum<T>::value>
|
/external/libtextclassifier/native/utils/flatbuffers/ |
D | reflection.h | 187 inline bool IsEnum(const reflection::Type* type) {
|
D | reflection.cc | 131 TC3_DCHECK(IsEnum(type)); in ParseEnumValue()
|
D | mutable.cc | 142 if (!IsEnum(field->type())) { in SetFromEnumValueName() 174 if (IsEnum(field->type()) && SetFromEnumValueName(field, value)) { in ParseAndSet()
|
D | mutable_test.cc | 73 EXPECT_TRUE(IsEnum(buffer->GetFieldOrNull("enum_value")->type())); in TEST_F()
|
/external/cronet/base/metrics/ |
D | field_trial_params.h | 127 template <typename T, bool IsEnum = std::is_enum<T>::value>
|
/external/python/cpython2/Lib/plat-mac/ |
D | aetypes.py | 52 def IsEnum(x): function 56 if IsEnum(enum): return enum
|
/external/protobuf/src/google/protobuf/ |
D | map_type_handler.h | 89 #define TYPE_TRAITS(FieldType, CType, WireFormatType, IsMessage, IsEnum) \ 94 static const bool kIsEnum = IsEnum; \
|
/external/cronet/third_party/protobuf/src/google/protobuf/ |
D | map_type_handler.h | 89 #define TYPE_TRAITS(FieldType, CType, WireFormatType, IsMessage, IsEnum) \ 94 static const bool kIsEnum = IsEnum; \
|
/external/flatbuffers/include/flatbuffers/ |
D | idl.h | 487 inline bool IsEnum(const Type &type) { in IsEnum() function
|
/external/clang/include/clang/Basic/ |
D | TokenKinds.def | 430 TYPE_TRAIT_1(__is_enum, IsEnum, KEYCXX)
|
/external/clang/lib/Sema/ |
D | SemaChecking.cpp | 5164 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()
|
D | SemaCodeComplete.cpp | 330 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/ |
D | catch.hpp | 1618 bool IsEnum = std::is_enum<T>::value
|