Searched refs:user_stub (Results 1 – 4 of 4) sorted by relevance
/php-src/ext/phar/ |
H A D | tar.c | 962 void phar_tar_flush(phar_archive_data *phar, zend_string *user_stub, bool is_default_stub, char **e… in phar_tar_flush() argument 1025 if (user_stub && !is_default_stub) { in phar_tar_flush() 1026 …char *pos = php_stristr(ZSTR_VAL(user_stub), halt_stub, ZSTR_LEN(user_stub), sizeof(halt_stub) - 1… in phar_tar_flush() 1035 size_t len = pos - ZSTR_VAL(user_stub) + strlen(halt_stub); in phar_tar_flush() 1047 len != php_stream_write(entry.fp, ZSTR_VAL(user_stub), len) in phar_tar_flush() 1070 …unable to %s stub in%star-based phar \"%s\", failed", user_stub ? "overwrite" : "create", user_stu… in phar_tar_flush()
|
H A D | phar_internal.h | 450 void phar_tar_flush(phar_archive_data *phar, zend_string *user_stub, bool is_default_stub, char **e… 455 void phar_zip_flush(phar_archive_data *archive, zend_string *user_stub, bool is_default_stub, char … 471 void phar_flush_ex(phar_archive_data *archive, zend_string *user_stub, bool is_default_stub, char *…
|
H A D | zip.c | 1254 void phar_zip_flush(phar_archive_data *phar, zend_string *user_stub, bool is_default_stub, char **e… in phar_zip_flush() argument 1317 if (user_stub && !is_default_stub) { in phar_zip_flush() 1318 char *pos = php_stristr(ZSTR_VAL(user_stub), halt_stub, ZSTR_LEN(user_stub), strlen(halt_stub)); in phar_zip_flush() 1327 size_t len = pos - ZSTR_VAL(user_stub) + strlen(halt_stub); in phar_zip_flush() 1339 len != php_stream_write(entry.fp, ZSTR_VAL(user_stub), len) in phar_zip_flush() 1363 …unable to %s stub in%szip-based phar \"%s\", failed", user_stub ? "overwrite" : "create", user_stu… in phar_zip_flush()
|
H A D | phar.c | 2533 void phar_flush_ex(phar_archive_data *phar, zend_string *user_stub, bool is_default_stub, char **er… in phar_flush_ex() argument 2568 if (!zend_hash_num_elements(&phar->manifest) && !user_stub) { in phar_flush_ex() 2575 phar_zip_flush(phar, user_stub, is_default_stub, error); in phar_flush_ex() 2580 phar_tar_flush(phar, user_stub, is_default_stub, error); in phar_flush_ex() 2607 if (user_stub) { in phar_flush_ex() 2608 char *pos = php_stristr(ZSTR_VAL(user_stub), halt_stub, ZSTR_LEN(user_stub), strlen(halt_stub)); in phar_flush_ex() 2621 size_t len = pos - ZSTR_VAL(user_stub) + strlen(halt_stub); in phar_flush_ex() 2626 len != php_stream_write(newfile, ZSTR_VAL(user_stub), len) in phar_flush_ex() 2643 if (!user_stub && phar->halt_offset && oldfile && !phar->is_brandnew) { in phar_flush_ex()
|
Completed in 28 milliseconds