/external/apache-http/android/src/android/net/http/ |
D | LegacyHttpDateTime.java | 126 return (dateString.charAt(0) - '0') * 10 in getDate() 127 + (dateString.charAt(1) - '0'); in getDate() 129 return (dateString.charAt(0) - '0'); in getDate() 148 int hash = Character.toLowerCase(monthString.charAt(0)) + in getMonth() 149 Character.toLowerCase(monthString.charAt(1)) + in getMonth() 150 Character.toLowerCase(monthString.charAt(2)) - 3 * 'a'; in getMonth() 183 int year = (yearString.charAt(0) - '0') * 10 in getYear() 184 + (yearString.charAt(1) - '0'); in getYear() 192 int year = (yearString.charAt(0) - '0') * 100 in getYear() 193 + (yearString.charAt(1) - '0') * 10 in getYear() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | UTF16.java | 199 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/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | UTF16.java | 219 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/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | CharsTrie.java | 140 return (remainingMatchLength_<0 && (node=chars_.charAt(pos))>=kMinValueLead) ? in current() 187 if(inUnit==chars_.charAt(pos++)) { in next() 191 return (length<0 && (node=chars_.charAt(pos))>=kMinValueLead) ? in next() 251 return (length<0 && (node=chars_.charAt(pos))>=kMinValueLead) ? in next() 254 inUnit=s.charAt(sIndex++); in next() 259 if(inUnit!=chars_.charAt(pos)) { in next() 266 int node=chars_.charAt(pos++); in next() 282 inUnit=s.charAt(sIndex++); in next() 284 node=chars_.charAt(pos++); in next() 288 if(inUnit!=chars_.charAt(pos)) { in next() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | CharsTrie.java | 133 return (remainingMatchLength_<0 && (node=chars_.charAt(pos))>=kMinValueLead) ? in current() 177 if(inUnit==chars_.charAt(pos++)) { in next() 181 return (length<0 && (node=chars_.charAt(pos))>=kMinValueLead) ? in next() 239 return (length<0 && (node=chars_.charAt(pos))>=kMinValueLead) ? in next() 242 inUnit=s.charAt(sIndex++); in next() 247 if(inUnit!=chars_.charAt(pos)) { in next() 254 int node=chars_.charAt(pos++); in next() 270 inUnit=s.charAt(sIndex++); in next() 272 node=chars_.charAt(pos++); in next() 276 if(inUnit!=chars_.charAt(pos)) { in next() [all …]
|
/external/jdiff/src/jdiff/ |
D | API.java | 296 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/ |
D | CssTokens.java | 403 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/apache-http/src/org/apache/commons/codec/language/ |
D | DoubleMetaphone.java | 102 switch (value.charAt(index)) { in doubleMetaphone() 113 index = charAt(value, index + 1) == 'B' ? index + 2 : index + 1; in doubleMetaphone() 128 index = charAt(value, index + 1) == 'F' ? index + 2 : index + 1; in doubleMetaphone() 141 index = charAt(value, index + 1) == 'K' ? index + 2 : index + 1; in doubleMetaphone() 152 index = charAt(value, index + 1) == 'N' ? index + 2 : index + 1; in doubleMetaphone() 164 index = charAt(value, index + 1) == 'Q' ? index + 2 : index + 1; in doubleMetaphone() 177 index = charAt(value, index + 1) == 'V' ? index + 2 : index + 1; in doubleMetaphone() 306 !(index == 1 && charAt(value, 0) == 'M')) { in handleC() 345 if ((index == 1 && charAt(value, index - 1) == 'A') || in handleCC() 426 if (charAt(value, index + 1) == 'H') { in handleG() [all …]
|
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/ |
D | Utils.java | 75 switch (value.charAt(i)) in normalizeLangValue() 90 buffer.append(Character.toLowerCase(value.charAt(i))); in normalizeLangValue() 94 buffer.append(Character.toUpperCase(value.charAt(i))); in normalizeLangValue() 126 if (selector.charAt(pos) == '?') in splitNameAndValue() 134 char quote = selector.charAt(pos); in splitNameAndValue() 140 value.append(selector.charAt(pos)); in splitNameAndValue() 142 if (selector.charAt(pos) == quote) in splitNameAndValue() 285 if (uuid.charAt(delimPos) == '-') in checkUUIDFormat() 308 if (name.length() > 0 && !isNameStartChar(name.charAt(0))) in isXMLName() 314 if (!isNameChar(name.charAt(i))) in isXMLName() [all …]
|
/external/mockftpserver/tags/2.0-rc1/src/main/java/org/mockftpserver/fake/filesystem/ |
D | Permissions.java | 92 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/ |
D | Permissions.java | 92 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/ |
D | Permissions.java | 92 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/ |
D | Permissions.java | 92 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/ |
D | Permissions.java | 92 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/ |
D | Permissions.java | 92 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/ |
D | Permissions.java | 92 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/ |
D | Permissions.java | 92 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/ |
D | Permissions.java | 92 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/ |
D | Permissions.java | 92 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.3/src/main/java/org/mockftpserver/fake/filesystem/ |
D | Permissions.java | 92 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/ |
D | Permissions.java | 92 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/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/xpath/ |
D | XMPPathParser.java | 110 if (path.charAt(pos.stepBegin) != '[') in expandXPath() 124 if (segment.getName().charAt(0) == '@') in expandXPath() 133 if (segment.getName().charAt(0) == '?') in expandXPath() 143 if (segment.getName().charAt(1) == '@') in expandXPath() 153 if (segment.getName().charAt(1) == '?') in expandXPath() 174 if (path.charAt(pos.stepBegin) == '/') in skipPathDelimiter() 187 if (path.charAt(pos.stepBegin) == '*') in skipPathDelimiter() 192 if (pos.stepBegin >= path.length() || path.charAt(pos.stepBegin) != '[') in skipPathDelimiter() 209 while (pos.stepEnd < pos.path.length() && "/[*".indexOf(pos.path.charAt(pos.stepEnd)) < 0) in parseStructSegment() 240 if ('0' <= pos.path.charAt(pos.stepEnd) && pos.path.charAt(pos.stepEnd) <= '9') in parseIndexSegment() [all …]
|
/external/apache-xml/src/main/java/org/apache/xpath/objects/ |
D | XStringForFSB.java | 226 public char charAt(int index) in charAt() method in XStringForFSB 228 return fsb().charAt(m_start + index); in charAt() 271 dst[d++] = fsb.charAt(i); in getChars() 307 if (fsb.charAt(i) != obj2.charAt(j)) in equals() 352 if (fsb.charAt(i) != str.charAt(j)) in equals() 389 if (fsb.charAt(i) != anotherString.charAt(j)) in equals() 484 char c1 = fsb.charAt(i); in compareTo() 485 char c2 = xstr.charAt(j); in compareTo() 530 char c1 = Character.toLowerCase(fsb.charAt(i)); in compareToIgnoreCase() 531 char c2 = Character.toLowerCase(xstr.charAt(j)); in compareToIgnoreCase() [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x500/style/ |
D | IETFUtils.java | 102 while (buf.charAt(buf.length() - 1) == ' ' && lastEscaped != (buf.length() - 1)) in unescape() 268 else if (name.charAt(0) >= '0' && name.charAt(0) <= '9') in decodeAttrName() 290 char left = str.charAt((index * 2) + off); in valueFromHexString() 291 char right = str.charAt((index * 2) + off + 1); in valueFromHexString() 360 if (v.length() > 0 && v.charAt(0) == '#') in valueToString() 384 if (vBuf.length() >= 2 && vBuf.charAt(0) == '\\' && vBuf.charAt(1) == '#') in valueToString() 391 if ((vBuf.charAt(index) == ',') in valueToString() 392 || (vBuf.charAt(index) == '"') in valueToString() 393 || (vBuf.charAt(index) == '\\') in valueToString() 394 || (vBuf.charAt(index) == '+') in valueToString() [all …]
|
/external/javassist/src/main/javassist/bytecode/ |
D | Descriptor.java | 73 char c = descriptor.charAt(0); in toClassName() 76 c = descriptor.charAt(++i); in toClassName() 169 && desc.charAt(j + oldname.length() + 1) == ';') { in rename() 353 if (desc.charAt(0) != '(') in insertParameter() 391 if (descriptor.charAt(0) != '(') in insertParameter() 430 if (desc.charAt(0) != '(') in getParameterTypes() 450 if (desc1.charAt(0) != '(') in eqParamTypes() 454 char c = desc1.charAt(i); in eqParamTypes() 455 if (c != desc2.charAt(i)) in eqParamTypes() 503 char c = desc.charAt(i); in numOfParameters() [all …]
|