/external/chromium_org/mojo/public/tools/bindings/generators/js_templates/ |
D | enum_definition.tmpl | 1 {%- 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/ |
D | update_use_counter_css.py | 27 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)
|
D | extract_histograms.py | 284 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/ |
D | CodeGeneratorFrontend.py | 195 enum_name = "%s.%s" % (domain_name, json_type["id"]) 196 Generator.process_enum(json_type, enum_name) 201 … enum_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)))
|
D | generate_protocol_externs.py | 155 … enum_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/ |
D | param_traits_macros.h | 46 #define IPC_ENUM_TRAITS_VALIDATE(enum_name, validation_expression) \ argument 49 struct IPC_MESSAGE_EXPORT ParamTraits<enum_name> { \ 50 typedef enum_name param_type; \
|
D | param_traits_write_macros.h | 32 #define IPC_ENUM_TRAITS_VALIDATE(enum_name, validation_expression) \ argument 33 void ParamTraits<enum_name>::Write(Message* m, const param_type& value) { \
|
D | param_traits_read_macros.h | 34 #define IPC_ENUM_TRAITS_VALIDATE(enum_name, validation_expression) \ argument 35 bool ParamTraits<enum_name>:: \
|
D | param_traits_log_macros.h | 46 #define IPC_ENUM_TRAITS_VALIDATE(enum_name, validation_expression) \ argument 47 void ParamTraits<enum_name>::Log(const param_type& p, std::string* l) { \
|
D | ipc_message_null_macros.h | 26 #define IPC_ENUM_TRAITS_VALIDATE(enum_name, validation_expression) argument
|
/external/chromium_org/third_party/protobuf/python/google/protobuf/ |
D | descriptor_pool.py | 312 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/ |
D | tap-win32.c | 206 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/ |
D | about_flags_unittest.cc | 53 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/ |
D | test_core.py | 13 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/ |
D | devtools_protocol_constants_generator.py | 99 enum_name = Capitalize(parameter_name) 100 result[enum_name] = {} 102 result[enum_name]["kEnum" + Capitalize(enum)] = enum
|
/external/chromium_org/chrome/browser/ui/fullscreen/ |
D | fullscreen_controller_state_test.h | 140 #define EXPECTATION_ENUM(enum_name, enum_prefix) \ argument 141 enum enum_name { \
|
/external/harfbuzz_ng/src/ |
D | hb-gobject-enums.h.tmpl | 45 GType @enum_name@_get_type (void) G_GNUC_CONST; 46 #define @ENUMPREFIX@_TYPE_@ENUMSHORT@ (@enum_name@_get_type ())
|
D | hb-gobject-enums.cc.tmpl | 49 @enum_name@_get_type (void)
|
/external/chromium_org/build/android/gyp/ |
D | java_cpp_enum.py | 185 for enum_name, enum_value in enum_definition.entries.iteritems(): 187 'NAME': enum_name,
|
/external/chromium_org/tools/json_schema_compiler/ |
D | h_generator.py | 135 def _GenerateEnumDeclaration(self, enum_name, type_): argument 139 c.Sblock('enum %s {' % enum_name)
|
/external/mesa3d/src/mapi/glapi/gen/ |
D | glX_proto_size.py | 68 for enum_name in enum_dict: 69 e = enum_dict[ enum_name ]
|
/external/chromium_org/third_party/mesa/src/src/mapi/glapi/gen/ |
D | glX_proto_size.py | 68 for enum_name in enum_dict: 69 e = enum_dict[ enum_name ]
|
/external/chromium_org/tools/ipc_fuzzer/mutate/ |
D | mutate.cc | 490 #define IPC_ENUM_TRAITS_VALIDATE(enum_name, conditon) \ argument 492 struct FuzzTraits<enum_name> { \ 493 static void Fuzz(enum_name* p, Fuzzer* fuzzer) { \
|
D | generate.cc | 1169 #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/ |
D | CodeGeneratorInspector.py | 698 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)
|