Searched refs:high_val (Results 1 – 2 of 2) sorted by relevance
392 Py_UCS4 high_val = PyUnicode_AS_UNICODE(x)[0];393 if (high_val >= 0xD800 && high_val <= 0xDBFF) {396 return 0x10000 + (((high_val & ((1<<10)-1)) << 10) | (low_val & ((1<<10)-1)));
95 Py_UNICODE high_val, low_val; in __Pyx_PyUnicodeBufferContainsUCS4() local96 high_val = (Py_UNICODE) (0xD800 | (((character - 0x10000) >> 10) & ((1<<10)-1))); in __Pyx_PyUnicodeBufferContainsUCS4()99 if (unlikely(high_val == pos[0]) & unlikely(low_val == pos[1])) return 1; in __Pyx_PyUnicodeBufferContainsUCS4()