Lines Matching refs:user_stub
963 int phar_tar_flush(phar_archive_data *phar, char *user_stub, zend_long len, int defaultstub, char *… in phar_tar_flush() argument
1025 if (user_stub && !defaultstub) { in phar_tar_flush()
1029 if (!(php_stream_from_zval_no_verify(stubfile, (zval *)user_stub))) { in phar_tar_flush()
1040 user_stub = 0; in phar_tar_flush()
1048 user_stub = estrndup(ZSTR_VAL(str), ZSTR_LEN(str)); in phar_tar_flush()
1051 user_stub = NULL; in phar_tar_flush()
1056 if (!len || !user_stub) { in phar_tar_flush()
1067 if ((pos = php_stristr(user_stub, halt_stub, len, sizeof(halt_stub) - 1)) == NULL) { in phar_tar_flush()
1072 efree(user_stub); in phar_tar_flush()
1077 len = pos - user_stub + 18; in phar_tar_flush()
1085 if ((size_t)len != php_stream_write(entry.fp, user_stub, len) in phar_tar_flush()
1091 efree(user_stub); in phar_tar_flush()
1102 efree(user_stub); in phar_tar_flush()
1114 …unable to %s stub in%star-based phar \"%s\", failed", user_stub ? "overwrite" : "create", user_stu… in phar_tar_flush()