/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...] |
/external/bouncycastle/src/main/java/org/bouncycastle/asn1/x500/style/ |
X500NameTokenizer.java | 51 char c = value.charAt(end); 69 if (c == '#' && buf.charAt(buf.length() - 1) == '=')
|
/external/chromium/net/data/proxy_resolver_v8_unittest/ |
passthrough.js | 19 var c = str.charAt(i); 29 result.charAt(result.length - 1) == '.')) {
|
/libcore/luni/src/test/java/libcore/java/lang/ |
StringIndexOutOfBoundsExceptionTest.java | 24 "hello".charAt(-1); 31 "hello".charAt(7);
|
/libcore/luni/src/test/java/tests/api/java/lang/ |
StringTest.java | 31 assertTrue("abcd".charAt(0) == 'a'); 32 assertTrue("abcd".charAt(3) == 'd');
|
/libcore/luni/src/test/java/tests/java/lang/String/ |
Tests.java | 31 assertTrue("abcd".charAt(0) == 'a'); 32 assertTrue("abcd".charAt(3) == 'd');
|
/development/apps/CustomLocale/src/com/android/customlocale2/ |
CustomLocaleReceiver.java | 63 is_ok = Character.isLetter(locale.charAt(0)) &&
64 Character.isLetter(locale.charAt(1));
67 is_ok = locale.charAt(2) == '_' &&
68 Character.isLetter(locale.charAt(3)) &&
69 Character.isLetter(locale.charAt(4));
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/ |
ObjCTarget.java | 55 int c = literal.charAt(1); // TJP 85 if ( name.charAt(0)=='\'' ) { 98 if ( name.charAt(0)=='\'' ) { 102 if (textEquivalent.charAt(0) >= '0' && textEquivalent.charAt(0) <= '9') {
|
/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...] |
/packages/apps/Calculator/src/com/android/calculator2/ |
CalculatorEditable.java | 62 char text = delta.charAt(0); 67 while (p >= 0 && Character.isDigit(charAt(p))) { 70 if (p >= 0 && charAt(p) == '.') { 75 char prevChar = start > 0 ? charAt(start-1) : '\0'; 87 prevChar = start > 0 ? charAt(start-1) : '\0';
|
/sdk/apigenerator/src/com/android/apigenerator/ |
ParserState.java | 122 boolean isClass = Character.isUpperCase(fqcn.charAt(0)); 124 if (fqcn.charAt(i) == '.') { 132 isClass = Character.isUpperCase(fqcn.charAt(i+1)); 135 if (fqcn.charAt(i) == '<') { 139 sb.append(fqcn.charAt(i));
|
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/util/ |
LineUtil.java | 45 while(prefixSize < n && line.charAt(prefixSize) == ' ') { 69 while (posNext < n && line.charAt(posNext) == '\n') { 73 while (posNext < n && line.charAt(posNext) == ' ') { 77 char c = line.charAt(posNext - 1); 91 char c = line.charAt(posPrev - 1);
|
/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/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/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...] |
/cts/tests/tests/text/src/android/text/cts/ |
AlteredCharSequenceTest.java | 34 assertEquals('i', mAlteredCharSequence.charAt(0)); 35 assertEquals('s', mAlteredCharSequence.charAt(1)); 37 assertEquals('c', mAlteredCharSequence.charAt(2)); 38 assertEquals('d', mAlteredCharSequence.charAt(3)); 41 mAlteredCharSequence.charAt(-1); 48 mAlteredCharSequence.charAt(mAlteredCharSequence.length() + 1); 159 public char charAt(int index) {
|
/cts/tests/tests/widget/src/android/widget/cts/ |
MultiAutoCompleteTextViewTest.java | 202 while (i > 0 && (text.charAt(i - 1) == ' ' || text.charAt(i - 1) == ',')) { 206 while (i > 0 && text.charAt(i - 1) != ',') { 210 while (i < cursor && text.charAt(i) == ' ') { 222 if (text.charAt(i) == ',') { 235 while (i > 0 && text.charAt(i - 1) == ' ') { 239 if (i > 0 && text.charAt(i - 1) == ',') {
|
/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...] |
/libcore/luni/src/main/java/java/util/ |
StringTokenizer.java | 113 if (delimiters.indexOf(string.charAt(i), 0) >= 0) { 156 if (delimiters.indexOf(string.charAt(i), 0) == -1) 190 if (delimiters.indexOf(string.charAt(position), 0) >= 0) 191 return String.valueOf(string.charAt(position++)); 193 if (delimiters.indexOf(string.charAt(position), 0) >= 0) 198 while (i < length && delimiters.indexOf(string.charAt(i), 0) >= 0) 203 if (delimiters.indexOf(string.charAt(position), 0) >= 0)
|
/libcore/luni/src/main/java/org/apache/harmony/security/x501/ |
AttributeValue.java | 105 char ch = str.charAt(i); 165 c = rawString.charAt(i); 193 char ch = name.charAt(index); 238 if (rawString.charAt(0) == '#') { 246 char ch = rawString.charAt(index); 251 if (bufLength == 0 || buf.charAt(bufLength - 1) == ' ') { 273 && buf.charAt(bufLength) == ' '; bufLength--) {
|
/libcore/luni/src/main/java/libcore/net/ |
UriCodec.java | 45 char ch = uri.charAt(i); 55 int d1 = hexToInt(uri.charAt(i + 1)); 56 int d2 = hexToInt(uri.charAt(i + 2)); 76 char ch = s.charAt(i); 102 char c = s.charAt(i); 160 char c = s.charAt(i); 165 && (d1 = hexToInt(s.charAt(i + 1))) != -1 166 && (d2 = hexToInt(s.charAt(i + 2))) != -1) { 175 } while (i < s.length() && s.charAt(i) == '%');
|
/packages/apps/Exchange/exchange2/src/com/android/exchange/utility/ |
UriCodec.java | 47 char ch = uri.charAt(i); 57 int d1 = hexToInt(uri.charAt(i + 1)); 58 int d2 = hexToInt(uri.charAt(i + 2)); 78 char ch = s.charAt(i); 104 char c = s.charAt(i); 158 char c = s.charAt(i); 164 int d1 = hexToInt(s.charAt(i + 1)); 165 int d2 = hexToInt(s.charAt(i + 2)); 172 } while (i < s.length() && s.charAt(i) == '%');
|