/third_party/flatbuffers/src/ |
D | idl_gen_swift.cpp | 212 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 …]
|
D | idl_gen_csharp.cpp | 137 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()
|
D | idl_gen_cpp.cpp | 627 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()
|
D | idl_gen_kotlin.cpp | 136 static bool IsEnum(const Type &type) { in IsEnum() function in flatbuffers::kotlin::KotlinGenerator
|
/third_party/protobuf/csharp/src/Google.Protobuf/Reflection/ |
D | CustomOptions.cs | 277 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/ |
D | parserRealSource2.ts | 119 IsEnum = 1 << 8, 216 IsEnum = 1 << 3,
|
D | parserRealSource7.ts | 192 var isEnum = hasFlag(moduleDecl.modFlags, ModuleFlags.IsEnum); 209 modType.typeFlags |= TypeFlags.IsEnum; 255 modType.typeFlags |= TypeFlags.IsEnum;
|
D | parserRealSource11.ts | 1215 public isEnum() { return hasFlag(this.modFlags, ModuleFlags.IsEnum); }
|
/third_party/skia/third_party/externals/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)) {
|
/third_party/typescript/tests/baselines/reference/ |
D | parserRealSource2.types | 563 IsEnum = 1 << 8, 564 >IsEnum : ModuleFlags 1032 IsEnum = 1 << 3, 1033 >IsEnum : TypeFlags
|
D | parserRealSource2.symbols | 325 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))
|
D | parserRealSource2.errors.txt | 125 IsEnum = 1 << 8, 222 IsEnum = 1 << 3,
|
D | parserRealSource2.js | 120 IsEnum = 1 << 8, 217 IsEnum = 1 << 3,
|
D | parserRealSource7.js | 193 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;
|
D | parserRealSource7.types | 898 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 …]
|
D | parserRealSource7.symbols | 521 var isEnum = hasFlag(moduleDecl.modFlags, ModuleFlags.IsEnum); 574 modType.typeFlags |= TypeFlags.IsEnum; 715 modType.typeFlags |= TypeFlags.IsEnum;
|
D | parserRealSource7.errors.txt | 612 var isEnum = hasFlag(moduleDecl.modFlags, ModuleFlags.IsEnum); 665 modType.typeFlags |= TypeFlags.IsEnum; 769 modType.typeFlags |= TypeFlags.IsEnum;
|
D | parserRealSource11.js | 1216 public isEnum() { return hasFlag(this.modFlags, ModuleFlags.IsEnum); } 3547 …eDeclaration.prototype.isEnum = function () { return hasFlag(this.modFlags, ModuleFlags.IsEnum); };
|
D | parserRealSource11.types | 5521 public isEnum() { return hasFlag(this.modFlags, ModuleFlags.IsEnum); } 5523 >hasFlag(this.modFlags, ModuleFlags.IsEnum) : any 5528 >ModuleFlags.IsEnum : any 5530 >IsEnum : any
|
D | parserRealSource11.errors.txt | 2361 public isEnum() { return hasFlag(this.modFlags, ModuleFlags.IsEnum); }
|
/third_party/protobuf/src/google/protobuf/ |
D | map_type_handler.h | 64 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/ |
D | WebGPUCommon.tmpl | 87 {{- if IsEnum $ty }}{{$.Type.Name}}::{{EnumEntryName $.Value.Value}}
|
D | WebGPU.h.tmpl | 48 {{- else if IsEnum $}}{{template "Enum" $}}
|
D | WebGPU.cpp.tmpl | 51 {{- else if IsEnum $}}{{template "Enum" $}}
|
/third_party/flatbuffers/include/flatbuffers/ |
D | idl.h | 490 inline bool IsEnum(const Type &type) { in IsEnum() function
|