Searched refs:utf8 (Results 1 - 8 of 8) sorted by relevance

/PHP_TRUNK/ext/pcre/pcrelib/
H A Dpcre_printint.src75 print_char(FILE *f, uschar *ptr, BOOL utf8)
80 utf8 = utf8; /* Avoid compiler warning */
85 if (!utf8 || (c & 0xc0) != 0xc0)
159 BOOL utf8;
178 utf8 = (options & PCRE_UTF8) != 0;
226 code += 1 + print_char(f, code, utf8);
237 code += 1 + print_char(f, code, utf8);
326 else extra = print_char(f, code+1, utf8);
335 extra = print_char(f, code+3, utf8);
[all...]
H A Dpcredemo.c62 int utf8; local
267 utf8 = option_bits & PCRE_UTF8;
345 else if (utf8) /* Otherwise, ensure we */
/PHP_TRUNK/ext/json/
H A Dutf8_decode.c59 get(json_utf8_decode *utf8) argument
62 if (utf8->the_index >= utf8->the_length) {
65 c = utf8->the_input[utf8->the_index] & 0xFF;
66 utf8->the_index += 1;
76 cont(json_utf8_decode *utf8) argument
78 int c = get(utf8);
87 utf8_decode_init(json_utf8_decode *utf8, char p[], int length) argument
89 utf8
101 utf8_decode_at_byte(json_utf8_decode *utf8) argument
112 utf8_decode_at_character(json_utf8_decode *utf8) argument
125 utf8_decode_next(json_utf8_decode *utf8) argument
[all...]
H A Dutf8_decode.h15 extern int utf8_decode_at_byte(json_utf8_decode *utf8);
16 extern int utf8_decode_at_character(json_utf8_decode *utf8);
17 extern void utf8_decode_init(json_utf8_decode *utf8, char p[], int length);
18 extern int utf8_decode_next(json_utf8_decode *utf8);
H A Djson.c363 static int json_utf8_to_utf16(unsigned short *utf16, char utf8[], int len) /* {{{ */ argument
369 /* really convert the utf8 string */
371 us = php_next_utf8_char((const unsigned char *)utf8, len, &pos, &status);
385 /* Only check if utf8 string is valid, and compute utf16 lenght */
387 us = php_next_utf8_char((const unsigned char *)utf8, len, &pos, &status);
/PHP_TRUNK/ext/mbstring/oniguruma/win32/
H A DMakefile48 encobjs = $(encdir)\ascii.obj $(encdir)\utf8.obj \
113 $(encdir)\utf8.obj: $(encdir)\utf8.c regenc.h config.h
187 $(CP) enc\utf8.c $(RUBYDIR)
/PHP_TRUNK/ext/sqlite3/libsqlite/
H A Dsqlite3.c66839 Mem utf8; local
145514 const int utf8 = SQLITE_UTF8; local
[all...]
/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd_charset.c27 /* {{{ utf8 functions */
59 return 0; /* invalid utf8 character */
98 return 0; /* invalid utf8 character */
132 return 0; /* invalid utf8 character */
152 static unsigned int mysqlnd_mbcharlen_utf8mb3(unsigned int utf8) argument
154 if (utf8 < 0x80) {
157 if (utf8 < 0xC2) {
160 if (utf8 < 0xE0) {
163 if (utf8 < 0xF0) {
170 static unsigned int mysqlnd_mbcharlen_utf8(unsigned int utf8) argument
[all...]

Completed in 173 milliseconds