Lines Matching refs:start

710 static inline int process_named_entity_html(const char **buf, const char **start, size_t *length)  in process_named_entity_html()  argument
712 *start = *buf; in process_named_entity_html()
729 *length = *buf - *start; in process_named_entity_html()
739 static int resolve_named_entity_html(const char *start, size_t length, const entity_ht *ht, unsigne… in resolve_named_entity_html() argument
742 zend_ulong hash = zend_inline_hash_func(start, length); in resolve_named_entity_html()
747 if (memcmp(start, s->entity, length) == 0) { in resolve_named_entity_html()
873 const char *start; in traverse_for_entities() local
877 start = next; in traverse_for_entities()
879 if (process_named_entity_html(&next, &start, &ent_len) == FAILURE) in traverse_for_entities()
882 if (resolve_named_entity_html(start, ent_len, inv_map, &code, &code2) == FAILURE) { in traverse_for_entities()
883 if (doctype == ENT_HTML_DOC_XHTML && ent_len == 4 && start[0] == 'a' in traverse_for_entities()
884 && start[1] == 'p' && start[2] == 'o' && start[3] == 's') { in traverse_for_entities()
1277 const char *start = (const char *) &old[cursor], in php_escape_html_entities_ex() local
1278 *next = start; in php_escape_html_entities_ex()
1281 if (process_named_entity_html(&next, &start, &ent_len) == FAILURE) in php_escape_html_entities_ex()
1283 if (resolve_named_entity_html(start, ent_len, inv_map, &dummy1, &dummy2) == FAILURE) { in php_escape_html_entities_ex()
1284 if (!(doctype == ENT_HTML_DOC_XHTML && ent_len == 4 && start[0] == 'a' in php_escape_html_entities_ex()
1285 && start[1] == 'p' && start[2] == 'o' && start[3] == 's')) { in php_escape_html_entities_ex()