Home
last modified time | relevance | path

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

/external/chromium_org/mojo/public/tools/bindings/generators/js_templates/
Denum_definition.tmpl1 {%- macro enum_def(enum_name, enum, module) -%}
2 {{enum_name}} = {};
7 {{enum_name}}.{{field.name}} = {{field.value|expression_to_text}};
9 {{enum_name}}.{{field.name}} = 0;
11 {{enum_name}}.{{field.name}} = {{enum_name}}.{{enum.fields[loop.index0 - 1].name}} + 1;
/external/chromium_org/tools/metrics/histograms/
Dupdate_use_counter_css.py27 def EnumToCssProperty(enum_name): argument
31 return re.sub(r'([a-zA-Z])([A-Z])', r'\1-\2', enum_name).lower()
49 enum_name = enum_match.group(1)
51 properties[property_id] = EnumToCssProperty(enum_name)
Dextract_histograms.py284 enum_name = histogram.getAttribute('enum')
285 if enum_name not in enums:
286 logging.error('Unknown enum %s in histogram %s', enum_name, name)
289 histogram_entry['enum'] = enums[enum_name]
/external/chromium_org/third_party/WebKit/Source/devtools/scripts/
DCodeGeneratorFrontend.py195 enum_name = "%s.%s" % (domain_name, json_type["id"])
196 Generator.process_enum(json_type, enum_name)
201enum_name = "%s.%s%s" % (domain_name, json_type["id"], to_title_case(json_property["name"]))
202 Generator.process_enum(json_property, enum_name)
215 def process_enum(json_enum, enum_name): argument
221 enum_name, ", ".join(enum_members)))
Dgenerate_protocol_externs.py155enum_name = "%sAgent.%s%s" % (domain_name, type["id"], to_title_case(property["name"]))
156 output_file.write(generate_enum(enum_name, property))
157 … typedef_args.append("%s:(%s%s)" % (property["name"], enum_name, suffix))
/external/chromium_org/ipc/
Dparam_traits_macros.h46 #define IPC_ENUM_TRAITS_VALIDATE(enum_name, validation_expression) \ argument
49 struct IPC_MESSAGE_EXPORT ParamTraits<enum_name> { \
50 typedef enum_name param_type; \
Dparam_traits_write_macros.h32 #define IPC_ENUM_TRAITS_VALIDATE(enum_name, validation_expression) \ argument
33 void ParamTraits<enum_name>::Write(Message* m, const param_type& value) { \
Dparam_traits_read_macros.h34 #define IPC_ENUM_TRAITS_VALIDATE(enum_name, validation_expression) \ argument
35 bool ParamTraits<enum_name>:: \
Dparam_traits_log_macros.h46 #define IPC_ENUM_TRAITS_VALIDATE(enum_name, validation_expression) \ argument
47 void ParamTraits<enum_name>::Log(const param_type& p, std::string* l) { \
Dipc_message_null_macros.h26 #define IPC_ENUM_TRAITS_VALIDATE(enum_name, validation_expression) argument
/external/chromium_org/third_party/protobuf/python/google/protobuf/
Ddescriptor_pool.py312 enum_name = '.'.join((package, enum_proto.name))
314 enum_name = enum_proto.name
324 full_name=enum_name,
331 scope['.%s' % enum_name] = desc
332 self._enum_descriptors[enum_name] = desc
490 enum_name = '.'.join((package, enum_proto.name))
492 enum_name = enum_proto.name
493 enum_desc = self.FindEnumTypeByName(enum_name)
494 yield (enum_name, enum_desc)
/external/qemu/
Dtap-win32.c206 char enum_name[256]; in is_tap_win32_dev() local
215 len = sizeof (enum_name); in is_tap_win32_dev()
219 enum_name, in is_tap_win32_dev()
233 ADAPTER_KEY, enum_name); in is_tap_win32_dev()
307 char enum_name[256]; in get_device_guid() local
314 len = sizeof (enum_name); in get_device_guid()
318 enum_name, in get_device_guid()
334 NETWORK_CONNECTIONS_KEY, enum_name); in get_device_guid()
357 if (is_tap_win32_dev(enum_name)) { in get_device_guid()
358 snprintf(name, name_size, "%s", enum_name); in get_device_guid()
/external/chromium_org/chrome/browser/
Dabout_flags_unittest.cc53 const std::string& enum_name, in ParseEnumFromHistogramsXml() argument
72 ADD_FAILURE() << "Bad " << enum_name << " enum entry (at index " in ParseEnumFromHistogramsXml()
78 ADD_FAILURE() << "Bad " << enum_name << " enum entry (at index " in ParseEnumFromHistogramsXml()
86 ADD_FAILURE() << "Bad " << enum_name << " enum entry (at index " in ParseEnumFromHistogramsXml()
93 ADD_FAILURE() << "Bad " << enum_name << " enum entry (at index " in ParseEnumFromHistogramsXml()
122 const std::string& enum_name, in ReadEnumFromHistogramsXml() argument
131 if (histograms_xml->NodeAttribute("name", &name) && name == enum_name) { in ReadEnumFromHistogramsXml()
134 << "Duplicate enum '" << enum_name << "' found in histograms.xml"; in ReadEnumFromHistogramsXml()
141 ParseEnumFromHistogramsXml(enum_name, histograms_xml); in ReadEnumFromHistogramsXml()
143 << "Bad enum '" << enum_name in ReadEnumFromHistogramsXml()
[all …]
/external/llvm/bindings/python/llvm/tests/
Dtest_core.py13 for enum_name, enum_value in enum_spec:
17 self.assertTrue(hasattr(enum_cls, enum_name))
18 v_attr = getattr(enum_cls, enum_name)
/external/chromium_org/content/public/browser/
Ddevtools_protocol_constants_generator.py99 enum_name = Capitalize(parameter_name)
100 result[enum_name] = {}
102 result[enum_name]["kEnum" + Capitalize(enum)] = enum
/external/chromium_org/chrome/browser/ui/fullscreen/
Dfullscreen_controller_state_test.h140 #define EXPECTATION_ENUM(enum_name, enum_prefix) \ argument
141 enum enum_name { \
/external/harfbuzz_ng/src/
Dhb-gobject-enums.h.tmpl45 GType @enum_name@_get_type (void) G_GNUC_CONST;
46 #define @ENUMPREFIX@_TYPE_@ENUMSHORT@ (@enum_name@_get_type ())
Dhb-gobject-enums.cc.tmpl49 @enum_name@_get_type (void)
/external/chromium_org/build/android/gyp/
Djava_cpp_enum.py185 for enum_name, enum_value in enum_definition.entries.iteritems():
187 'NAME': enum_name,
/external/chromium_org/tools/json_schema_compiler/
Dh_generator.py135 def _GenerateEnumDeclaration(self, enum_name, type_): argument
139 c.Sblock('enum %s {' % enum_name)
/external/mesa3d/src/mapi/glapi/gen/
DglX_proto_size.py68 for enum_name in enum_dict:
69 e = enum_dict[ enum_name ]
/external/chromium_org/third_party/mesa/src/src/mapi/glapi/gen/
DglX_proto_size.py68 for enum_name in enum_dict:
69 e = enum_dict[ enum_name ]
/external/chromium_org/tools/ipc_fuzzer/mutate/
Dmutate.cc490 #define IPC_ENUM_TRAITS_VALIDATE(enum_name, conditon) \ argument
492 struct FuzzTraits<enum_name> { \
493 static void Fuzz(enum_name* p, Fuzzer* fuzzer) { \
Dgenerate.cc1169 #define IPC_ENUM_TRAITS_VALIDATE(enum_name, condition) \ argument
1171 struct GenerateTraits<enum_name> { \
1172 static bool Generate(enum_name* p, Generator* generator) { \
/external/chromium_org/third_party/WebKit/Source/core/inspector/
DCodeGeneratorInspector.py698 enum_name = fixed_type_name.class_name
701 writer.append(enum_name)
727 …void %s%s::assertCorrectValue(JSONValue* value)\n" % (helper.full_name_prefix_for_impl, enum_name))
743 writer.append(enum_name)