Lines Matching refs:us
339 unsigned int us; in php_json_escape_string() local
377 us = (unsigned char)s[pos]; in php_json_escape_string()
378 if (EXPECTED(!ZEND_BIT_TEST(charmap, us))) { in php_json_escape_string()
391 us = (unsigned char)s[0]; in php_json_escape_string()
392 if (UNEXPECTED(us >= 0x80)) { in php_json_escape_string()
394 us = php_next_utf8_char((unsigned char *)s, len, &pos, &status); in php_json_escape_string()
421 || us < 0x2028 || us > 0x2029)) { in php_json_escape_string()
425 if (us >= 0x10000) { in php_json_escape_string()
428 us -= 0x10000; in php_json_escape_string()
429 next_us = (unsigned short)((us & 0x3ff) | 0xdc00); in php_json_escape_string()
430 us = (unsigned short)((us >> 10) | 0xd800); in php_json_escape_string()
434 dst[2] = digits[(us >> 12) & 0xf]; in php_json_escape_string()
435 dst[3] = digits[(us >> 8) & 0xf]; in php_json_escape_string()
436 dst[4] = digits[(us >> 4) & 0xf]; in php_json_escape_string()
437 dst[5] = digits[us & 0xf]; in php_json_escape_string()
438 us = next_us; in php_json_escape_string()
443 dst[2] = digits[(us >> 12) & 0xf]; in php_json_escape_string()
444 dst[3] = digits[(us >> 8) & 0xf]; in php_json_escape_string()
445 dst[4] = digits[(us >> 4) & 0xf]; in php_json_escape_string()
446 dst[5] = digits[us & 0xf]; in php_json_escape_string()
453 switch (us) { in php_json_escape_string()
527 ZEND_ASSERT(us < ' '); in php_json_escape_string()
533 dst[4] = digits[(us >> 4) & 0xf]; in php_json_escape_string()
534 dst[5] = digits[us & 0xf]; in php_json_escape_string()