/development/samples/ApiDemos/src/com/example/android/apis/os/ |
MorseCodeConverter.java | 74 /** Return the pattern data for a given character */ 99 if (Character.isWhitespace(c)) { 122 if (Character.isWhitespace(c)) {
|
/external/easymock/src/org/easymock/internal/ |
Invocation.java | 18 import static java.lang.Character.*;
192 || !Character.isJavaIdentifierStart(mockName.charAt(0))) {
|
/external/junit/src/junit/framework/ |
Assert.java | 172 assertEquals(message, new Character(expected), new Character(actual));
|
/frameworks/base/core/java/com/android/internal/util/ |
HanziToPinyin.java | 27 * An object to convert Chinese character to its corresponding pinyin string. 298 /** First and last Chinese character with known Pinyin according to zh collation */ 301 /** The first Chinese character in Unicode block */ 364 private Token getToken(char character) { 366 final String letter = Character.toString(character); 370 if (character < 256) { 374 } else if (character < FIRST_UNIHAN) { 406 final String unihan = Character.toString(UNIHANS[offset]); 430 * characters without space will be put into a Token, One Hanzi character 448 final char character = input.charAt(i); local [all...] |
/libcore/junit/src/main/java/junit/framework/ |
Assert.java | 175 assertEquals(message, new Character(expected), new Character(actual));
|
/libcore/luni/src/main/java/java/util/ |
TimeZone.java | 335 if (Character.digit(name.charAt(index), 10) != -1) { 380 && (digit = Character.digit(string.charAt(index), 10)) != -1) {
|
ServiceLoader.java | 35 * The file's character encoding must be UTF-8. 269 if (!Character.isJavaIdentifierPart(ch) && ch != '.') { 270 throw new ServiceConfigurationError("Bad character '" + ch + "' in class name");
|
/packages/apps/Email/src/org/apache/commons/io/ |
FileSystemUtils.java | 253 // character on the line, then continue until we find the first
254 // non-numeric character, and everything between that and the last
255 // numeric character inclusive is our free space bytes count
261 if (Character.isDigit(c)) {
262 // found the last numeric character, this is the end of
271 if (!Character.isDigit(c) && c != ',' && c != '.') {
272 // found the next non-numeric character, this is the
|
/sdk/layoutlib_utils/src/com/android/layoutlib/utils/ |
ValueResourceParser.java | 155 if (Character.isWhitespace(value.charAt(left))) { 165 if (Character.isWhitespace(value.charAt(right))) {
|
/libcore/luni/src/test/java/tests/xml/ |
NormalizeTest.java | 83 assertEquals(false, domConfiguration.getParameter("check-character-normalization")); 84 assertSupported("check-character-normalization", false); 85 assertUnsupported("check-character-normalization", true); 408 errorRecorder.assertAllErrors(DOMError.SEVERITY_ERROR, "wf-invalid-character"); 441 errorRecorder.assertAllErrors(DOMError.SEVERITY_ERROR, "wf-invalid-character"); 454 for (int c = 0; c <= Character.MAX_VALUE; c++) { 460 errorRecorder.assertAllErrors("For character " + c, 461 DOMError.SEVERITY_ERROR, "wf-invalid-character"); 475 for (int c = 0; c <= Character.MAX_VALUE; c++) { 481 errorRecorder.assertAllErrors("For character " + c [all...] |
/libcore/luni/src/test/java/org/apache/harmony/regex/tests/java/util/regex/ |
Pattern2Test.java | 408 // Test \c (control character) sequence 423 // character 427 p = Pattern.compile("\\c" + Character.toString((char) ('A' + i))); 430 m = p.matcher(Character.toString((char) j)); 487 // Test one character range 498 // Test two character range 531 // Test character range using - 556 // // Test ranges including the "-" character 579 // Test character class intersection with && 645 // Test character class subtraction with && and [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/extractstring/ |
ExtractStringInputPage.java | 254 if (text.length() > 0 && !Character.isJavaIdentifierStart(text.charAt(0))) { 290 Character.isJavaIdentifierStart(c) : 291 Character.isJavaIdentifierPart(c); 294 "The resource ID must be a valid Java identifier. The character %1$c at position %2$d is not acceptable.",
|
/cts/tools/vm-tests/src/util/build/ |
DasmBuildStep.java | 96 String class_dir = class_path[0].replaceAll("/|\\.", Character.toString(File.separatorChar));
|
/external/webkit/WebCore/dom/ |
Position.h | 47 Character, // Move to the next Unicode character break. 126 // using composed characters, the result may be inside a single user-visible character if a ligature is formed.
|
/libcore/luni/src/main/java/java/lang/ |
AbstractStringBuilder.java | 43 * Returns the character array. 203 * Retrieves the character at the {@code index}. 206 * the index of the character to retrieve. 535 * Sets the character at the {@code index}. 538 * the zero-based index of the character to replace. 540 * the character to set. 675 * Searches for the first index of the specified character. The search for 676 * the character starts at the beginning and moves towards the end. 680 * @return the index of the specified character, -1 if the character isn' [all...] |
StringBuilder.java | 318 * {@code char[]} as defined by {@link Character#toChars(int)}. 323 * @see Character#toChars(int) 326 append0(Character.toChars(codePoint)); 349 * Deletes the character at the specified index. shifts any remaining 353 * the index of the character to delete. 605 * the start of the subsequence of the character sequence. 607 * the end of the subsequence of the character sequence.
|
/libcore/luni/src/main/java/org/apache/xml/serializer/utils/ |
SystemIDResolver.java | 118 * character cannot be used as the first segment of a relative URI path 177 && Character.isLetter(systemId.charAt(0))
|
/libcore/luni/src/main/java/org/apache/xml/utils/ |
SystemIDResolver.java | 111 * character cannot be used as the first segment of a relative URI path 170 && Character.isLetter(systemId.charAt(0))
|
/cts/tests/tests/telephony/src/android/telephony/cts/ |
TelephonyManagerTest.java | 322 int actualCheckDigit = Character.digit(deviceId.charAt(14), 10); 346 int digit = Character.digit(deviceId.charAt(i), 10);
|
/dalvik/dx/src/com/android/dx/cf/code/ |
ByteOps.java | 562 int idx = (Character.digit(s.charAt(i), 16) << 4) | 563 Character.digit(s.charAt(i + 1), 16);
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
FontLoader.java | 334 if (Character.isWhitespace(value.charAt(left))) { 344 if (Character.isWhitespace(value.charAt(right))) {
|
/libcore/luni/src/main/java/java/math/ |
BigInt.java | 179 if (Character.digit(ch, base) == -1) { 197 int value = Character.digit(ch, base);
|
/libcore/luni/src/main/java/java/net/ |
URLConnection.java | 264 // Replace all non-alphanumeric character by '_' 811 * converting non-alphanumeric character into underscore. 822 if (!(Character.isLetter(c) || Character.isDigit(c) || c == '.')) { [all...] |
/libcore/luni/src/main/java/org/apache/xalan/templates/ |
ElemNumber.java | [all...] |
/libcore/luni/src/main/java/org/apache/xpath/objects/ |
XStringForFSB.java | 214 * Returns the character at the specified index. An index ranges 215 * from <code>0</code> to <code>length() - 1</code>. The first character 219 * @param index the index of the character. 220 * @return the character at the specified index of this string. 221 * The first character is at index <code>0</code>. 232 * Copies characters from this string into the destination character 235 * @param srcBegin index of the first character in the string 237 * @param srcEnd index after the last character in the string 450 * @see java.lang.Character#toLowerCase(char) 451 * @see java.lang.Character#toUpperCase(char [all...] |