/frameworks/ex/common/java/com/android/common/ |
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 …]
|
/frameworks/base/core/java/com/android/internal/http/ |
D | HttpDateTime.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 …]
|
/frameworks/base/core/java/android/text/util/ |
D | Rfc822Tokenizer.java | 54 char c = text.charAt(i); in tokenize() 59 while (i < cursor && text.charAt(i) == ' ') { in tokenize() 82 c = text.charAt(i); in tokenize() 89 name.append(text.charAt(i + 1)); in tokenize() 102 c = text.charAt(i); in tokenize() 117 comment.append(text.charAt(i + 1)); in tokenize() 129 c = text.charAt(i); in tokenize() 182 char c = sb.charAt(i); in crunch() 186 sb.charAt(i - 1) == ' ' || in crunch() 187 sb.charAt(i - 1) == '\0' || in crunch() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | ATResponseParser.java | 49 char c = mLine.charAt(mTokStart); in nextBoolean() 67 char c = mLine.charAt(i); in nextInt() 111 char c = mLine.charAt(mNext++); in nextTok() 120 c = mLine.charAt(mNext++); in nextTok() 123 c = mLine.charAt(mNext++); in nextTok() 129 if (mNext < len && mLine.charAt(mNext++) != ',') { in nextTok() 142 c = mLine.charAt(mNext++); in nextTok() 158 c = mLine.charAt(mNext++); in skipWhiteSpace() 176 char c = mLine.charAt(mNext++); in skipPrefix()
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/util/ |
D | BrNameUtil.java | 27 char firstChar = name.charAt(0); in stripPrefixFromField() 28 char secondChar = name.charAt(1); in stripPrefixFromField() 30 char thirdChar = name.charAt(2); in stripPrefixFromField() 57 char firstChar = propertyName.charAt(0); in brKey() 64 Character.isJavaIdentifierStart(callable.name.charAt(3)) && in isGetter() 71 Character.isJavaIdentifierStart(callable.name.charAt(3)) && in isSetter() 78 Character.isJavaIdentifierStart(callable.name.charAt(2)) && in isBooleanGetter() 89 if (sequence.charAt(i) != prefix.charAt(i)) { in prefixes()
|
/frameworks/base/core/java/android/os/ |
D | PatternMatcher.java | 183 char nextChar = pattern.charAt(0); in matchGlobPattern() 187 nextChar = ip < NP ? pattern.charAt(ip) : 0; in matchGlobPattern() 192 nextChar = ip < NP ? pattern.charAt(ip) : 0; in matchGlobPattern() 202 nextChar = pattern.charAt(ip); in matchGlobPattern() 207 nextChar = ip < NP ? pattern.charAt(ip) : 0; in matchGlobPattern() 210 if (match.charAt(im) == nextChar) { in matchGlobPattern() 221 nextChar = ip < NP ? pattern.charAt(ip) : 0; in matchGlobPattern() 226 if (match.charAt(im) != c) { in matchGlobPattern() 232 nextChar = ip < NP ? pattern.charAt(ip) : 0; in matchGlobPattern() 235 if (c != '.' && match.charAt(im) != c) return false; in matchGlobPattern() [all …]
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiSsid.java | 92 char c = asciiEncoded.charAt(i); in convertToBytes() 96 switch(asciiEncoded.charAt(i)) { in convertToBytes() 129 val = Character.digit(asciiEncoded.charAt(i), HEX_RADIX); in convertToBytes() 146 val = asciiEncoded.charAt(i) - '0'; in convertToBytes() 148 if (asciiEncoded.charAt(i) >= '0' && asciiEncoded.charAt(i) <= '7') { in convertToBytes() 149 val = val * 8 + asciiEncoded.charAt(i) - '0'; in convertToBytes() 152 if (asciiEncoded.charAt(i) >= '0' && asciiEncoded.charAt(i) <= '7') { in convertToBytes() 153 val = val * 8 + asciiEncoded.charAt(i) - '0'; in convertToBytes()
|
D | WifiLinkLayerStats.java | 164 if (length > 2 && (SSID.charAt(0) == '"') && SSID.charAt(length - 1) == '"') { in getPrintableSsid() 172 if (length > 3 && (SSID.charAt(0) == 'P') && (SSID.charAt(1) == '"') && in getPrintableSsid() 173 (SSID.charAt(length-1) == '"')) { in getPrintableSsid()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | CharSequences.java | 32 public char charAt(int index) { in forAsciiBytes() 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) {
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/internal/util/ |
D | XmlUtils_Delegate.java | 47 if ('-' == nm.charAt(0)) { in convertValueToInt() 52 if ('0' == nm.charAt(index)) { in convertValueToInt() 57 char c = nm.charAt(index + 1); in convertValueToInt() 67 else if ('#' == nm.charAt(index)) { in convertValueToInt()
|
/frameworks/base/graphics/java/android/graphics/fonts/ |
D | FontVariationAxis.java | 107 final char c1 = tagString.charAt(0); in makeTag() 108 final char c2 = tagString.charAt(1); in makeTag() 109 final char c3 = tagString.charAt(2); in makeTag() 110 final char c4 = tagString.charAt(3); in makeTag() 142 final char c = settings.charAt(i); in fromFontVariationSettings() 146 if (!(c == '\'' || c == '"') || length < i + 6 || settings.charAt(i + 5) != c) { in fromFontVariationSettings()
|
/frameworks/base/core/java/android/text/ |
D | CharSequenceCharacterIterator.java | 53 return mCharSeq.charAt(mIndex); in last() 58 return (mIndex == mEndIndex) ? DONE : mCharSeq.charAt(mIndex); in current() 67 return mCharSeq.charAt(mIndex); in next() 76 return mCharSeq.charAt(mIndex); in previous()
|
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/ |
D | TimeZoneFilterTypeAdapter.java | 194 if (prefixString.charAt(0) == '+' || prefixString.charAt(0) == '-') { in performFiltering() 206 && prefixString.charAt(startParsePosition) == '+'; in performFiltering() 220 || (lowerCaseCountry.charAt(0) == prefixString.charAt(0) && in performFiltering() 279 if (!Character.isLetter(string.charAt(i))) { in isStartingInitialsFor() 285 if (prefixString.charAt(initialIdx++) != string.charAt(i)) { in isStartingInitialsFor() 353 char ch = str.charAt(idx++); in parseNum() 364 ch = str.charAt(idx++); in parseNum() 378 ch = str.charAt(idx++); in parseNum()
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | GsmAlphabet.java | 221 return sLanguageTables[0].charAt(gsmChar); in gsmToChar() 245 char c = sLanguageShiftTables[0].charAt(gsmChar); in gsmExtendedToChar() 247 return sLanguageTables[0].charAt(gsmChar); in gsmExtendedToChar() 400 char c = data.charAt(i); in stringToGsm7BitPacked() 523 char c = shiftTableToChar.charAt(gsmVal); in gsm7BitPackedToString() 525 ret.append(languageTableToChar.charAt(gsmVal)); in gsm7BitPackedToString() 534 ret.append(languageTableToChar.charAt(gsmVal)); in gsm7BitPackedToString() 613 c < shiftTableToChar.length() ? shiftTableToChar.charAt(c) : ' '; in gsm8BitUnpackedToString() 617 ret.append(languageTableToChar.charAt(c)); in gsm8BitUnpackedToString() 627 ret.append(languageTableToChar.charAt(c)); in gsm8BitUnpackedToString() [all …]
|
/frameworks/base/telephony/java/android/telephony/ |
D | PhoneNumberUtils.java | 223 char c = phoneNumber.charAt(i); in extractNetworkPortion() 263 char c = phoneNumber.charAt(i); in extractNetworkPortionAlt() 293 char c = phoneNumber.charAt(i); in stripSeparators() 334 char c = phoneNumber.charAt(i); in convertPreDial() 406 char c = phoneNumber.charAt(i); in extractPostDialPortion() 477 ca = a.charAt(ia); in compareLoosely() 485 cb = b.charAt(ib); in compareLoosely() 620 final char chA = a.charAt(backwardIndexA); in compareStrictly() 621 final char chB = b.charAt(backwardIndexB); in compareStrictly() 678 final char chA = a.charAt(backwardIndexA); in compareStrictly() [all …]
|
D | JapanesePhoneNumberFormatter.java | 166 } else if (length < 1 || text.charAt(0) != '0') { in format() 175 if (text.charAt(i) == '-') { in format() 188 char ch = text.charAt(i); in format()
|
/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
D | Duration.java | 64 c = str.charAt(0); in parse() 77 c = str.charAt(index); in parse() 87 c = str.charAt(index); in parse() 94 c = str.charAt(index); in parse()
|
/frameworks/base/core/java/android/text/method/ |
D | NumberKeyListener.java | 64 if (!ok(accept, source.charAt(i))) { in filter() 87 if (!ok(accept, source.charAt(j))) { in filter() 140 content.charAt(selStart - 1) == '0') { in onKeyDown() 162 collection.add(Character.valueOf(digits[i].charAt(0))); in addDigits() 182 final char ch = pattern.charAt(i); in addFormatCharsFromSkeleton() 189 if (i == 0 || pattern.charAt(i - 1) != SINGLE_QUOTE) { in addFormatCharsFromSkeleton() 234 final char ch = amPm[i].charAt(j); in addAmPmChars()
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/annotationprocessor/ |
D | ProcessBindable.java | 145 char firstChar = name.charAt(0); in stripPrefixFromField() 146 char secondChar = name.charAt(1); in stripPrefixFromField() 148 char thirdChar = name.charAt(2); in stripPrefixFromField() 172 char firstChar = propertyName.charAt(0); in stripPrefixFromMethod() 191 if (sequence.charAt(i) != prefix.charAt(i)) { in prefixes() 203 Character.isJavaIdentifierStart(name.charAt(3)) && in isGetter() 211 Character.isJavaIdentifierStart(name.charAt(3)) && in isSetter() 219 Character.isJavaIdentifierStart(name.charAt(2)) && in isBooleanGetter()
|
/frameworks/base/core/java/com/google/android/util/ |
D | AbstractMessageParser.java | 139 Character.isWhitespace(text.charAt(3))) { in parse() 270 char ch = text.charAt(nextChar++); in parseText() 354 while ((index < text.length()) && isDomainChar(text.charAt(index))) { in parseURL() 363 } else if (text.charAt(index) == ':') { in parseURL() 369 } else if (text.charAt(index) == '.') { in parseURL() 372 char ch = text.charAt(index); in parseURL() 389 if ((index + 1 < text.length()) && (text.charAt(index) == ':')) { in parseURL() 390 char ch = text.charAt(index + 1); in parseURL() 394 Character.isDigit(text.charAt(index))) { in parseURL() 409 char ch = text.charAt(index); in parseURL() [all …]
|
/frameworks/base/legacy-test/src/junit/framework/ |
D | ComparisonCompactor.java | 52 if (fExpected.charAt(fPrefix) != fActual.charAt(fPrefix)) in findCommonPrefix() 61 if (fExpected.charAt(expectedSuffix) != fActual.charAt(actualSuffix)) in findCommonSuffix()
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/ |
D | Utils.java | 50 int nibble = Utils.fromHex(s.charAt(n), true); // Set lenient to not blow up on ':' in parseMac() 92 char ch = prefix.charAt(n); in getMccMnc() 148 char ch = s.charAt(n); in toUnicodeEscapedString() 192 (byte) (((fromHex(text.charAt(n), false) & NIBBLE_MASK) << 4) | in hexToBytes() 193 (fromHex(text.charAt(n + 1), false) & NIBBLE_MASK)); in hexToBytes() 219 char ch = s.charAt(n); in isDecimal() 335 char ch = s.charAt(n); in unescapeSsid() 340 ch = s.charAt(n); in unescapeSsid() 375 return fromHex(s.charAt(position)) << 4 | fromHex(s.charAt(position + 1)); in decodeHexPair()
|
/frameworks/base/core/java/android/widget/ |
D | MultiAutoCompleteTextView.java | 236 while (i > 0 && text.charAt(i - 1) != ',') { in findTokenStart() 239 while (i < cursor && text.charAt(i) == ' ') { in findTokenStart() 251 if (text.charAt(i) == ',') { in findTokenEnd() 264 while (i > 0 && text.charAt(i - 1) == ' ') { in terminateToken() 268 if (i > 0 && text.charAt(i - 1) == ',') { in terminateToken()
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/omadm/ |
D | XMLNode.java | 32 XML_SPECIAL.add(XML_SPECIAL_CHARS.charAt(n)); in XML_SPECIAL_CHARS.charAt() 82 if (s.charAt(0) != trimmed.charAt(0)) in addText() 85 if (s.charAt(s.length() - 1) != trimmed.charAt(trimmed.length() - 1)) in addText() 97 char ch = text.charAt(n); in close() 227 if (XML_SPECIAL.contains(s.charAt(n))) { in escapable()
|
/frameworks/base/core/java/android/text/format/ |
D | DateFormat.java | 390 c = inFormat.charAt(i); in hasDesignator() 403 if (i + 1 < len && s.charAt(i + 1) == QUOTE) { in skipQuotedText() 412 char c = s.charAt(i); in skipQuotedText() 417 if (i + 1 < len && s.charAt(i + 1) == QUOTE) { in skipQuotedText() 448 int c = s.charAt(i); in format() 456 while ((i + count < len) && (s.charAt(i + count) == c)) { in format() 595 if (i + 1 < len && s.charAt(i + 1) == QUOTE) { in appendQuotedText() 607 char c = s.charAt(i); in appendQuotedText() 611 if (i + 1 < len && s.charAt(i + 1) == QUOTE) { in appendQuotedText()
|