/third_party/gstreamer/gstreamer/tests/check/gst/ |
D | gsttracerrecord.c | 107 GstPadDirection enum_val; in GST_START_TEST() local 142 "enum", GST_TYPE_PAD_DIRECTION, &enum_val, NULL)); in GST_START_TEST() 146 fail_unless_equals_int (enum_val, GST_PAD_SRC); in GST_START_TEST()
|
/third_party/mesa3d/src/mesa/main/ |
D | get_hash_generator.py | 165 enum_val = enum_list[enum_name].value 166 hash_val = enum_val * prime_factor
|
/third_party/flatbuffers/include/flatbuffers/ |
D | minireflect.h | 99 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()
|
/third_party/flatbuffers/src/ |
D | idl_gen_text.cpp | 181 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()
|
D | idl_gen_rust.cpp | 610 const EnumVal &enum_val) const { in GetEnumValue() 611 return Name(enum_def) + "::" + Name(enum_val); in GetEnumValue() 809 auto &enum_val = **it; in ForAllUnionObjectVariantsBesidesNone() local 810 if (enum_val.union_type.base_type == BASE_TYPE_NONE) continue; in ForAllUnionObjectVariantsBesidesNone() 811 code_.SetValue("VARIANT_NAME", Name(enum_val)); in ForAllUnionObjectVariantsBesidesNone() 812 code_.SetValue("NATIVE_VARIANT", MakeCamel(Name(enum_val))); in ForAllUnionObjectVariantsBesidesNone() 813 code_.SetValue("U_ELEMENT_NAME", MakeSnakeCase(Name(enum_val))); in ForAllUnionObjectVariantsBesidesNone() 815 NamespacedNativeName(*enum_val.union_type.struct_def)); in ForAllUnionObjectVariantsBesidesNone()
|
D | idl_parser.cpp | 1128 auto enum_val = val.type.enum_def->ReverseLookup(enum_idx, true); in ParseAnyValue() local 1129 if (!enum_val) return Error("illegal type id for: " + field->name); in ParseAnyValue() 1130 if (enum_val->union_type.base_type == BASE_TYPE_STRUCT) { in ParseAnyValue() 1131 ECHECK(ParseTable(*enum_val->union_type.struct_def, &val.constant, in ParseAnyValue() 1133 if (enum_val->union_type.struct_def->fixed) { in ParseAnyValue() 1135 SerializeStruct(*enum_val->union_type.struct_def, val); in ParseAnyValue() 1139 } else if (IsString(enum_val->union_type)) { in ParseAnyValue() 3975 auto &enum_val = **evit; in ConformTo() local 3976 auto enum_val_base = enum_def_base->Lookup(enum_val.name); in ConformTo() 3978 if (enum_val != *enum_val_base) in ConformTo() [all …]
|
D | idl_gen_cpp.cpp | 868 const std::string &enum_val) const { in GenEnumValDecl() 869 return opts_.prefixed_enums ? Name(enum_def) + "_" + enum_val : enum_val; in GenEnumValDecl() 873 const EnumVal &enum_val) const { in GetEnumValUse() 875 return Name(enum_def) + "::" + Name(enum_val); in GetEnumValUse() 877 return Name(enum_def) + "_" + Name(enum_val); in GetEnumValUse() 879 return Name(enum_val); in GetEnumValUse()
|
D | idl_gen_java.cpp | 260 auto enum_val = enum_def.FindByValue(value.constant); in GenEnumDefaultValue() local 261 return enum_val ? (WrapInNameSpace(enum_def) + "." + enum_val->name) in GenEnumDefaultValue()
|
D | idl_gen_kotlin.cpp | 189 auto enum_val = enum_def.FindByValue(value.constant); in GenEnumDefaultValue() local 190 return enum_val ? (WrapInNameSpace(enum_def) + "." + enum_val->name) in GenEnumDefaultValue()
|
D | idl_gen_swift.cpp | 1469 auto enum_val = enum_def.FindByValue(constant); in GenEnumDefaultValue() local 1471 if (enum_val) { in GenEnumDefaultValue() 1472 name = Name(*enum_val); in GenEnumDefaultValue()
|
D | idl_gen_csharp.cpp | 210 auto enum_val = enum_def.FindByValue(value.constant); in GenEnumDefaultValue() local 211 return enum_val ? (WrapInNameSpace(enum_def) + "." + enum_val->name) in GenEnumDefaultValue()
|
/third_party/mesa3d/src/vulkan/util/ |
D | gen_enum_to_str.py | 439 enum_val = enum_factory.get("VkObjectType").name_to_value[enum] 440 obj_types.enum_to_name[enum_val] = object_name.text
|
/third_party/protobuf/python/google/protobuf/ |
D | descriptor.py | 1092 EnumValueDescriptor(enum_val.name, ii, enum_val.number, 1094 for ii, enum_val in enumerate(enum_proto.value)],
|
/third_party/spirv-tools/source/val/ |
D | validate_image.cpp | 39 SpvImageOperandsMask enum_val = SpvImageOperandsBiasMask; in CheckAllImageOperandsHandled() local 45 enum_val = SpvImageOperandsLodMask; in CheckAllImageOperandsHandled() 47 switch (enum_val) { in CheckAllImageOperandsHandled()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/ |
D | validate_image.cpp | 39 SpvImageOperandsMask enum_val = SpvImageOperandsBiasMask; in CheckAllImageOperandsHandled() local 45 enum_val = SpvImageOperandsLodMask; in CheckAllImageOperandsHandled() 47 switch (enum_val) { in CheckAllImageOperandsHandled()
|
/third_party/skia/third_party/externals/spirv-tools/source/val/ |
D | validate_image.cpp | 39 SpvImageOperandsMask enum_val = SpvImageOperandsBiasMask; in CheckAllImageOperandsHandled() local 45 enum_val = SpvImageOperandsLodMask; in CheckAllImageOperandsHandled() 47 switch (enum_val) { in CheckAllImageOperandsHandled()
|
/third_party/libbpf/src/ |
D | btf_dump.c | 2464 __s64 enum_val; in btf_dump_dump_type_data() local 2470 enum_val = (__s64)print_num; in btf_dump_dump_type_data() 2471 err = btf_dump_enum_data(d, t, id, &enum_val); in btf_dump_dump_type_data()
|