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

1 2 3 4 5 6 7 8 91011>>

  /cts/tests/tests/util/src/android/util/cts/
StringBuilderPrinterTest.java 31 assertEquals(' ', str.charAt(5));
32 assertEquals('A', str.charAt(6));
33 assertEquals('n', str.charAt(7));
34 assertEquals('d', str.charAt(8));
35 assertEquals('r', str.charAt(9));
36 assertEquals('o', str.charAt(10));
37 assertEquals('i', str.charAt(11));
38 assertEquals('d', str.charAt(12));
  /libcore/luni/src/main/java/java/lang/
CharSequence.java 45 public char charAt(int index);
  /frameworks/base/core/java/com/android/internal/http/
HttpDateTime.java 126 return (dateString.charAt(0) - '0') * 10
127 + (dateString.charAt(1) - '0');
129 return (dateString.charAt(0) - '0');
148 int hash = Character.toLowerCase(monthString.charAt(0)) +
149 Character.toLowerCase(monthString.charAt(1)) +
150 Character.toLowerCase(monthString.charAt(2)) - 3 * 'a';
183 int year = (yearString.charAt(0) - '0') * 10
184 + (yearString.charAt(1) - '0');
192 int year = (yearString.charAt(0) - '0') * 100
193 + (yearString.charAt(1) - '0') * 1
    [all...]
  /art/test/022-interface/classes/
