Lines Matching refs:UcnVal

263                              uint32_t &UcnVal, unsigned short &UcnLen,  in ProcessUCNEscape()  argument
283 UcnVal <<= 4; in ProcessUCNEscape()
284 UcnVal |= CharVal; in ProcessUCNEscape()
295 if ((0xD800 <= UcnVal && UcnVal <= 0xDFFF) || // surrogate codepoints in ProcessUCNEscape()
296 UcnVal > 0x10FFFF) { // maximum legal UTF32 value in ProcessUCNEscape()
305 if (UcnVal < 0xa0 && in ProcessUCNEscape()
306 (UcnVal != 0x24 && UcnVal != 0x40 && UcnVal != 0x60)) { // $, @, ` in ProcessUCNEscape()
309 char BasicSCSChar = UcnVal; in ProcessUCNEscape()
310 if (UcnVal >= 0x20 && UcnVal < 0x7f) in ProcessUCNEscape()
340 uint32_t UcnVal = 0; in MeasureUCNEscape() local
344 if (!ProcessUCNEscape(ThisTokBegin, ThisTokBuf, ThisTokEnd, UcnVal, in MeasureUCNEscape()
352 return UcnVal <= 0xFFFF ? 2 : 4; in MeasureUCNEscape()
355 if (UcnVal < 0x80) in MeasureUCNEscape()
357 if (UcnVal < 0x800) in MeasureUCNEscape()
359 if (UcnVal < 0x10000) in MeasureUCNEscape()
375 UTF32 UcnVal = 0; in EncodeUCNEscape() local
377 if (!ProcessUCNEscape(ThisTokBegin, ThisTokBuf, ThisTokEnd, UcnVal, UcnLen, in EncodeUCNEscape()
393 *ResultPtr = UcnVal; in EncodeUCNEscape()
403 if (UcnVal <= (UTF32)0xFFFF) { in EncodeUCNEscape()
404 *ResultPtr = UcnVal; in EncodeUCNEscape()
410 UcnVal -= 0x10000; in EncodeUCNEscape()
411 *ResultPtr = 0xD800 + (UcnVal >> 10); in EncodeUCNEscape()
412 *(ResultPtr+1) = 0xDC00 + (UcnVal & 0x3FF); in EncodeUCNEscape()
426 if (UcnVal < (UTF32)0x80) in EncodeUCNEscape()
428 else if (UcnVal < (UTF32)0x800) in EncodeUCNEscape()
430 else if (UcnVal < (UTF32)0x10000) in EncodeUCNEscape()
446 case 4: *--ResultBuf = (UTF8)((UcnVal | byteMark) & byteMask); UcnVal >>= 6; in EncodeUCNEscape()
447 case 3: *--ResultBuf = (UTF8)((UcnVal | byteMark) & byteMask); UcnVal >>= 6; in EncodeUCNEscape()
448 case 2: *--ResultBuf = (UTF8)((UcnVal | byteMark) & byteMask); UcnVal >>= 6; in EncodeUCNEscape()
449 case 1: *--ResultBuf = (UTF8) (UcnVal | firstByteMark[bytesToWrite]); in EncodeUCNEscape()