Lines Matching refs:cursor

67 	*cursor = pos + (advance); \
105 size_t *cursor, in get_next_char() argument
108 size_t pos = *cursor; in get_next_char()
356 *cursor = pos; in get_next_char()
366 size_t *cursor, in php_next_utf8_char() argument
369 return get_next_char(cs_utf_8, str, str_len, cursor, status); in php_next_utf8_char()
1152 size_t *cursor) in find_entity_for_char() argument
1170 size_t cursor_before = *cursor; in find_entity_for_char()
1174 if (!(*cursor < oldlen)) in find_entity_for_char()
1177 next_char = get_next_char(charset, old, oldlen, cursor, &status); in find_entity_for_char()
1198 *cursor = cursor_before; in find_entity_for_char()
1228 size_t cursor, maxlen, len; in php_escape_html_entities_ex() local
1277 cursor = 0; in php_escape_html_entities_ex()
1278 while (cursor < oldlen) { in php_escape_html_entities_ex()
1281 cursor_before = cursor; in php_escape_html_entities_ex()
1283 unsigned int this_char = get_next_char(charset, old, oldlen, &cursor, &status); in php_escape_html_entities_ex()
1306 mbseqlen = cursor - cursor_before; in php_escape_html_entities_ex()
1328 &rep_len, old, oldlen, &cursor); in php_escape_html_entities_ex()
1386 if (old[cursor] == '#') { /* numeric entity */ in php_escape_html_entities_ex()
1389 char *pos = (char*)&old[cursor+1]; in php_escape_html_entities_ex()
1397 ent_len = pos - (char*)&old[cursor]; in php_escape_html_entities_ex()
1400 const char *start = (const char *) &old[cursor], in php_escape_html_entities_ex()
1424 memcpy(&ZSTR_VAL(replaced)[len], &old[cursor], ent_len); in php_escape_html_entities_ex()
1427 cursor += ent_len + 1; in php_escape_html_entities_ex()