Lines Matching refs:codepoint
1027 unsigned long codepoint; in zend_scan_escape_string() local
1070 codepoint = strtoul(start + 1, NULL, 16); in zend_scan_escape_string()
1073 if (codepoint > 0x10FFFF || errno) { in zend_scan_escape_string()
1082 if (codepoint < 0x80) { in zend_scan_escape_string()
1083 *t++ = codepoint; in zend_scan_escape_string()
1084 } else if (codepoint <= 0x7FF) { in zend_scan_escape_string()
1085 *t++ = (codepoint >> 6) + 0xC0; in zend_scan_escape_string()
1086 *t++ = (codepoint & 0x3F) + 0x80; in zend_scan_escape_string()
1087 } else if (codepoint <= 0xFFFF) { in zend_scan_escape_string()
1088 *t++ = (codepoint >> 12) + 0xE0; in zend_scan_escape_string()
1089 *t++ = ((codepoint >> 6) & 0x3F) + 0x80; in zend_scan_escape_string()
1090 *t++ = (codepoint & 0x3F) + 0x80; in zend_scan_escape_string()
1091 } else if (codepoint <= 0x10FFFF) { in zend_scan_escape_string()
1092 *t++ = (codepoint >> 18) + 0xF0; in zend_scan_escape_string()
1093 *t++ = ((codepoint >> 12) & 0x3F) + 0x80; in zend_scan_escape_string()
1094 *t++ = ((codepoint >> 6) & 0x3F) + 0x80; in zend_scan_escape_string()
1095 *t++ = (codepoint & 0x3F) + 0x80; in zend_scan_escape_string()