/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/ |
Perl5Target.java | 54 } else if (Character.UnicodeBlock.of((char) c) == 55 Character.UnicodeBlock.BASIC_LATIN && 56 !Character.isISOControl((char) c)) {
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/editor/ |
CharacterPropertyEditor.java | 45 if (value instanceof Character) { 46 return String.valueOf(((Character) value).charValue()); 68 // only one character 77 property.setValue(new Character(text.charAt(0)));
|
/external/guava/guava/src/com/google/common/primitives/ |
UnsignedLongs.java | 253 * with the given radix, or if {@code radix} is not between {@link Character#MIN_RADIX} 254 * and {@link Character#MAX_RADIX}. 261 if (radix < Character.MIN_RADIX || radix > Character.MAX_RADIX) { 268 int digit = Character.digit(s.charAt(pos), radix); 316 * @throws IllegalArgumentException if {@code radix} is not between {@link Character#MIN_RADIX} 317 * and {@link Character#MAX_RADIX}. 320 checkArgument(radix >= Character.MIN_RADIX && radix <= Character.MAX_RADIX, 321 "radix (%s) must be between Character.MIN_RADIX and Character.MAX_RADIX", radix) [all...] |
/external/jsilver/src/com/google/clearsilver/jsilver/functions/html/ |
BaseUrlValidateFunction.java | 22 import java.lang.Character.UnicodeBlock; 90 (Character.UnicodeBlock.of(ch) == UnicodeBlock.BASIC_LATIN) 91 ? Character.toLowerCase(ch)
|
/external/smack/src/org/xbill/DNS/utils/ |
base16.java | 50 if (!Character.isWhitespace((char)raw[i])) 62 byte high = (byte) Base16.indexOf(Character.toUpperCase((char)in[i])); 63 byte low = (byte) Base16.indexOf(Character.toUpperCase((char)in[i+1]));
|
/packages/apps/UnifiedEmail/src/com/android/mail/lib/base/ |
CharEscaperBuilder.java | 64 private final Map<Character, String> map; 73 this.map = new HashMap<Character, String>(); 99 * highest character that has been seen. The array will be sparse in the sense that any unseen 106 for (Map.Entry<Character, String> entry : map.entrySet()) {
|
UnicodeEscaper.java | 63 * {@code 0 <= cp <= Character#MAX_CODE_POINT}. 66 * character from the resulting text. 68 * <p>If the character does not need to be escaped, this method should return 69 * {@code null}, rather than an array containing the character representation 75 * exception or return a suitable replacement character. It must never 86 * returning the index of the next character that requires escaping. 103 * @param start the index of the first character to be scanned 104 * @param end the index immediately after the last character to be scanned 115 index += Character.isSupplementaryCodePoint(cp) ? 2 : 1; 125 * unmatched high surrogate character, then this method will thro [all...] |
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/ |
CharEscaperBuilder.java | 65 private final Map<Character, String> map; 74 this.map = new HashMap<Character, String>(); 100 * highest character that has been seen. The array will be sparse in the sense that any unseen 107 for (Map.Entry<Character, String> entry : map.entrySet()) {
|
UnicodeEscaper.java | 63 * {@code 0 <= cp <= Character#MAX_CODE_POINT}. 66 * character from the resulting text. 68 * <p>If the character does not need to be escaped, this method should return 69 * {@code null}, rather than an array containing the character representation 75 * exception or return a suitable replacement character. It must never 86 * returning the index of the next character that requires escaping. 103 * @param start the index of the first character to be scanned 104 * @param end the index immediately after the last character to be scanned 115 index += Character.isSupplementaryCodePoint(cp) ? 2 : 1; 125 * unmatched high surrogate character, then this method will thro [all...] |
/external/google-tv-pairing-protocol/java/src/com/google/polo/json/ |
XMLTokener.java | 36 /** The table of entity values. It initially contains Character values for 85 * of tokens: the '<' character which begins a markup tag, and the content 88 * @return A string, or a '<' Character, or null if there is no more 97 } while (Character.isWhitespace(c)); 123 * @param a An ampersand character. 124 * @return A Character or an entity String if the entity is not recognized. 131 if (Character.isLetterOrDigit(c) || c == '#') { 132 sb.append(Character.toLowerCase(c)); 149 * Character, and strings and names are returned as Boolean. We don't care 159 } while (Character.isWhitespace(c)) [all...] |
/cts/tests/tests/text/src/android/text/cts/ |
EmojiTest.java | 48 * Tests all Emoji are defined in Character class 52 assertTrue(Character.isDefined(EmojiConstants.emojiCodePoints[i])); 75 mBitmapA = ccanvas.capture(Character.toChars(comparedCodePoints[i][0])); 76 mBitmapB = ccanvas.capture(Character.toChars(comparedCodePoints[i][1])); 82 mBitmapA = cviewA.capture(Character.toChars(comparedCodePoints[i][0])); 84 mBitmapB = cviewB.capture(Character.toChars(comparedCodePoints[i][1])); 89 mBitmapA = cedittextA.capture(Character.toChars(comparedCodePoints[i][0])); 91 mBitmapB = cedittextB.capture(Character.toChars(comparedCodePoints[i][1])); 100 mBitmapA = cwebview.capture(Character.toChars(comparedCodePoints[i][0])); 101 mBitmapB = cwebview.capture(Character.toChars(comparedCodePoints[i][1])) [all...] |
/libcore/luni/src/main/java/java/lang/ |
CaseMapper.java | 60 if (ch == LATIN_CAPITAL_I_WITH_DOT || Character.isHighSurrogate(ch)) { 66 newCh = Character.toLowerCase(ch); 92 if (!(Character.isLowerCase(previous) || Character.isUpperCase(previous) || Character.isTitleCase(previous))) { 99 if (Character.isLowerCase(next) || Character.isUpperCase(next) || Character.isTitleCase(next)) { 106 * Return the index of the specified character into the upperValues table. 109 * are used, the third character in the table is \u0000 [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
WordComposer.java | 123 mCodePointSize = Character.codePointCount(mTypedWordCache, 0, mTypedWordCache.length()); 158 // at index 0 and extends to the character at lastIndex. 159 final int codePointSize = Character.codePointCount(typedWord, 0, lastIndex); 225 mIsOnlyFirstCharCapitalized = Character.isUpperCase(primaryCode); 228 && !Character.isUpperCase(primaryCode); 230 if (Character.isUpperCase(primaryCode)) mCapsCount++; 231 if (Character.isDigit(primaryCode)) mDigitsCount++; 269 actualMoveAmountWithinWord += Character.charCount(codePoints[cursorPos]); 277 actualMoveAmountWithinWord -= Character.charCount(codePoints[cursorPos]); 296 for (int i = 0; i < length; i = Character.offsetByCodePoints(word, i, 1)) [all...] |
/external/apache-http/src/org/apache/commons/codec/net/ |
QuotedPrintableCodec.java | 35 * printable characters in the ASCII character set. It encodes the data in such a way that the resulting octets are 38 * to ensure the integrity of the data should the message pass through a character- translating, and/or line-wrapping 116 char hex1 = Character.toUpperCase(Character.forDigit((b >> 4) & 0xF, 16)); 117 char hex2 = Character.toUpperCase(Character.forDigit(b & 0xF, 16)); 182 int u = Character.digit((char) bytes[++i], 16); 183 int l = Character.digit((char) bytes[++i], 16);
|
URLCodec.java | 133 char hex1 = Character.toUpperCase( 134 Character.forDigit((b >> 4) & 0xF, 16)); 135 char hex2 = Character.toUpperCase( 136 Character.forDigit(b & 0xF, 16)); 167 int u = Character.digit((char)bytes[++i], 16); 168 int l = Character.digit((char)bytes[++i], 16);
|
/external/guava/guava-tests/test/com/google/common/primitives/ |
UnsignedIntsTest.java | 118 for (int radix = Character.MIN_RADIX; radix <= Character.MAX_RADIX; radix++) { 124 for (int radix = Character.MIN_RADIX; radix <= Character.MAX_RADIX; radix++) { 140 // Valid radix values are Character.MIN_RADIX to Character.MAX_RADIX, 143 UnsignedInts.parseUnsignedInt("0", Character.MIN_RADIX - 1); 148 UnsignedInts.parseUnsignedInt("0", Character.MAX_RADIX + 1);
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
Attribute.java | 80 if ( !inID && Character.isLetterOrDigit(decl.charAt(i)) ) { 84 !(Character.isLetterOrDigit(decl.charAt(i))|| 100 if ( !(Character.isLetterOrDigit(decl.charAt(i))||
|
/external/mockito/src/org/mockito/internal/util/ |
Primitives.java | 59 primitiveTypes.put(Character.class, Character.TYPE);
70 primitiveOrWrapperDefaultValues.put(Character.class, '\u0000');
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
ATResponseParser.java | 136 if (!Character.isWhitespace(c)) { 157 while (mNext < len && Character.isWhitespace(c)) { 161 if (Character.isWhitespace(c)) {
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
CodePointUtils.java | 70 final int candidateCodePoint = 0x20 + r % (Character.MAX_CODE_POINT - 0x20); 72 if (candidateCodePoint >= Character.MIN_SURROGATE 73 && candidateCodePoint <= Character.MAX_SURROGATE) continue;
|
/development/tools/mkstubs/src/com/android/mkstubs/sourcer/ |
Output.java | 23 * An {@link Output} objects is an helper to write to a character stream {@link Writer}. 60 * Writes a single character to the writer. 62 * @param c The character to write. 65 write(Character.toString(c));
|
/external/mockito/src/org/mockito/internal/matchers/ |
Same.java | 38 } else if (wanted instanceof Character) {
|
/packages/apps/Settings/src/com/android/settings/quicklaunch/ |
ShortcutPreference.java | 146 if (Character.isDigit(mShortcut) && Character.isLetter(other)) return 1; 147 else if (Character.isDigit(other) && Character.isLetter(mShortcut)) return -1;
|
/cts/tests/tests/security/src/android/security/cts/ |
ListeningPortsTest.java | 309 retval[i] = (byte) ((Character.digit(s.charAt(2*i + 6), 16) << 4) 310 + Character.digit(s.charAt(2*i + 7), 16)); 311 retval[i + 1] = (byte) ((Character.digit(s.charAt(2*i + 4), 16) << 4) 312 + Character.digit(s.charAt(2*i + 5), 16)); 313 retval[i + 2] = (byte) ((Character.digit(s.charAt(2*i + 2), 16) << 4) 314 + Character.digit(s.charAt(2*i + 3), 16)); 315 retval[i + 3] = (byte) ((Character.digit(s.charAt(2*i), 16) << 4) 316 + Character.digit(s.charAt(2*i + 1), 16));
|
/external/apache-http/src/org/apache/commons/codec/language/ |
RefinedSoundex.java | 63 * provide an internationalized mapping for a non-Western character set. 67 * a given character 134 * Returns the mapping code for a given character. The mapping codes are 140 * @return A character (really a numeral) to return for the given char 143 if (!Character.isLetter(c)) { 146 return this.soundexMapping[Character.toUpperCase(c) - 'A'];
|