Home
last modified time | relevance | path

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

12345678910>>...55

/dports/converters/wkhtmltopdf/qt-5db36ec/tests/auto/compiler/
H A Dtst_compiler.cpp394 enum { IsEnum = TIHelper::IsE }; enumerator
406 QVERIFY(QTestTypeInfo<Enum1>::IsEnum); in detectEnums()
407 QVERIFY(QTestTypeInfo<Enum2>::IsEnum); in detectEnums()
408 QVERIFY(QTestTypeInfo<Enum3>::IsEnum); in detectEnums()
409 QVERIFY(!QTestTypeInfo<int>::IsEnum); in detectEnums()
410 QVERIFY(!QTestTypeInfo<char>::IsEnum); in detectEnums()
411 QVERIFY(!QTestTypeInfo<uint>::IsEnum); in detectEnums()
412 QVERIFY(!QTestTypeInfo<short>::IsEnum); in detectEnums()
413 QVERIFY(!QTestTypeInfo<ushort>::IsEnum); in detectEnums()
414 QVERIFY(!QTestTypeInfo<void*>::IsEnum); in detectEnums()
[all …]
/dports/lang/mono/mono-5.10.1.57/mono/tests/
H A Disvaluetype.cs24 …Console.WriteLine ("TypeAttributes is enum: "+ typeof(System.Reflection.TypeAttributes).IsEnum.ToS… in Main()
25 if (!typeof(System.Reflection.TypeAttributes).IsEnum) in Main()
28 Console.WriteLine ("Enum is enum: "+ typeof(System.Enum).IsEnum.ToString()); in Main()
29 if (typeof(System.Enum).IsEnum) in Main()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.CodeDom/tests/CodeTypeMembers/
H A DCodeTypeDeclarationTests.cs20 Assert.False(declaration.IsEnum); in Ctor_Default()
42 Assert.False(declaration.IsEnum); in IsClass_Set_Get_ReturnsTrue()
52 Assert.False(declaration.IsEnum); in IsClass_SetTrue_WasStruct_ReturnsTrue()
65 Assert.False(declaration.IsEnum); in IsStruct_Set_Get_ReturnsExpected()
75 declaration.IsEnum = value; in IsEnum_Set_Get_ReturnsExpected()
76 Assert.Equal(value, declaration.IsEnum); in IsEnum_Set_Get_ReturnsExpected()
92 Assert.False(declaration.IsEnum); in IsInterface_Set_Get_ReturnsExpected()
/dports/math/vtk8/VTK-8.2.0/Wrapping/Tools/
H A DvtkWrapPythonConstant.c74 if (val->IsEnum) in vtkWrapPython_AddConstantHelper()
252 (!val->IsEnum && !vtkWrap_IsNumeric(val))) in vtkWrapPython_AddPublicConstants()
262 typeName = (val->IsEnum ? val->Class : vtkWrap_GetTypeName(val)); in vtkWrapPython_AddPublicConstants()
263 scopeType = (scope && val->IsEnum && strcmp(typeName, "int") != 0); in vtkWrapPython_AddPublicConstants()
264 scopeValue = (scope && val->IsEnum); in vtkWrapPython_AddPublicConstants()
274 tname = (val->IsEnum ? val->Class : vtkWrap_GetTypeName(val)); in vtkWrapPython_AddPublicConstants()
337 (val->IsEnum ? val->Name : val->Value)); in vtkWrapPython_AddPublicConstants()
/dports/math/vtk6/VTK-6.2.0/Wrapping/Tools/
H A DvtkWrapPythonConstant.c72 if (val->IsEnum) in vtkWrapPython_AddConstantHelper()
262 (!val->IsEnum && !vtkWrap_IsNumeric(val))) in vtkWrapPython_AddPublicConstants()
272 typeName = (val->IsEnum ? val->Class : vtkWrap_GetTypeName(val)); in vtkWrapPython_AddPublicConstants()
273 scopeType = (scope && val->IsEnum && strcmp(typeName, "int") != 0); in vtkWrapPython_AddPublicConstants()
274 scopeValue = (scope && val->IsEnum); in vtkWrapPython_AddPublicConstants()
284 tname = (val->IsEnum ? val->Class : vtkWrap_GetTypeName(val)); in vtkWrapPython_AddPublicConstants()
347 (val->IsEnum ? val->Name : val->Value)); in vtkWrapPython_AddPublicConstants()
/dports/lang/mono/mono-5.10.1.57/external/corert/src/System.Private.CoreLib/shared/System/
H A DType.Enum.cs25 if (!IsEnum) in IsEnumDefined()
32 if (valueType.IsEnum) in IsEnumDefined()
72 if (!IsEnum) in GetEnumName()
77 if (!(valueType.IsEnum || Type.IsIntegerType(valueType))) in GetEnumName()
94 if (!IsEnum) in GetEnumNames()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/Common/src/CoreLib/System/
H A DType.Enum.cs25 if (!IsEnum) in IsEnumDefined()
32 if (valueType.IsEnum) in IsEnumDefined()
72 if (!IsEnum) in GetEnumName()
77 if (!(valueType.IsEnum || Type.IsIntegerType(valueType))) in GetEnumName()
94 if (!IsEnum) in GetEnumNames()
/dports/math/vtk9/VTK-9.1.0/Wrapping/Tools/
H A DvtkWrapPythonConstant.c72 if (val->IsEnum) in vtkWrapPython_AddConstantHelper()
227 !vtkWrap_IsScalar(val) || (!val->IsEnum && !vtkWrap_IsNumeric(val))) in vtkWrapPython_AddPublicConstants()
236 typeName = (val->IsEnum ? val->Class : vtkWrap_GetTypeName(val)); in vtkWrapPython_AddPublicConstants()
237 scopeType = (scope && val->IsEnum && strcmp(typeName, "int") != 0); in vtkWrapPython_AddPublicConstants()
238 scopeValue = (scope && val->IsEnum); in vtkWrapPython_AddPublicConstants()
248 tname = (val->IsEnum ? val->Class : vtkWrap_GetTypeName(val)); in vtkWrapPython_AddPublicConstants()
319 (scopeValue ? "::" : ""), (val->IsEnum ? val->Name : val->Value), in vtkWrapPython_AddPublicConstants()
/dports/lang/mono/mono-5.10.1.57/mcs/class/System/Test/System.CodeDom/
H A DCodeTypeDeclarationCas.cs63 Assert.IsFalse (ctd.IsEnum, "IsEnum"); in Constructor0_Deny_Unrestricted()
64 ctd.IsEnum = true; in Constructor0_Deny_Unrestricted()
87 Assert.IsFalse (ctd.IsEnum, "IsEnum"); in Constructor1_Deny_Unrestricted()
88 ctd.IsEnum = true; in Constructor1_Deny_Unrestricted()
/dports/lang/mono/mono-5.10.1.57/external/corert/src/System.Private.CoreLib/src/System/
H A DInvokeUtils.cs121 … if (semantics == CheckArgumentSemantics.SetFieldDirect && (srcEEType.IsEnum || dstEEType.IsEnum)) in ConvertOrWidenPrimitivesEnumsAndPointersIfPossible()
156 … dstObject = dstEEType.IsEnum ? Enum.ToObject(dstEEType, boolValue ? 1 : 0) : boolValue; in ConvertOrWidenPrimitivesEnumsAndPointersIfPossible()
161 dstObject = dstEEType.IsEnum ? Enum.ToObject(dstEEType, charValue) : charValue; in ConvertOrWidenPrimitivesEnumsAndPointersIfPossible()
166 … dstObject = dstEEType.IsEnum ? Enum.ToObject(dstEEType, sbyteValue) : sbyteValue; in ConvertOrWidenPrimitivesEnumsAndPointersIfPossible()
171 … dstObject = dstEEType.IsEnum ? Enum.ToObject(dstEEType, shortValue) : shortValue; in ConvertOrWidenPrimitivesEnumsAndPointersIfPossible()
176 dstObject = dstEEType.IsEnum ? Enum.ToObject(dstEEType, intValue) : intValue; in ConvertOrWidenPrimitivesEnumsAndPointersIfPossible()
181 dstObject = dstEEType.IsEnum ? Enum.ToObject(dstEEType, longValue) : longValue; in ConvertOrWidenPrimitivesEnumsAndPointersIfPossible()
186 dstObject = dstEEType.IsEnum ? Enum.ToObject(dstEEType, byteValue) : byteValue; in ConvertOrWidenPrimitivesEnumsAndPointersIfPossible()
191 … dstObject = dstEEType.IsEnum ? Enum.ToObject(dstEEType, ushortValue) : ushortValue; in ConvertOrWidenPrimitivesEnumsAndPointersIfPossible()
196 dstObject = dstEEType.IsEnum ? Enum.ToObject(dstEEType, uintValue) : uintValue; in ConvertOrWidenPrimitivesEnumsAndPointersIfPossible()
[all …]
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.ComponentModel.Annotations/src/System/ComponentModel/DataAnnotations/
H A DEnumDataTypeAttribute.cs30 if (!EnumType.IsEnum) in IsValid()
47 if (valueType.IsEnum && EnumType != valueType) in IsValid()
70 if (valueType.IsEnum) in IsValid()
/dports/www/gohugo/hugo-0.91.2/vendor/github.com/envoyproxy/protoc-gen-validate/vendor/github.com/lyft/protoc-gen-star/
H A Dfield_type_elem.go16 IsEnum() bool methodSpec
40 func (s *scalarE) IsEnum() bool { return false } func
51 func (e *enumE) IsEnum() bool { return true } func
/dports/www/tusd/tusd-1.8.0/vendor/github.com/envoyproxy/protoc-gen-validate/vendor/github.com/lyft/protoc-gen-star/
H A Dfield_type_elem.go16 IsEnum() bool methodSpec
40 func (s *scalarE) IsEnum() bool { return false } func
51 func (e *enumE) IsEnum() bool { return true } func
/dports/sysutils/istio/istio-1.6.7/vendor/github.com/envoyproxy/protoc-gen-validate/vendor/github.com/lyft/protoc-gen-star/
H A Dfield_type_elem.go16 IsEnum() bool methodSpec
40 func (s *scalarE) IsEnum() bool { return false } func
51 func (e *enumE) IsEnum() bool { return true } func
/dports/net/grpcui/grpcui-1.1.0/vendor/github.com/envoyproxy/protoc-gen-validate/vendor/github.com/lyft/protoc-gen-star/
H A Dfield_type_elem.go16 IsEnum() bool methodSpec
40 func (s *scalarE) IsEnum() bool { return false } func
51 func (e *enumE) IsEnum() bool { return true } func
/dports/net/grpcurl/grpcurl-1.8.5/vendor/github.com/envoyproxy/protoc-gen-validate/vendor/github.com/lyft/protoc-gen-star/
H A Dfield_type_elem.go16 IsEnum() bool methodSpec
40 func (s *scalarE) IsEnum() bool { return false } func
51 func (e *enumE) IsEnum() bool { return true } func
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/google/flatbuffers/src/
H A Didl_gen_swift.cpp212 if (IsEnum(field.value.type)) { in GenStructReader()
246 if (!IsEnum(field.value.type)) { in GenStructReader()
248 } else if (IsEnum(field.value.type)) { in GenStructReader()
268 if (IsEnum(field.value.type)) { in GenMutableStructReader()
276 } else if (IsEnum(field.value.type)) { in GenMutableStructReader()
347 if (!IsEnum(field.value.type)) { in GenerateStructArgs()
570 IsEnum(field.value.type) in GenTableWriterFields()
679 if (IsEnum(field.value.type)) { in GenTableReaderFields()
802 if (IsEnum(vectortype)) { in GenTableReaderVectorFields()
1215 if (IsEnum(field.value.type)) { in BuildObjectAPIConstructorBody()
[all …]
/dports/devel/flatbuffers/flatbuffers-2.0.0/src/
H A Didl_gen_swift.cpp212 if (IsEnum(field.value.type)) { in GenStructReader()
246 if (!IsEnum(field.value.type)) { in GenStructReader()
248 } else if (IsEnum(field.value.type)) { in GenStructReader()
268 if (IsEnum(field.value.type)) { in GenMutableStructReader()
276 } else if (IsEnum(field.value.type)) { in GenMutableStructReader()
347 if (!IsEnum(field.value.type)) { in GenerateStructArgs()
570 IsEnum(field.value.type) in GenTableWriterFields()
679 if (IsEnum(field.value.type)) { in GenTableReaderFields()
802 if (IsEnum(vectortype)) { in GenTableReaderVectorFields()
1215 if (IsEnum(field.value.type)) { in BuildObjectAPIConstructorBody()
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/
H A DEnumDataTypeAttribute.cs26 if (!this.EnumType.IsEnum) { in IsValid()
39 if (valueType.IsEnum && this.EnumType != valueType) { in IsValid()
60 if (valueType.IsEnum) { in IsValid()
/dports/lang/mono/mono-5.10.1.57/external/corert/src/System.Private.CoreLib/src/System/Reflection/
H A DCustomAttributeTypedArgument.cs49 if (ArgumentType.IsEnum) in ToString()
70 …ring.Format(CultureInfo.CurrentCulture, @"new {0}[{1}] {{ ", elementType.IsEnum ? elementType.Full… in ToString()
88 if (value.GetType().IsEnum) in CanonicalizeValue()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Linq.Expressions/src/System/Dynamic/Utils/
H A DTypeUtils.cs41 if (!type.IsEnum) in IsNumeric()
66 if (!type.IsEnum) in IsInteger()
88 if (!type.IsEnum) in IsInteger64()
104 if (!type.IsEnum) in IsArithmetic()
126 if (!type.IsEnum) in IsUnsignedInt()
143 if (!type.IsEnum) in IsIntegerOrBool()
191 if (instanceType.IsEnum && AreReferenceAssignable(targetType, typeof(Enum))) in IsValidInstanceType()
241 || source.IsEnum && source.GetEnumUnderlyingType() == typeof(bool)); in HasIdentityPrimitiveOrNullableConversionTo()
519 if (type.IsEnum) in IsConvertible()
600 return nnType == typeof(bool) || IsNumeric(nnType) || nnType.IsEnum; in HasBuiltInEqualityOperator()
[all …]
/dports/math/blaze/blaze-3.8/blaze/util/typetraits/
H A DIsEnum.h80 struct IsEnum struct
100 constexpr bool IsEnum_v = IsEnum<T>::value;
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Core/Microsoft/Scripting/Ast/
H A DTypeUtils.cs60 if (!type.IsEnum) { in IsNumeric()
81 if (type.IsEnum) { in IsInteger()
102 if (!type.IsEnum) { in IsArithmetic()
120 if (!type.IsEnum) { in IsUnsignedInt()
133 if (!type.IsEnum) { in IsIntegerOrBool()
183 … if (instanceType.IsEnum && AreReferenceAssignable(targetType, typeof(System.Enum))) { in IsValidInstanceType()
360 if (type.IsEnum) { in IsConvertible()
425 if (nnType == typeof(bool) || IsNumeric(nnType) || nnType.IsEnum) { in HasBuiltInEqualityOperator()
593 if (source.IsEnum && destination == typeof(System.Enum)) in IsImplicitBoxingConversion()
/dports/lang/mono/mono-5.10.1.57/mcs/tools/ictool/
H A Dpeer.cs42 public bool IsEnum { property in Peer
87 return clr_type.IsEnum; in CLRIsEnum()
232 if (peer.IsOpaque || peer.IsEnum) in ResolvePeers()
265 if (peer.IsOpaque || !peer.IsEnum) in ResolvePeers()
/dports/lang/mono/mono-5.10.1.57/external/aspnetwebstack/test/Microsoft.TestCommon/Microsoft/TestCommon/
H A DTypeAssert.cs43 IsEnum = 0x10, enumerator
149 …TypeAssert.CheckProperty(type, (typeProperties & TypeProperties.IsEnum) > 0, type.IsEnum, "an enum… in HasProperties()

12345678910>>...55