/external/libchrome/mojo/public/tools/bindings/pylib/mojom/generate/ |
D | translate.py | 24 if value.mojom_name in names: 25 return value.mojom_name 26 names.add(value.mojom_name) 124 mojom_name = spec[2:] 129 test_spec += mojom_name 136 def _LookupValue(values, mojom_name, scope, kind): argument 142 if isinstance(kind, mojom.Enum) and '.' not in mojom_name: 143 mojom_name = '%s.%s' % (kind.spec.split(':', 1)[1], mojom_name) 148 test_spec += mojom_name 153 return values.get(mojom_name) [all …]
|
D | module.py | 227 def __init__(self, module, parent_kind, mojom_name): argument 230 self.mojom_name = mojom_name 234 (self.parent_kind and (self.parent_kind.mojom_name + '.') or "") + 235 self.mojom_name) 245 NamedValue.__init__(self, module, parent_kind, constant.mojom_name) 255 NamedValue.__init__(self, module, enum.parent_kind, field.mojom_name) 261 (self.parent_kind and (self.parent_kind.mojom_name + '.') or "") + 262 self.enum.mojom_name + '.' + self.mojom_name) 270 def __init__(self, mojom_name=None, kind=None, value=None, parent_kind=None): argument 271 self.mojom_name = mojom_name [all …]
|
D | generator.py | 41 def StylizeConstant(self, mojom_name): argument 42 return mojom_name 44 def StylizeField(self, mojom_name): argument 45 return mojom_name 47 def StylizeStruct(self, mojom_name): argument 48 return mojom_name 50 def StylizeUnion(self, mojom_name): argument 51 return mojom_name 53 def StylizeParameter(self, mojom_name): argument 54 return mojom_name [all …]
|
/external/libchrome/mojo/public/tools/bindings/pylib/mojom/parse/ |
D | ast.py | 87 def __init__(self, mojom_name, **kwargs): argument 88 assert isinstance(mojom_name, str) 90 self.mojom_name = mojom_name 120 def __init__(self, mojom_name, attribute_list, typename, value, **kwargs): argument 127 super(Const, self).__init__(mojom_name, **kwargs) 142 def __init__(self, mojom_name, attribute_list, enum_value_list, **kwargs): argument 145 super(Enum, self).__init__(mojom_name, **kwargs) 158 def __init__(self, mojom_name, attribute_list, value, **kwargs): argument 163 super(EnumValue, self).__init__(mojom_name, **kwargs) 205 def __init__(self, mojom_name, attribute_list, body, **kwargs): argument [all …]
|
/external/libchrome/mojo/public/tools/bindings/generators/js_templates/ |
D | interface_definition.tmpl | 3 interface.mojom_name ~ "_" ~ method.mojom_name %} 28 interface.mojom_name ~ "_" ~ method.mojom_name %} 102 interface.mojom_name ~ "_" ~ method.mojom_name %} 124 interface.mojom_name ~ "_" ~ method.mojom_name %} 175 interface.mojom_name ~ "_" ~ method.mojom_name %} 202 interface.mojom_name ~ "_" ~ method.mojom_name %} 218 name: '{{module.mojom_namespace}}.{{interface.mojom_name}}', 234 interface.mojom_name ~ "_" ~ method.mojom_name %}
|
/external/libchrome/mojo/public/tools/bindings/generators/ |
D | mojom_js_generator.py | 197 def StylizeConstant(self, mojom_name): argument 198 return mojom_name 200 def StylizeField(self, mojom_name): argument 201 return generator.ToCamel(mojom_name, lower_initial=True) 203 def StylizeStruct(self, mojom_name): argument 204 return mojom_name 206 def StylizeUnion(self, mojom_name): argument 207 return mojom_name 209 def StylizeParameter(self, mojom_name): argument 210 return generator.ToCamel(mojom_name, lower_initial=True) [all …]
|
/external/libchrome/mojo/public/tools/bindings/ |
D | mojom_bindings_generator.py | 114 (len(interface.methods), interface.mojom_name)) 120 sha256.update(interface.mojom_name) 132 (ordinal, interface.mojom_name, i))
|