HomeSort by relevance Sort by last modified time
    Searched refs:Character (Results 1 - 25 of 251) sorted by null

1 2 3 4 5 6 7 8 91011

  /libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/
OldCharacterTest.java 26 assertEquals(1, Character.codePointCount("\uD800\uDC00".toCharArray(),
28 assertEquals(3, Character.codePointCount("a\uD800\uDC00b".toCharArray(),
30 assertEquals(4, Character.codePointCount("a\uD800\uDC00b\uD800".toCharArray(),
32 assertEquals(4, Character.codePointCount("ab\uD800\uDC00b\uD800".toCharArray(),
36 Character.codePointCount((char[]) null, 0, 1);
42 Character.codePointCount("abc".toCharArray(), -1, 1);
48 Character.codePointCount("abc".toCharArray(), 0, 4);
54 Character.codePointCount("abc".toCharArray(), 1, 3);
65 Character.DIRECTIONALITY_LEFT_TO_RIGHT,
68 Character.DIRECTIONALITY_LEFT_TO_RIGHT
    [all...]
Character_UnicodeBlockTest.java 24 assertEquals(Character.UnicodeBlock.BASIC_LATIN, Character.UnicodeBlock.of((char)0x0));
25 assertEquals(Character.UnicodeBlock.BASIC_LATIN, Character.UnicodeBlock.of((char)0x7f));
26 assertEquals(Character.UnicodeBlock.LATIN_1_SUPPLEMENT, Character.UnicodeBlock.of((char)0x80));
27 assertEquals(Character.UnicodeBlock.LATIN_1_SUPPLEMENT, Character.UnicodeBlock.of((char)0xff));
28 assertEquals(Character.UnicodeBlock.LATIN_EXTENDED_A, Character.UnicodeBlock.of((char)0x100))
    [all...]
Character_SubsetTest.java 27 @TestTargetClass(Character.Subset.class)
31 * @tests java.lang.Character.Subset#Character.Subset(java.lang.String)
43 new Character.Subset(null) {
51 * @tests java.lang.Character.Subset#toString()
62 Character.Subset subset = new Character.Subset(name) {
75 Character.Subset subset1 = new Character.Subset("name") { };
77 assertFalse(subset1.equals(new Character.Subset("name") {}))
    [all...]
  /libcore/luni/src/test/java/libcore/java/lang/
CharacterTest.java 25 Character e = new Character(c);
26 Character a = Character.valueOf(c);
28 assertSame(Character.valueOf(c), Character.valueOf(c));
30 for (int c = '\u0080'; c <= Character.MAX_VALUE; ++c) {
31 assertEquals(new Character((char) c), Character.valueOf((char) c));
  /libcore/luni/src/main/native/
java_lang_Character.cpp 17 #define LOG_TAG "Character"
155 NATIVE_METHOD(Character, digitImpl, "(II)I"),
156 NATIVE_METHOD(Character, forNameImpl, "(Ljava/lang/String;)I"),
157 NATIVE_METHOD(Character, getDirectionalityImpl, "(I)B"),
158 NATIVE_METHOD(Character, getNumericValueImpl, "(I)I"),
159 NATIVE_METHOD(Character, getTypeImpl, "(I)I"),
160 NATIVE_METHOD(Character, isDefinedImpl, "(I)Z"),
161 NATIVE_METHOD(Character, isDigitImpl, "(I)Z"),
162 NATIVE_METHOD(Character, isIdentifierIgnorableImpl, "(I)Z"),
163 NATIVE_METHOD(Character, isLetterImpl, "(I)Z")
    [all...]
  /dalvik/dx/src/com/android/dx/util/
Hex.java 39 result[15 - i] = Character.forDigit((int) v & 0x0f, 16);
55 result[7 - i] = Character.forDigit(v & 0x0f, 16);
71 result[5 - i] = Character.forDigit(v & 0x0f, 16);
87 result[3 - i] = Character.forDigit(v & 0x0f, 16);
119 result[1 - i] = Character.forDigit(v & 0x0f, 16);
135 result[0] = Character.forDigit(v & 0x0f, 16);
156 result[16 - i] = Character.forDigit((int) v & 0x0f, 16);
180 result[8 - i] = Character.forDigit(v & 0x0f, 16);
204 result[4 - i] = Character.forDigit(v & 0x0f, 16);
228 result[2 - i] = Character.forDigit(v & 0x0f, 16)
    [all...]
  /external/guava/src/com/google/common/primitives/
Chars.java 38 * already found in either {@link Character} or {@link Arrays}.
51 public static final int BYTES = Character.SIZE / Byte.SIZE;
55 * {@code ((Character) value).hashCode()}.
70 * Character#MAX_VALUE} or less than {@link Character#MIN_VALUE}
83 * {@code char} type, {@link Character#MAX_VALUE} if it is too large,
84 * or {@link Character#MIN_VALUE} if it is too small
87 if (value > Character.MAX_VALUE) {
88 return Character.MAX_VALUE;
90 if (value < Character.MIN_VALUE)
    [all...]
  /external/nist-sip/java/gov/nist/core/
StringTokenizer.java 86 return Character.isLowerCase(ch) || Character.isUpperCase(ch);
95 return Character.isDigit(ch);
106 return Character.isLowerCase(ch) ||
107 Character.isUpperCase(ch) ||
108 Character.isDigit(ch);
  /frameworks/base/core/java/com/google/android/mms/pdu/
QuotedPrintable.java 53 int u = Character.digit((char) bytes[++i], 16);
54 int l = Character.digit((char) bytes[++i], 16);
  /libcore/luni/src/main/java/java/net/
URIEncoderDecoder.java 56 int d1 = Character.digit(s.charAt(i + 1), 16);
57 int d2 = Character.digit(s.charAt(i + 2), 16);
70 && !Character.isSpaceChar(ch) && !Character
72 throw new URISyntaxException(s, "Illegal character", i);
84 throw new URISyntaxException(s, "Illegal character", i);
118 || (ch > 127 && !Character.isSpaceChar(ch) && !Character
192 int d1 = Character.digit(s.charAt(i + 1), 16);
193 int d2 = Character.digit(s.charAt(i + 2), 16)
    [all...]
  /frameworks/base/core/java/android/text/
StaticLayout.java 261 if (chdirs[i] == Character.DIRECTIONALITY_RIGHT_TO_LEFT) {
266 Character.DIRECTIONALITY_RIGHT_TO_LEFT)
364 int emoji = Character.codePointAt(chs, j - start);
429 (j - 1 < here || !Character.isDigit(chs[j - 1 - start])) &&
430 (j + 1 >= next || !Character.isDigit(chs[j + 1 - start]))) ||
432 (j + 1 >= next || !Character.isDigit(chs[j + 1 - start]))) ||
642 if (d == Character.DIRECTIONALITY_LEFT_TO_RIGHT) {
646 if (d == Character.DIRECTIONALITY_RIGHT_TO_LEFT) {
654 Character.DIRECTIONALITY_LEFT_TO_RIGHT :
655 Character.DIRECTIONALITY_RIGHT_TO_LEFT
    [all...]
  /libcore/luni/src/main/java/java/lang/
CaseMapper.java 58 if (ch == LATIN_CAPITAL_I_WITH_DOT || Character.isHighSurrogate(ch)) {
64 newCh = Character.toLowerCase(ch);
98 if (!(Character.isLowerCase(previous) || Character.isUpperCase(previous) || Character.isTitleCase(previous))) {
105 if (Character.isLowerCase(next) || Character.isUpperCase(next) || Character.isTitleCase(next)) {
112 * Return the index of the specified character into the upperValues table.
115 * are used, the third character in the table is \u0000
    [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);
  /frameworks/base/telephony/java/com/android/internal/telephony/
ATResponseParser.java 136 if (!Character.isWhitespace(c)) {
157 while (next < len && Character.isWhitespace(c)) {
161 if (Character.isWhitespace(c)) {
  /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));
  /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;
  /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'];
  /external/proguard/src/proguard/obfuscate/
DictionaryNameFactory.java 64 // Read the next character.
67 // Is it a valid identifier character?
70 Character.isJavaIdentifierStart((char)c) :
71 Character.isJavaIdentifierPart((char)c)))
  /libcore/luni/src/main/java/java/text/
DecimalFormatSymbols.java 249 * Returns the character which represents the decimal point in a number.
251 * @return the decimal separator character.
258 * Returns the character which represents a single digit in a format
261 * @return the digit pattern character.
268 * Returns the character used as the thousands separator in a number.
270 * @return the thousands separator character.
286 * Returns the minus sign character.
288 * @return the minus sign as a character.
295 * Returns the character which represents the decimal point in a monetary
298 * @return the monetary decimal point as a character
    [all...]
  /external/apache-http/src/org/apache/http/message/
BasicTokenIterator.java 210 * @param start the index of the first token character
211 * @param end the index after the last token character
251 ("Invalid character before token (pos " + from +
306 ("Invalid character after token (pos " + from +
320 * @param from the position of the first character of the token
322 * @return the position after the last character of the token.
324 * point to a token character in the current header value.
343 * Checks whether a character is a token separator.
346 * also separate tokens, but that is not a character check.
348 * @param ch the character to chec
    [all...]
  /external/proguard/src/proguard/
WordReader.java 135 Character.isWhitespace(currentLine.charAt(currentIndex)))
169 Character.isWhitespace(currentLine.charAt(currentIndex)))
183 // The next word is a single delimiting character.
188 // The next word is starting with a quote character.
192 // The next word is a quoted character string.
210 // The next word is a simple character string.
217 Character.isWhitespace(currentCharacter))
308 private boolean isDelimiter(char character)
310 return character == '@' ||
311 character == '{' |
    [all...]
  /libcore/xml/src/test/java/org/kxml2/io/
KXmlSerializerTest.java 51 final String s = Character.toString((char) ch);
69 final String s = Character.toString((char) ch);
87 final String s = Character.toString((char) ch);
  /build/tools/droiddoc/src/
KeywordEntry.java 38 return Character.toUpperCase(this.label.charAt(0));
  /external/easymock/src/org/easymock/internal/
ArgumentToString.java 34 } else if (value instanceof Character) {

Completed in 547 milliseconds

1 2 3 4 5 6 7 8 91011