Lines Matching refs:outlength
258 size_t outlength; in utf8asn1str() local
298 outlength = inlength; in utf8asn1str()
299 if(outlength) in utf8asn1str()
300 memcpy(buf, from, outlength); in utf8asn1str()
303 for(outlength = 0; from < end;) { in utf8asn1str()
324 buf[outlength + 3] = (char) (0x80 | (wc & 0x3F)); in utf8asn1str()
328 buf[outlength + 2] = (char) (0x80 | (wc & 0x3F)); in utf8asn1str()
332 buf[outlength + 1] = (char) (0x80 | (wc & 0x3F)); in utf8asn1str()
336 buf[outlength] = (char) wc; in utf8asn1str()
337 outlength += charsize; in utf8asn1str()
340 buf[outlength] = '\0'; in utf8asn1str()
342 return outlength; in utf8asn1str()