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

/PHP_TRUNK/ext/zip/lib/
H A Dzip_utf-8.c179 _zip_unicode_to_utf8_len(zip_uint32_t codepoint) argument
181 if (codepoint < 0x0080)
183 if (codepoint < 0x0800)
185 if (codepoint < 0x10000)
192 _zip_unicode_to_utf8(zip_uint32_t codepoint, zip_uint8_t *buf) argument
194 if (codepoint < 0x0080) {
195 buf[0] = codepoint & 0xff;
198 if (codepoint < 0x0800) {
199 buf[0] = (zip_uint8_t)(UTF_8_LEN_2_MATCH | ((codepoint >> 6) & 0x1f));
200 buf[1] = (zip_uint8_t)(UTF_8_CONTINUE_MATCH | (codepoint
[all...]
/PHP_TRUNK/Zend/
H A Dzend_language_scanner.c970 /* UTF-8 codepoint escape, format: /\\u\{\x+\}/ */
977 unsigned long codepoint; local
1014 "Invalid UTF-8 codepoint escape sequence", E_PARSE);
1020 codepoint = strtoul(start + 1, NULL, 16);
1023 if (codepoint > 0x10FFFF || errno) {
1025 "Invalid UTF-8 codepoint escape sequence: Codepoint too large", E_PARSE);
1031 if (codepoint < 0x80) {
1033 *t++ = codepoint;
1034 } else if (codepoint <= 0x7FF) {
1036 *t++ = (codepoint >>
[all...]

Completed in 19 milliseconds