Home
last modified time | relevance | path

Searched refs:camel_case (Results 1 – 6 of 6) sorted by relevance

/external/chromium_org/tools/telemetry/telemetry/core/
Dcamel_case_unittest.py7 from telemetry.core import camel_case
12 self.assertEqual(camel_case.ToUnderscore('camelCase'), 'camel_case')
13 self.assertEqual(camel_case.ToUnderscore('CamelCase'), 'camel_case')
14 self.assertEqual(camel_case.ToUnderscore('Camel2Case'), 'camel2_case')
15 self.assertEqual(camel_case.ToUnderscore('Camel2Case2'), 'camel2_case2')
16 self.assertEqual(camel_case.ToUnderscore('2012Q3'), '2012_q3')
21 self.assertEqual(camel_case.ToUnderscore(camel_case_list), underscore_list)
46 self.assertEqual(camel_case.ToUnderscore(camel_case_dict), underscore_dict)
49 self.assertEqual(camel_case.ToUnderscore(self), self)
Ddiscover.py11 from telemetry.core import camel_case
112 key_name = camel_case.ToUnderscore(obj.__name__)
Dcommand_line.py8 from telemetry.core import camel_case
36 return camel_case.ToUnderscore(cls.__name__)
/external/chromium_org/tools/telemetry/telemetry/core/backends/chrome/
Dsystem_info_backend.py5 from telemetry.core import camel_case
30 camel_case.ToUnderscore(res['result']))
/external/chromium_org/mojo/public/tools/bindings/pylib/mojom/generate/
Dgenerator.py46 def CamelCaseToAllCaps(camel_case): argument
48 word for word in re.split(r'([A-Z][^A-Z]+)', camel_case) if word).upper()
/external/qemu/scripts/
Dqapi.py211 def camel_case(name): function
322 return '%sEvent *' % camel_case(name)