Main$1.class 
Main$SubInterfaceImpl.class 
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/
ATResponseParser.java 49 char c = mLine.charAt(mTokStart);
67 char c = mLine.charAt(i);
111 char c = mLine.charAt(mNext++);
120 c = mLine.charAt(mNext++);
123 c = mLine.charAt(mNext++);
129 if (mNext < len && mLine.charAt(mNext++) != ',') {
142 c = mLine.charAt(mNext++);
158 c = mLine.charAt(mNext++);
176 char c = mLine.charAt(mNext++);
  /external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/h264/
BTree.java 45 char charAt = path.charAt(0);
47 if (charAt == '0') {
  /frameworks/base/core/java/android/os/
PatternMatcher.java 125 char nextChar = pattern.charAt(0);
129 nextChar = ip < NP ? pattern.charAt(ip) : 0;
134 nextChar = ip < NP ? pattern.charAt(ip) : 0;
144 nextChar = pattern.charAt(ip);
149 nextChar = ip < NP ? pattern.charAt(ip) : 0;
152 if (match.charAt(im) == nextChar) {
163 nextChar = ip < NP ? pattern.charAt(ip) : 0;
168 if (match.charAt(im) != c) {
174 nextChar = ip < NP ? pattern.charAt(ip) : 0;
177 if (c != '.' && match.charAt(im) != c) return false
    [all...]
  /frameworks/base/tools/layoutlib/bridge/src/com/android/internal/util/
XmlUtils_Delegate.java 47 if ('-' == nm.charAt(0)) {
52 if ('0' == nm.charAt(index)) {
57 char c = nm.charAt(index + 1);
67 else if ('#' == nm.charAt(index)) {
  /libcore/luni/src/test/java/libcore/java/lang/
StringIndexOutOfBoundsExceptionTest.java 24 "hello".charAt(-1);
31 "hello".charAt(7);
  /packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
CandidateFilter.java 48 if (str.charAt(i) < 0x20 || 0x7E < str.charAt(i)) {
  /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)
  /external/chromium_org/v8/test/mjsunit/
string-charat.js 38 assertEquals("t", s().charAt());
39 assertEquals("t", s().charAt("string"));
40 assertEquals("t", s().charAt(null));
41 assertEquals("t", s().charAt(void 0));
42 assertEquals("t", s().charAt(false));
43 assertEquals("e", s().charAt(true));
44 assertEquals("", s().charAt(-1));
45 assertEquals("", s().charAt(len));
46 assertEquals("", s().charAt(slowIndexOutOfRange));
47 assertEquals("", s().charAt(1/0))
    [all...]
  /external/v8/test/mjsunit/
string-charat.js 38 assertEquals("t", s().charAt());
39 assertEquals("t", s().charAt("string"));
40 assertEquals("t", s().charAt(null));
41 assertEquals("t", s().charAt(void 0));
42 assertEquals("t", s().charAt(false));
43 assertEquals("e", s().charAt(true));
44 assertEquals("", s().charAt(-1));
45 assertEquals("", s().charAt(len));
46 assertEquals("", s().charAt(slowIndexOutOfRange));
47 assertEquals("", s().charAt(1/0))
    [all...]
  /external/nist-sip/java/gov/nist/javax/sip/header/
StatusLine.java 83 if (codeString.charAt(0) != mycode.charAt(0))
174 if (sipVersion.charAt(i) == '.')
178 major = "" + sipVersion.charAt(i);
180 major += sipVersion.charAt(i);
182 if (sipVersion.charAt(i) == '/')
199 minor = "" + sipVersion.charAt(i);
201 minor += sipVersion.charAt(i);
203 if (sipVersion.charAt(i) == '.')
  /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/nist-sip/java/gov/nist/javax/sip/address/
RFC2396UrlDecoder.java 58 if (uri.charAt(i) == '%') {
61 while (i < length && uri.charAt(i) == '%') {
85 translatedUri.append(uri.charAt(i));
  /frameworks/base/core/java/com/android/internal/util/
CharSequences.java 32 public char charAt(int index) {
65 public char charAt(int index) {
103 if (a.charAt(i) != b.charAt(i)) {
124 if ((result = Character.toLowerCase(me.charAt(myPos++))
125 - Character.toLowerCase(another.charAt(anotherPos++))) != 0) {
  /external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/
ReturnTest.java 63 if ( expect.charAt(0)=='"' && expect.charAt(expect.length()-1)=='"' ) {
  /frameworks/base/core/java/android/text/util/
Rfc822Tokenizer.java 54 char c = text.charAt(i);
59 while (i < cursor && text.charAt(i) == ' ') {
82 c = text.charAt(i);
89 name.append(text.charAt(i + 1));
102 c = text.charAt(i);
117 comment.append(text.charAt(i + 1));
129 c = text.charAt(i);
182 char c = sb.charAt(i);
186 sb.charAt(i - 1) == ' ' ||
187 sb.charAt(i - 1) == '\0' |
    [all...]
  /frameworks/ex/common/java/com/android/common/
Rfc822InputFilter.java 37 if (end-start != 1 || source.charAt(start) != ' ') {
46 char c = dest.charAt(--scanBack);
  /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');
  /external/jdiff/src/jdiff/
API.java 296 if (sb.charAt(i) == '<') {
299 } else if (sb.charAt(i) == '&') {
302 } else if (sb.charAt(i) == '"') {
322 char c = sb.charAt(i);
324 sb.charAt(i+1) == 'E' &&
325 sb.charAt(i+2) == 's' &&
326 sb.charAt(i+3) == 'S' &&
327 sb.charAt(i+4) == '_' &&
328 sb.charAt(i+5) == 't' &&
329 sb.charAt(i+6) == 'H' &
    [all...]
  /external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/
Utils.java 75 switch (value.charAt(i))
90 buffer.append(Character.toLowerCase(value.charAt(i)));
94 buffer.append(Character.toUpperCase(value.charAt(i)));
126 if (selector.charAt(pos) == '?')
134 char quote = selector.charAt(pos);
140 value.append(selector.charAt(pos));
142 if (selector.charAt(pos) == quote)
285 if (uuid.charAt(delimPos) == '-')
308 if (name.length() > 0 && !isNameStartChar(name.charAt(0)))
314 if (!isNameChar(name.charAt(i))
    [all...]

Completed in 1450 milliseconds

1 2 3 4 5 6 7 8 91011>>