Searched refs:oldlen (Results 1 - 3 of 3) sorted by relevance

/PHP_5_4/ext/standard/
H A Dhtml.c923 #define TRAVERSE_FOR_ENTITIES_EXPAND_SIZE(oldlen) ((oldlen) + (oldlen) / 5 + 2)
926 size_t oldlen,
939 lim = old + oldlen; /* terminator address */
1086 PHPAPI char *php_unescape_html_entities(unsigned char *old, size_t oldlen, size_t *newlen, int all, int flags, char *hint_charset TSRMLS_DC) argument
1092 size_t new_size = TRAVERSE_FOR_ENTITIES_EXPAND_SIZE(oldlen);
1102 if (oldlen > new_size) {
1104 ret = estrndup((char*)old, oldlen);
1105 retlen = oldlen;
924 traverse_for_entities( const char *old, size_t oldlen, char *ret, size_t *retlen, int all, int flags, const entity_ht *inv_map, enum entity_charset charset) argument
1126 php_escape_html_entities(unsigned char *old, size_t oldlen, size_t *newlen, int all, int flags, char *hint_charset TSRMLS_DC) argument
1132 find_entity_for_char( unsigned int k, enum entity_charset charset, const entity_stage1_row *table, const unsigned char **entity, size_t *entity_len, unsigned char *old, size_t oldlen, size_t *cursor) argument
1214 php_escape_html_entities_ex(unsigned char *old, size_t oldlen, size_t *newlen, int all, int flags, char *hint_charset, zend_bool double_encode TSRMLS_DC) argument
[all...]
H A Dhtml.h57 PHPAPI char *php_escape_html_entities(unsigned char *old, size_t oldlen, size_t *newlen, int all, int flags, char *hint_charset TSRMLS_DC);
58 PHPAPI char *php_escape_html_entities_ex(unsigned char *old, size_t oldlen, size_t *newlen, int all, int flags, char *hint_charset, zend_bool double_encode TSRMLS_DC);
59 PHPAPI char *php_unescape_html_entities(unsigned char *old, size_t oldlen, size_t *newlen, int all, int flags, char *hint_charset TSRMLS_DC);
H A Dstring.c135 static char *php_bin2hex(const unsigned char *old, const size_t oldlen, size_t *newlen) argument
140 result = (unsigned char *) safe_emalloc(oldlen, 2 * sizeof(char), 1);
142 for (i = j = 0; i < oldlen; i++) {
149 *newlen = oldlen * 2 * sizeof(char);
157 static char *php_hex2bin(const unsigned char *old, const size_t oldlen, size_t *newlen) argument
159 size_t target_length = oldlen >> 1;

Completed in 17 milliseconds