Searched defs:codepoint (Results 1 - 2 of 2) sorted by relevance

/PHP_TRUNK/ext/zip/lib/
H A Dzip_utf-8.c187 _zip_unicode_to_utf8_len(zip_uint32_t codepoint)
189 if (codepoint < 0x0080)
191 if (codepoint < 0x0800)
193 if (codepoint < 0x10000)
202 _zip_unicode_to_utf8(zip_uint32_t codepoint, zip_uint8_t *buf)
204 if (codepoint < 0x0080) {
205 buf[0] = codepoint & 0xff;
208 if (codepoint < 0x0800) {
209 buf[0] = UTF_8_LEN_2_MATCH | ((codepoint >> 6) & 0x1f);
210 buf[1] = UTF_8_CONTINUE_MATCH | (codepoint
183 _zip_unicode_to_utf8_len(zip_uint32_t codepoint) argument
197 _zip_unicode_to_utf8(zip_uint32_t codepoint, zip_uint8_t *buf) argument
[all...]
/PHP_TRUNK/Zend/
H A Dzend_language_scanner.c946 /* UTF-8 codepoint escape, format: /\\u\{\x+\}/ */
953 unsigned long codepoint; local
989 zend_error(E_COMPILE_ERROR, "Invalid UTF-8 codepoint escape sequence");
993 codepoint = strtoul(start + 1, NULL, 16);
996 if (codepoint > 0x10FFFF || errno) {
997 zend_error_noreturn(E_COMPILE_ERROR, "Invalid UTF-8 codepoint escape sequence: Codepoint too large");
1001 if (codepoint < 0x80) {
1003 *t++ = codepoint;
1004 } else if (codepoint <= 0x7FF) {
1006 *t++ = (codepoint >>
[all...]

Completed in 4 milliseconds