Searched refs:user_stub (Results 1 – 4 of 4) sorted by relevance
/PHP-5.5/ext/phar/ |
H A D | tar.c | 1002 if (user_stub && !defaultstub) { in phar_tar_flush() 1017 user_stub = 0; in phar_tar_flush() 1019 if (!(len = php_stream_copy_to_mem(stubfile, &user_stub, len, 0)) || !user_stub) { in phar_tar_flush() 1030 tmp = estrndup(user_stub, len); in phar_tar_flush() 1037 efree(user_stub); in phar_tar_flush() 1041 pos = user_stub + (pos - tmp); in phar_tar_flush() 1044 len = pos - user_stub + 18; in phar_tar_flush() 1052 if ((size_t)len != php_stream_write(entry.fp, user_stub, len) in phar_tar_flush() 1058 efree(user_stub); in phar_tar_flush() 1069 efree(user_stub); in phar_tar_flush() [all …]
|
H A D | zip.c | 1229 if (user_stub && !defaultstub) { in phar_zip_flush() 1245 user_stub = 0; in phar_zip_flush() 1247 if (!(len = php_stream_copy_to_mem(stubfile, &user_stub, len, 0)) || !user_stub) { in phar_zip_flush() 1258 tmp = estrndup(user_stub, len); in phar_zip_flush() 1265 efree(user_stub); in phar_zip_flush() 1269 pos = user_stub + (pos - tmp); in phar_zip_flush() 1272 len = pos - user_stub + 18; in phar_zip_flush() 1286 efree(user_stub); in phar_zip_flush() 1297 efree(user_stub); in phar_zip_flush() 1306 efree(user_stub); in phar_zip_flush() [all …]
|
H A D | phar.c | 2601 if (!zend_hash_num_elements(&phar->manifest) && !user_stub) { 2638 if (user_stub) { 2656 user_stub = 0; 2658 if (!(len = php_stream_copy_to_mem(stubfile, &user_stub, len, 0)) || !user_stub) { 2672 tmp = estrndup(user_stub, len); 2683 efree(user_stub); 2687 pos = user_stub + (pos - tmp); 2689 len = pos - user_stub + 18; 2690 if ((size_t)len != php_stream_write(newfile, user_stub, len) 2700 efree(user_stub); [all …]
|
H A D | phar_internal.h | 622 int phar_tar_flush(phar_archive_data *phar, char *user_stub, long len, int defaultstub, char **erro… 627 int phar_zip_flush(phar_archive_data *archive, char *user_stub, long len, int defaultstub, char **e… 644 int phar_flush(phar_archive_data *archive, char *user_stub, long len, int convert, char **error TSR…
|
Completed in 35 milliseconds