Searched defs:byteLen (Results 1 - 4 of 4) sorted by relevance
/external/google-tv-pairing-protocol/java/src/com/google/polo/wire/xml/ |
H A D | XmlMessageWrapper.java | 219 * Converts a string to a byte sequence of exactly byteLen bytes, 222 * @param byteLen the size of the byte array to return 225 public static final byte[] stringToBytesPadded(String string, int byteLen) { argument 226 byte[] outBuf = new byte[byteLen];
|
/external/lzma/CPP/Common/ |
H A D | MyCom.h | 127 int byteLen = ::SysStringByteLen(m_str);
local 128 BSTR res = ::SysAllocStringByteLen(NULL, byteLen);
129 memcpy(res, m_str, byteLen);
|
/external/skia/src/utils/ |
H A D | SkDumpCanvas.cpp | 140 static void toString(const void* text, size_t byteLen, SkPaint::TextEncoding enc, argument 145 str->appendf("\"%.*s\"%s", (int)SkTMax<size_t>(byteLen, 32), (const char*) text, 146 byteLen > 32 ? "..." : ""); 149 str->appendf("\"%.*ls\"%s", (int)SkTMax<size_t>(byteLen, 32), (const wchar_t*) text, 150 byteLen > 64 ? "..." : ""); 153 str->appendf("\"%.*ls\"%s", (int)SkTMax<size_t>(byteLen, 32), (const wchar_t*) text, 154 byteLen > 128 ? "..." : "");
|
/external/skia/src/device/xps/ |
H A D | SkXPSDevice.cpp | 2121 const void* text, size_t byteLen, 2124 if (byteLen < 1) return; 2128 paint.getTextPath(text, byteLen, x, y, &path); 2140 text_draw_init(paint, text, byteLen, *typeface->glyphsUsed, myDraw, procs); 2142 myDraw.drawText(static_cast<const char*>(text), byteLen, x, y, paint); local 2170 const void* text, size_t byteLen, 2173 if (byteLen < 1) return; 2190 text_draw_init(paint, text, byteLen, *typeface->glyphsUsed, myDraw, procs); 2192 myDraw.drawPosText(static_cast<const char*>(text), byteLen, pos, scalarsPerPos, offset, paint); local 2120 drawText(const SkDraw& d, const void* text, size_t byteLen, SkScalar x, SkScalar y, const SkPaint& paint) argument 2169 drawPosText(const SkDraw& d, const void* text, size_t byteLen, const SkScalar pos[], int scalarsPerPos, const SkPoint& offset, const SkPaint& paint) argument
|
Completed in 225 milliseconds