Lines Matching refs:next
183 unsigned char next; in get_next_char() local
187 next = str[pos + 1]; in get_next_char()
189 if ((next >= 0x40 && next <= 0x7E) || in get_next_char()
190 (next >= 0xA1 && next <= 0xFE)) { in get_next_char()
191 this_char = (c << 8) | next; in get_next_char()
207 unsigned char next; in get_next_char() local
211 next = str[pos + 1]; in get_next_char()
213 if ((next >= 0x40 && next <= 0x7E) || in get_next_char()
214 (next >= 0xA1 && next <= 0xFE)) { in get_next_char()
215 this_char = (c << 8) | next; in get_next_char()
216 } else if (next != 0x80 && next != 0xFF) { in get_next_char()
233 unsigned char next; in get_next_char() local
237 next = str[pos + 1]; in get_next_char()
239 if (gb2312_trail(next)) { in get_next_char()
240 this_char = (c << 8) | next; in get_next_char()
241 } else if (gb2312_lead(next)) { in get_next_char()
260 unsigned char next; in get_next_char() local
264 next = str[pos + 1]; in get_next_char()
266 if (sjis_trail(next)) { in get_next_char()
267 this_char = (c << 8) | next; in get_next_char()
268 } else if (sjis_lead(next)) { in get_next_char()
288 unsigned next; in get_next_char() local
291 next = str[pos + 1]; in get_next_char()
293 if (next >= 0xA1 && next <= 0xFE) { in get_next_char()
295 this_char = (c << 8) | next; in get_next_char()
297 MB_FAILURE(pos, (next != 0xA0 && next != 0xFF) ? 1 : 2); in get_next_char()
301 unsigned next; in get_next_char() local
305 next = str[pos + 1]; in get_next_char()
306 if (next >= 0xA1 && next <= 0xDF) { in get_next_char()
308 this_char = (c << 8) | next; in get_next_char()
310 MB_FAILURE(pos, (next != 0xA0 && next != 0xFF) ? 1 : 2); in get_next_char()
944 const char *next = NULL; /* when set, next > p, otherwise possible inf loop */ in traverse_for_entities() local
961 next = &p[2]; in traverse_for_entities()
962 if (process_numeric_entity(&next, &code) == FAILURE) in traverse_for_entities()
982 next = &p[1]; in traverse_for_entities()
983 start = next; in traverse_for_entities()
985 if (process_named_entity_html(&next, &start, &ent_len) == FAILURE) in traverse_for_entities()
1000 assert(*next == ';'); in traverse_for_entities()
1021 p = next + 1; in traverse_for_entities()
1025 for (; p < next; p++) { in traverse_for_entities()
1394 *next = start; in php_escape_html_entities_ex() local
1397 if (process_named_entity_html(&next, &start, &ent_len) == FAILURE) in php_escape_html_entities_ex()