Lines Matching refs:wc
270 unsigned int wc; in utf8asn1str() local
308 wc = 0; in utf8asn1str()
311 wc = (wc << 8) | *(const unsigned char *) from++; in utf8asn1str()
312 wc = (wc << 8) | *(const unsigned char *) from++; in utf8asn1str()
315 wc = (wc << 8) | *(const unsigned char *) from++; in utf8asn1str()
318 wc = (wc << 8) | *(const unsigned char *) from++; in utf8asn1str()
321 if(wc >= 0x00000080) { in utf8asn1str()
322 if(wc >= 0x00000800) { in utf8asn1str()
323 if(wc >= 0x00010000) { in utf8asn1str()
324 if(wc >= 0x00200000) { in utf8asn1str()
328 buf[outlength + 3] = (char) (0x80 | (wc & 0x3F)); in utf8asn1str()
329 wc = (wc >> 6) | 0x00010000; in utf8asn1str()
332 buf[outlength + 2] = (char) (0x80 | (wc & 0x3F)); in utf8asn1str()
333 wc = (wc >> 6) | 0x00000800; in utf8asn1str()
336 buf[outlength + 1] = (char) (0x80 | (wc & 0x3F)); in utf8asn1str()
337 wc = (wc >> 6) | 0x000000C0; in utf8asn1str()
340 buf[outlength] = (char) wc; in utf8asn1str()