Home
last modified time | relevance | path

Searched refs:charAt (Results 1 – 25 of 1698) sorted by relevance

12345678910>>...68

/external/apache-http/android/src/android/net/http/
DLegacyHttpDateTime.java125 return (dateString.charAt(0) - '0') * 10 in getDate()
126 + (dateString.charAt(1) - '0'); in getDate()
128 return (dateString.charAt(0) - '0'); in getDate()
147 int hash = Character.toLowerCase(monthString.charAt(0)) + in getMonth()
148 Character.toLowerCase(monthString.charAt(1)) + in getMonth()
149 Character.toLowerCase(monthString.charAt(2)) - 3 * 'a'; in getMonth()
182 int year = (yearString.charAt(0) - '0') * 10 in getYear()
183 + (yearString.charAt(1) - '0'); in getYear()
191 int year = (yearString.charAt(0) - '0') * 100 in getYear()
192 + (yearString.charAt(1) - '0') * 10 in getYear()
[all …]
/external/auto/value/src/main/java/com/google/auto/value/processor/
DJavaScanner.java60 switch (s.charAt(start)) { in tokenEnd()
65 if (s.charAt(start + 1) == '*') { in tokenEnd()
67 } else if (s.charAt(start + 1) == '/') { in tokenEnd()
83 assert s.charAt(start) == ' ' || s.charAt(start) == '\n'; in spaceEnd()
85 for (i = start + 1; i < s.length() && s.charAt(i) == ' '; i++) {} in spaceEnd()
90 assert s.charAt(start) == '/' && s.charAt(start + 1) == '*'; in blockCommentEnd()
92 for (i = start + 2; s.charAt(i) != '*' || s.charAt(i + 1) != '/'; i++) {} in blockCommentEnd()
97 assert s.charAt(start) == '/' && s.charAt(start + 1) == '/'; in lineCommentEnd()
104 char quote = s.charAt(start); in quoteEnd()
107 for (i = start + 1; s.charAt(i) != quote; i++) { in quoteEnd()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DUTF16.java219 public static int charAt(String source, int offset16) { in charAt() method in UTF16
220 char single = source.charAt(offset16); in charAt()
239 char trail = source.charAt(offset16); in _charAt()
248 char lead = source.charAt(offset16); in _charAt()
273 public static int charAt(CharSequence source, int offset16) { in charAt() method in UTF16
274 char single = source.charAt(offset16); in charAt()
293 char trail = source.charAt(offset16); in _charAt()
303 char lead = source.charAt(offset16); in _charAt()
329 public static int charAt(StringBuffer source, int offset16) { in charAt() method in UTF16
334 char single = source.charAt(offset16); in charAt()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DUTF16.java199 public static int charAt(String source, int offset16) { in charAt() method in UTF16
200 char single = source.charAt(offset16); in charAt()
219 char trail = source.charAt(offset16); in _charAt()
228 char lead = source.charAt(offset16); in _charAt()
252 public static int charAt(CharSequence source, int offset16) { in charAt() method in UTF16
253 char single = source.charAt(offset16); in charAt()
272 char trail = source.charAt(offset16); in _charAt()
282 char lead = source.charAt(offset16); in _charAt()
307 public static int charAt(StringBuffer source, int offset16) { in charAt() method in UTF16
312 char single = source.charAt(offset16); in charAt()
[all …]
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/util/
DProperties.java190 return (p.charAt(0) == 'f' || p.charAt(0) == 'F')
191 && (p.charAt(1) == 'a' || p.charAt(1) == 'A')
192 && (p.charAt(2) == 'l' || p.charAt(2) == 'L')
193 && (p.charAt(3) == 's' || p.charAt(3) == 'S')
194 && (p.charAt(4) == 'e' || p.charAt(4) == 'E');
204 return (p.charAt(0) == 't' || p.charAt(0) == 'T')
205 && (p.charAt(1) == 'r' || p.charAt(1) == 'R')
206 && (p.charAt(2) == 'u' || p.charAt(2) == 'U')
207 && (p.charAt(3) == 'e' || p.charAt(3) == 'E');
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/
DProperties.java188 return (p.charAt(0) == 'f' || p.charAt(0) == 'F')
189 && (p.charAt(1) == 'a' || p.charAt(1) == 'A')
190 && (p.charAt(2) == 'l' || p.charAt(2) == 'L')
191 && (p.charAt(3) == 's' || p.charAt(3) == 'S')
192 && (p.charAt(4) == 'e' || p.charAt(4) == 'E');
202 return (p.charAt(0) == 't' || p.charAt(0) == 'T')
203 && (p.charAt(1) == 'r' || p.charAt(1) == 'R')
204 && (p.charAt(2) == 'u' || p.charAt(2) == 'U')
205 && (p.charAt(3) == 'e' || p.charAt(3) == 'E');
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/util/
DProperties.java190 return (p.charAt(0) == 'f' || p.charAt(0) == 'F')
191 && (p.charAt(1) == 'a' || p.charAt(1) == 'A')
192 && (p.charAt(2) == 'l' || p.charAt(2) == 'L')
193 && (p.charAt(3) == 's' || p.charAt(3) == 'S')
194 && (p.charAt(4) == 'e' || p.charAt(4) == 'E');
204 return (p.charAt(0) == 't' || p.charAt(0) == 'T')
205 && (p.charAt(1) == 'r' || p.charAt(1) == 'R')
206 && (p.charAt(2) == 'u' || p.charAt(2) == 'U')
207 && (p.charAt(3) == 'e' || p.charAt(3) == 'E');
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DCharsTrie.java189 return (remainingMatchLength_<0 && (node=chars_.charAt(pos))>=kMinValueLead) ? in current()
236 if(inUnit==chars_.charAt(pos++)) { in next()
240 return (length<0 && (node=chars_.charAt(pos))>=kMinValueLead) ? in next()
300 return (length<0 && (node=chars_.charAt(pos))>=kMinValueLead) ? in next()
303 inUnit=s.charAt(sIndex++); in next()
308 if(inUnit!=chars_.charAt(pos)) { in next()
315 int node=chars_.charAt(pos++); in next()
331 inUnit=s.charAt(sIndex++); in next()
333 node=chars_.charAt(pos++); in next()
337 if(inUnit!=chars_.charAt(pos)) { in next()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/util/
DCharsTrie.java179 return (remainingMatchLength_<0 && (node=chars_.charAt(pos))>=kMinValueLead) ? in current()
223 if(inUnit==chars_.charAt(pos++)) { in next()
227 return (length<0 && (node=chars_.charAt(pos))>=kMinValueLead) ? in next()
285 return (length<0 && (node=chars_.charAt(pos))>=kMinValueLead) ? in next()
288 inUnit=s.charAt(sIndex++); in next()
293 if(inUnit!=chars_.charAt(pos)) { in next()
300 int node=chars_.charAt(pos++); in next()
316 inUnit=s.charAt(sIndex++); in next()
318 node=chars_.charAt(pos++); in next()
322 if(inUnit!=chars_.charAt(pos)) { in next()
[all …]
/external/jdiff/src/jdiff/
DAPI.java296 if (sb.charAt(i) == '<') { in hideHTMLTags()
299 } else if (sb.charAt(i) == '&') { in hideHTMLTags()
302 } else if (sb.charAt(i) == '"') { in hideHTMLTags()
322 char c = sb.charAt(i); in showHTMLTags()
324 sb.charAt(i+1) == 'E' && in showHTMLTags()
325 sb.charAt(i+2) == 's' && in showHTMLTags()
326 sb.charAt(i+3) == 'S' && in showHTMLTags()
327 sb.charAt(i+4) == '_' && in showHTMLTags()
328 sb.charAt(i+5) == 't' && in showHTMLTags()
329 sb.charAt(i+6) == 'H' && in showHTMLTags()
[all …]
/external/owasp/sanitizer/src/main/org/owasp/html/
DCssTokens.java403 if (cssEnd > 0 && sb.charAt(cssEnd - 1) == ' ') { in build()
448 char ch = css.charAt(pos); in lex()
458 char lookahead = pos + 1 < cssLimit ? css.charAt(pos + 1) : 0; in lex()
519 char lookahead = pos + 1 < cssLimit ? css.charAt(pos + 1) : 0; in lex()
522 && isDecimal(css.charAt(pos + 2)))) { in lex()
541 char next = css.charAt(pos); in lex()
574 char lookahead = pos + 1 < cssLimit ? css.charAt(pos + 1) : 0; in lex()
623 : "empty token at " + pos + ", ch0=" + css.charAt(startOfToken) in lex()
624 + ":U+" + Integer.toHexString(css.charAt(startOfToken)); in lex()
631 && sb.charAt(startOfOutputToken) == ' ') { in lex()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DSimpleFormatterImpl.java85 assert pair[1].charAt(0) == 2; in compileToStringMinMaxArguments()
101 char c = pattern.charAt(i++); in compileToStringMinMaxArguments()
103 if (i < patternLength && (c = pattern.charAt(i)) == '\'') { in compileToStringMinMaxArguments()
125 0 <= (argNumber = pattern.charAt(i) - '0') && argNumber <= 9 && in compileToStringMinMaxArguments()
126 pattern.charAt(i + 1) == '}') { in compileToStringMinMaxArguments()
134 if (i < patternLength && '1' <= (c = pattern.charAt(i++)) && c <= '9') { in compileToStringMinMaxArguments()
136 while (i < patternLength && '0' <= (c = pattern.charAt(i++)) && c <= '9') { in compileToStringMinMaxArguments()
187 return compiledPattern.charAt(0); in getArgumentLimit()
274 int n = compiledPattern.charAt(i++); in formatAndReplace()
304 int segmentLength = compiledPattern.charAt(i++) - ARG_NUM_LIMIT; in getTextWithNoArguments()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DSimpleFormatterImpl.java83 assert pair[1].charAt(0) == 2; in compileToStringMinMaxArguments()
99 char c = pattern.charAt(i++); in compileToStringMinMaxArguments()
101 if (i < patternLength && (c = pattern.charAt(i)) == '\'') { in compileToStringMinMaxArguments()
123 0 <= (argNumber = pattern.charAt(i) - '0') && argNumber <= 9 && in compileToStringMinMaxArguments()
124 pattern.charAt(i + 1) == '}') { in compileToStringMinMaxArguments()
132 if (i < patternLength && '1' <= (c = pattern.charAt(i++)) && c <= '9') { in compileToStringMinMaxArguments()
134 while (i < patternLength && '0' <= (c = pattern.charAt(i++)) && c <= '9') { in compileToStringMinMaxArguments()
185 return compiledPattern.charAt(0); in getArgumentLimit()
272 int n = compiledPattern.charAt(i++); in formatAndReplace()
302 int segmentLength = compiledPattern.charAt(i++) - ARG_NUM_LIMIT; in getTextWithNoArguments()
[all …]
/external/mockftpserver/tags/2.3/src/main/java/org/mockftpserver/fake/filesystem/
DPermissions.java92 return rwxString.charAt(0) == READ_CHAR; in canUserRead()
99 return rwxString.charAt(1) == WRITE_CHAR; in canUserWrite()
106 return rwxString.charAt(2) == EXECUTE_CHAR; in canUserExecute()
113 return rwxString.charAt(3) == READ_CHAR; in canGroupRead()
120 return rwxString.charAt(4) == WRITE_CHAR; in canGroupWrite()
127 return rwxString.charAt(5) == EXECUTE_CHAR; in canGroupExecute()
134 return rwxString.charAt(6) == READ_CHAR; in canWorldRead()
141 return rwxString.charAt(7) == WRITE_CHAR; in canWorldWrite()
148 return rwxString.charAt(8) == EXECUTE_CHAR; in canWorldExecute()
/external/mockftpserver/tags/2.2/src/main/java/org/mockftpserver/fake/filesystem/
DPermissions.java92 return rwxString.charAt(0) == READ_CHAR; in canUserRead()
99 return rwxString.charAt(1) == WRITE_CHAR; in canUserWrite()
106 return rwxString.charAt(2) == EXECUTE_CHAR; in canUserExecute()
113 return rwxString.charAt(3) == READ_CHAR; in canGroupRead()
120 return rwxString.charAt(4) == WRITE_CHAR; in canGroupWrite()
127 return rwxString.charAt(5) == EXECUTE_CHAR; in canGroupExecute()
134 return rwxString.charAt(6) == READ_CHAR; in canWorldRead()
141 return rwxString.charAt(7) == WRITE_CHAR; in canWorldWrite()
148 return rwxString.charAt(8) == EXECUTE_CHAR; in canWorldExecute()
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/fake/filesystem/
DPermissions.java92 return rwxString.charAt(0) == READ_CHAR; in canUserRead()
99 return rwxString.charAt(1) == WRITE_CHAR; in canUserWrite()
106 return rwxString.charAt(2) == EXECUTE_CHAR; in canUserExecute()
113 return rwxString.charAt(3) == READ_CHAR; in canGroupRead()
120 return rwxString.charAt(4) == WRITE_CHAR; in canGroupWrite()
127 return rwxString.charAt(5) == EXECUTE_CHAR; in canGroupExecute()
134 return rwxString.charAt(6) == READ_CHAR; in canWorldRead()
141 return rwxString.charAt(7) == WRITE_CHAR; in canWorldWrite()
148 return rwxString.charAt(8) == EXECUTE_CHAR; in canWorldExecute()
/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/main/java/org/mockftpserver/fake/filesystem/
DPermissions.java92 return rwxString.charAt(0) == READ_CHAR; in canUserRead()
99 return rwxString.charAt(1) == WRITE_CHAR; in canUserWrite()
106 return rwxString.charAt(2) == EXECUTE_CHAR; in canUserExecute()
113 return rwxString.charAt(3) == READ_CHAR; in canGroupRead()
120 return rwxString.charAt(4) == WRITE_CHAR; in canGroupWrite()
127 return rwxString.charAt(5) == EXECUTE_CHAR; in canGroupExecute()
134 return rwxString.charAt(6) == READ_CHAR; in canWorldRead()
141 return rwxString.charAt(7) == WRITE_CHAR; in canWorldWrite()
148 return rwxString.charAt(8) == EXECUTE_CHAR; in canWorldExecute()
/external/mockftpserver/tags/2.0/src/main/java/org/mockftpserver/fake/filesystem/
DPermissions.java92 return rwxString.charAt(0) == READ_CHAR; in canUserRead()
99 return rwxString.charAt(1) == WRITE_CHAR; in canUserWrite()
106 return rwxString.charAt(2) == EXECUTE_CHAR; in canUserExecute()
113 return rwxString.charAt(3) == READ_CHAR; in canGroupRead()
120 return rwxString.charAt(4) == WRITE_CHAR; in canGroupWrite()
127 return rwxString.charAt(5) == EXECUTE_CHAR; in canGroupExecute()
134 return rwxString.charAt(6) == READ_CHAR; in canWorldRead()
141 return rwxString.charAt(7) == WRITE_CHAR; in canWorldWrite()
148 return rwxString.charAt(8) == EXECUTE_CHAR; in canWorldExecute()
/external/mockftpserver/tags/2.0-rc1/src/main/java/org/mockftpserver/fake/filesystem/
DPermissions.java92 return rwxString.charAt(0) == READ_CHAR; in canUserRead()
99 return rwxString.charAt(1) == WRITE_CHAR; in canUserWrite()
106 return rwxString.charAt(2) == EXECUTE_CHAR; in canUserExecute()
113 return rwxString.charAt(3) == READ_CHAR; in canGroupRead()
120 return rwxString.charAt(4) == WRITE_CHAR; in canGroupWrite()
127 return rwxString.charAt(5) == EXECUTE_CHAR; in canGroupExecute()
134 return rwxString.charAt(6) == READ_CHAR; in canWorldRead()
141 return rwxString.charAt(7) == WRITE_CHAR; in canWorldWrite()
148 return rwxString.charAt(8) == EXECUTE_CHAR; in canWorldExecute()
/external/mockftpserver/tags/2.0.2/src/main/java/org/mockftpserver/fake/filesystem/
DPermissions.java92 return rwxString.charAt(0) == READ_CHAR; in canUserRead()
99 return rwxString.charAt(1) == WRITE_CHAR; in canUserWrite()
106 return rwxString.charAt(2) == EXECUTE_CHAR; in canUserExecute()
113 return rwxString.charAt(3) == READ_CHAR; in canGroupRead()
120 return rwxString.charAt(4) == WRITE_CHAR; in canGroupWrite()
127 return rwxString.charAt(5) == EXECUTE_CHAR; in canGroupExecute()
134 return rwxString.charAt(6) == READ_CHAR; in canWorldRead()
141 return rwxString.charAt(7) == WRITE_CHAR; in canWorldWrite()
148 return rwxString.charAt(8) == EXECUTE_CHAR; in canWorldExecute()
/external/mockftpserver/tags/2.0.1/src/main/java/org/mockftpserver/fake/filesystem/
DPermissions.java92 return rwxString.charAt(0) == READ_CHAR; in canUserRead()
99 return rwxString.charAt(1) == WRITE_CHAR; in canUserWrite()
106 return rwxString.charAt(2) == EXECUTE_CHAR; in canUserExecute()
113 return rwxString.charAt(3) == READ_CHAR; in canGroupRead()
120 return rwxString.charAt(4) == WRITE_CHAR; in canGroupWrite()
127 return rwxString.charAt(5) == EXECUTE_CHAR; in canGroupExecute()
134 return rwxString.charAt(6) == READ_CHAR; in canWorldRead()
141 return rwxString.charAt(7) == WRITE_CHAR; in canWorldWrite()
148 return rwxString.charAt(8) == EXECUTE_CHAR; in canWorldExecute()
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/main/java/org/mockftpserver/fake/filesystem/
DPermissions.java92 return rwxString.charAt(0) == READ_CHAR; in canUserRead()
99 return rwxString.charAt(1) == WRITE_CHAR; in canUserWrite()
106 return rwxString.charAt(2) == EXECUTE_CHAR; in canUserExecute()
113 return rwxString.charAt(3) == READ_CHAR; in canGroupRead()
120 return rwxString.charAt(4) == WRITE_CHAR; in canGroupWrite()
127 return rwxString.charAt(5) == EXECUTE_CHAR; in canGroupExecute()
134 return rwxString.charAt(6) == READ_CHAR; in canWorldRead()
141 return rwxString.charAt(7) == WRITE_CHAR; in canWorldWrite()
148 return rwxString.charAt(8) == EXECUTE_CHAR; in canWorldExecute()
/external/mockftpserver/tags/2.5/src/main/java/org/mockftpserver/fake/filesystem/
DPermissions.java92 return rwxString.charAt(0) == READ_CHAR; in canUserRead()
99 return rwxString.charAt(1) == WRITE_CHAR; in canUserWrite()
106 return rwxString.charAt(2) == EXECUTE_CHAR; in canUserExecute()
113 return rwxString.charAt(3) == READ_CHAR; in canGroupRead()
120 return rwxString.charAt(4) == WRITE_CHAR; in canGroupWrite()
127 return rwxString.charAt(5) == EXECUTE_CHAR; in canGroupExecute()
134 return rwxString.charAt(6) == READ_CHAR; in canWorldRead()
141 return rwxString.charAt(7) == WRITE_CHAR; in canWorldWrite()
148 return rwxString.charAt(8) == EXECUTE_CHAR; in canWorldExecute()
/external/mockftpserver/tags/2.1/src/main/java/org/mockftpserver/fake/filesystem/
DPermissions.java92 return rwxString.charAt(0) == READ_CHAR; in canUserRead()
99 return rwxString.charAt(1) == WRITE_CHAR; in canUserWrite()
106 return rwxString.charAt(2) == EXECUTE_CHAR; in canUserExecute()
113 return rwxString.charAt(3) == READ_CHAR; in canGroupRead()
120 return rwxString.charAt(4) == WRITE_CHAR; in canGroupWrite()
127 return rwxString.charAt(5) == EXECUTE_CHAR; in canGroupExecute()
134 return rwxString.charAt(6) == READ_CHAR; in canWorldRead()
141 return rwxString.charAt(7) == WRITE_CHAR; in canWorldWrite()
148 return rwxString.charAt(8) == EXECUTE_CHAR; in canWorldExecute()
/external/mockftpserver/tags/2.4/src/main/java/org/mockftpserver/fake/filesystem/
DPermissions.java92 return rwxString.charAt(0) == READ_CHAR; in canUserRead()
99 return rwxString.charAt(1) == WRITE_CHAR; in canUserWrite()
106 return rwxString.charAt(2) == EXECUTE_CHAR; in canUserExecute()
113 return rwxString.charAt(3) == READ_CHAR; in canGroupRead()
120 return rwxString.charAt(4) == WRITE_CHAR; in canGroupWrite()
127 return rwxString.charAt(5) == EXECUTE_CHAR; in canGroupExecute()
134 return rwxString.charAt(6) == READ_CHAR; in canWorldRead()
141 return rwxString.charAt(7) == WRITE_CHAR; in canWorldWrite()
148 return rwxString.charAt(8) == EXECUTE_CHAR; in canWorldExecute()

12345678910>>...68