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