Home
last modified time | relevance | path

Searched refs:ch2 (Results 1 – 7 of 7) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Parser/
Dtokenizer.c328 int ch1, ch2, ch3; in check_bom() local
334 ch2 = get_char(tok); in check_bom()
335 if (ch2 != 0xBB) { in check_bom()
336 unget_char(ch2, tok); in check_bom()
343 unget_char(ch2, tok); in check_bom()
351 ch2 = get_char(tok); in check_bom()
352 if (ch2 != 0xFF) { in check_bom()
353 unget_char(ch2, tok); in check_bom()
361 ch2 = get_char(tok); in check_bom()
362 if (ch2 != 0xFE) { in check_bom()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Parser/
Dtokenizer.c314 int ch1, ch2, ch3; in check_bom() local
320 ch2 = get_char(tok); in check_bom()
321 if (ch2 != 0xBB) { in check_bom()
322 unget_char(ch2, tok); in check_bom()
329 unget_char(ch2, tok); in check_bom()
337 ch2 = get_char(tok); in check_bom()
338 if (ch2 != 0xFF) { in check_bom()
339 unget_char(ch2, tok); in check_bom()
347 ch2 = get_char(tok); in check_bom()
348 if (ch2 != 0xFE) { in check_bom()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
Dunicodeobject.c2197 Py_UCS4 ch2 = s[i]; in PyUnicode_EncodeUTF8() local
2200 if (0xDC00 <= ch2 && ch2 <= 0xDFFF) { in PyUnicode_EncodeUTF8()
2201 ch = ((ch - 0xD800) << 10 | (ch2 - 0xDC00)) + 0x10000; in PyUnicode_EncodeUTF8()
2497 Py_UCS4 ch2 = *s; in PyUnicode_EncodeUTF32() local
2498 if (0xDC00 <= ch2 && ch2 <= 0xDFFF) { in PyUnicode_EncodeUTF32()
2499 ch = (((ch & 0x3FF)<<10) | (ch2 & 0x3FF)) + 0x10000; in PyUnicode_EncodeUTF32()
2648 Py_UNICODE ch2 = (q[ihi] << 8) | q[ilo]; in PyUnicode_DecodeUTF16Stateful() local
2650 if (0xDC00 <= ch2 && ch2 <= 0xDFFF) { in PyUnicode_DecodeUTF16Stateful()
2653 *p++ = ch2; in PyUnicode_DecodeUTF16Stateful()
2655 *p++ = (((ch & 0x3FF)<<10) | (ch2 & 0x3FF)) + 0x10000; in PyUnicode_DecodeUTF16Stateful()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
Dunicodeobject.c2130 Py_UCS4 ch2 = s[i]; in PyUnicode_EncodeUTF8() local
2133 if (0xDC00 <= ch2 && ch2 <= 0xDFFF) { in PyUnicode_EncodeUTF8()
2134 ch = ((ch - 0xD800) << 10 | (ch2 - 0xDC00)) + 0x10000; in PyUnicode_EncodeUTF8()
2430 Py_UCS4 ch2 = *s; in PyUnicode_EncodeUTF32() local
2431 if (0xDC00 <= ch2 && ch2 <= 0xDFFF) { in PyUnicode_EncodeUTF32()
2432 ch = (((ch & 0x3FF)<<10) | (ch2 & 0x3FF)) + 0x10000; in PyUnicode_EncodeUTF32()
2578 Py_UNICODE ch2 = (q[ihi] << 8) | q[ilo]; in PyUnicode_DecodeUTF16Stateful() local
2580 if (0xDC00 <= ch2 && ch2 <= 0xDFFF) { in PyUnicode_DecodeUTF16Stateful()
2583 *p++ = ch2; in PyUnicode_DecodeUTF16Stateful()
2585 *p++ = (((ch & 0x3FF)<<10) | (ch2 & 0x3FF)) + 0x10000; in PyUnicode_DecodeUTF16Stateful()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/gdb/
Dlibpython.py1023 ch2 = 0xDC00 | (x & 0x3FF)
1024 return unichr(ch1) + unichr(ch2)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
DcPickle.c1357 Py_UNICODE ch2; in modified_EncodeRawUnicodeEscape()
1360 ch2 = *s++; in modified_EncodeRawUnicodeEscape()
1362 if (ch2 >= 0xDC00 && ch2 <= 0xDFFF) { in modified_EncodeRawUnicodeEscape()
1363 ucs = (((ch & 0x03FF) << 10) | (ch2 & 0x03FF)) + 0x00010000; in modified_EncodeRawUnicodeEscape()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
DcPickle.c1326 Py_UNICODE ch2; in modified_EncodeRawUnicodeEscape()
1329 ch2 = *s++; in modified_EncodeRawUnicodeEscape()
1331 if (ch2 >= 0xDC00 && ch2 <= 0xDFFF) { in modified_EncodeRawUnicodeEscape()
1332 ucs = (((ch & 0x03FF) << 10) | (ch2 & 0x03FF)) + 0x00010000; in modified_EncodeRawUnicodeEscape()