Home | History | Annotate | Download | only in nav

Lines Matching defs:chars

770 void CacheBuilder::Debug::wideString(const UChar* chars, int length, bool hex) {
775 uChar(chars, length, hex);
1684 CacheBuilder::FoundState CacheBuilder::FindAddress(const UChar* chars,
1689 addressState.mWords[0] = addressState.mStarts[0] = chars;
1691 FoundState state = FindPartialAddress(chars, chars, length, &addressState);
1703 const UChar* chars, unsigned length, FindState* s)
1814 s->mCurrentStart = chars;
1815 s->mEnd = chars + length;
1820 chars -= 1;
1822 while (++chars <= s->mEnd) {
1824 ch = chars < s->mEnd ? *chars : ' ';
1830 if (s->mEnd - chars < 3)
1832 prior = *++chars;
1833 ch = *++chars;
1836 if (isUnicodeSpace(*++chars) == false)
1839 s->mStartResult = chars - 3 - s->mCurrentStart;
1848 s->mStartResult = chars - s->mCurrentStart;
1879 s->mStartResult = chars - s->mCurrentStart;
1899 s->newWord(baseChars, chars);
1901 s->mFirstLower = chars;
1912 size_t length = chars - s->mFirstLower;
1994 s->newWord(baseChars, chars);
2017 s->newWord(baseChars, chars);
2099 s->mEndResult = chars - s->mCurrentStart;
2106 || chars == s->mEnd;
2108 s->mZipStart = chars;
2117 s->mZipStart = chars;
2138 s->newWord(baseChars, chars);
2146 s->mEndResult = chars - s->mCurrentStart;
2150 --chars;
2167 s->mEndResult = chars - s->mCurrentStart;
2255 --chars;
2282 CacheBuilder::FoundState CacheBuilder::FindPartialEMail(const UChar* chars, unsigned length,
2345 const UChar* start = chars;
2346 const UChar* end = chars + length;
2347 while (chars < end) {
2348 UChar ch = *chars++;
2351 const UChar* atLocation = chars - 1;
2353 ch = *chars++ | 0x20; // convert uppercase to lower
2356 while (chars < end) {
2357 ch = *chars++;
2362 UChar firstLetter = *chars++ | 0x20; // first letter of the domain
2363 if (chars >= end)
2369 ch = *chars | 0x20; // second letter of the domain
2383 if (chars[wordIndex] != match)
2395 chars += wordIndex;
2396 if (chars < end) {
2397 ch = *chars;
2401 } else if (chars + 1 < end && IsDomainChar(chars[1]))
2405 s->mEndResult = chars - start;
2406 chars = atLocation;
2407 if (chars <= start)
2409 ch = *--chars;
2414 chars++;
2417 if (chars == start)
2419 ch = *--chars;
2421 UChar firstChar = *chars;
2424 s->mStartResult = chars - start;
2431 chars = atLocation + 1;
2438 CacheBuilder::FoundState CacheBuilder::FindPartialNumber(const UChar* chars, unsigned length,
2443 const UChar* start = chars;
2444 const UChar* end = chars + length;
2448 while (chars < end) {
2453 UChar ch = s->mCurrent = *chars;
2459 s->mStartResult = chars - start;
2468 lastDigit = chars;
2482 s->mStartResult = chars - start;
2499 chars++;
2508 } while (++chars < end);
2521 CacheBuilder::FoundState CacheBuilder::FindPhoneNumber(const UChar* chars, unsigned length,
2526 FoundState result = FindPartialNumber(chars, length, &state);
2700 const UChar* chars = baseChars + start;
2706 state = FindPartialAddress(baseChars, chars, length, &findState);
2709 state = FindPartialEMail(chars, length, &findState);
2712 state = FindPartialNumber(chars, length, &findState);
3137 const UChar* chars = string->characters();
3153 if ((drawable |= isNotSpace(chars[index])) != false)