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

/PHP_TRUNK/ext/standard/
H A Dhtml.h57 PHPAPI zend_string *php_escape_html_entities(unsigned char *old, size_t oldlen, int all, int flags, char *hint_charset TSRMLS_DC);
58 PHPAPI zend_string *php_escape_html_entities_ex(unsigned char *old, size_t oldlen, int all, int flags, char *hint_charset, zend_bool double_encode TSRMLS_DC);
59 PHPAPI zend_string *php_unescape_html_entities(unsigned char *old, size_t oldlen, int all, int flags, char *hint_charset TSRMLS_DC);
H A Dphp_smart_str.h48 int oldlen = (b)->s->len; \
50 (b)->s->len = oldlen; \
H A Dhtml.c935 #define TRAVERSE_FOR_ENTITIES_EXPAND_SIZE(oldlen) ((oldlen) + (oldlen) / 5 + 2)
938 size_t oldlen,
950 lim = old + oldlen; /* terminator address */
1097 PHPAPI zend_string *php_unescape_html_entities(unsigned char *old, size_t oldlen, int all, int flags, char *hint_charset TSRMLS_DC) argument
1103 size_t new_size = TRAVERSE_FOR_ENTITIES_EXPAND_SIZE(oldlen);
1113 if (oldlen > new_size) {
1115 ret = zend_string_init((char*)old, oldlen, 0);
1116 retlen = oldlen;
936 traverse_for_entities( const char *old, size_t oldlen, zend_string *ret, int all, int flags, const entity_ht *inv_map, enum entity_charset charset) argument
1137 php_escape_html_entities(unsigned char *old, size_t oldlen, int all, int flags, char *hint_charset TSRMLS_DC) argument
1143 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
1225 php_escape_html_entities_ex(unsigned char *old, size_t oldlen, int all, int flags, char *hint_charset, zend_bool double_encode TSRMLS_DC) argument
[all...]
H A Dstring.c130 static zend_string *php_bin2hex(const unsigned char *old, const size_t oldlen) argument
135 result = zend_string_safe_alloc(oldlen, 2 * sizeof(char), 0, 0);
137 for (i = j = 0; i < oldlen; i++) {
149 static zend_string *php_hex2bin(const unsigned char *old, const size_t oldlen) argument
151 size_t target_length = oldlen >> 1;

Completed in 12 milliseconds