Searched refs:byteLen (Results 1 – 5 of 5) sorted by relevance
/external/skia/src/utils/ |
D | SkDumpCanvas.cpp | 140 static void toString(const void* text, size_t byteLen, SkPaint::TextEncoding enc, in toString() argument 145 str->appendf("\"%.*s\"%s", (int)SkTMax<size_t>(byteLen, 32), (const char*) text, in toString() 146 byteLen > 32 ? "..." : ""); in toString() 149 str->appendf("\"%.*ls\"%s", (int)SkTMax<size_t>(byteLen, 32), (const wchar_t*) text, in toString() 150 byteLen > 64 ? "..." : ""); in toString() 153 str->appendf("\"%.*ls\"%s", (int)SkTMax<size_t>(byteLen, 32), (const wchar_t*) text, in toString() 154 byteLen > 128 ? "..." : ""); in toString()
|
/external/lzma/CPP/Common/ |
D | MyCom.h | 123 int byteLen = ::SysStringByteLen(m_str); in MyCopy() local 124 BSTR res = ::SysAllocStringByteLen(NULL, byteLen); in MyCopy() 125 memcpy(res, m_str, byteLen); in MyCopy()
|
/external/google-tv-pairing-protocol/java/src/com/google/polo/wire/xml/ |
D | XmlMessageWrapper.java | 225 public static final byte[] stringToBytesPadded(String string, int byteLen) { in stringToBytesPadded() argument 226 byte[] outBuf = new byte[byteLen]; in stringToBytesPadded()
|
/external/skia/src/svg/ |
D | SkSVGDevice.cpp | 117 SVGTextBuilder(const void* text, size_t byteLen, const SkPaint& paint, const SkPoint& offset, in SVGTextBuilder() argument 127 int count = paint.countText(text, byteLen); in SVGTextBuilder() 131 SkASSERT(count * sizeof(uint16_t) == byteLen); in SVGTextBuilder() 143 SkASSERT(reinterpret_cast<const char*>(text) + byteLen == c8); in SVGTextBuilder() 150 SkASSERT(SkIsAlign2(byteLen)); in SVGTextBuilder() 151 SkASSERT(reinterpret_cast<const uint16_t*>(text) + (byteLen / 2) == c16); in SVGTextBuilder() 154 SkASSERT(count * sizeof(uint32_t) == byteLen); in SVGTextBuilder()
|
/external/skia/src/device/xps/ |
D | SkXPSDevice.cpp | 2107 const void* text, size_t byteLen, in drawText() argument 2110 if (byteLen < 1) return; in drawText() 2114 paint.getTextPath(text, byteLen, x, y, &path); in drawText() 2133 static_cast<const char*>(text), byteLen)); in drawText() 2138 paint.getTextEncoding(), static_cast<const char*>(text), byteLen, in drawText() 2166 const void* text, size_t byteLen, in drawPosText() argument 2169 if (byteLen < 1) return; in drawPosText() 2193 static_cast<const char*>(text), byteLen)); in drawPosText() 2198 paint.getTextEncoding(), static_cast<const char*>(text), byteLen, in drawPosText()
|