Searched defs:oldlen (Results 1 - 2 of 2) sorted by relevance

/PHP_TRUNK/ext/standard/
H A Dhtml.c935 #define TRAVERSE_FOR_ENTITIES_EXPAND_SIZE(oldlen) ((oldlen) + (oldlen) / 5 + 2)
938 size_t oldlen,
951 lim = old + oldlen; /* terminator address */
1098 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
1104 size_t new_size = TRAVERSE_FOR_ENTITIES_EXPAND_SIZE(oldlen);
1114 if (oldlen > new_size) {
1116 ret = estrndup((char*)old, oldlen);
1117 retlen = oldlen;
936 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
1138 php_escape_html_entities(unsigned char *old, size_t oldlen, size_t *newlen, int all, int flags, char *hint_charset TSRMLS_DC) argument
1144 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
1226 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 Dstring.c130 static char *php_bin2hex(const unsigned char *old, const size_t oldlen, size_t *newlen) argument
135 result = (unsigned char *) safe_emalloc(oldlen, 2 * sizeof(char), 1);
137 for (i = j = 0; i < oldlen; i++) {
144 *newlen = oldlen * 2 * sizeof(char);
152 static char *php_hex2bin(const unsigned char *old, const size_t oldlen, size_t *newlen) argument
154 size_t target_length = oldlen >> 1;

Completed in 13 milliseconds