Searched refs:old_len (Results 1 – 5 of 5) sorted by relevance
/php-src/Zend/Optimizer/ |
H A D | block_pass.c | 235 size_t l, old_len; in zend_optimize_block() local 243 old_len = Z_STRLEN(ZEND_OP1_LITERAL(last_op)); in zend_optimize_block() 244 l = old_len + Z_STRLEN(ZEND_OP1_LITERAL(opline)); in zend_optimize_block() 247 memcpy(ZSTR_VAL(tmp), Z_STRVAL(ZEND_OP1_LITERAL(last_op)), old_len); in zend_optimize_block() 253 …memcpy(Z_STRVAL(ZEND_OP1_LITERAL(last_op)) + old_len, Z_STRVAL(ZEND_OP1_LITERAL(opline)), Z_STRLEN… in zend_optimize_block() 696 size_t l, old_len; in zend_optimize_block() local 707 old_len = Z_STRLEN(ZEND_OP2_LITERAL(src)); in zend_optimize_block() 708 l = old_len + Z_STRLEN(ZEND_OP2_LITERAL(opline)); in zend_optimize_block() 711 memcpy(ZSTR_VAL(tmp), Z_STRVAL(ZEND_OP2_LITERAL(src)), old_len); in zend_optimize_block() 717 …memcpy(Z_STRVAL(ZEND_OP2_LITERAL(src)) + old_len, Z_STRVAL(ZEND_OP2_LITERAL(opline)), Z_STRLEN(ZEN… in zend_optimize_block()
|
/php-src/ext/filter/ |
H A D | logical_filters.c | 594 size_t old_len = Z_STRLEN_P(value); in php_filter_validate_url() local 598 if (Z_TYPE_P(value) != IS_STRING || old_len != Z_STRLEN_P(value)) { in php_filter_validate_url()
|
/php-src/Zend/ |
H A D | zend_language_scanner.l | 724 size_t size, old_len; in zend_prepare_string_for_scanning() local 727 old_len = Z_STRLEN_P(str); in zend_prepare_string_for_scanning() 728 Z_STR_P(str) = zend_string_extend(Z_STR_P(str), old_len + ZEND_MMAP_AHEAD, 0); in zend_prepare_string_for_scanning() 730 memset(Z_STRVAL_P(str) + old_len, 0, ZEND_MMAP_AHEAD + 1); in zend_prepare_string_for_scanning() 736 size = old_len; in zend_prepare_string_for_scanning()
|
H A D | zend_execute.c | 2054 zend_long old_len = ZSTR_LEN(s); in zend_assign_to_string_offset() local 2056 memset(Z_STRVAL_P(str) + old_len, ' ', offset - old_len); in zend_assign_to_string_offset()
|
/php-src/ext/opcache/jit/ |
H A D | zend_jit_helpers.c | 1438 zend_long old_len = ZSTR_LEN(s); in zend_assign_to_string_offset() local 1440 memset(Z_STRVAL_P(str) + old_len, ' ', offset - old_len); in zend_assign_to_string_offset()
|
Completed in 45 milliseconds