Home
last modified time | relevance | path

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

12

/external/skqp/gm/
Ddftext.cpp67 const size_t textLen = strlen(text); in onDraw() local
77 canvas->drawSimpleText(text, textLen, kUTF8_SkTextEncoding, 0, 0, font, paint); in onDraw()
91 … canvas->drawSimpleText(text, textLen, kUTF8_SkTextEncoding, rotX, rotY, font, paint); in onDraw()
107 canvas->drawSimpleText(text, textLen, kUTF8_SkTextEncoding, 0, 0, font, paint); in onDraw()
117 SkAutoTArray<SkGlyphID> glyphs(SkToInt(textLen)); in onDraw()
118 … int count = font.textToGlyphs(text, textLen, kUTF8_SkTextEncoding, glyphs.get(), textLen); in onDraw()
147 canvas->drawSimpleText(text, textLen, kUTF8_SkTextEncoding, x, y, font, paint); in onDraw()
161 canvas->drawSimpleText(text, textLen, kUTF8_SkTextEncoding, x, y, font, paint); in onDraw()
171 canvas->drawSimpleText(text, textLen, kUTF8_SkTextEncoding, 745, 70, font, paint); in onDraw()
178 canvas->drawSimpleText(text, textLen, kUTF8_SkTextEncoding, 580, 125, font, paint); in onDraw()
[all …]
Dfontscaler.cpp40 const size_t textLen = strlen(text); in onDraw() local
64 … canvas->drawSimpleText(text, textLen, kUTF8_SkTextEncoding, x, y, font, SkPaint()); in onDraw()
Dfontscalerdistortable.cpp47 const size_t textLen = strlen(text); in onDraw() local
84 canvas->drawSimpleText(text, textLen, kUTF8_SkTextEncoding, x, y, font, paint); in onDraw()
Dpictureimagegenerator.cpp43 const size_t textLen = strlen(kSkiaStr); in draw_vector_logo() local
44 SkTextUtils::GetPath(kSkiaStr, textLen, kUTF8_SkTextEncoding, 0, 0, font, &path); in draw_vector_logo()
96 canvas->drawSimpleText(kSkiaStr, textLen, kUTF8_SkTextEncoding, 0, 0, font, paint); in draw_vector_logo()
Dtexteffects.cpp44 const size_t textLen = strlen(text); in MakeFancyBlob() local
45 const int glyphCount = font.countText(text, textLen, kUTF8_SkTextEncoding); in MakeFancyBlob()
47 font.textToGlyphs(text, textLen, kUTF8_SkTextEncoding, glyphs.get(), glyphCount); in MakeFancyBlob()
Dtypeface.cpp117 const size_t textLen = strlen(text); in onDraw() local
132 canvas->drawSimpleText(text, textLen, kUTF8_SkTextEncoding, x, y, font, paint); in onDraw()
134 drawKernText(canvas, text, textLen, x + 240, y, font, paint); in onDraw()
/external/skia/gm/
Ddftext.cpp65 const size_t textLen = strlen(text); in onDraw() local
75 canvas->drawSimpleText(text, textLen, kUTF8_SkTextEncoding, 0, 0, font, paint); in onDraw()
89 … canvas->drawSimpleText(text, textLen, kUTF8_SkTextEncoding, rotX, rotY, font, paint); in onDraw()
105 canvas->drawSimpleText(text, textLen, kUTF8_SkTextEncoding, 0, 0, font, paint); in onDraw()
115 SkAutoTArray<SkGlyphID> glyphs(SkToInt(textLen)); in onDraw()
116 … int count = font.textToGlyphs(text, textLen, kUTF8_SkTextEncoding, glyphs.get(), textLen); in onDraw()
145 canvas->drawSimpleText(text, textLen, kUTF8_SkTextEncoding, x, y, font, paint); in onDraw()
159 canvas->drawSimpleText(text, textLen, kUTF8_SkTextEncoding, x, y, font, paint); in onDraw()
169 canvas->drawSimpleText(text, textLen, kUTF8_SkTextEncoding, 745, 70, font, paint); in onDraw()
176 canvas->drawSimpleText(text, textLen, kUTF8_SkTextEncoding, 580, 125, font, paint); in onDraw()
[all …]
Dfontscaler.cpp38 const size_t textLen = strlen(text); in onDraw() local
62 … canvas->drawSimpleText(text, textLen, kUTF8_SkTextEncoding, x, y, font, SkPaint()); in onDraw()
Dfontscalerdistortable.cpp48 const size_t textLen = strlen(text); in onDraw() local
85 canvas->drawSimpleText(text, textLen, kUTF8_SkTextEncoding, x, y, font, paint); in onDraw()
Dpictureimagegenerator.cpp43 const size_t textLen = strlen(kSkiaStr); in draw_vector_logo() local
44 SkTextUtils::GetPath(kSkiaStr, textLen, kUTF8_SkTextEncoding, 0, 0, font, &path); in draw_vector_logo()
96 canvas->drawSimpleText(kSkiaStr, textLen, kUTF8_SkTextEncoding, 0, 0, font, paint); in draw_vector_logo()
Dtexteffects.cpp44 const size_t textLen = strlen(text); in MakeFancyBlob() local
45 const int glyphCount = font.countText(text, textLen, kUTF8_SkTextEncoding); in MakeFancyBlob()
47 font.textToGlyphs(text, textLen, kUTF8_SkTextEncoding, glyphs.get(), glyphCount); in MakeFancyBlob()
Dtypeface.cpp116 const size_t textLen = strlen(text); in onDraw() local
131 canvas->drawSimpleText(text, textLen, kUTF8_SkTextEncoding, x, y, font, paint); in onDraw()
133 drawKernText(canvas, text, textLen, x + 240, y, font, paint); in onDraw()
/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,
/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/icu/icu4c/source/test/cintltst/
Dutransts.c686 int32_t textLen = u_unescape(itemsPtr->sourceText, text, kUBufMax); in TestDataVariantsCompounds() local
687 int32_t textLim = textLen; in TestDataVariantsCompounds()
688 utrans_transUChars(utrans, text, &textLen, kUBufMax, 0, &textLim, &status); in TestDataVariantsCompounds()
694 if (textLen != expectLen || u_strncmp(text, expect, textLen) != 0) { in TestDataVariantsCompounds()
696 u_austrncpy(btext, text, textLen); in TestDataVariantsCompounds()
/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()
DSimpleFilteredSentenceBreakIterator.java137 final int textLen = text.getLength(); in internalNext() local
139 while (n != BreakIterator.DONE && n != textLen) { in internalNext()
/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/icu4c/source/common/
Ducurr.cpp1285 const UChar* text, int32_t textLen, in linearSearch() argument
1291 if (len > *maxMatchLen && len <= textLen && in linearSearch()
1302 for (int32_t i=initialPartialMatchLen; i<MIN(len, textLen); i++) { in linearSearch()
1324 const UChar* text, int32_t textLen, in searchCurrencyName() argument
1346 for (int32_t index = 0; index < textLen; ++index) { in searchCurrencyName()
1365 text, textLen, in searchCurrencyName()
1550 int32_t textLen = MIN(MAX_CURRENCY_NAME_LEN, text.length() - start); in uprv_parseCurrency() local
1551 text.extract(start, textLen, inputText); in uprv_parseCurrency()
1553 textLen = u_strToUpper(upperText, MAX_CURRENCY_NAME_LEN, inputText, textLen, locale, &ec1); in uprv_parseCurrency()
1562 upperText, textLen, partialMatchLen, &max, &matchIndex); in uprv_parseCurrency()
[all …]
/external/skia/tests/
DSVGDeviceTest.cpp78 int textLen = SkToInt(strlen(expected));
83 int xposCount = (scalarsPerPos < 1) ? 1 : textLen;
103 int yposCount = (scalarsPerPos < 2) ? 1 : textLen;
/external/skqp/tests/
DSVGDeviceTest.cpp70 int textLen = SkToInt(strlen(expected));
75 int xposCount = (scalarsPerPos < 1) ? 1 : textLen;
95 int yposCount = (scalarsPerPos < 2) ? 1 : textLen;

12