Lines Matching refs:chars
358 void TextLayoutShaper::computeValues(TextLayoutValue* value, const SkPaint* paint, const UChar* chars,
361 computeValues(paint, chars, start, count, contextCount, dirFlags,
369 void TextLayoutShaper::computeValues(const SkPaint* paint, const UChar* chars,
401 ALOGD(" -- string = '%s'", String8(chars + start, count).string());
407 ubidi_setPara(bidi, chars, contextCount, bidiReq, NULL, &status);
423 String8(chars + start, count).string(), status, int(rc));
466 computeRunValues(paint, chars + startRun, lengthRun, isRTL,
490 computeRunValues(paint, chars + start, count, isRTL,
510 void TextLayoutShaper::computeRunValues(const SkPaint* paint, const UChar* chars,
526 UChar ch1 = chars[i];
532 String8(chars, count).string(), int(i));
536 UChar ch2 = chars[j];
542 // We could not found the main code point, so we will just use the initial chars
554 Normalizer::normalize(UnicodeString(chars + j, i - j + 1),
559 mNormalizedString.setTo(false /* not terminated*/, chars, count);
561 // Set the normalized chars
575 // Reverse "BiDi mirrored chars" in RTL mode only
581 UChar32 ch = chars[i];
585 mNormalizedString.setTo(false /* not terminated*/, chars, count);
610 mShaperItem.string = useNormalizedString ? mNormalizedString.getTerminatedBuffer() : chars;
646 ALOGD(" -- run = '%s'", String8(chars + startScriptRun, countScriptRun).string());
647 ALOGD(" -- string = '%s'", String8(chars, count).string());