/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/descriptors/ |
DescriptorsUtilsTest.java | 76 assertEquals("", DescriptorsUtils.capitalize("")); 79 DescriptorsUtils.capitalize("maxWidthForView")); 82 DescriptorsUtils.capitalize("layout_width")); 84 assertEquals("Axis X", DescriptorsUtils.capitalize("axisX")); 85 assertEquals("Axis Y", DescriptorsUtils.capitalize("axisY")); 86 assertEquals("Axis Z", DescriptorsUtils.capitalize("axisZ")); 87 assertEquals("Axis T", DescriptorsUtils.capitalize("axisT")); 89 assertEquals("The X Axis", DescriptorsUtils.capitalize("theXAxis")); 90 assertEquals("The Y Axis", DescriptorsUtils.capitalize("theYAxis")); 91 assertEquals("The Z Axis", DescriptorsUtils.capitalize("theZAxis")) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/ |
AdtUtilsTest.java | 48 assertEquals("UPPER", AdtUtils.capitalize("UPPER")); 49 assertEquals("Lower", AdtUtils.capitalize("lower")); 50 assertEquals("Capital", AdtUtils.capitalize("Capital")); 51 assertEquals("CamelCase", AdtUtils.capitalize("camelCase")); 52 assertEquals("", AdtUtils.capitalize("")); 53 assertSame("Foo", AdtUtils.capitalize("Foo")); 54 assertNull(null, AdtUtils.capitalize(null));
|
/external/chromium_org/tools/json_schema_compiler/ |
schema_util.py | 8 return value[0].capitalize() + value[1:]
|
cpp_util.py | 135 return ''.join(word.capitalize() for word in unix_name.split('_'))
|
/external/chromium_org/ui/ozone/ |
generate_ozone_platform_list.py | 42 We just capitalize the platform name and prepend "CreateOzonePlatform". 45 return 'CreateOzonePlatform' + string.capitalize(name)
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/values/uimodel/ |
UiItemElementNode.java | 51 type = AdtUtils.capitalize(type);
|
/external/chromium_org/third_party/WebKit/Source/bindings/scripts/unstable/ |
code_generator_v8.py | 59 from v8_utilities import capitalize, cpp_name, conditional_string, v8_class_name namespace 90 'blink_capitalize': capitalize,
|
v8_attributes.py | 41 from v8_utilities import capitalize, cpp_name, has_extended_attribute, uncapitalize namespace 196 return 'get%sAttribute' % content_attribute_name.capitalize() 262 return 'set%s' % capitalize(cpp_name(attribute))
|
v8_utilities.py | 66 def capitalize(name): function 67 """Capitalize first letter or initial acronym (used in setter names)."""
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/descriptors/ |
AndroidManifestDescriptors.java | 478 boolean capitalize = true; 480 if (capitalize && c >= 'a' && c <= 'z') { 482 capitalize = false; 485 capitalize = true; 498 * - capitalize the first letter: 499 * - if there's a dash, skip it and capitalize the next one 512 boolean capitalize = true; 514 if (capitalize && c >= 'a' && c <= 'z') { 516 capitalize = false; 518 // not a letter -- skip the character and capitalize the next on [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
stringold.py | 358 # Capitalize a string, e.g. "aBc dEf" -> "Abc def". 359 def capitalize(s): function 360 """capitalize(s) -> string 366 return s.capitalize() 368 # Capitalize the words in a string, e.g. " aBc dEf " -> "Abc Def". 372 Split the argument into words using split, capitalize each 373 word using capitalize, and join the capitalized words using 378 return join(map(capitalize, s.split(sep)), sep or ' ')
|
string.py | 44 # Capitalize the words in a string, e.g. " aBc dEf " -> "Abc Def". 48 Split the argument into words using split, capitalize each 49 word using capitalize, and join the capitalized words using 56 return (sep or ' ').join(x.capitalize() for x in s.split(sep)) 500 # Capitalize a string, e.g. "aBc dEf" -> "Abc def". 501 def capitalize(s): function 502 """capitalize(s) -> string 508 return s.capitalize()
|
UserString.py | 62 def capitalize(self): return self.__class__(self.data.capitalize()) member in class:UserString
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
stringold.py | 358 # Capitalize a string, e.g. "aBc dEf" -> "Abc def". 359 def capitalize(s): function 360 """capitalize(s) -> string 366 return s.capitalize() 368 # Capitalize the words in a string, e.g. " aBc dEf " -> "Abc Def". 372 Split the argument into words using split, capitalize each 373 word using capitalize, and join the capitalized words using 378 return join(map(capitalize, s.split(sep)), sep or ' ')
|
string.py | 44 # Capitalize the words in a string, e.g. " aBc dEf " -> "Abc Def". 48 Split the argument into words using split, capitalize each 49 word using capitalize, and join the capitalized words using 56 return (sep or ' ').join(x.capitalize() for x in s.split(sep)) 500 # Capitalize a string, e.g. "aBc dEf" -> "Abc def". 501 def capitalize(s): function 502 """capitalize(s) -> string 508 return s.capitalize()
|
UserString.py | 62 def capitalize(self): return self.__class__(self.data.capitalize()) member in class:UserString
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
buffer_tests.py | 102 self.assertEqual(b' hello ', self.marshal(b' hello ').capitalize()) 103 self.assertEqual(b'Hello ', self.marshal(b'Hello ').capitalize()) 104 self.assertEqual(b'Hello ', self.marshal(b'hello ').capitalize()) 105 self.assertEqual(b'Aaaa', self.marshal(b'aaaa').capitalize()) 106 self.assertEqual(b'Aaaa', self.marshal(b'AaAa').capitalize()) 108 self.assertRaises(TypeError, self.marshal(b'hello').capitalize, 42)
|
test_strop.py | 28 self.assertTrue(strop.capitalize(" hello ") == " hello ") 29 self.assertTrue(strop.capitalize("hello ") == "Hello ")
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
buffer_tests.py | 102 self.assertEqual(b' hello ', self.marshal(b' hello ').capitalize()) 103 self.assertEqual(b'Hello ', self.marshal(b'Hello ').capitalize()) 104 self.assertEqual(b'Hello ', self.marshal(b'hello ').capitalize()) 105 self.assertEqual(b'Aaaa', self.marshal(b'aaaa').capitalize()) 106 self.assertEqual(b'Aaaa', self.marshal(b'AaAa').capitalize()) 108 self.assertRaises(TypeError, self.marshal(b'hello').capitalize, 42)
|
test_strop.py | 28 self.assertTrue(strop.capitalize(" hello ") == " hello ") 29 self.assertTrue(strop.capitalize("hello ") == "Hello ")
|
/external/chromium_org/chrome/common/extensions/docs/server2/ |
manifest_data_source.py | 119 app_name=platform.capitalize()))
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/menu/descriptors/ |
MenuDescriptors.java | 189 String styleName = AdtUtils.capitalize(xmlName);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newproject/ |
ProjectNamePage.java | 20 import static com.android.ide.eclipse.adt.AdtUtils.capitalize; 234 mValues.applicationName = capitalize(mValues.projectName); 241 String name = capitalize(mValues.projectName);
|
/external/chromium_org/third_party/WebKit/Source/web/scripts/ |
make-file-arrays.py | 43 variable_name = result.group(1)[0].lower() + result.group(1)[1:] + result.group(2).capitalize()
|
/external/chromium_org/tools/ |
nocompile_driver.py | 156 words = [w.capitalize() for w in words]
|