Lines Matching refs:cursor

57 	*cursor = pos + (advance); \
93 size_t *cursor, in get_next_char() argument
96 size_t pos = *cursor; in get_next_char()
344 *cursor = pos; in get_next_char()
354 size_t *cursor, in php_next_utf8_char() argument
357 return get_next_char(cs_utf_8, str, str_len, cursor, status); in php_next_utf8_char()
1026 size_t *cursor) in find_entity_for_char() argument
1044 size_t cursor_before = *cursor; in find_entity_for_char()
1048 if (!(*cursor < oldlen)) in find_entity_for_char()
1051 next_char = get_next_char(charset, old, oldlen, cursor, &status); in find_entity_for_char()
1072 *cursor = cursor_before; in find_entity_for_char()
1101 size_t cursor, maxlen, len; in php_escape_html_entities_ex() local
1150 cursor = 0; in php_escape_html_entities_ex()
1151 while (cursor < oldlen) { in php_escape_html_entities_ex()
1154 cursor_before = cursor; in php_escape_html_entities_ex()
1156 unsigned int this_char = get_next_char(charset, old, oldlen, &cursor, &status); in php_escape_html_entities_ex()
1179 mbseqlen = cursor - cursor_before; in php_escape_html_entities_ex()
1201 &rep_len, old, oldlen, &cursor); in php_escape_html_entities_ex()
1259 if (old[cursor] == '#') { /* numeric entity */ in php_escape_html_entities_ex()
1262 char *pos = (char*)&old[cursor+1]; in php_escape_html_entities_ex()
1270 ent_len = pos - (char*)&old[cursor]; in php_escape_html_entities_ex()
1273 const char *start = (const char *) &old[cursor], in php_escape_html_entities_ex()
1297 memcpy(&ZSTR_VAL(replaced)[len], &old[cursor], ent_len); in php_escape_html_entities_ex()
1300 cursor += ent_len + 1; in php_escape_html_entities_ex()