/external/skia/gm/ |
D | dftext.cpp | 81 const size_t textLen = strlen(text); in onDraw() local 91 canvas->drawText(text, textLen, 0, 0, paint); in onDraw() 105 canvas->drawText(text, textLen, rotX, rotY, paint); in onDraw() 121 canvas->drawText(text, textLen, 0, 0, paint); in onDraw() 131 SkAutoTArray<SkPoint> pos(SkToInt(textLen)); in onDraw() 132 SkAutoTArray<SkScalar> widths(SkToInt(textLen)); in onDraw() 135 paint.getTextWidths(text, textLen, &widths[0]); in onDraw() 139 for (unsigned int i = 0; i < textLen; ++i) { in onDraw() 144 canvas->drawPosText(text, textLen, &pos[0], paint); in onDraw() 170 canvas->drawText(text, textLen, x, y, paint); in onDraw() [all …]
|
D | shadertext.cpp | 103 const int textLen = SK_ARRAY_COUNT(text) - 1; in onDraw() local 106 const int w = pointSize * textLen; in onDraw() 170 canvas->drawText(text, textLen, 0, textBase, paint); in onDraw() 176 canvas->drawTextOnPath(text, textLen, path, NULL, paint); in onDraw()
|
D | fontscaler.cpp | 50 const size_t textLen = strlen(text); in onDraw() local 74 canvas->drawText(text, textLen, x, y, paint); in onDraw()
|
D | typeface.cpp | 192 const size_t textLen = strlen(text); in onDraw() local 205 canvas->drawText(text, textLen, x, y, paint); in onDraw() 207 drawKernText(canvas, text, textLen, x + 240, y, paint); in onDraw()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | CharsetRecog_2022.java | 32 int match(byte [] text, int textLen, byte [][] escapeSequences) { in match() argument 40 for (i=0; i<textLen; i++) { in match() 46 if ((textLen - i) < seq.length) { in match()
|
/external/icu/icu4c/source/i18n/ |
D | utrans.cpp | 451 int32_t textLen = (textLength == NULL || *textLength < 0) in utrans_transUChars() local 454 UnicodeString str(text, textLen, textCapacity); in utrans_transUChars() 460 textLen = str.extract(text, textCapacity, *status); in utrans_transUChars() 462 *textLength = textLen; in utrans_transUChars() 481 int32_t textLen = (textLength == NULL || *textLength < 0) in utrans_transIncrementalUChars() local 484 UnicodeString str(text, textLen, textCapacity); in utrans_transIncrementalUChars() 490 textLen = str.extract(text, textCapacity, *status); in utrans_transIncrementalUChars() 492 *textLength = textLen; in utrans_transIncrementalUChars()
|
D | csr2022.cpp | 33 int32_t CharsetRecog_2022::match_2022(const uint8_t *text, int32_t textLen, const uint8_t escapeSeq… in match_2022() argument 43 while(i < textLen) { in match_2022() 50 if (textLen-i >= seq_length) { in match_2022()
|
D | csr2022.h | 52 int32_t textLen,
|
D | ucurr.cpp | 1317 const UChar* text, int32_t textLen, in linearSearch() argument 1321 if (len > *maxMatchLen && len <= textLen && in linearSearch() 1345 const UChar* text, int32_t textLen, in searchCurrencyName() argument 1366 for (int32_t index = 0; index < textLen; ++index) { in searchCurrencyName() 1384 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() 1559 upperText, textLen, &max, &matchIndex); in uprv_parseCurrency() 1570 inputText, textLen, in uprv_parseCurrency()
|
D | usearch.cpp | 3620 int32_t textLen = strsrch->search->textLength; in nextBoundaryAfter() 3623 U_ASSERT(startIndex<=textLen); in nextBoundaryAfter() 3625 if (startIndex >= textLen) { in nextBoundaryAfter() 3631 U16_NEXT(text, i, textLen, c); in nextBoundaryAfter() 3645 if (i>=textLen) { in nextBoundaryAfter() 3648 U16_NEXT(text, i, textLen, c); in nextBoundaryAfter() 3682 int32_t textLen = strsrch->search->textLength; in isBreakBoundary() 3685 U_ASSERT(index<=textLen); in isBreakBoundary() 3687 if (index>=textLen || index<=0) { in isBreakBoundary() 3694 U16_GET(text, 0, index, textLen, c); in isBreakBoundary()
|
/external/mdnsresponder/mDNSPosix/ |
D | Responder.c | 421 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/samplecode/ |
D | SampleShaderText.cpp | 113 const int textLen = SK_ARRAY_COUNT(text) - 1; in onDrawContent() local 116 int w = pointSize * textLen; in onDrawContent() 178 canvas->drawText(text, textLen, 0, textBase, paint); in onDrawContent() 184 canvas->drawTextOnPath(text, textLen, path, NULL, paint); in onDrawContent()
|
D | SampleFontScalerTest.cpp | 100 const size_t textLen = strlen(text); in onDrawContent() local 123 canvas->drawText(text, textLen, x, y, paint); in onDrawContent()
|
/external/skia/tests/ |
D | SVGDeviceTest.cpp | 46 int textLen = SkToInt(strlen(expected)); in check_text_node() local 51 int xposCount = (scalarsPerPos < 1) ? 1 : textLen; in check_text_node() 68 int yposCount = (scalarsPerPos < 2) ? 1 : textLen; in check_text_node()
|
/external/skia/src/gpu/ |
D | GrTextContext.cpp | 106 size_t textLen = it.glyphCount() * sizeof(uint16_t); in drawTextBlob() local 128 textLen, x + offset.x(), y + offset.y(), clipBounds); in drawTextBlob() 132 textLen, it.pos(), 1, SkPoint::Make(x, y + offset.y()), clipBounds); in drawTextBlob() 136 textLen, it.pos(), 2, SkPoint::Make(x, y), clipBounds); in drawTextBlob()
|
D | GrAtlasTextContext.cpp | 486 size_t textLen = glyphCount * sizeof(uint16_t); in regenerateTextBlob() local 531 (const char *)it.glyphs(), textLen, in regenerateTextBlob() 540 (const char*)it.glyphs(), textLen, it.pos(), in regenerateTextBlob() 548 (const char*)it.glyphs(), textLen, it.pos(), in regenerateTextBlob() 570 (const char *)it.glyphs(), textLen, in regenerateTextBlob() 575 (const char*)it.glyphs(), textLen, it.pos(), 1, in regenerateTextBlob() 580 (const char*)it.glyphs(), textLen, it.pos(), 2, in regenerateTextBlob() 2049 size_t textLen = it.glyphCount() * sizeof(uint16_t); in flushRunAsPaths() local 2063 textLen, x + offset.x(), y + offset.y(), clipBounds); in flushRunAsPaths() 2067 textLen, it.pos(), 1, SkPoint::Make(x, y + offset.y()), in flushRunAsPaths() [all …]
|
/external/skia/src/core/ |
D | SkDevice.cpp | 132 size_t textLen = it.glyphCount() * sizeof(uint16_t); in drawTextBlob() local 148 this->drawText(draw, it.glyphs(), textLen, x + offset.x(), y + offset.y(), runPaint); in drawTextBlob() 151 this->drawPosText(draw, it.glyphs(), textLen, it.pos(), 1, in drawTextBlob() 155 this->drawPosText(draw, it.glyphs(), textLen, it.pos(), 2, in drawTextBlob()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | TextTrieMap.java | 326 int textLen = text.length - offset; in lenMatches() local 327 int limit = _text.length < textLen ? _text.length : textLen; in lenMatches()
|
/external/jdiff/src/jdiff/ |
D | RootDocToXML.java | 977 int textLen = text.length(); in endOfFirstSentence() local 978 if (textLen == 0) in endOfFirstSentence() 988 while (i < textLen && text.charAt(i) == ' ') { in endOfFirstSentence() 991 if (text.charAt(i) == '@' && fromindex < textLen-1) in endOfFirstSentence()
|
/external/expat/lib/ |
D | xmlparse.c | 194 int textLen; /* length in XML_Chars */ member 4151 declEntity->textLen = (int)(poolLength(&dtd->entityValuePool)); in doProlog() 4159 declEntity->textLen, in doProlog() 4822 textEnd = (char *)(entity->textPtr + entity->textLen); in processInternalEntity() 4867 textEnd = (char *)(entity->textPtr + entity->textLen); in internalEntityProcessor() 5066 const XML_Char *textEnd = entity->textPtr + entity->textLen; in appendAttributeValue() 5168 + entity->textLen)); in storeEntityValue() 5931 oldE->textLen); in copyEntityTable() 5935 newE->textLen = oldE->textLen; in copyEntityTable()
|