Home
last modified time | relevance | path

Searched refs:old_len (Results 1 – 7 of 7) sorted by relevance

/PHP-7.1/ext/xmlrpc/libxmlrpc/
H A Dxml_element.c324 static char* xml_elem_entity_escape(const char* buf, int old_len, int *newlen, XML_ELEM_ESCAPING fl… in xml_elem_entity_escape() argument
338 iLength= old_len ? old_len : strlen(buf); in xml_elem_entity_escape()
/PHP-7.1/ext/opcache/Optimizer/
H A Dblock_pass.c223 int l, old_len; in zend_optimize_block() local
231 old_len = Z_STRLEN(ZEND_OP1_LITERAL(last_op)); in zend_optimize_block()
232 l = old_len + Z_STRLEN(ZEND_OP1_LITERAL(opline)); in zend_optimize_block()
235 memcpy(ZSTR_VAL(tmp), Z_STRVAL(ZEND_OP1_LITERAL(last_op)), old_len); in zend_optimize_block()
241 …memcpy(Z_STRVAL(ZEND_OP1_LITERAL(last_op)) + old_len, Z_STRVAL(ZEND_OP1_LITERAL(opline)), Z_STRLEN… in zend_optimize_block()
586 int l, old_len; in zend_optimize_block() local
597 old_len = Z_STRLEN(ZEND_OP2_LITERAL(src)); in zend_optimize_block()
598 l = old_len + Z_STRLEN(ZEND_OP2_LITERAL(opline)); in zend_optimize_block()
601 memcpy(ZSTR_VAL(tmp), Z_STRVAL(ZEND_OP2_LITERAL(src)), old_len); in zend_optimize_block()
607 …memcpy(Z_STRVAL(ZEND_OP2_LITERAL(src)) + old_len, Z_STRVAL(ZEND_OP2_LITERAL(opline)), Z_STRLEN(ZEN… in zend_optimize_block()
/PHP-7.1/ext/filter/
H A Dlogical_filters.c520 size_t old_len = Z_STRLEN_P(value); in php_filter_validate_url() local
524 if (Z_TYPE_P(value) != IS_STRING || old_len != Z_STRLEN_P(value)) { in php_filter_validate_url()
/PHP-7.1/Zend/
H A Dzend_language_scanner.l685 size_t size, old_len; in zend_prepare_string_for_scanning() local
689 old_len = Z_STRLEN_P(str); in zend_prepare_string_for_scanning()
690 Z_STR_P(str) = zend_string_extend(Z_STR_P(str), old_len + ZEND_MMAP_AHEAD, 0); in zend_prepare_string_for_scanning()
692 memset(Z_STRVAL_P(str) + old_len, 0, ZEND_MMAP_AHEAD + 1); in zend_prepare_string_for_scanning()
698 size = old_len; in zend_prepare_string_for_scanning()
H A Dzend_execute.c1340 zend_long old_len = Z_STRLEN_P(str); in zend_assign_to_string_offset() local
1343 memset(Z_STRVAL_P(str) + old_len, ' ', offset - old_len); in zend_assign_to_string_offset()
H A Dzend_language_scanner.c687 size_t size, old_len; in zend_prepare_string_for_scanning() local
691 old_len = Z_STRLEN_P(str); in zend_prepare_string_for_scanning()
692 Z_STR_P(str) = zend_string_extend(Z_STR_P(str), old_len + ZEND_MMAP_AHEAD, 0); in zend_prepare_string_for_scanning()
694 memset(Z_STRVAL_P(str) + old_len, 0, ZEND_MMAP_AHEAD + 1); in zend_prepare_string_for_scanning()
700 size = old_len; in zend_prepare_string_for_scanning()
/PHP-7.1/ext/reflection/
H A Dphp_reflection.c148 size_t old_len = ZSTR_LEN(str->buf); in string_printf() local
151 ZSTR_LEN(str->buf) = old_len; in string_printf()
165 size_t old_len = ZSTR_LEN(str->buf); in string_write() local
168 ZSTR_LEN(str->buf) = old_len; in string_write()

Completed in 76 milliseconds