Searched refs:camel_case (Results 1 – 6 of 6) sorted by relevance
7 from telemetry.core import camel_case12 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)
11 from telemetry.core import camel_case112 key_name = camel_case.ToUnderscore(obj.__name__)
8 from telemetry.core import camel_case36 return camel_case.ToUnderscore(cls.__name__)
5 from telemetry.core import camel_case30 camel_case.ToUnderscore(res['result']))
46 def CamelCaseToAllCaps(camel_case): argument48 word for word in re.split(r'([A-Z][^A-Z]+)', camel_case) if word).upper()
211 def camel_case(name): function322 return '%sEvent *' % camel_case(name)