Lines Matching refs:codepoint
981 unsigned long codepoint; in zend_scan_escape_string() local
1025 codepoint = strtoul(start + 1, NULL, 16); in zend_scan_escape_string()
1028 if (codepoint > 0x10FFFF || errno) { in zend_scan_escape_string()
1037 if (codepoint < 0x80) { in zend_scan_escape_string()
1039 *t++ = codepoint; in zend_scan_escape_string()
1040 } else if (codepoint <= 0x7FF) { in zend_scan_escape_string()
1042 *t++ = (codepoint >> 6) + 0xC0; in zend_scan_escape_string()
1043 *t++ = (codepoint & 0x3F) + 0x80; in zend_scan_escape_string()
1044 } 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()
1051 *t++ = (codepoint >> 18) + 0xF0; in zend_scan_escape_string()
1052 *t++ = ((codepoint >> 12) & 0x3F) + 0x80; in zend_scan_escape_string()
1053 *t++ = ((codepoint >> 6) & 0x3F) + 0x80; in zend_scan_escape_string()
1054 *t++ = (codepoint & 0x3F) + 0x80; in zend_scan_escape_string()