Lines Matching refs:user_stub
1165 int phar_zip_flush(phar_archive_data *phar, char *user_stub, long len, int defaultstub, char **erro… in phar_zip_flush() argument
1237 if (user_stub && !defaultstub) { in phar_zip_flush()
1240 if (!(php_stream_from_zval_no_verify(stubfile, (zval **)user_stub))) { in phar_zip_flush()
1253 user_stub = 0; in phar_zip_flush()
1255 if (!(len = php_stream_copy_to_mem(stubfile, &user_stub, len, 0)) || !user_stub) { in phar_zip_flush()
1266 tmp = estrndup(user_stub, len); in phar_zip_flush()
1273 efree(user_stub); in phar_zip_flush()
1277 pos = user_stub + (pos - tmp); in phar_zip_flush()
1280 len = pos - user_stub + 18; in phar_zip_flush()
1288 if ((size_t)len != php_stream_write(entry.fp, user_stub, len) in phar_zip_flush()
1294 efree(user_stub); in phar_zip_flush()
1305 efree(user_stub); in phar_zip_flush()
1314 efree(user_stub); in phar_zip_flush()
1326 …unable to %s stub in%szip-based phar \"%s\", failed", user_stub ? "overwrite" : "create", user_stu… in phar_zip_flush()