Lines Matching refs:UcnVal

276                              uint32_t &UcnVal, unsigned short &UcnLen,  in ProcessUCNEscape()  argument
296 UcnVal <<= 4; in ProcessUCNEscape()
297 UcnVal |= CharVal; in ProcessUCNEscape()
308 if ((0xD800 <= UcnVal && UcnVal <= 0xDFFF) || // surrogate codepoints in ProcessUCNEscape()
309 UcnVal > 0x10FFFF) { // maximum legal UTF32 value in ProcessUCNEscape()
318 if (UcnVal < 0xa0 && in ProcessUCNEscape()
319 (UcnVal != 0x24 && UcnVal != 0x40 && UcnVal != 0x60)) { // $, @, ` in ProcessUCNEscape()
322 char BasicSCSChar = UcnVal; in ProcessUCNEscape()
323 if (UcnVal >= 0x20 && UcnVal < 0x7f) in ProcessUCNEscape()
353 uint32_t UcnVal = 0; in MeasureUCNEscape() local
357 if (!ProcessUCNEscape(ThisTokBegin, ThisTokBuf, ThisTokEnd, UcnVal, in MeasureUCNEscape()
365 return UcnVal <= 0xFFFF ? 2 : 4; in MeasureUCNEscape()
368 if (UcnVal < 0x80) in MeasureUCNEscape()
370 if (UcnVal < 0x800) in MeasureUCNEscape()
372 if (UcnVal < 0x10000) in MeasureUCNEscape()
388 UTF32 UcnVal = 0; in EncodeUCNEscape() local
390 if (!ProcessUCNEscape(ThisTokBegin, ThisTokBuf, ThisTokEnd, UcnVal, UcnLen, in EncodeUCNEscape()
406 *ResultPtr = UcnVal; in EncodeUCNEscape()
416 if (UcnVal <= (UTF32)0xFFFF) { in EncodeUCNEscape()
417 *ResultPtr = UcnVal; in EncodeUCNEscape()
423 UcnVal -= 0x10000; in EncodeUCNEscape()
424 *ResultPtr = 0xD800 + (UcnVal >> 10); in EncodeUCNEscape()
425 *(ResultPtr+1) = 0xDC00 + (UcnVal & 0x3FF); in EncodeUCNEscape()
439 if (UcnVal < (UTF32)0x80) in EncodeUCNEscape()
441 else if (UcnVal < (UTF32)0x800) in EncodeUCNEscape()
443 else if (UcnVal < (UTF32)0x10000) in EncodeUCNEscape()
460 *--ResultBuf = (UTF8)((UcnVal | byteMark) & byteMask); UcnVal >>= 6; in EncodeUCNEscape()
463 *--ResultBuf = (UTF8)((UcnVal | byteMark) & byteMask); UcnVal >>= 6; in EncodeUCNEscape()
466 *--ResultBuf = (UTF8)((UcnVal | byteMark) & byteMask); UcnVal >>= 6; in EncodeUCNEscape()
469 *--ResultBuf = (UTF8) (UcnVal | firstByteMark[bytesToWrite]); in EncodeUCNEscape()