Home
last modified time | relevance | path

Searched refs:textLen (Results 1 – 25 of 39) sorted by relevance

12

/external/skia/gm/
Ddftext.cpp85 const size_t textLen = strlen(text); in onDraw() local
95 canvas->drawSimpleText(text, textLen, SkTextEncoding::kUTF8, 0, 0, font, paint); in onDraw()
109 … canvas->drawSimpleText(text, textLen, SkTextEncoding::kUTF8, rotX, rotY, font, paint); in onDraw()
125 canvas->drawSimpleText(text, textLen, SkTextEncoding::kUTF8, 0, 0, font, paint); in onDraw()
135 AutoTArray<SkGlyphID> glyphs(SkToInt(textLen)); in onDraw()
136 … int count = font.textToGlyphs(text, textLen, SkTextEncoding::kUTF8, glyphs.get(), textLen); in onDraw()
165 canvas->drawSimpleText(text, textLen, SkTextEncoding::kUTF8, x, y, font, paint); in onDraw()
179 canvas->drawSimpleText(text, textLen, SkTextEncoding::kUTF8, x, y, font, paint); in onDraw()
189 canvas->drawSimpleText(text, textLen, SkTextEncoding::kUTF8, 745, 70, font, paint); in onDraw()
196 canvas->drawSimpleText(text, textLen, SkTextEncoding::kUTF8, 580, 125, font, paint); in onDraw()
[all …]
Dcoloremoji.cpp94 size_t textLen = strlen(text); in onDraw() local
106 canvas->drawSimpleText(text, textLen, SkTextEncoding::kUTF8, in onDraw()
144 canvas->drawSimpleText(text, textLen, SkTextEncoding::kUTF8, 380, y, in onDraw()
158 font.measureText(text, textLen, SkTextEncoding::kUTF8, &bounds); in onDraw()
184 canvas->drawSimpleText(text, textLen, SkTextEncoding::kUTF8, 0, 0, font, paint); in onDraw()
187 canvas->drawSimpleText(text, textLen, SkTextEncoding::kUTF8, 0, 0, font, paint); in onDraw()
Dpersptext.cpp60 const size_t textLen = strlen(text); in onDraw() local
62 SkScalar textWidth = font.measureText(text, textLen, SkTextEncoding::kUTF8, in onDraw()
75 canvas->drawSimpleText(text, textLen, SkTextEncoding::kUTF8, x, y, font, paint); in onDraw()
108 canvas->drawSimpleText(text, textLen, SkTextEncoding::kUTF8, x, y, font, paint); in onDraw()
Dfontscaler.cpp46 const size_t textLen = strlen(text); in onDraw() local
69 … canvas->drawSimpleText(text, textLen, SkTextEncoding::kUTF8, x, y, font, SkPaint()); in onDraw()
Dpictureimagegenerator.cpp62 const size_t textLen = strlen(kSkiaStr); in draw_vector_logo() local
63 SkTextUtils::GetPath(kSkiaStr, textLen, SkTextEncoding::kUTF8, 0, 0, font, &path); in draw_vector_logo()
113 canvas->drawSimpleText(kSkiaStr, textLen, SkTextEncoding::kUTF8, 0, 0, font, paint); in draw_vector_logo()
Dfontscalerdistortable.cpp148 const size_t textLen = strlen(text); in onDraw() local
171 canvas->drawSimpleText(text, textLen, SkTextEncoding::kUTF8, x, y, font, paint); in onDraw()
Dtexteffects.cpp55 const size_t textLen = strlen(text); in MakeFancyBlob() local
56 const int glyphCount = font.countText(text, textLen, SkTextEncoding::kUTF8); in MakeFancyBlob()
58 font.textToGlyphs(text, textLen, SkTextEncoding::kUTF8, glyphs.get(), glyphCount); in MakeFancyBlob()
Dtypeface.cpp127 const size_t textLen = strlen(text); in onDraw() local
142 canvas->drawSimpleText(text, textLen, SkTextEncoding::kUTF8, x, y, font, paint); in onDraw()
144 drawKernText(canvas, text, textLen, x + 240, y, font, paint); in onDraw()
/external/cronet/third_party/icu/source/i18n/
Dutrans.cpp453 int32_t textLen = (textLength == NULL || *textLength < 0) in utrans_transUChars() local
456 UnicodeString str(text, textLen, textCapacity); in utrans_transUChars()
462 textLen = str.extract(text, textCapacity, *status); in utrans_transUChars()
464 *textLength = textLen; in utrans_transUChars()
483 int32_t textLen = (textLength == NULL || *textLength < 0) in utrans_transIncrementalUChars() local
486 UnicodeString str(text, textLen, textCapacity); in utrans_transIncrementalUChars()
492 textLen = str.extract(text, textCapacity, *status); in utrans_transIncrementalUChars()
494 *textLength = textLen; in utrans_transIncrementalUChars()
Dcsr2022.cpp34 int32_t CharsetRecog_2022::match_2022(const uint8_t *text, int32_t textLen, const uint8_t escapeSeq… in match_2022() argument
44 while(i < textLen) { in match_2022()
51 if (textLen-i >= seq_length) { in match_2022()
Dcsr2022.h54 int32_t textLen,
Dusearch.cpp1561 int32_t textLen = strsrch->search->textLength; in nextBoundaryAfter()
1564 U_ASSERT(startIndex<=textLen); in nextBoundaryAfter()
1566 if (startIndex >= textLen) { in nextBoundaryAfter()
1572 U16_NEXT(text, i, textLen, c); in nextBoundaryAfter()
1586 if (i>=textLen) { in nextBoundaryAfter()
1589 U16_NEXT(text, i, textLen, c); in nextBoundaryAfter()
1621 int32_t textLen = strsrch->search->textLength; in isBreakBoundary()
1624 U_ASSERT(index<=textLen); in isBreakBoundary()
1626 if (index>=textLen || index<=0) { in isBreakBoundary()
1633 U16_GET(text, 0, index, textLen, c); in isBreakBoundary()
/external/icu/icu4c/source/i18n/
Dutrans.cpp453 int32_t textLen = (textLength == NULL || *textLength < 0) in utrans_transUChars() local
456 UnicodeString str(text, textLen, textCapacity); in utrans_transUChars()
462 textLen = str.extract(text, textCapacity, *status); in utrans_transUChars()
464 *textLength = textLen; in utrans_transUChars()
483 int32_t textLen = (textLength == NULL || *textLength < 0) in utrans_transIncrementalUChars() local
486 UnicodeString str(text, textLen, textCapacity); in utrans_transIncrementalUChars()
492 textLen = str.extract(text, textCapacity, *status); in utrans_transIncrementalUChars()
494 *textLength = textLen; in utrans_transIncrementalUChars()
Dcsr2022.cpp34 int32_t CharsetRecog_2022::match_2022(const uint8_t *text, int32_t textLen, const uint8_t escapeSeq… in match_2022() argument
44 while(i < textLen) { in match_2022()
51 if (textLen-i >= seq_length) { in match_2022()
Dcsr2022.h54 int32_t textLen,
Dusearch.cpp1563 int32_t textLen = strsrch->search->textLength; in nextBoundaryAfter()
1566 U_ASSERT(startIndex<=textLen); in nextBoundaryAfter()
1568 if (startIndex >= textLen) { in nextBoundaryAfter()
1574 U16_NEXT(text, i, textLen, c); in nextBoundaryAfter()
1588 if (i>=textLen) { in nextBoundaryAfter()
1591 U16_NEXT(text, i, textLen, c); in nextBoundaryAfter()
1623 int32_t textLen = strsrch->search->textLength; in isBreakBoundary()
1626 U_ASSERT(index<=textLen); in isBreakBoundary()
1628 if (index>=textLen || index<=0) { in isBreakBoundary()
1635 U16_GET(text, 0, index, textLen, c); in isBreakBoundary()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DCharsetRecog_2022.java34 int match(byte [] text, int textLen, byte [][] escapeSequences) { in match() argument
42 for (i=0; i<textLen; i++) { in match()
48 if ((textLen - i) < seq.length) { in match()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DCharsetRecog_2022.java35 int match(byte [] text, int textLen, byte [][] escapeSequences) { in match() argument
43 for (i=0; i<textLen; i++) { in match()
49 if ((textLen - i) < seq.length) { in match()
/external/mdnsresponder/mDNSPosix/
DResponder.c421 mDNSu16 textLen, in RegisterOneService() argument
442 text, textLen, // TXT data, length in RegisterOneService()
521 unsigned int textLen = 0; in RegisterServicesInFile() local
581 unsigned int newlen = textLen + 1 + len; in RegisterServicesInFile()
583 text[textLen] = len; in RegisterServicesInFile()
584 mDNSPlatformMemCopy(text + textLen + 1, rawText, len); in RegisterServicesInFile()
585 textLen = newlen; in RegisterServicesInFile()
592 status = RegisterOneService(name, type, dom, text, textLen, atol(port)); in RegisterServicesInFile()
/external/skia/tests/
DFontHostTest.cpp250 size_t textLen = strlen(txt); in test_advances() local
268 SkScalar width1 = font.measureText(txt, textLen, SkTextEncoding::kUTF8); in test_advances()
271 SkScalar width2 = font.measureText(txt, textLen, SkTextEncoding::kUTF8, &bounds); in test_advances()
/external/icu/icu4c/source/test/cintltst/
Dutransts.c687 int32_t textLen = u_unescape(itemsPtr->sourceText, text, kUBufMax); in TestDataVariantsCompounds() local
688 int32_t textLim = textLen; in TestDataVariantsCompounds()
689 utrans_transUChars(utrans, text, &textLen, kUBufMax, 0, &textLim, &status); in TestDataVariantsCompounds()
695 if (textLen != expectLen || u_strncmp(text, expect, textLen) != 0) { in TestDataVariantsCompounds()
697 u_austrncpy(btext, text, textLen); in TestDataVariantsCompounds()
/external/cronet/third_party/icu/source/test/cintltst/
Dutransts.c687 int32_t textLen = u_unescape(itemsPtr->sourceText, text, kUBufMax); in TestDataVariantsCompounds() local
688 int32_t textLim = textLen; in TestDataVariantsCompounds()
689 utrans_transUChars(utrans, text, &textLen, kUBufMax, 0, &textLim, &status); in TestDataVariantsCompounds()
695 if (textLen != expectLen || u_strncmp(text, expect, textLen) != 0) { in TestDataVariantsCompounds()
697 u_austrncpy(btext, text, textLen); in TestDataVariantsCompounds()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DTextTrieMap.java377 int textLen = text.length - offset; in lenMatches() local
378 int limit = _text.length < textLen ? _text.length : textLen; in lenMatches()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DTextTrieMap.java386 int textLen = text.length - offset; in lenMatches() local
387 int limit = _text.length < textLen ? _text.length : textLen; in lenMatches()
/external/icu/libicu/cts_headers/
Dcsr2022.h54 int32_t textLen,

12