Lines Matching refs:user_stub
2505 * user_stub contains either a string, or a resource pointer, if len is a negative length.
2506 * user_stub and len should be both 0 if the default or existing stub should be used
2508 int phar_flush(phar_archive_data *phar, char *user_stub, zend_long len, int convert, char **error) /* {{{ */
2540 if (!zend_hash_num_elements(&phar->manifest) && !user_stub) {
2547 return phar_zip_flush(phar, user_stub, len, convert, error);
2551 return phar_tar_flush(phar, user_stub, len, convert, error);
2577 if (user_stub) {
2581 if (!(php_stream_from_zval_no_verify(stubfile, (zval *)user_stub))) {
2596 user_stub = 0;
2609 user_stub = ZSTR_VAL(suser_stub);
2614 tmp = estrndup(user_stub, len);
2629 pos = user_stub + (pos - tmp);
2631 len = pos - user_stub + 18;
2632 if ((size_t)len != php_stream_write(newfile, user_stub, len)
2653 if (!user_stub && phar->halt_offset && oldfile && !phar->is_brandnew) {