/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/ |
ResourceNameValidator.java | 94 if (!Character.isJavaIdentifierStart(newText.charAt(0))) { 98 char c = newText.charAt(i); 105 char first = newText.charAt(0); 114 char c = newText.charAt(i);
|
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
StringMsgParser.java | 185 char firstChar = currentLine.charAt(0); 250 while (msgString.charAt(i) < 0x20) 271 char c = msgString.charAt(i); 273 c = msgString.charAt(++i); 296 char firstChar = currentLine.charAt(0); 313 if (msgString.charAt(i) == '\r' && msgString.length() > i+1 && msgString.charAt(i+1) == '\n') 345 while (i >= 0 && line.charAt(i) <= 0x20) 533 while (header.charAt(start) <= 0x20) 537 while (header.charAt(end) <= 0x20 [all...] |
/dalvik/dx/src/com/android/dx/util/ |
Mutf8.java | 69 char ch = s.charAt(i); 91 char ch = s.charAt(i);
|
/external/apache-http/src/org/apache/http/impl/auth/ |
AuthSchemeBase.java | 98 while (pos < buffer.length() && HTTP.isWhitespace(buffer.charAt(pos))) { 102 while (pos < buffer.length() && !HTTP.isWhitespace(buffer.charAt(pos))) {
|
/external/apache-http/src/org/apache/http/message/ |
BasicLineParser.java | 159 ok = (buffer.charAt(i+j) == protoname.charAt(j)); 162 ok = (buffer.charAt(i+protolength) == '/'); 248 HTTP.isWhitespace(buffer.charAt(index))) { 261 ok = (buffer.charAt(index+j) == protoname.charAt(j)); 264 ok = (buffer.charAt(index+protolength) == '/'); 498 HTTP.isWhitespace(buffer.charAt(pos))) {
|
/external/doclava/src/com/google/doclava/ |
ParamTagInfo.java | 40 len > 2 && mParameterName.charAt(0) == '<' && mParameterName.charAt(len - 1) == '>';
|
/external/v8/test/mjsunit/ |
regexp-string-methods.js | 35 // Regexp shouldn't use String.prototype.charAt() 38 assertEquals("f", "foo".charAt(0)); 39 String.prototype.charAt = function(idx) { return 'g'; }; 40 assertEquals("g", "foo".charAt(0));
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/String/ |
15.5.4.7-3.js | 142 if ( string.charAt(k+j) != search.charAt(j) ){
|
/libcore/dalvik/src/main/java/org/apache/harmony/dalvik/ddmc/ |
ChunkHandler.java | 105 buf.putChar(str.charAt(i)); 117 result = ((result << 8) | (typeName.charAt(i) & 0xff));
|
/libcore/json/src/main/java/org/json/ |
JSONTokener.java | 117 int c = in.charAt(pos++); 130 char peek = in.charAt(pos); 176 char c = in.charAt(pos); 206 int c = in.charAt(pos++); 243 char escaped = in.charAt(pos++); 338 char c = in.charAt(pos); 381 if (pos < in.length() && in.charAt(pos) == '>') { 482 return pos < in.length() ? in.charAt(pos++) : '\0';
|
/libcore/luni/src/main/java/java/nio/ |
CharSequenceAdapter.java | 69 return sequence.charAt(position++); 75 return sequence.charAt(index);
|
/libcore/luni/src/main/java/java/text/ |
Format.java | 182 char ch = string.charAt(index++); 206 char ch = string.charAt(index++);
|
/packages/apps/Mms/src/com/android/mms/ui/ |
RecipientsEditor.java | 81 char c = s.charAt(start); 346 while (i > 0 && (c = text.charAt(i - 1)) != ',' && c != ';') { 349 while (i < cursor && text.charAt(i) == ' ') { 367 if ((c = text.charAt(i)) == ',' || c == ';') { 385 while (i > 0 && text.charAt(i - 1) == ' ') { 390 if (i > 0 && ((c = text.charAt(i - 1)) == ',' || c == ';')) { 416 if ((i == len) || ((c = sp.charAt(i)) == ',') || (c == ';')) { 432 while ((i < len) && (sp.charAt(i) == ' ')) {
|
/sdk/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/widgets/ |
MessageBoxLog.java | 99 if (msg.charAt(0) != '\n') { 101 if (n > 0 && sb.charAt(n-1) != '\n') {
|
/external/icu4c/common/ |
util.cpp | 110 UChar c = text.charAt(i); 115 && text.charAt(i) != APOSTROPHE) {} 207 id.charAt(pos) != ch) { 318 quoteBuf.charAt(0) == APOSTROPHE && 319 quoteBuf.charAt(1) == APOSTROPHE) { 327 quoteBuf.charAt(quoteBuf.length()-2) == APOSTROPHE && 328 quoteBuf.charAt(quoteBuf.length()-1) == APOSTROPHE) { 350 if (len > 0 && rule.charAt(len-1) != c) {
|
/libcore/luni/src/main/java/java/util/ |
TimeZone.java | 302 char sign = id.charAt(3); 317 if (index < formattedName.length() && formattedName.charAt(index) == ':') { 338 if (Character.digit(name.charAt(index), 10) != -1) { 339 buf.append(name.charAt(index)); 343 } else if (name.charAt(index) == ':') { 383 && (digit = Character.digit(string.charAt(index), 10)) != -1) {
|
/external/guava/src/com/google/common/base/ |
CharMatcher.java | 428 return is(sequence.charAt(0)); 430 final char match1 = sequence.charAt(0); 431 final char match2 = sequence.charAt(1); 717 if (!matches(sequence.charAt(i))) { 755 if (matches(sequence.charAt(i))) { 782 if (matches(sequence.charAt(i))) { 801 if (matches(sequence.charAt(i))) { 814 if (matches(sequence.charAt(i))) { 927 return replaceFrom(sequence, replacement.charAt(0)); 972 if (!matches(sequence.charAt(first))) [all...] |
/external/icu4c/i18n/ |
dcfmtsym.cpp | 218 setSymbol(kZeroDigitSymbol,DigitString->charAt(0),FALSE); 219 setSymbol(kOneDigitSymbol,DigitString->charAt(1),FALSE); 220 setSymbol(kTwoDigitSymbol,DigitString->charAt(2),FALSE); 221 setSymbol(kThreeDigitSymbol,DigitString->charAt(3),FALSE); 222 setSymbol(kFourDigitSymbol,DigitString->charAt(4),FALSE); 223 setSymbol(kFiveDigitSymbol,DigitString->charAt(5),FALSE); 224 setSymbol(kSixDigitSymbol,DigitString->charAt(6),FALSE); 225 setSymbol(kSevenDigitSymbol,DigitString->charAt(7),FALSE); 226 setSymbol(kEightDigitSymbol,DigitString->charAt(8),FALSE); 227 setSymbol(kNineDigitSymbol,DigitString->charAt(9),FALSE) [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
MultiAutoCompleteTextViewTest.java | 269 while (i > 0 && (text.charAt(i - 1) == ' ' || text.charAt(i - 1) == ',')) { 273 while (i > 0 && text.charAt(i - 1) != ',') { 277 while (i < cursor && text.charAt(i) == ' ') { 289 if (text.charAt(i) == ',') { 302 while (i > 0 && text.charAt(i - 1) == ' ') { 306 if (i > 0 && text.charAt(i - 1) == ',') {
|
/dalvik/dexgen/src/com/android/dexgen/rop/type/ |
Type.java | 333 firstChar = descriptor.charAt(0); 358 (descriptor.charAt(length - 1) != ';')) { 373 char c = descriptor.charAt(i); 385 (descriptor.charAt(i - 1) == '/')) { 657 if (descriptor.charAt(0) == '[') { 787 return (descriptor.charAt(0) == '['); 861 if (descriptor.charAt(0) != '[') {
|
/dalvik/dx/src/com/android/dx/rop/type/ |
Type.java | 305 firstChar = descriptor.charAt(0); 330 (descriptor.charAt(length - 1) != ';')) { 345 char c = descriptor.charAt(i); 357 (descriptor.charAt(i - 1) == '/')) { 591 if (descriptor.charAt(0) == '[') { 721 return (descriptor.charAt(0) == '['); 795 if (descriptor.charAt(0) != '[') {
|
/external/apache-xml/src/main/java/org/apache/xpath/objects/ |
XString.java | 126 char c = s.charAt(i); 251 public char charAt(int index) 253 return str().charAt(index); 437 char c1 = this.charAt(i); 438 char c2 = xstr.charAt(j); 563 if (this.charAt(to) != prefix.charAt(po)) 637 * this.charAt(<i>k</i>) == ch 662 * (this.charAt(<i>k</i>) == ch) && (<i>k</i> >= fromIndex) 690 * this.charAt(<i>k</i>) == c [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/formatting/ |
XmlPrettyPrinter.java | 340 char c = text.charAt(i); 378 char c = comment.charAt(index); 394 char c = comment.charAt(index); 446 if (comment.charAt(i) == '\n') { 457 char c = prevText.charAt(i); 486 char c = line.charAt(j); 507 char c = line.charAt(j); 523 if (!Character.isWhitespace(trimmed.charAt(i))) { 556 char c = text.charAt(i); 575 if (mOut.charAt(j) != mLineSeparator.charAt(i)) [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/ |
StringBufferTest.java | 55 buffer.charAt(3); 66 assertEquals(0, buffer.charAt(i)); 73 assertEquals('a', buffer.charAt(0)); 74 assertEquals('b', buffer.charAt(1)); 75 assertEquals('e', buffer.charAt(2)); 76 assertEquals('f', buffer.charAt(3)); 77 assertEquals('g', buffer.charAt(4)); 79 assertEquals(0, buffer.charAt(i)); 87 assertEquals(0, buffer.charAt(i));
|
/libcore/luni/src/main/java/java/io/ |
File.java | 107 separatorChar = System.getProperty("file.separator", "/").charAt(0); 108 pathSeparatorChar = System.getProperty("path.separator", ":").charAt(0); 211 boolean haveSlash = (prefixLength > 0 && prefix.charAt(prefixLength - 1) == separatorChar); 213 haveSlash = (suffix.length() > 0 && suffix.charAt(0) == separatorChar); 456 if (separatorChar == '\\' && length > 2 && path.charAt(1) == ':') { 463 if (index == -1 || path.charAt(length - 1) == separatorChar) { 467 && path.charAt(firstInPath) == separatorChar) { 519 return path.length() > 0 && path.charAt(0) == separatorChar; [all...] |