Lines Matching refs:codepoint
985 unsigned long codepoint; in zend_scan_escape_string() local
1028 codepoint = strtoul(start + 1, NULL, 16); in zend_scan_escape_string()
1031 if (codepoint > 0x10FFFF || errno) { in zend_scan_escape_string()
1040 if (codepoint < 0x80) { in zend_scan_escape_string()
1041 *t++ = codepoint; in zend_scan_escape_string()
1042 } else if (codepoint <= 0x7FF) { in zend_scan_escape_string()
1043 *t++ = (codepoint >> 6) + 0xC0; in zend_scan_escape_string()
1044 *t++ = (codepoint & 0x3F) + 0x80; in zend_scan_escape_string()
1045 } else if (codepoint <= 0xFFFF) { in zend_scan_escape_string()
1046 *t++ = (codepoint >> 12) + 0xE0; in zend_scan_escape_string()
1047 *t++ = ((codepoint >> 6) & 0x3F) + 0x80; in zend_scan_escape_string()
1048 *t++ = (codepoint & 0x3F) + 0x80; in zend_scan_escape_string()
1049 } else if (codepoint <= 0x10FFFF) { in zend_scan_escape_string()
1050 *t++ = (codepoint >> 18) + 0xF0; in zend_scan_escape_string()
1051 *t++ = ((codepoint >> 12) & 0x3F) + 0x80; in zend_scan_escape_string()
1052 *t++ = ((codepoint >> 6) & 0x3F) + 0x80; in zend_scan_escape_string()
1053 *t++ = (codepoint & 0x3F) + 0x80; in zend_scan_escape_string()