Lines Matching refs:wc
375 unsigned int wc = 0; in utf8asn1str() local
379 wc = (wc << 8) | *(const unsigned char *) from++; in utf8asn1str()
380 wc = (wc << 8) | *(const unsigned char *) from++; in utf8asn1str()
383 wc = (wc << 8) | *(const unsigned char *) from++; in utf8asn1str()
386 wc = (wc << 8) | *(const unsigned char *) from++; in utf8asn1str()
388 if(wc >= 0x00000080) { in utf8asn1str()
389 if(wc >= 0x00000800) { in utf8asn1str()
390 if(wc >= 0x00010000) { in utf8asn1str()
391 if(wc >= 0x00200000) { in utf8asn1str()
395 buf[3] = (char) (0x80 | (wc & 0x3F)); in utf8asn1str()
396 wc = (wc >> 6) | 0x00010000; in utf8asn1str()
399 buf[2] = (char) (0x80 | (wc & 0x3F)); in utf8asn1str()
400 wc = (wc >> 6) | 0x00000800; in utf8asn1str()
403 buf[1] = (char) (0x80 | (wc & 0x3F)); in utf8asn1str()
404 wc = (wc >> 6) | 0x000000C0; in utf8asn1str()
407 buf[0] = (char) wc; in utf8asn1str()