/frameworks/base/telephony/java/android/telephony/ |
JapanesePhoneNumberFormatter.java | 166 } else if (length < 1 || text.charAt(0) != '0') { 175 if (text.charAt(i) == '-') { 188 char ch = text.charAt(i);
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
Utf8ByteLengthFilter.java | 52 char c = source.charAt(i); 60 char c = dest.charAt(i); 72 char c = source.charAt(i);
|
/external/webkit/Source/WebCore/inspector/front-end/ |
Color.js | 46 if (hex.charAt(0) === hex.charAt(1) && hex.charAt(2) === hex.charAt(3) && hex.charAt(4) === hex.charAt(5)) 47 this._short = hex.charAt(0) + hex.charAt(2) + hex.charAt(4); 310 this.hex = hex.charAt(0) + hex.charAt(0) + hex.charAt(1) + hex.charAt(1) + hex.charAt(2) + hex.charAt(2) [all...] |
/external/jsilver/src/com/google/clearsilver/jsilver/data/ |
NewHdfParser.java | 216 if (charAt(seq, 0) == '#') { 224 } else if (charAt(seq, 0) == '}') { 238 if (charAt(seq, start) == '"') { 239 if (charAt(seq, end - 1) == '"') { 261 switch (charAt(seq, index)) { 277 if (charAt(seq, index + 1) == '=') { 306 if (charAt(seq, index + 1) != '<') { 352 while (end < seq.length() && isHdfNameChar(charAt(seq, end))) { 366 if (charAt(seq, index) != '[') { 374 while (charAt(seq, index) != ']') [all...] |
/external/apache-xml/src/main/java/org/apache/xpath/objects/ |
XNumber.java | 151 // if (s.charAt(len - 2) == '.' && s.charAt(len - 1) == '0') 171 // int start = (s.charAt(0) == '-') ? 1 : 0; 174 // switch (s.charAt(start)) 188 // switch (s.charAt(end)) 222 // while (s.charAt(--truncatePoint) == '0') 225 // if (s.charAt(truncatePoint) == '.') 247 // if (s.charAt(0) == '-') 296 if (s.charAt(len - 2) == '.' && s.charAt(len - 1) == '0' [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/util/encoders/ |
HexEncoder.java | 140 if (!ignore(data.charAt(end - 1))) 151 while (i < end && ignore(data.charAt(i))) 156 b1 = decodingTable[data.charAt(i++)]; 158 while (i < end && ignore(data.charAt(i))) 163 b2 = decodingTable[data.charAt(i++)];
|
Base64Encoder.java | 207 if (!ignore(data.charAt(end - 1))) 222 b1 = decodingTable[data.charAt(i++)]; 226 b2 = decodingTable[data.charAt(i++)]; 230 b3 = decodingTable[data.charAt(i++)]; 234 b4 = decodingTable[data.charAt(i++)]; 245 length += decodeLastBlock(out, data.charAt(end - 4), data.charAt(end - 3), data.charAt(end - 2), data.charAt(end - 1)); 292 while ((i < finish) && ignore(data.charAt(i)) [all...] |
/external/javassist/src/main/javassist/runtime/ |
Desc.java | 67 if (desc.charAt(0) != '(') 91 char c = desc.charAt(start); 135 while (desc.charAt(end) == '[') 138 if (desc.charAt(end) == 'L') { 145 if (desc.charAt(start) == 'L')
|
/external/nist-sip/java/gov/nist/core/ |
StringTokenizer.java | 61 char c = buffer.charAt(ptr); 114 while (ptr < bufferLen && buffer.charAt(ptr) != '\n') { 117 if (ptr < bufferLen && buffer.charAt(ptr) == '\n') { 137 return buffer.charAt(ptr + k); 150 return buffer.charAt(ptr++);
|
/external/proguard/src/proguard/ |
WordReader.java | 135 Character.isWhitespace(currentLine.charAt(currentIndex))) 169 Character.isWhitespace(currentLine.charAt(currentIndex))) 179 char startChar = currentLine.charAt(startIndex); 204 while (currentLine.charAt(currentIndex) != startChar); 215 char currentCharacter = currentLine.charAt(currentIndex);
|
/external/proguard/src/proguard/classfile/util/ |
DescriptorClassEnumeration.java | 96 switch (descriptor.charAt(index++)) 148 while (descriptor.charAt(index++) != ClassConstants.INTERNAL_TYPE_CLASS_END); 154 descriptor.charAt(index) != ClassConstants.INTERNAL_TYPE_GENERIC_END) 158 while (descriptor.charAt(index++) != ClassConstants.INTERNAL_TYPE_GENERIC_BOUND); 176 switch (descriptor.charAt(index))
|
/external/apache-http/src/org/apache/commons/codec/language/ |
DoubleMetaphone.java | 97 switch (value.charAt(index)) { 108 index = charAt(value, index + 1) == 'B' ? index + 2 : index + 1; 123 index = charAt(value, index + 1) == 'F' ? index + 2 : index + 1; 136 index = charAt(value, index + 1) == 'K' ? index + 2 : index + 1; 147 index = charAt(value, index + 1) == 'N' ? index + 2 : index + 1; 159 index = charAt(value, index + 1) == 'Q' ? index + 2 : index + 1; 172 index = charAt(value, index + 1) == 'V' ? index + 2 : index + 1; 301 !(index == 1 && charAt(value, 0) == 'M')) { 340 if ((index == 1 && charAt(value, index - 1) == 'A') || 421 if (charAt(value, index + 1) == 'H') [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Expressions/ |
11.10-1.js | 184 if ( Number(bin.charAt(0)) == 0 ) { 193 r += Math.pow( 2, j ) * Number(bin.charAt(31-j)); 207 r += Math.pow( 2, j ) * Number(bin.charAt(31-j)); 223 if ( bs.charAt(bit) == "1" && ba.charAt(bit) == "1" ) { 241 if ( (bs.charAt(bit) == "1" && ba.charAt(bit) == "0") || 242 (bs.charAt(bit) == "0" && ba.charAt(bit) == "1") 262 if ( bs.charAt(bit) == "1" || ba.charAt(bit) == "1" ) [all...] |
11.10-2.js | 183 if ( Number(bin.charAt(0)) == 0 ) { 192 r += Math.pow( 2, j ) * Number(bin.charAt(31-j)); 206 r += Math.pow( 2, j ) * Number(bin.charAt(31-j)); 222 if ( bs.charAt(bit) == "1" && ba.charAt(bit) == "1" ) { 240 if ( (bs.charAt(bit) == "1" && ba.charAt(bit) == "0") || 241 (bs.charAt(bit) == "0" && ba.charAt(bit) == "1") 261 if ( bs.charAt(bit) == "1" || ba.charAt(bit) == "1" ) [all...] |
11.10-3.js | 183 if ( Number(bin.charAt(0)) == 0 ) { 192 r += Math.pow( 2, j ) * Number(bin.charAt(31-j)); 205 r += Math.pow( 2, j ) * Number(bin.charAt(31-j)); 221 if ( bs.charAt(bit) == "1" && ba.charAt(bit) == "1" ) { 239 if ( (bs.charAt(bit) == "1" && ba.charAt(bit) == "0") || 240 (bs.charAt(bit) == "0" && ba.charAt(bit) == "1") 260 if ( bs.charAt(bit) == "1" || ba.charAt(bit) == "1" ) [all...] |
/cts/tests/tests/text/src/android/text/cts/ |
AlteredCharSequenceTest.java | 34 method = "charAt", 43 assertEquals('i', mAlteredCharSequence.charAt(0)); 44 assertEquals('s', mAlteredCharSequence.charAt(1)); 46 assertEquals('c', mAlteredCharSequence.charAt(2)); 47 assertEquals('d', mAlteredCharSequence.charAt(3)); 50 mAlteredCharSequence.charAt(-1); 57 mAlteredCharSequence.charAt(mAlteredCharSequence.length() + 1); 193 public char charAt(int index) {
|
/external/javassist/src/main/javassist/bytecode/ |
Descriptor.java | 73 char c = descriptor.charAt(0); 76 c = descriptor.charAt(++i); 169 && desc.charAt(j + oldname.length() + 1) == ';') { 353 if (desc.charAt(0) != '(') 391 if (descriptor.charAt(0) != '(') 430 if (desc.charAt(0) != '(') 450 if (desc1.charAt(0) != '(') 454 char c = desc1.charAt(i); 455 if (c != desc2.charAt(i)) 503 char c = desc.charAt(i) [all...] |
/dalvik/tests/082-inline-execute/src/ |
Main.java | 63 int at0 = testStr.charAt(0); 64 int at1 = testStr.charAt(1); 65 int at10 = testStr.charAt(10); 66 int atLast = testStr.charAt(testStr.length()-1); 75 assert(at0 == testStr.charAt(0)); 76 assert(at1 == testStr.charAt(1)); 77 assert(at10 == testStr.charAt(10)); 78 assert(atLast == testStr.charAt(testStr.length()-1)); 83 testStr.charAt(under); 89 testStr.charAt(over) [all...] |
/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/ |
XML11Char.java | 298 char ch = name.charAt(0);
301 char ch2 = name.charAt(1);
313 ch = name.charAt(i);
316 char ch2 = name.charAt(i);
348 char ch = ncName.charAt(0);
351 char ch2 = ncName.charAt(1);
363 ch = ncName.charAt(i);
366 char ch2 = ncName.charAt(i);
396 char ch = nmtoken.charAt(i);
399 char ch2 = nmtoken.charAt(i); [all...] |
/external/apache-xml/src/main/java/org/apache/xml/utils/ |
XML11Char.java | 293 char ch = name.charAt(0); 296 char ch2 = name.charAt(1); 308 ch = name.charAt(i); 311 char ch2 = name.charAt(i); 343 char ch = ncName.charAt(0); 346 char ch2 = ncName.charAt(1); 358 ch = ncName.charAt(i); 361 char ch2 = ncName.charAt(i); 391 char ch = nmtoken.charAt(i); 394 char ch2 = nmtoken.charAt(i) [all...] |
/libcore/luni/src/main/java/java/lang/ |
StringToReal.java | 78 result.negative = (s.charAt(0) == '-'); 82 char c = s.charAt(length - 1); 100 char firstExponentChar = s.charAt(exponentOffset); 112 char ch = exponentString.charAt(i); 141 c = s.charAt(start); 167 while (end > 1 && s.charAt(end - 1) == '0') { 172 while (start < end - 1 && s.charAt(start) == '0') { 214 char firstChar = name.charAt(i); 252 char last = s.charAt(length - 1); 293 char last = s.charAt(length - 1) [all...] |
/external/antlr/src/org/antlr/runtime/ |
DFA.java | 189 size += encodedString.charAt(i); 194 char n = encodedString.charAt(i); 195 char v = encodedString.charAt(i+1); 209 size += encodedString.charAt(i); 214 char n = encodedString.charAt(i); 215 char v = encodedString.charAt(i+1);
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
ContactLookupKey.java | 137 c = string.charAt(offset++); 165 c = string.charAt(offset++); 172 c = string.charAt(offset); 188 c = string.charAt(offset++); 204 c = string.charAt(offset++); 220 c = string.charAt(offset);
|
/dalvik/dx/tests/087-ssa-local-vars/ |
Blort.java | 70 if ((current.charAt(0) == ' ' || current.charAt(0) == '\t') && previous != null) { 73 char ch = current.charAt(i);
|
/external/doclava/src/com/google/doclava/ |
SourcePositionInfo.java | 47 char c = str.charAt(i); 63 char c = str.charAt(i); 90 if (source.charAt(i) == ':') {
|