Home
last modified time | relevance | path

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

12

/third_party/flatbuffers/src/
Didl_gen_swift.cpp212 if (IsEnum(field.value.type)) { in GenStructReader()
218 IsEnum(field.value.type) ? "{{BASEVALUE}}" : "{{VALUETYPE}}"; in GenStructReader()
220 auto accessing_value = IsEnum(field.value.type) ? ".value" : ""; 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()
273 if (IsScalar(field.value.type.base_type) && !IsEnum(field.value.type)) { in GenMutableStructReader()
276 } else if (IsEnum(field.value.type)) { in GenMutableStructReader()
287 code_ += GenMutate("{{OFFSET}}", "", IsEnum(field.value.type)); in GenMutableStructReader()
347 if (!IsEnum(field.value.type)) { in GenerateStructArgs()
[all …]
Didl_gen_csharp.cpp137 if (IsEnum(type)) return WrapInNameSpace(*type.enum_def); in GenTypeBasic()
182 if (IsEnum(type)) return "(" + WrapInNameSpace(*type.enum_def) + ")"; in DestinationCast()
197 if (IsEnum(type)) return "(" + GenTypeBasic(type, false) + ")"; in SourceCast()
658 (IsEnum(field.value.type) && field.IsScalarOptional())) { in GenStruct()
857 if (IsEnum(field.value.type.VectorType())) { in GenStruct()
Didl_gen_cpp.cpp627 IsEnum(type); in VectorElementUserFacing()
820 if (IsEnum(element_type) && !opts_.g_only_fixed_enums) { in GenTypeGet()
842 text += GenTypeBasic(element_type, IsEnum(element_type)); in GenTypeSpan()
3235 const auto is_enum = IsEnum(element_type); in GenStructConstructor()
3259 const auto is_enum = IsEnum(type.VectorType()); in GenArrayAccessor()
Didl_gen_kotlin.cpp136 static bool IsEnum(const Type &type) { in IsEnum() function in flatbuffers::kotlin::KotlinGenerator
/third_party/protobuf/csharp/src/Google.Protobuf/Reflection/
DCustomOptions.cs277 if (typeArgs.Length == 1 && typeArgs[0].GetTypeInfo().IsEnum) in TryGetPrimitiveValue()
287 if (typeArgs.Length == 1 && typeArgs[0].GetTypeInfo().IsEnum) in TryGetPrimitiveValue()
/third_party/typescript/tests/cases/conformance/parser/ecmascript5/
DparserRealSource2.ts119 IsEnum = 1 << 8,
216 IsEnum = 1 << 3,
DparserRealSource7.ts192 var isEnum = hasFlag(moduleDecl.modFlags, ModuleFlags.IsEnum);
209 modType.typeFlags |= TypeFlags.IsEnum;
255 modType.typeFlags |= TypeFlags.IsEnum;
DparserRealSource11.ts1215 public isEnum() { return hasFlag(this.modFlags, ModuleFlags.IsEnum); }
/third_party/skia/third_party/externals/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)) {
/third_party/typescript/tests/baselines/reference/
DparserRealSource2.types563 IsEnum = 1 << 8,
564 >IsEnum : ModuleFlags
1032 IsEnum = 1 << 3,
1033 >IsEnum : TypeFlags
DparserRealSource2.symbols325 IsEnum = 1 << 8,
326 >IsEnum : Symbol(ModuleFlags.IsEnum, Decl(parserRealSource2.ts, 117, 29))
600 IsEnum = 1 << 3,
601 >IsEnum : Symbol(TypeFlags.IsEnum, Decl(parserRealSource2.ts, 214, 29))
DparserRealSource2.errors.txt125 IsEnum = 1 << 8,
222 IsEnum = 1 << 3,
DparserRealSource2.js120 IsEnum = 1 << 8,
217 IsEnum = 1 << 3,
DparserRealSource7.js193 var isEnum = hasFlag(moduleDecl.modFlags, ModuleFlags.IsEnum);
210 modType.typeFlags |= TypeFlags.IsEnum;
256 modType.typeFlags |= TypeFlags.IsEnum;
989 var isEnum = hasFlag(moduleDecl.modFlags, ModuleFlags.IsEnum);
1003 modType.typeFlags |= TypeFlags.IsEnum;
1039 modType.typeFlags |= TypeFlags.IsEnum;
DparserRealSource7.types898 var isEnum = hasFlag(moduleDecl.modFlags, ModuleFlags.IsEnum);
900 >hasFlag(moduleDecl.modFlags, ModuleFlags.IsEnum) : any
905 >ModuleFlags.IsEnum : any
907 >IsEnum : any
1024 modType.typeFlags |= TypeFlags.IsEnum;
1025 >modType.typeFlags |= TypeFlags.IsEnum : number
1029 >TypeFlags.IsEnum : any
1031 >IsEnum : any
1357 modType.typeFlags |= TypeFlags.IsEnum;
1358 >modType.typeFlags |= TypeFlags.IsEnum : number
[all …]
DparserRealSource7.symbols521 var isEnum = hasFlag(moduleDecl.modFlags, ModuleFlags.IsEnum);
574 modType.typeFlags |= TypeFlags.IsEnum;
715 modType.typeFlags |= TypeFlags.IsEnum;
DparserRealSource7.errors.txt612 var isEnum = hasFlag(moduleDecl.modFlags, ModuleFlags.IsEnum);
665 modType.typeFlags |= TypeFlags.IsEnum;
769 modType.typeFlags |= TypeFlags.IsEnum;
DparserRealSource11.js1216 public isEnum() { return hasFlag(this.modFlags, ModuleFlags.IsEnum); }
3547 …eDeclaration.prototype.isEnum = function () { return hasFlag(this.modFlags, ModuleFlags.IsEnum); };
DparserRealSource11.types5521 public isEnum() { return hasFlag(this.modFlags, ModuleFlags.IsEnum); }
5523 >hasFlag(this.modFlags, ModuleFlags.IsEnum) : any
5528 >ModuleFlags.IsEnum : any
5530 >IsEnum : any
DparserRealSource11.errors.txt2361 public isEnum() { return hasFlag(this.modFlags, ModuleFlags.IsEnum); }
/third_party/protobuf/src/google/protobuf/
Dmap_type_handler.h64 template <bool IsEnum, typename Type>
111 #define TYPE_TRAITS(FieldType, CType, WireFormatType, IsMessage, IsEnum) \
116 static const bool kIsEnum = IsEnum; \
/third_party/skia/third_party/externals/dawn/src/dawn_node/interop/
DWebGPUCommon.tmpl87 {{- if IsEnum $ty }}{{$.Type.Name}}::{{EnumEntryName $.Value.Value}}
DWebGPU.h.tmpl48 {{- else if IsEnum $}}{{template "Enum" $}}
DWebGPU.cpp.tmpl51 {{- else if IsEnum $}}{{template "Enum" $}}
/third_party/flatbuffers/include/flatbuffers/
Didl.h490 inline bool IsEnum(const Type &type) { in IsEnum() function

12