Home
last modified time | relevance | path

Searched refs:REPORT_ERRORS (Results 1 – 25 of 57) sorted by relevance

123

/PHP-7.3/ext/zlib/
H A Dzlib_fopen_wrapper.c119 if (options & REPORT_ERRORS) { in php_stream_gzopen()
136 if (SUCCESS == php_stream_cast(innerstream, PHP_STREAM_AS_FD, (void **) &fd, REPORT_ERRORS)) { in php_stream_gzopen()
157 if (options & REPORT_ERRORS) { in php_stream_gzopen()
H A Dzlib.c565 int flags = REPORT_ERRORS; in PHP_FUNCTION()
607 int flags = REPORT_ERRORS; in PHP_FUNCTION()
634 int flags = REPORT_ERRORS; in PHP_FUNCTION()
/PHP-7.3/ext/standard/
H A Dftp_fopen_wrapper.c918 if (options & REPORT_ERRORS) { in php_stream_ftp_unlink()
925 if (options & REPORT_ERRORS) { in php_stream_ftp_unlink()
936 if (options & REPORT_ERRORS) { in php_stream_ftp_unlink()
989 if (options & REPORT_ERRORS) { in php_stream_ftp_rename()
1000 if (options & REPORT_ERRORS) { in php_stream_ftp_rename()
1011 if (options & REPORT_ERRORS) { in php_stream_ftp_rename()
1047 if (options & REPORT_ERRORS) { in php_stream_ftp_mkdir()
1054 if (options & REPORT_ERRORS) { in php_stream_ftp_mkdir()
1140 if (options & REPORT_ERRORS) { in php_stream_ftp_rmdir()
1147 if (options & REPORT_ERRORS) { in php_stream_ftp_rmdir()
[all …]
H A Dphp_fopen_wrapper.c223 if (options & REPORT_ERRORS) { in php_stream_url_wrap_php()
242 if (options & REPORT_ERRORS) { in php_stream_url_wrap_php()
301 if (options & REPORT_ERRORS) { in php_stream_url_wrap_php()
308 if (options & REPORT_ERRORS) { in php_stream_url_wrap_php()
H A Dfsock.c91 stream = php_stream_xport_create(hostname, hostname_len, REPORT_ERRORS, in php_fsockopen_stream()
H A Dfile.c401 (use_include_path ? USE_PATH : 0) | REPORT_ERRORS, in PHP_FUNCTION()
553 (use_include_path ? USE_PATH : 0) | REPORT_ERRORS, in PHP_FUNCTION()
758 …m_open_wrapper_ex(filename, "rb", (use_include_path ? USE_PATH : 0) | REPORT_ERRORS, NULL, context… in PHP_FUNCTION()
892 …m_open_wrapper_ex(filename, mode, (use_include_path ? USE_PATH : 0) | REPORT_ERRORS, NULL, context… in PHP_NAMED_FUNCTION()
1321 if ((ret = VCWD_MKDIR(dir, (mode_t)mode)) < 0 && (options & REPORT_ERRORS)) { in php_mkdir_ex()
1330 return php_mkdir_ex(dir, mode, REPORT_ERRORS); in php_mkdir()
1355 …ream_mkdir(dir, (int)mode, (recursive ? PHP_STREAM_MKDIR_RECURSIVE : 0) | REPORT_ERRORS, context)); in PHP_FUNCTION()
1376 RETURN_BOOL(php_stream_rmdir(dir, REPORT_ERRORS, context)); in PHP_FUNCTION()
1528 RETURN_BOOL(wrapper->wops->unlink(wrapper, filename, REPORT_ERRORS, context)); in PHP_FUNCTION()
1775 srcstream = php_stream_open_wrapper_ex(src, "rb", src_flg | REPORT_ERRORS, NULL, ctx); in php_copy_file_ctx()
[all …]
H A Dproc_open.c524 if (FAILURE == php_stream_cast(stream, PHP_STREAM_AS_FD, (void **)&fd, REPORT_ERRORS)) { in PHP_FUNCTION()
614 REPORT_ERRORS|STREAM_WILL_CAST, NULL); in PHP_FUNCTION()
619 (void **)&fd, REPORT_ERRORS)) { in PHP_FUNCTION()
H A Ddir.c225 dirp = php_stream_opendir(dirname, REPORT_ERRORS, context); in _php_do_opendir()
H A Dmail.c419 uint32_t flags = IGNORE_URL_WIN | REPORT_ERRORS | STREAM_DISABLE_OPEN_BASEDIR; in php_mail_log_to_file()
H A Dmd5.c90 stream = php_stream_open_wrapper(arg, "rb", REPORT_ERRORS, NULL); in PHP_NAMED_FUNCTION()
H A Dsha1.c80 stream = php_stream_open_wrapper(arg, "rb", REPORT_ERRORS, NULL); in PHP_FUNCTION()
/PHP-7.3/ext/recode/
H A Drecode.c199 if (FAILURE == php_stream_cast(instream, PHP_STREAM_AS_STDIO, (void**)&in_fp, REPORT_ERRORS)) { in PHP_FUNCTION()
203 if (FAILURE == php_stream_cast(outstream, PHP_STREAM_AS_STDIO, (void**)&out_fp, REPORT_ERRORS)) { in PHP_FUNCTION()
/PHP-7.3/ext/gd/
H A Dgd_ctx.c147 …stream = php_stream_open_wrapper(Z_STRVAL_P(to_zval), "wb", REPORT_ERRORS|IGNORE_PATH|IGNORE_URL_W… in _php_image_output_ctx()
156 stream = php_stream_open_wrapper(file, "wb", REPORT_ERRORS|IGNORE_PATH|IGNORE_URL_WIN, NULL); in _php_image_output_ctx()
/PHP-7.3/main/streams/
H A Dstreams.c246 if (options & REPORT_ERRORS || wrapper == NULL) { in php_stream_wrapper_log_error()
1802 if (options & REPORT_ERRORS) {
1841 if (options & REPORT_ERRORS) {
1855 if (options & REPORT_ERRORS) {
1969 path_to_open, "r", options ^ REPORT_ERRORS, NULL,
1979 if (stream == NULL && (options & REPORT_ERRORS)) {
2047 path_to_open, mode, options ^ REPORT_ERRORS,
2104 if (options & REPORT_ERRORS) {
2111 options ^= REPORT_ERRORS;
2125 if (stream == NULL && (options & REPORT_ERRORS)) {
[all …]
H A Dcast.c354 …S_STDIO|PHP_STREAM_CAST_TRY_HARD|PHP_STREAM_CAST_RELEASE, (void**)&fp, REPORT_ERRORS) == FAILURE) { in _php_stream_open_wrapper_as_file()
/PHP-7.3/ext/ftp/
H A Dphp_ftp.c976 …outstream = php_stream_open_wrapper(local, mode == FTPTYPE_ASCII ? "rt+" : "rb+", REPORT_ERRORS, N… in PHP_FUNCTION()
978 …outstream = php_stream_open_wrapper(local, mode == FTPTYPE_ASCII ? "wt" : "wb", REPORT_ERRORS, NUL… in PHP_FUNCTION()
990 …outstream = php_stream_open_wrapper(local, mode == FTPTYPE_ASCII ? "wt" : "wb", REPORT_ERRORS, NUL… in PHP_FUNCTION()
1040 …outstream = php_stream_open_wrapper(local, mode == FTPTYPE_ASCII ? "rt+" : "rb+", REPORT_ERRORS, N… in PHP_FUNCTION()
1042 …outstream = php_stream_open_wrapper(local, mode == FTPTYPE_ASCII ? "wt" : "wb", REPORT_ERRORS, NUL… in PHP_FUNCTION()
1054 …outstream = php_stream_open_wrapper(local, mode == FTPTYPE_ASCII ? "wt" : "wb", REPORT_ERRORS, NUL… in PHP_FUNCTION()
1248 …if (!(instream = php_stream_open_wrapper(local, mode == FTPTYPE_ASCII ? "rt" : "rb", REPORT_ERRORS in PHP_FUNCTION()
1302 …if (!(instream = php_stream_open_wrapper(local, mode == FTPTYPE_ASCII ? "rt" : "rb", REPORT_ERRORS in PHP_FUNCTION()
1338 …if (!(instream = php_stream_open_wrapper(local, mode == FTPTYPE_ASCII ? "rt" : "rb", REPORT_ERRORS in PHP_FUNCTION()
/PHP-7.3/ext/bz2/
H A Dbz2.c287 if (SUCCESS == php_stream_cast(stream, PHP_STREAM_AS_FD, (void **) &fd, REPORT_ERRORS)) { in _php_stream_bz2open()
423 stream = php_stream_bz2open(NULL, Z_STRVAL_P(file), mode, REPORT_ERRORS, NULL); in PHP_FUNCTION()
462 if (FAILURE == php_stream_cast(stream, PHP_STREAM_AS_FD, (void *) &fd, REPORT_ERRORS)) { in PHP_FUNCTION()
/PHP-7.3/ext/fileinfo/libmagic/
H A Dmagic.c262 stream = php_stream_open_wrapper((char *)inname, "rb", REPORT_ERRORS, NULL); in file_or_stream()
H A Dapprentice.c1090 stream = php_stream_open_wrapper((char *)fn, "rb", REPORT_ERRORS, NULL); in load_1()
1302 dir = php_stream_opendir((char *)fn, REPORT_ERRORS, NULL); in apprentice_load()
2992 stream = php_stream_open_wrapper((char *)fn, "rb", REPORT_ERRORS, NULL); in apprentice_map()
3178 stream = php_stream_open_wrapper((char *)fn, "wb+", REPORT_ERRORS, NULL); in apprentice_compile()
/PHP-7.3/ext/phar/
H A Dfunc_interceptors.c77 stream = php_stream_opendir(name, REPORT_ERRORS, context); in PHAR_FUNC()
189 stream = php_stream_open_wrapper_ex(name, "rb", 0 | REPORT_ERRORS, NULL, context); in PHAR_FUNC()
307 stream = php_stream_open_wrapper_ex(name, "rb", 0 | REPORT_ERRORS, NULL, context); in PHAR_FUNC()
409 stream = php_stream_open_wrapper_ex(name, mode, 0 | REPORT_ERRORS, NULL, context); in PHAR_FUNC()
H A Dphar.c590 if (phar && error && !(options & REPORT_ERRORS)) {
1395 if (options & REPORT_ERRORS) {
1477 if (options & REPORT_ERRORS) {
1530 if (options & REPORT_ERRORS) {
2299 …if (phar_open_parsed_phar(fname, fname_len, alias, alias_len, 0, REPORT_ERRORS, NULL, 0) == SUCCES…
2321 fp = php_stream_open_wrapper(fname, "rb", IGNORE_URL|STREAM_MUST_SEEK|REPORT_ERRORS, &actual);
2338 ret = phar_open_from_fp(fp, fname, fname_len, alias, alias_len, REPORT_ERRORS, NULL, 0, error);
3191 …phar->fp = php_stream_open_wrapper(phar->fname, "w+b", IGNORE_URL|STREAM_MUST_SEEK|REPORT_ERRORS, …
/PHP-7.3/ext/hash/
H A Dhash.c139 stream = php_stream_open_wrapper_ex(data, "rb", REPORT_ERRORS, NULL, FG(default_context)); in php_hash_do_hash()
263 stream = php_stream_open_wrapper_ex(data, "rb", REPORT_ERRORS, NULL, FG(default_context)); in php_hash_do_hash_hmac()
494 stream = php_stream_open_wrapper_ex(ZSTR_VAL(filename), "rb", REPORT_ERRORS, NULL, context); in PHP_FUNCTION()
/PHP-7.3/ext/fileinfo/
H A Dfileinfo.c554 stream = php_stream_open_wrapper_ex(buffer, "rb", REPORT_ERRORS, NULL, context); in _php_finfo_get_type()
/PHP-7.3/ext/dba/
H A Ddba.c907 …= php_stream_open_wrapper(lock_name, lock_file_mode, STREAM_MUST_SEEK|REPORT_ERRORS|IGNORE_PATH|pe… in php_dba_open()
941 …info->fp = php_stream_open_wrapper(info->path, file_mode, STREAM_MUST_SEEK|REPORT_ERRORS|IGNORE_PA… in php_dba_open()
/PHP-7.3/
H A DREADME.STREAMS58 REPORT_ERRORS - show errors in a standard format if something
173 if (php_stream_cast(stream, PHP_STREAM_AS_STDIO, (void*)&fp, REPORT_ERRORS) == FAILURE) {

Completed in 161 milliseconds

123