Home
last modified time | relevance | path

Searched refs:enum_name (Results 1 – 25 of 42) sorted by relevance

12

/third_party/skia/third_party/externals/angle2/scripts/
Dgen_gl_enum_utils.py159 enum_name = enum_node.attrib['name']
160 enums_has_group.add(enum_name)
161 gl_enum_in_groups[group_name][enum_name] = all_gl_enums[enum_name]
168 enum_name = enum_tag.attrib['name']
169 if enum_name not in exclude_gl_enums:
170 exporting_enums.add(enum_name)
175 enum_name = enum_tag.attrib['name']
176 if enum_name not in exclude_gl_enums:
177 exporting_enums.add(enum_name)
183 for enum_name in exporting_enums:
[all …]
/third_party/node/test/fixtures/wpt/user-timing/resources/
Dwebperftestharness.js63 function test_enum(parent_name, enum_name, value, properties) argument
65 var msg = 'window.performance.' + parent_name + '.' + enum_name + ' is defined.';
66 …wp_test(function() { assert_not_equals(performanceNamespace[parent_name][enum_name], undefined, ms…
68 msg = 'window.performance.' + parent_name + '.' + enum_name + ' = ' + value;
69 …wp_test(function() { assert_equals(performanceNamespace[parent_name][enum_name], value, msg); }, m…
/third_party/openssl/test/helpers/
Dssl_test_ctx.c78 static const char *enum_name(const test_enum *enums, size_t num_enums, in enum_name() function
114 return enum_name(ssl_test_results, OSSL_NELEM(ssl_test_results), result); in ssl_test_result_name()
146 return enum_name(ssl_alerts, OSSL_NELEM(ssl_alerts), alert); in ssl_alert_name()
169 return enum_name(ssl_protocols, OSSL_NELEM(ssl_protocols), protocol); in ssl_protocol_name()
196 return enum_name(ssl_verify_callbacks, OSSL_NELEM(ssl_verify_callbacks), in ssl_verify_callback_name()
235 return enum_name(ssl_servername, OSSL_NELEM(ssl_servername), in ssl_servername_name()
266 return enum_name(ssl_servername_callbacks, in ssl_servername_callback_name()
291 return enum_name(ssl_session_ticket, in ssl_session_ticket_name()
321 return enum_name(ssl_session_id, in ssl_session_id_name()
346 return enum_name(ssl_test_methods, OSSL_NELEM(ssl_test_methods), method); in ssl_test_method_name()
[all …]
/third_party/rust/crates/syn/codegen/src/
Ddebug.rs11 enum_name: &str, in syntax_tree_enum()
34 if WHITELIST.contains(&(enum_name, variant_name)) in syntax_tree_enum()
35 || enum_name.to_owned() + variant_name == *ty => in syntax_tree_enum()
171 let enum_name = &node.ident; in generate() localVariable
173 if let Some(inner) = syntax_tree_enum(enum_name, variant_name, fields) { in generate()
/third_party/skia/third_party/externals/angle2/src/common/
Dgen_packed_gl_enums.py47 for (enum_name, value_list) in enums_dict.iteritems():
57 enums.append(Enum(enum_name, values, i))
128 enum_name=enum.name,
222 enum_name=enum.name,
/third_party/skia/third_party/externals/dawn/generator/
Dopengl_loader_generator.py124 enum_name = enum.attrib['name']
126 if enum_name == 'GL_ACTIVE_PROGRAM_EXT':
129 assert enum_name not in all_enums
130 all_enums[enum_name] = EnumDefine(enum_name, enum.attrib['value'])
/third_party/protobuf/src/google/protobuf/util/internal/
Ddatapiece.cc283 std::string enum_name = std::string(str_); in ToEnum() local
285 FindEnumValueByNameOrNull(enum_type, enum_name); in ToEnum()
301 for (std::string::iterator it = enum_name.begin(); it != enum_name.end(); in ToEnum()
305 value = FindEnumValueByNameOrNull(enum_type, enum_name); in ToEnum()
313 value = FindEnumValueByNameWithoutUnderscoreOrNull(enum_type, enum_name); in ToEnum()
Dutility.cc195 const google::protobuf::Enum* enum_type, StringPiece enum_name) { in FindEnumValueByNameOrNull() argument
199 if (enum_value.name() == enum_name) { in FindEnumValueByNameOrNull()
221 const google::protobuf::Enum* enum_type, StringPiece enum_name) { in FindEnumValueByNameWithoutUnderscoreOrNull() argument
238 if (enum_name_without_underscore == enum_name) { in FindEnumValueByNameWithoutUnderscoreOrNull()
Dutility.h135 const google::protobuf::Enum* enum_type, StringPiece enum_name);
147 const google::protobuf::Enum* enum_type, StringPiece enum_name);
/third_party/nghttp2/doc/
Dmkapiref.py228 enum_name = None
244 enum_name = line.rstrip().split()[1]
245 enum_name = re.sub(r';$', '', enum_name)
247 return EnumDoc(enum_name, content, members)
/third_party/mesa3d/src/mesa/main/
Dget_hash_generator.py164 enum_name = param[0]
165 enum_val = enum_list[enum_name].value
182 params.append(["GL_" + enum_name, param[1]])
/third_party/protobuf/src/google/protobuf/compiler/objectivec/
Dobjectivec_oneof.cc79 string enum_name = variables_["enum_name"]; in GenerateCaseEnum() local
85 "enum_name", enum_name, in GenerateCaseEnum()
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-gobject-enums.h.tmpl46 @enum_name@_get_type () G_GNUC_CONST;
47 #define @ENUMPREFIX@_TYPE_@ENUMSHORT@ (@enum_name@_get_type ())
/third_party/mesa3d/src/asahi/lib/
Dgen_pack.py199 def enum_name(name): function
286 type = 'enum ' + enum_name(self.type)
557 print(' if ({}_as_str({}))'.format(enum_name(field.type), val))
558 … fprintf(fp, "%*s{}: %s\\n", indent, "", {}_as_str({}));'.format(name, enum_name(field.type), val…
704 e_name = enum_name(self.enum)
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
Dgen_vk_internal_shaders.py508 enum_name = get_variation_name(enum)
510 glslang_args.append('-D' + enum_name + '=1')
514 variation_string += '|' + enum_name
575 enum_name = enum[0]
576 definition += 'enum %s\n{\n' % enum_name
/third_party/skia/third_party/externals/spirv-tools/test/
Dunit_spirv.h151 EnumCase(E val, std::string enum_name, std::vector<uint32_t> ops = {})
152 : enum_value_(val), name_(enum_name), operands_(ops) {} in enum_value_()
/third_party/spirv-tools/test/
Dunit_spirv.h151 EnumCase(E val, std::string enum_name, std::vector<uint32_t> ops = {})
152 : enum_value_(val), name_(enum_name), operands_(ops) {} in enum_value_()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/
Dunit_spirv.h151 EnumCase(E val, std::string enum_name, std::vector<uint32_t> ops = {})
152 : enum_value_(val), name_(enum_name), operands_(ops) {} in enum_value_()
/third_party/skia/third_party/externals/abseil-cpp/absl/types/internal/
Dconformance_archetype.h918 #define ABSL_TYPES_INTERNAL_OP(enum_name, op) \
920 absl::enable_if_t<!PropertiesOfT<Prof>::is_##enum_name, bool> operator op( \
925 PropertiesOfT<Prof>::is_##enum_name, \
926 std::conditional<PropertiesOfT<Prof>::enum_name##_support == \
927 enum_name::nothrow, \
932 PropertiesOfT<Prof>::enum_name##_support == enum_name::nothrow, \
/third_party/mesa3d/src/broadcom/cle/
Dv3d_decoder.c834 const char *enum_name = NULL; in v3d_field_iterator_next() local
852 enum_name = v3d_get_enum_name(&iter->field->inline_enum, value); in v3d_field_iterator_next()
862 enum_name = v3d_get_enum_name(&iter->field->inline_enum, value); in v3d_field_iterator_next()
935 enum_name = v3d_get_enum_name(iter->field->type.v3d_enum, value); in v3d_field_iterator_next()
946 if (enum_name) { in v3d_field_iterator_next()
949 " /* %s */", enum_name); in v3d_field_iterator_next()
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/
Dxml_consistency.py686 enum_name = enum.get('name')
687 … if '_RESERVED_' in enum_name and enum_name not in EXTENSION_NAME_RESERVED_EXCEPTIONS:
688 … self.record_error(enum_name, 'should not contain _RESERVED_ for a supported extension.\n\
/third_party/mesa3d/src/panfrost/lib/genxml/
Dgen_pack.py262 def enum_name(name): function
387 type = 'enum ' + enum_name(self.type)
615 convert = "(enum %s)__gen_unpack_uint" % enum_name(field.type)
657 … fprintf(fp, "%*s{}: %s\\n", indent, "", {}_as_str({}));'.format(name, enum_name(field.type), val…
841 e_name = enum_name(self.enum)
/third_party/libabigail/src/
Dabg-ctf-reader.cc1472 std::string enum_name = ctf_type_name_raw(ctf_dictionary, in process_ctf_enum_type() local
1476 if (!enum_name.empty()) in process_ctf_enum_type()
1478 if (result = lookup_enum_type(enum_name, *corp)) in process_ctf_enum_type()
1488 build_internal_underlying_enum_type_name(enum_name, true, in process_ctf_enum_type()
1520 result.reset(new enum_type_decl(enum_name.c_str(), location(), in process_ctf_enum_type()
1521 utype, enms, enum_name.c_str())); in process_ctf_enum_type()
/third_party/mesa3d/src/intel/common/
Dintel_decoder.c1054 const char *enum_name = NULL; in iter_decode_field() local
1061 enum_name = intel_get_enum_name(&iter->field->inline_enum, v.qw); in iter_decode_field()
1067 enum_name = intel_get_enum_name(&iter->field->inline_enum, v.qw); in iter_decode_field()
1107 enum_name = intel_get_enum_name(iter->field->type.intel_enum, v.qw); in iter_decode_field()
1127 if (enum_name) { in iter_decode_field()
1130 " (%s)", enum_name); in iter_decode_field()
/third_party/protobuf/python/google/protobuf/
Ddescriptor_pool.py930 enum_name = '.'.join((package, enum_proto.name))
932 enum_name = enum_proto.name
942 full_name=enum_name,
950 scope['.%s' % enum_name] = desc
952 self._enum_descriptors[enum_name] = desc

12