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

/PHP_TRUNK/ext/zip/lib/
H A Dzip_utf-8.c183 _zip_unicode_to_utf8_len(zip_uint32_t codepoint) argument
185 if (codepoint < 0x0080)
187 if (codepoint < 0x0800)
189 if (codepoint < 0x10000)
197 _zip_unicode_to_utf8(zip_uint32_t codepoint, zip_uint8_t *buf) argument
199 if (codepoint < 0x0080) {
200 buf[0] = codepoint & 0xff;
203 if (codepoint < 0x0800) {
204 buf[0] = UTF_8_LEN_2_MATCH | ((codepoint >> 6) & 0x1f);
205 buf[1] = UTF_8_CONTINUE_MATCH | (codepoint
[all...]
/PHP_TRUNK/Zend/
H A Dzend_language_scanner.c958 /* UTF-8 codepoint escape, format: /\\u\{\x+\}/ */
965 unsigned long codepoint; local
1002 "Invalid UTF-8 codepoint escape sequence", E_PARSE);
1008 codepoint = strtoul(start + 1, NULL, 16);
1011 if (codepoint > 0x10FFFF || errno) {
1013 "Invalid UTF-8 codepoint escape sequence: Codepoint too large", E_PARSE);
1019 if (codepoint < 0x80) {
1021 *t++ = codepoint;
1022 } else if (codepoint <= 0x7FF) {
1024 *t++ = (codepoint >>
[all...]

Completed in 25 milliseconds