/external/skia/gm/ |
D | pdf_never_embed.cpp | 17 SkAutoTArray<SkScalar> widths(SkToInt(textLen)); 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()
|
D | dftext.cpp | 123 SkAutoTArray<SkPoint> pos(SkToInt(textLen)); in onDraw() 124 SkAutoTArray<SkScalar> widths(SkToInt(textLen)); in onDraw()
|
D | getpostextpath.cpp | 25 int len = SkToInt(strlen(text));
|
D | glyph_pos_align.cpp | 48 int length = SkToInt(strlen(text)); in drawTestCase()
|
/external/skia/src/effects/ |
D | SkPackBits.cpp | 63 dst = flush_same8(dst, value, SkToInt(s - src)); in Pack8() 74 dst = flush_diff8(dst, src, SkToInt(s - src)); in Pack8() 106 return SkToInt(dst - origDst); in Unpack8()
|
/external/skia/src/core/ |
D | SkFont.cpp | 76 count = SkUTF16_CountUnichars((const uint16_t*)text, SkToInt(byteLength >> 1)); in textToGlyphs() 79 count = SkToInt(byteLength >> 2); in textToGlyphs() 82 count = SkToInt(byteLength >> 1); in textToGlyphs()
|
D | SkRegionPriv.h | 32 return SkToInt((curr - runs) >> 1); in compute_intervalcount() 219 int runCount = SkToInt(runs - this->writable_runs() + 1); in computeRunBounds()
|
D | SkDebug.cpp | 44 int SkToInt(intmax_t x) { in SkToInt() function
|
D | SkMetaData.cpp | 94 (void)this->set(name, value, sizeof(char), kString_Type, SkToInt(strlen(value) + 1)); in setString() 108 (void)this->set(name, data, sizeof(char), kData_Type, SkToInt(byteCount)); in setData()
|
D | SkError.cpp | 121 int string_left = SkToInt(ERROR_STRING_LENGTH - strlen(str)); in SetError()
|
D | SkTime.cpp | 15 int timeZoneMinutes = SkToInt(fTimeZoneMinutes); in toISO8601()
|
D | SkString.cpp | 34 SkASSERT(written >= 0 && written < SkToInt(size)); \ 574 SkASSERT(length >= 0 && length < SkToInt(kBufferSize)); in appendVAList() 590 SkASSERT(length >= 0 && length < SkToInt(kBufferSize)); in prependVAList()
|
D | SkPictureData.cpp | 382 const int count = SkToInt(size); in parseStreamTag() 493 const int count = SkToInt(size); in parseBufferTag() 505 const int count = SkToInt(size); in parseBufferTag()
|
/external/skia/tests/ |
D | SVGDeviceTest.cpp | 46 int textLen = SkToInt(strlen(expected)); in check_text_node() 102 for (int i = 0; i < SkToInt(len); ++i) { in test_whitespace_pos() 115 for (int i = 0; i < SkToInt(len); ++i) { in test_whitespace_pos()
|
D | SkBase64Test.cpp | 23 src[SkToInt(encodeLength)] = '\0'; in DEF_TEST()
|
D | Time.cpp | 47 REPORTER_ASSERT(r, SkTAbs(SkToInt(dateTime.fTimeZoneMinutes)) <= 14 * 60); in DEF_TEST()
|
/external/skia/src/gpu/ |
D | GrPathProcessor.cpp | 24 b->add32(SkToInt(pathProc.overrides().readsColor()) | in GenKey() 25 (SkToInt(pathProc.overrides().readsCoverage()) << 1) | in GenKey() 26 (SkToInt(pathProc.viewMatrix().hasPerspective()) << 2)); in GenKey()
|
D | GrTest.cpp | 231 SkToInt(fBytes), SkToInt(fBudgetedBytes), byteUtilization, in dumpStats() 232 SkToInt(stats.fUnbudgetedSize), SkToInt(fHighWaterBytes)); in dumpStats()
|
/external/skia/src/utils/mac/ |
D | SkCreateCGImageRef.cpp | 282 const int width = scaleToFit ? scaleToFit->width() : SkToInt(CGImageGetWidth(image)); in SkCreateBitmapFromCGImage() 283 const int height = scaleToFit ? scaleToFit->height() : SkToInt(CGImageGetHeight(image)); in SkCreateBitmapFromCGImage()
|
/external/skia/samplecode/ |
D | SampleHairline.cpp | 62 if (!check_zeros(bm.getAddr32(i, 0), bm.height(), SkToInt(rb >> 2))) { in check_bitmap_margin() 67 SkToInt(rb >> 2))) { in check_bitmap_margin()
|
/external/skia/include/gpu/ |
D | GrResourceKey.h | 61 fKey.reset(SkToInt(bytes / sizeof(uint32_t))); 278 return SkToInt((innerKey.dataSize() >> 2) + 1); in Data32CntForInnerKey()
|
/external/skia/src/ports/ |
D | SkImageDecoder_CG.cpp | 154 const int width = SkToInt(CGImageGetWidth(image)); in onDecode() 155 const int height = SkToInt(CGImageGetHeight(image)); in onDecode()
|
/external/skia/src/utils/ |
D | SkLuaCanvas.cpp | 60 this->pushArrayU16((const uint16_t*)text, SkToInt(length >> 1), in pushEncodedText() 172 lua.pushArrayPoint(pts, SkToInt(count), "points"); in onDrawPoints()
|
/external/skia/include/private/ |
D | SkTDArray.h | 221 return SkToInt(iter - fArray); in find() 233 return SkToInt(iter - stop); in rfind()
|
/external/skia/tools/ |
D | skpinfo.cpp | 116 const int count = SkToInt(chunkSize); in tool_main()
|