Lines Matching refs:user_stub
1181 int phar_zip_flush(phar_archive_data *phar, char *user_stub, zend_long len, int defaultstub, char *… in phar_zip_flush() argument
1253 if (user_stub && !defaultstub) { in phar_zip_flush()
1256 if (!(php_stream_from_zval_no_verify(stubfile, (zval *)user_stub))) { in phar_zip_flush()
1269 user_stub = 0; in phar_zip_flush()
1277 user_stub = estrndup(ZSTR_VAL(str), ZSTR_LEN(str)); in phar_zip_flush()
1280 user_stub = NULL; in phar_zip_flush()
1285 if (!len || !user_stub) { in phar_zip_flush()
1296 tmp = estrndup(user_stub, len); in phar_zip_flush()
1303 efree(user_stub); in phar_zip_flush()
1307 pos = user_stub + (pos - tmp); in phar_zip_flush()
1310 len = pos - user_stub + 18; in phar_zip_flush()
1318 if ((size_t)len != php_stream_write(entry.fp, user_stub, len) in phar_zip_flush()
1324 efree(user_stub); in phar_zip_flush()
1335 efree(user_stub); in phar_zip_flush()
1344 efree(user_stub); in phar_zip_flush()
1356 …unable to %s stub in%szip-based phar \"%s\", failed", user_stub ? "overwrite" : "create", user_stu… in phar_zip_flush()