/external/guava/guava/src/com/google/common/primitives/ |
AndroidInteger.java | 43 checkArgument(radix >= Character.MIN_RADIX, 44 "Invalid radix %s, min radix is %s", radix, Character.MIN_RADIX); 45 checkArgument(radix <= Character.MAX_RADIX, 46 "Invalid radix %s, max radix is %s", radix, Character.MAX_RADIX); 64 int digit = Character.digit(string.charAt(offset++), radix);
|
Chars.java | 38 * already found in either {@link Character} or {@link Arrays}. 54 public static final int BYTES = Character.SIZE / Byte.SIZE; 58 * {@code ((Character) value).hashCode()}. 73 * Character#MAX_VALUE} or less than {@link Character#MIN_VALUE} 86 * {@code char} type, {@link Character#MAX_VALUE} if it is too large, 87 * or {@link Character#MIN_VALUE} if it is too small 90 if (value > Character.MAX_VALUE) { 91 return Character.MAX_VALUE; 93 if (value < Character.MIN_VALUE) [all...] |
/external/chromium_org/mojo/bindings/java/src/org/chromium/mojo/bindings/ |
BindingsHelper.java | 34 codepoint = Character.toCodePoint(c, c2); 58 * {@link Character#isSurrogate}. Extracting here because the method only exists at API level 62 return c >= Character.MIN_SURROGATE && c < (Character.MAX_SURROGATE + 1);
|
/frameworks/base/core/java/android/text/ |
TextDirectionHeuristics.java | 50 * Determines the direction based on the first strong directional character, including bidi 58 * Determines the direction based on the first strong directional character, including bidi 66 * If the text contains any strong right to left non-format character, determines that the 86 case Character.DIRECTIONALITY_LEFT_TO_RIGHT: 88 case Character.DIRECTIONALITY_RIGHT_TO_LEFT: 89 case Character.DIRECTIONALITY_RIGHT_TO_LEFT_ARABIC: 98 case Character.DIRECTIONALITY_LEFT_TO_RIGHT: 99 case Character.DIRECTIONALITY_LEFT_TO_RIGHT_EMBEDDING: 100 case Character.DIRECTIONALITY_LEFT_TO_RIGHT_OVERRIDE: 102 case Character.DIRECTIONALITY_RIGHT_TO_LEFT [all...] |
/frameworks/support/v4/java/android/support/v4/text/ |
TextDirectionHeuristicsCompat.java | 43 * Determines the direction based on the first strong directional character, including bidi 51 * Determines the direction based on the first strong directional character, including bidi 59 * If the text contains any strong right to left non-format character, determines that the 80 case Character.DIRECTIONALITY_LEFT_TO_RIGHT: 82 case Character.DIRECTIONALITY_RIGHT_TO_LEFT: 83 case Character.DIRECTIONALITY_RIGHT_TO_LEFT_ARABIC: 92 case Character.DIRECTIONALITY_LEFT_TO_RIGHT: 93 case Character.DIRECTIONALITY_LEFT_TO_RIGHT_EMBEDDING: 94 case Character.DIRECTIONALITY_LEFT_TO_RIGHT_OVERRIDE: 96 case Character.DIRECTIONALITY_RIGHT_TO_LEFT [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
StringUtils.java | 58 if (Character.charCount(codePoint) == 1) { 64 return new String(Character.toChars(codePoint)); 77 * a comma character in it. 148 // - It does not work for Serbian, because it fails to account for the "lj" character, 178 new int[Character.codePointCount(charSequence, startIndex, endIndex)]; 188 * can be measured with Character#codePointCount(CharSequence, int, int) before passing to this 207 index = Character.offsetByCodePoints(charSequence, index, 1)) { 208 final int codePoint = Character.codePointAt(charSequence, index); 211 destination[destIndex] = downCase ? Character.toLowerCase(codePoint) : codePoint; 248 if (Character.isLetter(text.codePointAt(index))) [all...] |
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/ |
RubyTarget.java | 78 rubyCharValueEscape[ i ] = Character.toString( i ); 139 * I W h << 'i' << '_' // the last character in an acronym run of uppers 158 if ( Character.isLetter( cur ) ) { 159 output_buffer.append( Character.toLowerCase( cur ) ); 161 if ( Character.isDigit( next ) || Character.isWhitespace( next ) ) { 163 } else if ( Character.isLowerCase( cur ) && Character.isUpperCase( next ) ) { 166 } else if ( ( i < cliff - 1 ) && Character.isUpperCase( cur ) && Character.isUpperCase( next ) ) [all...] |
/development/apps/CustomLocale/src/com/android/customlocale2/ |
CustomLocaleReceiver.java | 63 is_ok = Character.isLetter(locale.charAt(0)) &&
64 Character.isLetter(locale.charAt(1));
68 Character.isLetter(locale.charAt(3)) &&
69 Character.isLetter(locale.charAt(4));
|
/external/google-tv-pairing-protocol/java/src/com/google/polo/json/ |
HTTPTokener.java | 55 } while (Character.isWhitespace(c)); 70 if (c == 0 || Character.isWhitespace(c)) {
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
stralign.h | 48 PUWSTR __cdecl uaw_wcschr(PCUWSTR String,WCHAR Character); 52 PUWSTR __cdecl uaw_wcsrchr(PCUWSTR String,WCHAR Character); 105 PUWSTR_C ua_wcschr(PCUWSTR String,WCHAR Character); 106 PUWSTR_C ua_wcsrchr(PCUWSTR String,WCHAR Character); 108 PUWSTR ua_wcschr(PUWSTR String,WCHAR Character); 109 PUWSTR ua_wcsrchr(PUWSTR String,WCHAR Character); 115 __CRT_INLINE PUWSTR_C ua_wcschr(PCUWSTR String,WCHAR Character) { 116 if(WSTR_ALIGNED(String)) return wcschr((PCWSTR)String,Character); 117 return (PUWSTR_C)uaw_wcschr(String,Character); 119 __CRT_INLINE PUWSTR_C ua_wcsrchr(PCUWSTR String,WCHAR Character) { [all...] |
/dalvik/dexgen/src/com/android/dexgen/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...] |
/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/dexmaker/src/dx/java/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/guava-tests/test/com/google/common/collect/ |
AbstractTableReadTest.java | 36 protected Table<String, Integer, Character> table; 47 protected abstract Table<String, Integer, Character> 99 assertEquals((Character) 'a', table.get("foo", 1)); 100 assertEquals((Character) 'b', table.get("bar", 1)); 101 assertEquals((Character) 'c', table.get("foo", 3)); 124 Table<String, Integer, Character> hashCopy = HashBasedTable.create(table); 125 Table<String, Integer, Character> reordered 127 Table<String, Integer, Character> smaller 129 Table<String, Integer, Character> swapOuter 131 Table<String, Integer, Character> swapValue [all...] |
TablesTest.java | 37 Cell<String, Integer, Character> entry 43 Cell<String, Integer, Character> entry 47 Cell<String, Integer, Character> nullEntry 53 Cell<String, Integer, Character> entry 66 Cell<String, Integer, Character> entry
|
BstRangeOpsTest.java | 45 private static final SortedSet<Character> MODEL = 119 countAggregate, GeneralRange.<Character>all(Ordering.natural()), ROOT)); 124 GeneralRange<Character> range = GeneralRange.all(Ordering.natural()); 142 GeneralRange<Character> range1 = GeneralRange.downTo(Ordering.natural(), 'f', CLOSED); 145 GeneralRange<Character> range2 = GeneralRange.downTo(Ordering.natural(), 'f', OPEN); 148 GeneralRange<Character> range3 = GeneralRange.downTo(Ordering.natural(), 'a', CLOSED); 151 GeneralRange<Character> range4 = GeneralRange.downTo(Ordering.natural(), 'a', OPEN); 154 GeneralRange<Character> range5 = GeneralRange.downTo(Ordering.natural(), 'c', OPEN); 157 GeneralRange<Character> range6 = GeneralRange.downTo(Ordering.natural(), 'c', CLOSED); 175 GeneralRange<Character> range1 = GeneralRange.upTo(Ordering.natural(), 'f', CLOSED) [all...] |
BstCountBasedBalancePoliciesTest.java | 43 return BstCountBasedBalancePolicies.<Character, SimpleNode>singleRebalancePolicy( 51 return BstCountBasedBalancePolicies.<Character, SimpleNode>fullRebalancePolicy(
|
/external/smali/util/src/main/java/org/jf/util/ |
Hex.java | 51 result[15 - i] = Character.forDigit((int) v & 0x0f, 16); 67 result[7 - i] = Character.forDigit(v & 0x0f, 16); 83 result[5 - i] = Character.forDigit(v & 0x0f, 16); 99 result[3 - i] = Character.forDigit(v & 0x0f, 16); 131 result[1 - i] = Character.forDigit(v & 0x0f, 16); 147 result[0] = Character.forDigit(v & 0x0f, 16); 168 result[16 - i] = Character.forDigit((int) v & 0x0f, 16); 192 result[8 - i] = Character.forDigit(v & 0x0f, 16); 216 result[4 - i] = Character.forDigit(v & 0x0f, 16); 240 result[2 - i] = Character.forDigit(v & 0x0f, 16) [all...] |
/external/guava/guava-gwt/src-super/com/google/common/primitives/super/com/google/common/primitives/ |
Chars.java | 36 * already found in either {@link Character} or {@link Arrays}. 52 public static final int BYTES = Character.SIZE / Byte.SIZE; 56 * {@code ((Character) value).hashCode()}. 71 * Character#MAX_VALUE} or less than {@link Character#MIN_VALUE} 84 * {@code char} type, {@link Character#MAX_VALUE} if it is too large, 85 * or {@link Character#MIN_VALUE} if it is too small 88 if (value > Character.MAX_VALUE) { 89 return Character.MAX_VALUE; 91 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);
|
/external/chromium_org/third_party/libaddressinput/src/java/src/com/android/i18n/addressinput/ |
AddressField.java | 23 * Defines the character codes used in the metadata to specify the types of fields used in address 24 * formatting. Note that the metadata also has a character for newlines, which is not defined here. 50 private static final Map<Character, AddressField> FIELD_MAPPING 51 = new HashMap<Character, AddressField>(); 73 * Gets the corresponding AddressField for the character code. Returns null if the character is 92 * Gets the field's identification character, as used in the metadata.
|
/external/javassist/src/main/javassist/bytecode/annotation/ |
CharMemberValue.java | 62 return new Character(getValue()); 87 return Character.toString(getValue());
|
/frameworks/opt/telephony/src/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);
|
/external/smack/src/org/xbill/DNS/ |
TTL.java | 38 if (s == null || s.length() == 0 || !Character.isDigit(s.charAt(0))) 45 if (Character.isDigit(c)) { 46 value = (value * 10) + Character.getNumericValue(c); 50 switch (Character.toUpperCase(c)) {
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/sec_api/ |
stralign_s.h | 21 return uaw_wcscpy((PCUWSTR)String,Character);
|