Searched refs:textLen (Results 1 - 25 of 30) sorted by relevance

12

/external/chromium_org/third_party/skia/gm/
H A Ddftext.cpp72 const size_t textLen = strlen(text); local
82 canvas->drawText(text, textLen, 0, 0, paint);
96 canvas->drawText(text, textLen, rotX, rotY, paint);
112 canvas->drawText(text, textLen, 0, 0, paint);
122 SkAutoTArray<SkPoint> pos(textLen);
123 SkAutoTArray<SkScalar> widths(textLen);
126 paint.getTextWidths(text, textLen, &widths[0]);
130 for (unsigned int i = 0; i < textLen; ++i) {
135 canvas->drawPosText(text, textLen, &pos[0], paint);
157 canvas->drawText(text, textLen,
[all...]
H A Dfontscaler.cpp53 const size_t textLen = strlen(text); local
77 canvas->drawText(text, textLen, x, y, paint);
H A Dshadertext.cpp106 const int textLen = SK_ARRAY_COUNT(text) - 1; local
109 const int w = pointSize * textLen;
173 canvas->drawText(text, textLen, 0, textBase, paint);
179 canvas->drawTextOnPath(text, textLen, path, NULL, paint);
H A Dtypeface.cpp192 const size_t textLen = strlen(text); variable
205 canvas->drawText(text, textLen, x, y, paint);
207 drawKernText(canvas, text, textLen, x + 240, y, paint);
/external/chromium_org/third_party/icu/source/i18n/
H A Dcsr2022.h47 * @param textLen the size of the text in the byte.
52 int32_t textLen,
H A Dcsr2022.cpp29 * @param textLen the size of the text in the byte.
33 int32_t CharsetRecog_2022::match_2022(const uint8_t *text, int32_t textLen, const uint8_t escapeSequences[][5], int32_t escapeSequences_length) const argument
43 while(i < textLen) {
50 if (textLen-i >= seq_length) {
H A Dutrans.cpp450 int32_t textLen = (textLength == NULL || *textLength < 0)
453 UnicodeString str(text, textLen, textCapacity);
459 textLen = str.extract(text, textCapacity, *status);
461 *textLength = textLen;
480 int32_t textLen = (textLength == NULL || *textLength < 0)
483 UnicodeString str(text, textLen, textCapacity);
489 textLen = str.extract(text, textCapacity, *status);
491 *textLength = textLen;
H A Ducurr.cpp1290 // @param textLen: the length of the text to be compared
1298 const UChar* text, int32_t textLen,
1302 if (len > *maxMatchLen && len <= textLen &&
1318 // @param textLen: the length of the text to be compared
1326 const UChar* text, int32_t textLen,
1347 for (int32_t index = 0; index < textLen; ++index) {
1365 text, textLen,
1531 int32_t textLen = MIN(MAX_CURRENCY_NAME_LEN, text.length() - start); local
1532 text.extract(start, textLen, inputText);
1534 textLen
1296 linearSearch(const CurrencyNameStruct* currencyNames, int32_t begin, int32_t end, const UChar* text, int32_t textLen, int32_t *maxMatchLen, int32_t* maxMatchIndex) argument
1324 searchCurrencyName(const CurrencyNameStruct* currencyNames, int32_t total_currency_count, const UChar* text, int32_t textLen, int32_t* maxMatchLen, int32_t* maxMatchIndex) argument
[all...]
H A Dusearch.cpp3615 int32_t textLen = strsrch->search->textLength;
3618 U_ASSERT(startIndex<=textLen);
3620 if (startIndex >= textLen) {
3626 U16_NEXT(text, i, textLen, c);
3640 if (i>=textLen) {
3643 U16_NEXT(text, i, textLen, c);
3677 int32_t textLen = strsrch->search->textLength;
3680 U_ASSERT(index<=textLen);
3682 if (index>=textLen || index<=0) {
3689 U16_GET(text, 0, index, textLen,
[all...]
/external/icu/icu4c/source/i18n/
H A Dcsr2022.h47 * @param textLen the size of the text in the byte.
52 int32_t textLen,
H A Dcsr2022.cpp29 * @param textLen the size of the text in the byte.
33 int32_t CharsetRecog_2022::match_2022(const uint8_t *text, int32_t textLen, const uint8_t escapeSequences[][5], int32_t escapeSequences_length) const argument
43 while(i < textLen) {
50 if (textLen-i >= seq_length) {
H A Dutrans.cpp451 int32_t textLen = (textLength == NULL || *textLength < 0)
454 UnicodeString str(text, textLen, textCapacity);
460 textLen = str.extract(text, textCapacity, *status);
462 *textLength = textLen;
481 int32_t textLen = (textLength == NULL || *textLength < 0)
484 UnicodeString str(text, textLen, textCapacity);
490 textLen = str.extract(text, textCapacity, *status);
492 *textLength = textLen;
H A Ducurr.cpp1290 // @param textLen: the length of the text to be compared
1298 const UChar* text, int32_t textLen,
1302 if (len > *maxMatchLen && len <= textLen &&
1318 // @param textLen: the length of the text to be compared
1326 const UChar* text, int32_t textLen,
1347 for (int32_t index = 0; index < textLen; ++index) {
1365 text, textLen,
1531 int32_t textLen = MIN(MAX_CURRENCY_NAME_LEN, text.length() - start); local
1532 text.extract(start, textLen, inputText);
1534 textLen
1296 linearSearch(const CurrencyNameStruct* currencyNames, int32_t begin, int32_t end, const UChar* text, int32_t textLen, int32_t *maxMatchLen, int32_t* maxMatchIndex) argument
1324 searchCurrencyName(const CurrencyNameStruct* currencyNames, int32_t total_currency_count, const UChar* text, int32_t textLen, int32_t* maxMatchLen, int32_t* maxMatchIndex) argument
[all...]
H A Dusearch.cpp3622 int32_t textLen = strsrch->search->textLength;
3625 U_ASSERT(startIndex<=textLen);
3627 if (startIndex >= textLen) {
3633 U16_NEXT(text, i, textLen, c);
3647 if (i>=textLen) {
3650 U16_NEXT(text, i, textLen, c);
3684 int32_t textLen = strsrch->search->textLength;
3687 U_ASSERT(index<=textLen);
3689 if (index>=textLen || index<=0) {
3696 U16_GET(text, 0, index, textLen,
[all...]
/external/skia/gm/
H A Dfontscaler.cpp53 const size_t textLen = strlen(text); local
78 canvas->drawText(text, textLen, x, y, paint);
H A Ddeviceproperties.cpp61 const size_t textLen = strlen(text); local
85 canvas.drawText(text, textLen, x, y, paint);
H A Dshadertext.cpp115 const int textLen = SK_ARRAY_COUNT(text) - 1; local
118 int w = pointSize * textLen;
180 canvas->drawText(text, textLen, 0, textBase, paint);
186 canvas->drawTextOnPath(text, textLen, path, NULL, paint);
H A Dtypeface.cpp192 const size_t textLen = strlen(text); variable
205 canvas->drawText(text, textLen, x, y, paint);
207 drawKernText(canvas, text, textLen, x + 240, y, paint);
/external/chromium_org/third_party/skia/samplecode/
H A DSampleFontScalerTest.cpp100 const size_t textLen = strlen(text); local
123 canvas->drawText(text, textLen, x, y, paint);
H A DSampleShaderText.cpp113 const int textLen = SK_ARRAY_COUNT(text) - 1; local
116 int w = pointSize * textLen;
178 canvas->drawText(text, textLen, 0, textBase, paint);
184 canvas->drawTextOnPath(text, textLen, path, NULL, paint);
/external/mdnsresponder/mDNSPosix/
H A DResponder.c421 mDNSu16 textLen,
442 text, textLen, // TXT data, length
521 unsigned int textLen = 0; local
581 unsigned int newlen = textLen + 1 + len;
583 text[textLen] = len;
584 mDNSPlatformMemCopy(text + textLen + 1, rawText, len);
585 textLen = newlen;
592 status = RegisterOneService(name, type, dom, text, textLen, atol(port));
417 RegisterOneService(const char * richTextName, const char * serviceType, const char * serviceDomain, const mDNSu8 text[], mDNSu16 textLen, long portNumber) argument
/external/skia/samplecode/
H A DSampleFontScalerTest.cpp100 const size_t textLen = strlen(text); local
123 canvas->drawText(text, textLen, x, y, paint);
H A DSampleShaderText.cpp113 const int textLen = SK_ARRAY_COUNT(text) - 1; local
116 int w = pointSize * textLen;
178 canvas->drawText(text, textLen, 0, textBase, paint);
184 canvas->drawTextOnPath(text, textLen, path, NULL, paint);
/external/chromium_org/third_party/skia/src/core/
H A DSkDevice.cpp127 size_t textLen = it.glyphCount() * sizeof(uint16_t); local
135 this->drawText(localDraw, it.glyphs(), textLen, offset.x(), offset.y(), runPaint);
139 this->drawPosText(localDraw, it.glyphs(), textLen, it.pos(), offset.y(),
/external/jdiff/src/jdiff/
H A DRootDocToXML.java977 int textLen = text.length();
978 if (textLen == 0)
988 while (i < textLen && text.charAt(i) == ' ') {
991 if (text.charAt(i) == '@' && fromindex < textLen-1)

Completed in 4116 milliseconds

12