Home
last modified time | relevance | path

Searched refs:errno (Results 176 – 200 of 376) sorted by last modified time

12345678910>>...16

/PHP-7.4/Zend/tests/
H A Dbug60909_1.phpt6 set_error_handler(function($errno, $errstr, $errfile, $errline){
/PHP-7.4/ext/fileinfo/libmagic/
H A Dfuncs.c142 file_error(ms, errno, "cannot allocate %" SIZE_T_FORMAT "u bytes", in file_oomem()
149 file_error(ms, errno, "error seeking"); in file_badseek()
155 file_error(ms, errno, "error reading"); in file_badread()
H A Dreadcdf.c622 if (errno != ESRCH) { in file_trycdf()
633 if (errno != ESRCH) { in file_trycdf()
/PHP-7.4/tests/lang/
H A D038.phpt8 function __construct($errstr, $errno=0, $errfile='', $errline='')
10 parent::__construct($errstr, $errno);
16 function Error2Exception($errno, $errstr, $errfile, $errline)
18 throw new MyException($errstr, $errno);//, $errfile, $errline);
H A D039.phpt12 function __construct($errstr, $errno, $errfile, $errline)
14 parent::__construct($errstr, $errno);
20 function Error2Exception($errno, $errstr, $errfile, $errline)
22 throw new MyException($errstr, $errno, $errfile, $errline);
H A Dbug25547.phpt6 function handler($errno, $errstr, $errfile, $errline, $context)
/PHP-7.4/sapi/phpdbg/
H A Dphpdbg_io.c136 if (can_read == -1 && errno == EINTR) {
148 } while (got_now == -1 && errno == EINTR);
188 } while (ret == -1 && errno == EINTR);
H A Dphpdbg_rinit_hook.c66 …in socket at %s defined by phpdbg.path ini setting. Reason: %s", PHPDBG_WG(path), strerror(errno)); in PHP_RINIT_FUNCTION()
/PHP-7.4/sapi/litespeed/
H A Dlscriu.c304 lsapi_perror(sem_name, errno); in LSCRIU_Wink_Server_is_Ready()
307 lsapi_perror(sem_name, errno); in LSCRIU_Wink_Server_is_Ready()
309 else if (errno != ENOENT) in LSCRIU_Wink_Server_is_Ready()
310 lsapi_perror(sem_name, errno); in LSCRIU_Wink_Server_is_Ready()
433 s_pid, strerror(errno)); in LSCRIU_Native_Dump()
453 s_pid, strerror(errno)); in LSCRIU_CloudLinux_Checkpoint()
521 iPidDump, strerror(errno)); in LSCRIU_try_checkpoint()
/PHP-7.4/sapi/fpm/
H A Dconfig.m4123 #include <errno.h>
165 errno = 0;
169 if (errno) {
/PHP-7.4/sapi/fpm/fpm/events/
H A Ddevpoll.c163 if (errno != EINTR) { in fpm_event_devpoll_wait()
164 zlog(ZLOG_WARNING, "/dev/poll: ioctl() returns %d", errno); in fpm_event_devpoll_wait()
H A Depoll.c130 if (errno != EINTR) { in fpm_event_epoll_wait()
131 zlog(ZLOG_WARNING, "epoll_wait() returns %d", errno); in fpm_event_epoll_wait()
H A Dkqueue.c134 if (errno != EINTR) { in fpm_event_kqueue_wait()
135 zlog(ZLOG_WARNING, "epoll_wait() returns %d", errno); in fpm_event_kqueue_wait()
H A Dpoll.c146 if (errno != EINTR) { in fpm_event_poll_wait()
147 zlog(ZLOG_WARNING, "poll() returns %d", errno); in fpm_event_poll_wait()
H A Dselect.c103 if (errno != EINTR) { in fpm_event_select_wait()
104 zlog(ZLOG_WARNING, "poll() returns %d", errno); in fpm_event_select_wait()
/PHP-7.4/main/
H A Dphp_network.h57 #define php_socket_errno() errno
H A Dfastcgi.c111 int orig_errno = errno; \
124 errno = orig_errno; \
537 errno = 0; in fcgi_init()
766 fcgi_log(FCGI_ERROR, "Cannot bind/listen socket - [%d] %s.\n",errno, strerror(errno)); in fcgi_listen()
929 errno = 0; in safe_write()
950 } else if (ret <= 0 && errno != 0 && errno != EINTR) { in safe_write()
966 errno = 0; in safe_read()
989 } else if (ret <= 0 && errno != 0 && errno != EINTR) { in safe_read()
1424 if (req->fd < 0 && (in_shutdown || (errno != EINTR && errno != ECONNABORTED))) {
1441 errno = 0;
[all …]
/PHP-7.4/ext/sysvmsg/tests/
H A D005.phpt23 $errno = 0;
29 var_dump(msg_receive($q, 0, $null, 1, $msg, true, 0, $errno));
30 var_dump($errno != 0);
34 var_dump(msg_send($q, 1, 'foo', true, true, $errno));
35 var_dump($errno != 0);
/PHP-7.4/ext/sysvsem/
H A Dsysvsem.c218 …php_error_docref(NULL, E_WARNING, "failed for key 0x" ZEND_XLONG_FMT ": %s", key, strerror(errno)); in PHP_FUNCTION()
249 if (errno != EINTR) { in PHP_FUNCTION()
250 …WARNING, "failed acquiring SYSVSEM_SETVAL for key 0x" ZEND_XLONG_FMT ": %s", key, strerror(errno)); in PHP_FUNCTION()
258 …php_error_docref(NULL, E_WARNING, "failed for key 0x" ZEND_XLONG_FMT ": %s", key, strerror(errno)); in PHP_FUNCTION()
269 …php_error_docref(NULL, E_WARNING, "failed for key 0x" ZEND_XLONG_FMT ": %s", key, strerror(errno)); in PHP_FUNCTION()
274 php_error_docref(NULL, E_WARNING, "failed for key 0x%lx: %s", key, strerror(errno)); in PHP_FUNCTION()
279 php_error_docref(NULL, E_WARNING, "failed for key 0x%lx: %s", key, strerror(errno)); in PHP_FUNCTION()
290 if (errno != EINTR) { in PHP_FUNCTION()
340 if (errno != EINTR) { in php_sysvsem_semop()
341 if (errno != EAGAIN) { in php_sysvsem_semop()
[all …]
/PHP-7.4/ext/sysvshm/
H A Dsysvshm.c187 …error_docref(NULL, E_WARNING, "failed for key 0x" ZEND_XLONG_FMT ": %s", shm_key, strerror(errno)); in PHP_FUNCTION()
194 …error_docref(NULL, E_WARNING, "failed for key 0x" ZEND_XLONG_FMT ": %s", shm_key, strerror(errno)); in PHP_FUNCTION()
245 …led for key 0x%x, id " ZEND_LONG_FMT ": %s", shm_list_ptr->key, Z_LVAL_P(shm_id), strerror(errno)); in PHP_FUNCTION()
/PHP-7.4/ext/standard/tests/streams/
H A Dbug70198.phpt22 \$socket = stream_socket_server('$srv_addr', \$errno, \$errstr);
25 echo "\$errstr (\$errno)\\n";
43 $fp = stream_socket_client($srv_addr, $errno, $errstr, 2);
45 echo "$errstr ($errno)\n";
H A Dbug74090.phpt14 $server = stream_socket_server("udp://localhost:$port", $errno, $errstr, STREAM_SERVER_BIND);
21 $fd = stream_socket_client("udp://localhost:$port", $errno, $errstr, 0, STREAM_CLIENT_CONNECT | STR…
H A Dbug54946.phpt35 Notice: stream_get_contents(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on …
38 Notice: stream_get_contents(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on …
41 Notice: stream_get_contents(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on …
/PHP-7.4/ext/standard/tests/network/
H A Dfsockopen_error.phpt5 /* Prototype : proto resource fsockopen(string hostname, int port [, int errno [, string errstr [,…
18 $errno = 10;
22 var_dump( fsockopen($hostname, $port, $errno, $errstr, $timeout, $extra_arg) );
24 var_dump($errno);
32 $errno = null;
35 var_dump( fsockopen($hostname, $port, $errno, $errstr, $timeout) );
41 $errno = null;
44 var_dump( fsockopen($hostname, $port, $errno, $errstr, $timeout) );
/PHP-7.4/ext/standard/tests/general_functions/
H A Dtype.phpt6 function foo($errno, $errstr, $errfile, $errline) {

Completed in 59 milliseconds

12345678910>>...16