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