Home
last modified time | relevance | path

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

/PHP-8.3/ext/phar/
H A Dphar_object.c1983 size_t new_len, oldname_len, phar_ext_len; in phar_rename_archive() local
2070 oldname_len = strlen(oldname); in phar_rename_archive()
2072 basename = estrndup(oldname, oldname_len); in phar_rename_archive()
2079 if (phar_ext_len && oldname_len > phar_ext_len) { in phar_rename_archive()
2081 if (memcmp(phar_ext_list[i], basename + (oldname_len - phar_ext_len), phar_ext_len) == 0) { in phar_rename_archive()
2082 ext_pos = basename + (oldname_len - phar_ext_len); in phar_rename_archive()
2106 basepath = estrndup(oldpath, (strlen(oldpath) - oldname_len)); in phar_rename_archive()

Completed in 14 milliseconds