Home
last modified time | relevance | path

Searched refs:byteLen (Results 1 – 4 of 4) sorted by relevance

/external/skia/src/utils/
DSkDumpCanvas.cpp139 static void toString(const void* text, size_t byteLen, SkPaint::TextEncoding enc, in toString() argument
144 str->appendf("\"%.*s\"%s", (int)SkTMax<size_t>(byteLen, 32), (const char*) text, in toString()
145 byteLen > 32 ? "..." : ""); in toString()
148 str->appendf("\"%.*ls\"%s", (int)SkTMax<size_t>(byteLen, 32), (const wchar_t*) text, in toString()
149 byteLen > 64 ? "..." : ""); in toString()
152 str->appendf("\"%.*ls\"%s", (int)SkTMax<size_t>(byteLen, 32), (const wchar_t*) text, in toString()
153 byteLen > 128 ? "..." : ""); in toString()
/external/google-tv-pairing-protocol/java/src/com/google/polo/wire/xml/
DXmlMessageWrapper.java225 public static final byte[] stringToBytesPadded(String string, int byteLen) { in stringToBytesPadded() argument
226 byte[] outBuf = new byte[byteLen]; in stringToBytesPadded()
/external/skia/src/svg/
DSkSVGDevice.cpp118 SVGTextBuilder(const void* text, size_t byteLen, const SkPaint& paint, const SkPoint& offset, in SVGTextBuilder() argument
128 int count = paint.countText(text, byteLen); in SVGTextBuilder()
132 SkASSERT(count * sizeof(uint16_t) == byteLen); in SVGTextBuilder()
144 SkASSERT(reinterpret_cast<const char*>(text) + byteLen == c8); in SVGTextBuilder()
151 SkASSERT(SkIsAlign2(byteLen)); in SVGTextBuilder()
152 SkASSERT(reinterpret_cast<const uint16_t*>(text) + (byteLen / 2) == c16); in SVGTextBuilder()
155 SkASSERT(count * sizeof(uint32_t) == byteLen); in SVGTextBuilder()
/external/skia/src/xps/
DSkXPSDevice.cpp2090 void SkXPSDevice::drawText(const void* text, size_t byteLen, in drawText() argument
2093 if (byteLen < 1) return; in drawText()
2097 paint.getTextPath(text, byteLen, x, y, &path); in drawText()
2116 static_cast<const char*>(text), byteLen)); in drawText()
2121 paint.getTextEncoding(), static_cast<const char*>(text), byteLen, in drawText()
2147 void SkXPSDevice::drawPosText(const void* text, size_t byteLen, in drawPosText() argument
2150 if (byteLen < 1) return; in drawPosText()
2174 static_cast<const char*>(text), byteLen)); in drawPosText()
2179 paint.getTextEncoding(), static_cast<const char*>(text), byteLen, in drawPosText()