/packages/apps/UnifiedEmail/src/com/google/android/mail/common/html/parser/ |
D | HtmlParser.java | 324 char ch = html.charAt(pos); in scanText() 327 ch = html.charAt(pos + 1); in scanText() 405 char ch = html.charAt(pos); in scanName() 473 X.assertTrue(html.charAt(start) != '>'); in scanName() 481 char ch = html.charAt(pos); in scanName() 505 if ((pos == end) || (html.charAt(pos) != '=')) { in scanValue() 521 char ch = html.charAt(pos); in scanValue() 526 while (pos < end && html.charAt(pos) != ch) { in scanValue() 537 ch = html.charAt(pos); in scanValue() 567 if (!Character.isWhitespace(html.charAt(pos))) { in skipSpaces() [all …]
|
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/ |
D | CharMatcher.java | 440 return is(sequence.charAt(0)); 442 final char match1 = sequence.charAt(0); 443 final char match2 = sequence.charAt(1); 729 if (!matches(sequence.charAt(i))) { 767 if (matches(sequence.charAt(i))) { 794 if (matches(sequence.charAt(i))) { 813 if (matches(sequence.charAt(i))) { 826 if (matches(sequence.charAt(i))) { 939 return replaceFrom(sequence, replacement.charAt(0)); 984 if (!matches(sequence.charAt(first))) { [all …]
|
D | StringUtil.java | 160 char c = chars.charAt(i); in indexOfChars() 173 char c = string.charAt(i); in indexOfChars() 283 char ch = s.charAt(trimCount); in trimStart() 324 char ch = s.charAt(s.length() - trimCount - 1); in trimEnd() 687 if (chars.indexOf(str.charAt(pos)) < 0) { in lastIndexNotOf() 764 char c = str.charAt(i); in hexToBytes() 872 char c = s.charAt(i++); in unescapeCString() 874 c = s.charAt(i++); in unescapeCString() 889 if ((c == 'x') && (i < len) && isHex(s.charAt(i))) { in unescapeCString() 891 int v = hexValue(s.charAt(i++)); in unescapeCString() [all …]
|
D | UnicodeEscaper.java | 282 completeSurrogatePair(csq.charAt(start++)); in escape() 288 char last = csq.charAt(end - 1); in escape() 391 char c1 = seq.charAt(index++); in codePointAt() 402 char c2 = seq.charAt(index); in codePointAt()
|
D | Splitter.java | 173 if (toSplit.charAt(i + p) != separator.charAt(i)) { 386 while (start < end && trimmer.matches(toSplit.charAt(start))) { 389 while (end > start && trimmer.matches(toSplit.charAt(end - 1))) {
|
/packages/apps/Dialer/java/com/android/dialer/smartdial/util/ |
D | SmartDialNameMatcher.java | 71 char ch = number.charAt(i); in normalizeNumber() 175 char ch = phoneNumber.charAt(i); in matchesNumberWithOffset() 177 if (ch != query.charAt(queryAt)) { in matchesNumberWithOffset() 266 char ch = displayName.charAt(nameStart); in matchesCombination() 273 if (ch != query.charAt(queryStart)) { in matchesCombination() 294 context, displayName.charAt(nameStart - 1)))) { in matchesCombination() 300 context, displayName.charAt(nameStart)))) { in matchesCombination() 330 CompositeSmartDialMap.normalizeCharacter(context, displayName.charAt(j)))) { in matchesCombination()
|
/packages/apps/Dialer/java/com/android/incallui/rtt/protocol/ |
D | RttChatMessage.java | 52 char c = text.charAt(i); in append() 53 if (c == '\b' && content.length() > 0 && content.charAt(content.length() - 1) != '\b') { in append() 81 && oldMessage.charAt(indexChangeStart) == newMesssage.charAt(indexChangeStart)) { in computeChangedString() 88 modify.append(newMesssage.charAt(i)); in computeChangedString() 137 while (content.length() > 0 && content.charAt(0) == '\b') { in updateRemoteRttChatMessage() 143 while (content.length() > 0 && content.charAt(0) == '\b') { in updateRemoteRttChatMessage()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | ContactLookupKey.java | 135 c = string.charAt(offset++); in parse() 166 c = string.charAt(offset++); in parse() 173 c = string.charAt(offset); in parse() 189 c = string.charAt(offset++); in parse() 205 c = string.charAt(offset++); in parse() 221 c = string.charAt(offset); in parse()
|
/packages/apps/UnifiedEmail/src/com/android/emailcommon/utility/ |
D | TextUtilities.java | 351 char c = htmlText.charAt(i); in findTagEnd() 384 char c = text.charAt(i); in makeSnippetFromText() 388 char peek = text.charAt(i + 1); in makeSnippetFromText() 469 if (text.charAt(i) == ';') { in stripHtmlEntity() 484 } else if ((entityLength > 2) && (entity.charAt(1) == '#')) { in stripHtmlEntity() 489 if ((entity.charAt(2) == 'x') && (entityLength > 3)) { in stripHtmlEntity() 593 char chr = text.charAt(i); in highlightTerms() 598 char peek = text.charAt(i + 1); in highlightTerms() 622 chr = text.charAt(i); in highlightTerms() 645 if (chrLowerCase == t.mTermLowerCase.charAt(t.mMatchLength)) { in highlightTerms()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | CapsModeUtils.java | 135 final char c = cs.charAt(i - 1); in getCapsMode() 154 prevChar = cs.charAt(j - 1); in getCapsMode() 167 prevChar = cs.charAt(j); in getCapsMode() 206 final char c = cs.charAt(j - 1); in getCapsMode() 215 char c = cs.charAt(--j); in getCapsMode() 279 c = cs.charAt(--j); in getCapsMode()
|
/packages/apps/Dialer/java/com/android/dialer/enrichedcall/ |
D | FuzzyPhoneNumberMatcher.java | 47 if (!Character.isDigit(lhs.charAt(lhsIndex))) { in lastSevenDigitsCharacterByCharacterMatches() 51 if (!Character.isDigit(rhs.charAt(rhsIndex))) { in lastSevenDigitsCharacterByCharacterMatches() 55 if (lhs.charAt(lhsIndex) != rhs.charAt(rhsIndex)) { in lastSevenDigitsCharacterByCharacterMatches()
|
/packages/apps/Dialer/java/com/android/dialer/searchfragment/common/ |
D | QueryBoldingUtil.java | 83 if (!Character.isLetter(name.charAt(i))) { in getNameWithQueryBolded() 102 if ((nameIndex == 0 || name.charAt(nameIndex - 1) == ' ') in getNameWithInitialsBolded() 103 && QueryFilteringUtil.getDigit(name.charAt(nameIndex), context) in getNameWithInitialsBolded() 104 == query.charAt(initialsBolded)) { in getNameWithInitialsBolded() 144 if (!Character.isDigit(number.charAt(i))) { in getNumberWithQueryBolded()
|
D | QueryFilteringUtil.java | 86 if (getDigit(names[i].charAt(0), context) == query.charAt(queryIndex)) { in nameMatchesT9Query() 116 char cur = t9Name.charAt(i); in getIndexOfT9Substring() 123 char prev = t9Name.charAt(i - 1); in getIndexOfT9Substring() 188 char c = s.charAt(i); in digitsOnly()
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/ |
D | MimeStreamParser.java | 259 while (pos < sb.length() && sb.charAt(pos) != '\r') { in parseHeader() 262 if (pos < sb.length() - 1 && sb.charAt(pos + 1) != '\n') { in parseHeader() 267 if (pos >= sb.length() - 2 || fieldChars.get(sb.charAt(pos + 2))) { in parseHeader() 281 if (index != -1 && fieldChars.get(field.charAt(0))) { in parseHeader() 285 if (!fieldChars.get(fieldName.charAt(i))) { in parseHeader()
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | Path.java | 129 if (s.charAt(0) != '/') { in split() 138 char c = s.charAt(j); in split() 158 if (s.charAt(0) != '{' || s.charAt(n-1) != '}') { in splitSequence() 167 char c = s.charAt(j); in splitSequence()
|
/packages/apps/Email/tests/src/com/android/email/ |
D | VendorPolicyLoaderTest.java | 122 assertEquals("\"", id.charAt(0)); in testGetImapIdValues() 123 assertEquals("\"", id.charAt(id.length()-1)); in testGetImapIdValues() 135 assertTrue(elements[i+1].charAt(0) != ' '); in testGetImapIdValues() 137 assertTrue(elements[i+3].charAt(0) != ' '); in testGetImapIdValues()
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/ |
D | FileSystemUtils.java | 218 if (path.length() > 2 && path.charAt(1) == ':') { in freeSpaceWindows() 261 char c = line.charAt(j); in parseDir() 271 char c = line.charAt(j); in parseDir() 289 if (buf.charAt(k) == ',' || buf.charAt(k) == '.') { in parseDir()
|
/packages/apps/Contacts/src/com/android/contacts/format/ |
D | FormatUtils.java | 156 while (i < textLength && !Character.isLetterOrDigit(text.charAt(i))) { in indexOfWordPrefix() 167 if (Character.toUpperCase(text.charAt(i + j)) != prefix.charAt(j)) { in indexOfWordPrefix() 176 while (i < textLength && Character.isLetterOrDigit(text.charAt(i))) { in indexOfWordPrefix()
|
/packages/apps/Email/src/com/android/email/mail/transport/ |
D | SmtpSender.java | 259 while (line.length() >= 4 && line.charAt(3) == '-') { in executeSensitiveCommand() 265 char c = result.charAt(0); in executeSensitiveCommand() 304 if (me.getMessage().length() > 1 && me.getMessage().charAt(1) == '3') { in saslAuthLogin() 319 if (me.getMessage().length() > 1 && me.getMessage().charAt(1) == '3') { in saslAuthPlain() 347 if (me.getMessage().length() > 1 && me.getMessage().charAt(1) == '3') { in saslAuthOAuth()
|
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/ |
D | Utf8ByteLengthFilter.java | 54 char c = source.charAt(i); in filter() 62 char c = dest.charAt(i); in filter() 74 char c = source.charAt(i); in filter()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/bluetooth/ |
D | Utf8ByteLengthFilter.java | 55 char c = source.charAt(i); in filter() 63 char c = dest.charAt(i); in filter() 75 char c = source.charAt(i); in filter()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | Utf8ByteLengthFilter.java | 55 char c = source.charAt(i); in filter() 63 char c = dest.charAt(i); in filter() 75 char c = source.charAt(i); in filter()
|
/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/ |
D | StringUtils.java | 101 if (a.charAt(i) != b.charAt(i)) { in equals() 582 bytes[i / 2] = (byte) ((Character.digit(hexString.charAt(i), 16) << 4) in hexStringToByteArray() 583 + Character.digit(hexString.charAt(i + 1), 16)); in hexStringToByteArray() 622 while (i >= 0 && charSequence.charAt(i) == Constants.CODE_SINGLE_QUOTE) { in getTrailingSingleQuotesCount() 690 final char c = text.charAt(i); in hasLineBreakCharacter()
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/codec/ |
D | EncoderUtil.java | 225 char ch = text.charAt(idx); in hasToBeEncoded() 444 char ch = str.charAt(idx); in isToken() 459 char ch = str.charAt(idx); in isAtomPhrase() 483 char ch = str.charAt(idx); in isDotAtomText() 597 char ch = text.charAt(index); in determineCharset()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | EmailAddress.java | 149 if (host.charAt(0) == '.') { in isValidInternal() 156 if (host.charAt(host.length() - 1) == '.' && secondDot == -1) { in isValidInternal() 201 final char ch = user.charAt(i); in isQuotedUserValid()
|