Home
last modified time | relevance | path

Searched refs:rep_len (Results 1 – 3 of 3) sorted by relevance

/PHP-8.4/ext/dom/lexbor/lexbor/html/tree/insertion_mode/
H A Dforeign_content.c160 static const unsigned rep_len = sizeof(lexbor_str_res_ansi_replacement_character) - 1; in lxb_html_tree_insertion_mode_foreign_content_text() local
165 if ((end - pos) < rep_len) { in lxb_html_tree_insertion_mode_foreign_content_text()
171 if (memcmp(pos, rep, sizeof(lxb_char_t) * rep_len) != 0) { in lxb_html_tree_insertion_mode_foreign_content_text()
177 pos = pos + rep_len; in lxb_html_tree_insertion_mode_foreign_content_text()
/PHP-8.4/ext/dom/lexbor/lexbor/html/
H A Dtoken.c148 static const unsigned rep_len = sizeof(lexbor_str_res_ansi_replacement_character) - 1; in lxb_html_token_make_text_replace_null() local
150 size_t len = (end - data) + (token->null_count * rep_len) - token->null_count; in lxb_html_token_make_text_replace_null()
163 memcpy(p, lexbor_str_res_ansi_replacement_character, rep_len); in lxb_html_token_make_text_replace_null()
164 p += rep_len; in lxb_html_token_make_text_replace_null()
/PHP-8.4/ext/standard/
H A Dhtml.c1184 size_t rep_len = 0; in php_escape_html_entities_ex() local
1201 &rep_len, old, oldlen, &cursor); in php_escape_html_entities_ex()
1203 find_entity_for_char_basic(this_char, entity_table.table, &rep, &rep_len); in php_escape_html_entities_ex()
1208 memcpy(&ZSTR_VAL(replaced)[len], rep, rep_len); in php_escape_html_entities_ex()
1209 len += rep_len; in php_escape_html_entities_ex()

Completed in 14 milliseconds