Home
last modified time | relevance | path

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

/php-src/ext/phar/
H A Dstream.c886 size_t from_len = ZSTR_LEN(resource_from->path) - 1; in phar_wrapper_rename() local
893 ZSTR_LEN(str_key) > from_len && in phar_wrapper_rename()
895 IS_SLASH(ZSTR_VAL(str_key)[from_len])) { in phar_wrapper_rename()
897 new_str_key = zend_string_alloc(ZSTR_LEN(str_key) + to_len - from_len, 0); in phar_wrapper_rename()
899 …memcpy(ZSTR_VAL(new_str_key) + to_len, ZSTR_VAL(str_key) + from_len, ZSTR_LEN(str_key) - from_len); in phar_wrapper_rename()
919 (ZSTR_LEN(str_key) == from_len || IS_SLASH(ZSTR_VAL(str_key)[from_len]))) { in phar_wrapper_rename()
921 new_str_key = zend_string_alloc(ZSTR_LEN(str_key) + to_len - from_len, 0); in phar_wrapper_rename()
923 …memcpy(ZSTR_VAL(new_str_key) + to_len, ZSTR_VAL(str_key) + from_len, ZSTR_LEN(str_key) - from_len); in phar_wrapper_rename()
936 (ZSTR_LEN(str_key) == from_len || IS_SLASH(ZSTR_VAL(str_key)[from_len]))) { in phar_wrapper_rename()
938 new_str_key = zend_string_alloc(ZSTR_LEN(str_key) + to_len - from_len, 0); in phar_wrapper_rename()
[all …]
/php-src/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-src/ext/pgsql/
H A Dpgsql.c3617 size_t from_len; in PHP_FUNCTION() local
3620 Z_PARAM_STRING(from, from_len) in PHP_FUNCTION()

Completed in 20 milliseconds