Lines Matching refs:outlength
252 size_t outlength; in utf8asn1str() local
290 outlength = inlength; in utf8asn1str()
291 if(outlength) in utf8asn1str()
292 memcpy(buf, from, outlength); in utf8asn1str()
295 for(outlength = 0; from < end;) { in utf8asn1str()
316 buf[outlength + 3] = (char) (0x80 | (wc & 0x3F)); in utf8asn1str()
320 buf[outlength + 2] = (char) (0x80 | (wc & 0x3F)); in utf8asn1str()
324 buf[outlength + 1] = (char) (0x80 | (wc & 0x3F)); in utf8asn1str()
328 buf[outlength] = (char) wc; in utf8asn1str()
329 outlength += charsize; in utf8asn1str()
332 buf[outlength] = '\0'; in utf8asn1str()
334 return outlength; in utf8asn1str()