Home | History | Annotate | Download | only in ports

Lines Matching full:len

36 inline const char* ConvertUnicodeToChar(const short* ch16, size_t len, SkAutoMalloc& ch8Malloc) {
39 for (index = 0; index < len; index++)
49 size_t len = sk_wcslen((const short*) el);
50 SkAutoMalloc el8(len + 1);
51 el = ConvertUnicodeToChar((const short*) el, len, el8);
80 size_t len = sk_wcslen((const short*) el);
81 SkAutoMalloc el8(len + 1);
82 el = ConvertUnicodeToChar((const short*) el, len, el8);
88 static void XMLCALL text_proc(void* data, const char* text, int len)
91 SkAutoMalloc text8(len + 1);
92 text = ConvertUnicodeToChar((const short*) text, len, text8);
94 if (((SkXMLParser*)data)->text(text, len))
98 bool SkXMLParser::parse(const char doc[], size_t len)
100 if (len == 0) {
113 int error = XML_Parse(p, doc, len, true);
124 size_t len = input.read(NULL, 0);
125 SkAutoMalloc am(len);
129 size_t len2 = input.read(doc, len);
130 SkASSERT(len2 == len);