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

/PHP_TRUNK/ext/standard/
H A Dhtml.c75 #define utf8_lead(c) ((c) < 0x80 || ((c) >= 0xC2 && (c) <= 0xF4)) macro
136 MB_FAILURE(pos, utf8_lead(str[pos + 1]) ? 1 : 2);
148 if (avail < 2 || utf8_lead(str[pos + 1]))
150 else if (avail < 3 || utf8_lead(str[pos + 2]))
169 if (avail < 2 || utf8_lead(str[pos + 1]))
171 else if (avail < 3 || utf8_lead(str[pos + 2]))
173 else if (avail < 4 || utf8_lead(str[pos + 3]))

Completed in 9 milliseconds