Home
last modified time | relevance | path

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

123

/PHP-7.4/ext/zlib/
H A Dzlib_fopen_wrapper.c116 if (options & REPORT_ERRORS) { in php_stream_gzopen()
133 if (SUCCESS == php_stream_cast(innerstream, PHP_STREAM_AS_FD, (void **) &fd, REPORT_ERRORS)) { in php_stream_gzopen()
154 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.4/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.c82 stream = php_stream_xport_create(hostname, hostname_len, REPORT_ERRORS, in php_fsockopen_stream()
H A Dfile.c403 (use_include_path ? USE_PATH : 0) | REPORT_ERRORS, in PHP_FUNCTION()
555 (use_include_path ? USE_PATH : 0) | REPORT_ERRORS, in PHP_FUNCTION()
756 …m_open_wrapper_ex(filename, "rb", (use_include_path ? USE_PATH : 0) | REPORT_ERRORS, NULL, context… in PHP_FUNCTION()
886 …m_open_wrapper_ex(filename, mode, (use_include_path ? USE_PATH : 0) | REPORT_ERRORS, NULL, context… in PHP_NAMED_FUNCTION()
1318 if ((ret = VCWD_MKDIR(dir, (mode_t)mode)) < 0 && (options & REPORT_ERRORS)) { in php_mkdir_ex()
1327 return php_mkdir_ex(dir, mode, REPORT_ERRORS); in php_mkdir()
1352 …ream_mkdir(dir, (int)mode, (recursive ? PHP_STREAM_MKDIR_RECURSIVE : 0) | REPORT_ERRORS, context)); in PHP_FUNCTION()
1373 RETURN_BOOL(php_stream_rmdir(dir, REPORT_ERRORS, context)); in PHP_FUNCTION()
1525 RETURN_BOOL(wrapper->wops->unlink(wrapper, filename, REPORT_ERRORS, context)); in PHP_FUNCTION()
1760 srcstream = php_stream_open_wrapper_ex(src, "rb", src_flg | REPORT_ERRORS, NULL, ctx); in php_copy_file_ctx()
[all …]
H A Dproc_open.c648 if (FAILURE == php_stream_cast(stream, PHP_STREAM_AS_FD, (void **)&fd, REPORT_ERRORS)) { in PHP_FUNCTION()
746 REPORT_ERRORS|STREAM_WILL_CAST, NULL); in PHP_FUNCTION()
751 (void **)&fd, REPORT_ERRORS)) { in PHP_FUNCTION()
H A Ddir.c221 dirp = php_stream_opendir(dirname, REPORT_ERRORS, context); in _php_do_opendir()
H A Dmail.c415 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()
H A Durl.c693 …if (!(stream = php_stream_open_wrapper_ex(url, "r", REPORT_ERRORS | STREAM_USE_URL | STREAM_ONLY_G…
/PHP-7.4/ext/gd/
H A Dgd_ctx.c146 …stream = php_stream_open_wrapper(Z_STRVAL_P(to_zval), "wb", REPORT_ERRORS|IGNORE_PATH|IGNORE_URL_W… in _php_image_output_ctx()
155 stream = php_stream_open_wrapper(file, "wb", REPORT_ERRORS|IGNORE_PATH|IGNORE_URL_WIN, NULL); in _php_image_output_ctx()
/PHP-7.4/main/streams/
H A Dstreams.c250 if (options & REPORT_ERRORS || wrapper == NULL) { in php_stream_wrapper_log_error()
1879 if (options & REPORT_ERRORS) {
1918 if (options & REPORT_ERRORS) {
1932 if (options & REPORT_ERRORS) {
2046 path_to_open, "r", options ^ REPORT_ERRORS, NULL,
2056 if (stream == NULL && (options & REPORT_ERRORS)) {
2127 path_to_open, mode, options ^ REPORT_ERRORS,
2184 if (options & REPORT_ERRORS) {
2191 options ^= REPORT_ERRORS;
2205 if (stream == NULL && (options & REPORT_ERRORS)) {
[all …]
H A Dcast.c358 …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.4/ext/ftp/
H A Dphp_ftp.c1000 …outstream = php_stream_open_wrapper(local, mode == FTPTYPE_ASCII ? "rt+" : "rb+", REPORT_ERRORS, N… in PHP_FUNCTION()
1002 …outstream = php_stream_open_wrapper(local, mode == FTPTYPE_ASCII ? "wt" : "wb", REPORT_ERRORS, NUL… in PHP_FUNCTION()
1014 …outstream = php_stream_open_wrapper(local, mode == FTPTYPE_ASCII ? "wt" : "wb", REPORT_ERRORS, NUL… in PHP_FUNCTION()
1066 …outstream = php_stream_open_wrapper(local, mode == FTPTYPE_ASCII ? "rt+" : "rb+", REPORT_ERRORS, N… in PHP_FUNCTION()
1068 …outstream = php_stream_open_wrapper(local, mode == FTPTYPE_ASCII ? "wt" : "wb", REPORT_ERRORS, NUL… in PHP_FUNCTION()
1080 …outstream = php_stream_open_wrapper(local, mode == FTPTYPE_ASCII ? "wt" : "wb", REPORT_ERRORS, NUL… in PHP_FUNCTION()
1280 …if (!(instream = php_stream_open_wrapper(local, mode == FTPTYPE_ASCII ? "rt" : "rb", REPORT_ERRORS in PHP_FUNCTION()
1336 …if (!(instream = php_stream_open_wrapper(local, mode == FTPTYPE_ASCII ? "rt" : "rb", REPORT_ERRORS in PHP_FUNCTION()
1374 …if (!(instream = php_stream_open_wrapper(local, mode == FTPTYPE_ASCII ? "rt" : "rb", REPORT_ERRORS in PHP_FUNCTION()
/PHP-7.4/ext/bz2/
H A Dbz2.c294 if (SUCCESS == php_stream_cast(stream, PHP_STREAM_AS_FD, (void **) &fd, REPORT_ERRORS)) { in _php_stream_bz2open()
431 stream = php_stream_bz2open(NULL, Z_STRVAL_P(file), mode, REPORT_ERRORS, NULL); in PHP_FUNCTION()
470 if (FAILURE == php_stream_cast(stream, PHP_STREAM_AS_FD, (void *) &fd, REPORT_ERRORS)) { in PHP_FUNCTION()
/PHP-7.4/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.c593 if (phar && error && !(options & REPORT_ERRORS)) { in phar_open_parsed_phar()
1386 if (options & REPORT_ERRORS) { in phar_create_or_parse_filename()
1468 if (options & REPORT_ERRORS) { in phar_create_or_parse_filename()
1521 if (options & REPORT_ERRORS) { in phar_open_from_filename()
2292 …if (phar_open_parsed_phar(fname, fname_len, alias, alias_len, 0, REPORT_ERRORS, NULL, 0) == SUCCES… in phar_open_executed_filename()
2314 fp = php_stream_open_wrapper(fname, "rb", IGNORE_URL|STREAM_MUST_SEEK|REPORT_ERRORS, &actual); in phar_open_executed_filename()
2331 ret = phar_open_from_fp(fp, fname, fname_len, alias, alias_len, REPORT_ERRORS, NULL, 0, error); in phar_open_executed_filename()
3164 …phar->fp = php_stream_open_wrapper(phar->fname, "w+b", IGNORE_URL|STREAM_MUST_SEEK|REPORT_ERRORS, … in phar_flush()
/PHP-7.4/ext/fileinfo/libmagic/
H A Dmagic.c257 stream = php_stream_open_wrapper((char *)inname, "rb", REPORT_ERRORS, NULL); in file_or_stream()
/PHP-7.4/ext/hash/
H A Dhash.c140 stream = php_stream_open_wrapper_ex(data, "rb", REPORT_ERRORS, NULL, FG(default_context)); in php_hash_do_hash()
268 stream = php_stream_open_wrapper_ex(data, "rb", REPORT_ERRORS, NULL, FG(default_context)); in php_hash_do_hash_hmac()
500 stream = php_stream_open_wrapper_ex(ZSTR_VAL(filename), "rb", REPORT_ERRORS, NULL, context); in PHP_FUNCTION()
/PHP-7.4/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.4/ext/dba/
H A Ddba.c915 …= php_stream_open_wrapper(lock_name, lock_file_mode, STREAM_MUST_SEEK|REPORT_ERRORS|IGNORE_PATH|pe… in php_dba_open()
949 …info->fp = php_stream_open_wrapper(info->path, file_mode, STREAM_MUST_SEEK|REPORT_ERRORS|IGNORE_PA… in php_dba_open()
/PHP-7.4/docs/
H A Dstreams.md60 * `REPORT_ERRORS` - show errors in a standard format if something goes wrong.
184 if (php_stream_cast(stream, PHP_STREAM_AS_STDIO, (void*)&fp, REPORT_ERRORS) == FAILURE) {
/PHP-7.4/ext/mysqlnd/
H A Dmysqlnd_auth.c890 stream = php_stream_open_wrapper((char *) fname, "rb", REPORT_ERRORS, NULL); in mysqlnd_sha256_get_rsa_key()
1173 stream = php_stream_open_wrapper((char *) fname, "rb", REPORT_ERRORS, NULL); in mysqlnd_caching_sha2_get_key()

Completed in 80 milliseconds

123