Home
last modified time | relevance | path

Searched refs:ToCamel (Results 1 – 4 of 4) sorted by relevance

/external/libchrome/mojo/public/tools/bindings/pylib/mojom_tests/generate/
Dgenerator_unittest.py31 self.assertEquals("CamelCase", generator.ToCamel("camel_case"))
32 self.assertEquals("CAMELCASE", generator.ToCamel("CAMEL_CASE"))
33 self.assertEquals("camelCase", generator.ToCamel("camel_case",
35 self.assertEquals("CamelCase", generator.ToCamel("camel case",
37 self.assertEquals("CaMelCaSe", generator.ToCamel("caMel_caSe"))
/external/libchrome/mojo/public/tools/bindings/generators/
Dmojom_js_generator.py201 return generator.ToCamel(mojom_name, lower_initial=True)
210 return generator.ToCamel(mojom_name, lower_initial=True)
213 return generator.ToCamel(mojom_name, lower_initial=True)
222 return '.'.join(generator.ToCamel(word, lower_initial=True)
275 "to_camel": generator.ToCamel,
Dmojom_cpp_generator.py369 "under_to_camel": generator.ToCamel,
/external/libchrome/mojo/public/tools/bindings/pylib/mojom/generate/
Dgenerator.py22 def ToCamel(identifier, lower_initial=False, dilimiter='_'): function