Home
last modified time | relevance | path

Searched refs:from_len (Results 1 – 3 of 3) sorted by relevance

/PHP-8.4/ext/phar/
H A Dstream.c891 size_t from_len = ZSTR_LEN(resource_from->path) - 1; in phar_wrapper_rename() local
898 ZSTR_LEN(str_key) > from_len && in phar_wrapper_rename()
900 IS_SLASH(ZSTR_VAL(str_key)[from_len])) { in phar_wrapper_rename()
902 new_str_key = zend_string_alloc(ZSTR_LEN(str_key) + to_len - from_len, 0); in phar_wrapper_rename()
904 …memcpy(ZSTR_VAL(new_str_key) + to_len, ZSTR_VAL(str_key) + from_len, ZSTR_LEN(str_key) - from_len); in phar_wrapper_rename()
924 (ZSTR_LEN(str_key) == from_len || IS_SLASH(ZSTR_VAL(str_key)[from_len]))) { in phar_wrapper_rename()
926 new_str_key = zend_string_alloc(ZSTR_LEN(str_key) + to_len - from_len, 0); in phar_wrapper_rename()
928 …memcpy(ZSTR_VAL(new_str_key) + to_len, ZSTR_VAL(str_key) + from_len, ZSTR_LEN(str_key) - from_len); in phar_wrapper_rename()
941 (ZSTR_LEN(str_key) == from_len || IS_SLASH(ZSTR_VAL(str_key)[from_len]))) { in phar_wrapper_rename()
943 new_str_key = zend_string_alloc(ZSTR_LEN(str_key) + to_len - from_len, 0); in phar_wrapper_rename()
[all …]
/PHP-8.4/ext/gd/libgd/
H A Dgdkanji.c345 size_t from_len, to_len; in do_convert() local
357 from_len = strlen ((const char *) from) + 1; in do_convert()
360 if ((int) iconv(cd, (char **) &from, &from_len, (char **) &to, &to_len) == -1) in do_convert()
/PHP-8.4/ext/pgsql/
H A Dpgsql.c3560 size_t from_len; in PHP_FUNCTION() local
3563 Z_PARAM_STRING(from, from_len) in PHP_FUNCTION()

Completed in 24 milliseconds