Searched refs:oldlen (Results 1 – 3 of 3) sorted by relevance
/PHP-8.3/ext/standard/ |
H A D | html.h | 47 PHPAPI zend_string *php_escape_html_entities(const unsigned char *old, size_t oldlen, int all, int … 48 PHPAPI zend_string *php_escape_html_entities_ex(const unsigned char *old, size_t oldlen, int all, i…
|
H A D | html.c | 818 #define TRAVERSE_FOR_ENTITIES_EXPAND_SIZE(oldlen) ((oldlen) + (oldlen) / 5 + 2) argument 821 size_t oldlen, in traverse_for_entities() argument 833 lim = old + oldlen; /* terminator address */ in traverse_for_entities() 1029 size_t oldlen, in find_entity_for_char() argument 1052 if (!(*cursor < oldlen)) in find_entity_for_char() 1055 next_char = get_next_char(charset, old, oldlen, cursor, &status); in find_entity_for_char() 1146 if (oldlen < 64) { in php_escape_html_entities_ex() 1149 maxlen = zend_safe_addmult(oldlen, 2, 0, "html_entities"); in php_escape_html_entities_ex() 1155 while (cursor < oldlen) { in php_escape_html_entities_ex() 1160 unsigned int this_char = get_next_char(charset, old, oldlen, &cursor, &status); in php_escape_html_entities_ex() [all …]
|
H A D | string.c | 63 static zend_string *php_bin2hex(const unsigned char *old, const size_t oldlen) in php_bin2hex() argument 68 result = zend_string_safe_alloc(oldlen, 2 * sizeof(char), 0, 0); in php_bin2hex() 70 for (i = j = 0; i < oldlen; i++) { in php_bin2hex() 81 static zend_string *php_hex2bin(const unsigned char *old, const size_t oldlen) in php_hex2bin() argument 83 size_t target_length = oldlen >> 1; in php_hex2bin()
|
Completed in 51 milliseconds