/external/skia/gm/ |
D | dftext.cpp | 67 const size_t textLen = strlen(text); in onDraw() local 77 canvas->drawText(text, textLen, 0, 0, paint); in onDraw() 91 canvas->drawText(text, textLen, rotX, rotY, paint); in onDraw() 107 canvas->drawText(text, textLen, 0, 0, paint); in onDraw() 117 SkAutoTArray<SkPoint> pos(SkToInt(textLen)); in onDraw() 118 SkAutoTArray<SkScalar> widths(SkToInt(textLen)); in onDraw() 121 paint.getTextWidths(text, textLen, &widths[0]); in onDraw() 125 for (unsigned int i = 0; i < textLen; ++i) { in onDraw() 130 canvas->drawPosText(text, textLen, &pos[0], paint); in onDraw() 152 canvas->drawText(text, textLen, x, y, paint); in onDraw() [all …]
|
D | pdf_never_embed.cpp | 16 size_t textLen = strlen(text); in excercise_draw_pos_text() local 17 SkAutoTArray<SkScalar> widths(SkToInt(textLen)); in excercise_draw_pos_text() 18 paint.getTextWidths(text, textLen, &widths[0]); in excercise_draw_pos_text() 19 SkAutoTArray<SkPoint> pos(SkToInt(textLen)); in excercise_draw_pos_text() 20 for (int i = 0; i < SkToInt(textLen); ++i) { in excercise_draw_pos_text() 24 canvas->drawPosText(text, textLen, &pos[0], paint); in excercise_draw_pos_text()
|
D | skbug_257.cpp | 34 size_t textLen = strlen(text); in exercise_draw_pos_text() local 35 int count = paint.countText(text, textLen); in exercise_draw_pos_text() 37 paint.getTextWidths(text, textLen, &widths[0]); in exercise_draw_pos_text() 43 canvas->drawPosText(text, textLen, &pos[0], paint); in exercise_draw_pos_text() 50 size_t textLen = strlen(text); in exercise_draw_pos_text_h() local 51 int count = paint.countText(text, textLen); in exercise_draw_pos_text_h() 53 paint.getTextWidths(text, textLen, &widths[0]); in exercise_draw_pos_text_h() 59 canvas->drawPosTextH(text, textLen, &pos[0], y, paint); in exercise_draw_pos_text_h()
|
D | shadertext.cpp | 105 const int textLen = SK_ARRAY_COUNT(text) - 1; in onDraw() local 108 const int w = pointSize * textLen; in onDraw() 172 canvas->drawText(text, textLen, 0, textBase, paint); in onDraw() 178 canvas->drawTextOnPath(text, textLen, path, nullptr, paint); in onDraw()
|
D | fontscaler.cpp | 41 const size_t textLen = strlen(text); in onDraw() local 65 canvas->drawText(text, textLen, x, y, paint); in onDraw()
|
D | fontscalerdistortable.cpp | 43 const size_t textLen = strlen(text); in onDraw() local 74 canvas->drawText(text, textLen, x, y, paint); in onDraw()
|
D | pictureimagegenerator.cpp | 39 const size_t textLen = strlen(kSkiaStr); in draw_vector_logo() local 40 paint.getTextPath(kSkiaStr, textLen, 0, 0, &path); in draw_vector_logo() 92 canvas->drawText(kSkiaStr, textLen, 0, 0, paint); in draw_vector_logo()
|
D | typeface.cpp | 133 const size_t textLen = strlen(text); in onDraw() local 146 canvas->drawText(text, textLen, x, y, paint); in onDraw() 148 drawKernText(canvas, text, textLen, x + 240, y, paint); in onDraw()
|
/external/skia/src/gpu/text/ |
D | GrAtlasTextContext.cpp | 176 size_t textLen = glyphCount * sizeof(uint16_t); in RegenerateTextBlob() local 187 (const char*)it.glyphs(), textLen, x + offset.x(), in RegenerateTextBlob() 195 viewMatrix, (const char*)it.glyphs(), textLen, it.pos(), 1, dfOffset); in RegenerateTextBlob() 202 viewMatrix, (const char*)it.glyphs(), textLen, it.pos(), 2, dfOffset); in RegenerateTextBlob() 213 (const char*)it.glyphs(), textLen, x + offset.x(), in RegenerateTextBlob() 219 (const char*)it.glyphs(), textLen, it.pos(), 1, in RegenerateTextBlob() 225 (const char*)it.glyphs(), textLen, it.pos(), 2, in RegenerateTextBlob() 366 int textLen = (int)strlen(text); in DRAW_OP_TEST_DEFINE() local 384 static_cast<size_t>(textLen), x, y)); in DRAW_OP_TEST_DEFINE() 386 return blob->test_makeOp(textLen, 0, 0, viewMatrix, x, y, paint, gSurfaceProps, in DRAW_OP_TEST_DEFINE()
|
D | GrAtlasTextBlob.cpp | 363 size_t textLen = it.glyphCount() * sizeof(uint16_t); in flushRunAsPaths() local 374 (const char*)it.glyphs(), textLen, x + offset.x(), in flushRunAsPaths() 379 (const char*)it.glyphs(), textLen, it.pos(), 1, in flushRunAsPaths() 384 (const char*)it.glyphs(), textLen, it.pos(), 2, in flushRunAsPaths()
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | CharsetRecog_2022.java | 35 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/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | CharsetRecog_2022.java | 34 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/icu4c/source/i18n/ |
D | utrans.cpp | 453 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()
|
D | csr2022.cpp | 34 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()
|
D | csr2022.h | 54 int32_t textLen,
|
/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 | 114 const int textLen = SK_ARRAY_COUNT(text) - 1; in onDrawContent() local 117 int w = pointSize * textLen; in onDrawContent() 179 canvas->drawText(text, textLen, 0, textBase, paint); in onDrawContent() 185 canvas->drawTextOnPath(text, textLen, path, nullptr, paint); in onDrawContent()
|
D | SampleFontScalerTest.cpp | 86 const size_t textLen = strlen(text); in onDrawContent() local 109 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/core/ |
D | SkOverdrawCanvas.cpp | 149 size_t textLen = it.glyphCount() * sizeof(uint16_t); in onDrawTextBlob() local 154 this->onDrawText(it.glyphs(), textLen, x + offset.x(), y + offset.y(), runPaint); in onDrawTextBlob() 157 this->drawPosTextCommon(it.glyphs(), textLen, it.pos(), 1, in onDrawTextBlob() 161 this->drawPosTextCommon(it.glyphs(), textLen, it.pos(), 2, SkPoint::Make(x, y), in onDrawTextBlob()
|
D | SkDevice.cpp | 145 size_t textLen = it.glyphCount() * sizeof(uint16_t); in drawTextBlob() local 161 this->drawText(it.glyphs(), textLen, x + offset.x(), y + offset.y(), runPaint); in drawTextBlob() 164 this->drawPosText(it.glyphs(), textLen, it.pos(), 1, in drawTextBlob() 168 this->drawPosText(it.glyphs(), textLen, it.pos(), 2, in drawTextBlob()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | TextTrieMap.java | 334 int textLen = text.length - offset; in lenMatches() local 335 int limit = _text.length < textLen ? _text.length : textLen; in lenMatches()
|
D | SimpleFilteredSentenceBreakIterator.java | 134 final int textLen = text.getLength(); in internalNext() local 136 while (n != BreakIterator.DONE && n != textLen) { in internalNext()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | TextTrieMap.java | 332 int textLen = text.length - offset; in lenMatches() local 333 int limit = _text.length < textLen ? _text.length : textLen; in lenMatches()
|
D | SimpleFilteredSentenceBreakIterator.java | 132 final int textLen = text.getLength(); in internalNext() local 134 while (n != BreakIterator.DONE && n != textLen) { in internalNext()
|