Home
last modified time | relevance | path

Searched refs:enum_val (Results 1 – 17 of 17) sorted by relevance

/external/clang/test/SemaCXX/
Dcxx98-compat.cpp213 enum Enum { enum_val = 0 }; enumerator
260 int EnumNNS = Enum::enum_val; // expected-warning {{enumeration type in nested name specifier is in…
262 …int k = T::enum_val; // expected-warning {{enumeration type in nested name specifier is incompatib… in EnumNNSFn()
/external/llvm-project/clang/test/SemaCXX/
Dcxx98-compat.cpp221 enum Enum { enum_val = 0 }; enumerator
268 int EnumNNS = Enum::enum_val; // expected-warning {{enumeration type in nested name specifier is in…
270 …int k = T::enum_val; // expected-warning {{enumeration type in nested name specifier is incompatib… in EnumNNSFn()
/external/mesa3d/src/mesa/main/
Dget_hash_generator.py167 enum_val = enum_list[enum_name].value
168 hash_val = enum_val * prime_factor
/external/flatbuffers/include/flatbuffers/
Dminireflect.h99 inline int64_t LookupEnum(int64_t enum_val, const int64_t *values, in LookupEnum() argument
101 if (!values) return enum_val; in LookupEnum()
103 if (enum_val == values[i]) return static_cast<int64_t>(i); in LookupEnum()
/external/flatbuffers/src/
Didl_gen_text.cpp181 auto enum_val = type.enum_def->ReverseLookup(union_type_byte, true); in PrintOffset() local
182 if (enum_val) { in PrintOffset()
183 return PrintOffset(val, enum_val->union_type, indent, nullptr, -1); in PrintOffset()
Didl_gen_swift.cpp776 auto enum_val = enum_def.FindByValue(value.constant); in GenEnumDefaultValue() local
778 if (enum_val) { in GenEnumDefaultValue()
779 name = enum_val->name; in GenEnumDefaultValue()
Didl_parser.cpp965 auto enum_val = val.type.enum_def->ReverseLookup(enum_idx, true); in ParseAnyValue() local
966 if (!enum_val) return Error("illegal type id for: " + field->name); in ParseAnyValue()
967 if (enum_val->union_type.base_type == BASE_TYPE_STRUCT) { in ParseAnyValue()
968 ECHECK(ParseTable(*enum_val->union_type.struct_def, &val.constant, in ParseAnyValue()
970 if (enum_val->union_type.struct_def->fixed) { in ParseAnyValue()
972 SerializeStruct(*enum_val->union_type.struct_def, val); in ParseAnyValue()
976 } else if (enum_val->union_type.base_type == BASE_TYPE_STRING) { in ParseAnyValue()
3605 auto &enum_val = **evit; in ConformTo() local
3606 auto enum_val_base = enum_def_base->Lookup(enum_val.name); in ConformTo()
3608 if (enum_val != *enum_val_base) in ConformTo()
[all …]
Didl_gen_cpp.cpp820 const std::string &enum_val) const { in GenEnumValDecl()
821 return opts_.prefixed_enums ? Name(enum_def) + "_" + enum_val : enum_val; in GenEnumValDecl()
825 const EnumVal &enum_val) const { in GetEnumValUse()
827 return Name(enum_def) + "::" + Name(enum_val); in GetEnumValUse()
829 return Name(enum_def) + "_" + Name(enum_val); in GetEnumValUse()
831 return Name(enum_val); in GetEnumValUse()
Didl_gen_kotlin.cpp171 auto enum_val = enum_def.FindByValue(value.constant); in GenEnumDefaultValue() local
172 return enum_val ? (WrapInNameSpace(enum_def) + "." + enum_val->name) in GenEnumDefaultValue()
Didl_gen_java.cpp264 auto enum_val = enum_def.FindByValue(value.constant); in GenEnumDefaultValue() local
265 return enum_val ? (WrapInNameSpace(enum_def) + "." + enum_val->name) in GenEnumDefaultValue()
Didl_gen_rust.cpp514 const EnumVal &enum_val) const { in GetEnumValUse()
515 return Name(enum_def) + "::" + Name(enum_val); in GetEnumValUse()
Didl_gen_csharp.cpp205 auto enum_val = enum_def.FindByValue(value.constant); in GenEnumDefaultValue() local
206 return enum_val ? (WrapInNameSpace(enum_def) + "." + enum_val->name) in GenEnumDefaultValue()
/external/protobuf/python/google/protobuf/
Ddescriptor.py1031 EnumValueDescriptor(enum_val.name, ii, enum_val.number)
1032 for ii, enum_val in enumerate(enum_proto.value)])
/external/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidate_image.cpp39 SpvImageOperandsMask enum_val = SpvImageOperandsBiasMask; in CheckAllImageOperandsHandled() local
45 enum_val = SpvImageOperandsLodMask; in CheckAllImageOperandsHandled()
47 switch (enum_val) { in CheckAllImageOperandsHandled()
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/val/
Dvalidate_image.cpp39 SpvImageOperandsMask enum_val = SpvImageOperandsBiasMask; in CheckAllImageOperandsHandled() local
45 enum_val = SpvImageOperandsLodMask; in CheckAllImageOperandsHandled()
47 switch (enum_val) { in CheckAllImageOperandsHandled()
/external/deqp-deps/SPIRV-Tools/source/val/
Dvalidate_image.cpp39 SpvImageOperandsMask enum_val = SpvImageOperandsBiasMask; in CheckAllImageOperandsHandled() local
45 enum_val = SpvImageOperandsLodMask; in CheckAllImageOperandsHandled()
47 switch (enum_val) { in CheckAllImageOperandsHandled()
/external/python/pycparser/utils/benchmark/inputs/
Dtccgen.c.ppout1037 long long enum_val;
6523 ss->enum_val = ll;
6550 ll = ss->enum_val;
7750 vtop->c.i = s->enum_val;