Lines Matching refs:user_stub
944 int phar_tar_flush(phar_archive_data *phar, char *user_stub, zend_long len, int defaultstub, char *… in phar_tar_flush() argument
1003 if (user_stub && !defaultstub) { in phar_tar_flush()
1007 if (!(php_stream_from_zval_no_verify(stubfile, (zval *)user_stub))) { in phar_tar_flush()
1018 user_stub = 0; in phar_tar_flush()
1026 user_stub = estrndup(ZSTR_VAL(str), ZSTR_LEN(str)); in phar_tar_flush()
1029 user_stub = NULL; in phar_tar_flush()
1034 if (!len || !user_stub) { in phar_tar_flush()
1045 tmp = estrndup(user_stub, len); in phar_tar_flush()
1052 efree(user_stub); in phar_tar_flush()
1056 pos = user_stub + (pos - tmp); in phar_tar_flush()
1059 len = pos - user_stub + 18; in phar_tar_flush()
1067 if ((size_t)len != php_stream_write(entry.fp, user_stub, len) in phar_tar_flush()
1073 efree(user_stub); in phar_tar_flush()
1084 efree(user_stub); in phar_tar_flush()
1096 …unable to %s stub in%star-based phar \"%s\", failed", user_stub ? "overwrite" : "create", user_stu… in phar_tar_flush()