Home
last modified time | relevance | path

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

/php-src/ext/phar/
H A Dtar.c962 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 Dphar_internal.h450 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 Dzip.c1254 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 Dphar.c2532 void phar_flush_ex(phar_archive_data *phar, zend_string *user_stub, bool is_default_stub, char **er… in phar_flush_ex() argument
2567 if (!zend_hash_num_elements(&phar->manifest) && !user_stub) { in phar_flush_ex()
2574 phar_zip_flush(phar, user_stub, is_default_stub, error); in phar_flush_ex()
2579 phar_tar_flush(phar, user_stub, is_default_stub, error); in phar_flush_ex()
2606 if (user_stub) { in phar_flush_ex()
2607 char *pos = php_stristr(ZSTR_VAL(user_stub), halt_stub, ZSTR_LEN(user_stub), strlen(halt_stub)); in phar_flush_ex()
2620 size_t len = pos - ZSTR_VAL(user_stub) + strlen(halt_stub); in phar_flush_ex()
2625 len != php_stream_write(newfile, ZSTR_VAL(user_stub), len) in phar_flush_ex()
2642 if (!user_stub && phar->halt_offset && oldfile && !phar->is_brandnew) { in phar_flush_ex()

Completed in 43 milliseconds