Searched refs:user_stub (Results 1 – 4 of 4) sorted by relevance
/PHP-7.3/ext/phar/ |
H A D | tar.c | 1021 if (user_stub && !defaultstub) { in phar_tar_flush() 1036 user_stub = 0; in phar_tar_flush() 1044 user_stub = estrndup(ZSTR_VAL(str), ZSTR_LEN(str)); in phar_tar_flush() 1047 user_stub = NULL; in phar_tar_flush() 1052 if (!len || !user_stub) { in phar_tar_flush() 1063 tmp = estrndup(user_stub, len); in phar_tar_flush() 1070 efree(user_stub); in phar_tar_flush() 1074 pos = user_stub + (pos - tmp); in phar_tar_flush() 1077 len = pos - user_stub + 18; in phar_tar_flush() 1091 efree(user_stub); in phar_tar_flush() [all …]
|
H A D | zip.c | 1249 if (user_stub && !defaultstub) { in phar_zip_flush() 1265 user_stub = 0; in phar_zip_flush() 1273 user_stub = estrndup(ZSTR_VAL(str), ZSTR_LEN(str)); in phar_zip_flush() 1276 user_stub = NULL; in phar_zip_flush() 1281 if (!len || !user_stub) { in phar_zip_flush() 1292 tmp = estrndup(user_stub, len); in phar_zip_flush() 1299 efree(user_stub); in phar_zip_flush() 1303 pos = user_stub + (pos - tmp); in phar_zip_flush() 1306 len = pos - user_stub + 18; in phar_zip_flush() 1320 efree(user_stub); in phar_zip_flush() [all …]
|
H A D | phar_internal.h | 568 int phar_tar_flush(phar_archive_data *phar, char *user_stub, zend_long len, int defaultstub, char *… 573 int phar_zip_flush(phar_archive_data *archive, char *user_stub, zend_long len, int defaultstub, cha… 590 int phar_flush(phar_archive_data *archive, char *user_stub, zend_long len, int convert, char **erro…
|
H A D | phar.c | 2539 if (!zend_hash_num_elements(&phar->manifest) && !user_stub) { 2546 return phar_zip_flush(phar, user_stub, len, convert, error); 2550 return phar_tar_flush(phar, user_stub, len, convert, error); 2576 if (user_stub) { 2580 if (!(php_stream_from_zval_no_verify(stubfile, (zval *)user_stub))) { 2595 user_stub = 0; 2608 user_stub = ZSTR_VAL(suser_stub); 2613 tmp = estrndup(user_stub, len); 2628 pos = user_stub + (pos - tmp); 2630 len = pos - user_stub + 18; [all …]
|
Completed in 24 milliseconds