Home
last modified time | relevance | path

Searched refs:errno (Results 201 – 225 of 376) sorted by path

12345678910>>...16

/PHP-7.4/ext/openssl/tests/
H A Dtlsv1.3_wrapper.phpt19 $server = stream_socket_server('tlsv1.3://127.0.0.1:64321', $errno, $errstr, $flags, $ctx);
37 $client = stream_socket_client("tlsv1.3://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
40 $client = @stream_socket_client("tlsv1.0://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
43 $client = @stream_socket_client("tlsv1.2://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
/PHP-7.4/ext/openssl/
H A Dxp_ssl.c225 errno = EAGAIN; in php_openssl_handle_ssl_error()
287 errno = 0; in php_openssl_handle_ssl_error()
1993 } else if (errno == EAGAIN) { in php_openssl_enable_crypto()
2123 if (errno == EAGAIN && err == SSL_ERROR_WANT_READ && read) { in php_openssl_sockop_io()
2126 if (errno == EAGAIN && err == SSL_ERROR_WANT_WRITE && read == 0) { in php_openssl_sockop_io()
2132 stream->eof = (retry == 0 && errno != EAGAIN && !SSL_pending(sslsock->ssl_handle)); in php_openssl_sockop_io()
/PHP-7.4/ext/pcntl/
H A Dpcntl.c166 ZEND_ARG_INFO(0, errno)
647 PCNTL_G(last_error) = errno; in PHP_FUNCTION()
736 PCNTL_G(last_error) = errno; in PHP_FUNCTION()
786 PCNTL_G(last_error) = errno; in PHP_FUNCTION()
1123 PCNTL_G(last_error) = errno; in PHP_FUNCTION()
1177 PCNTL_G(last_error) = errno; in PHP_FUNCTION()
1363 errno = 0; in PHP_FUNCTION()
1367 if (errno) { in PHP_FUNCTION()
1369 switch (errno) { in PHP_FUNCTION()
1403 switch (errno) { in PHP_FUNCTION()
[all …]
/PHP-7.4/ext/pcntl/tests/
H A D002.phpt50 set_error_handler(function($errno, $errstr) { echo "Error triggered\n"; }, E_WARNING);
H A Dpcntl_exec_3.phpt16 Warning: pcntl_exec(): Error has occurred: (errno %d) %s
/PHP-7.4/ext/pdo_firebird/tests/
H A Dpayload_server.php3 $socket = stream_socket_server("tcp://localhost:0", $errno, $errstr);
5 echo "Can't start server: $errstr ($errno)\n";
/PHP-7.4/ext/pdo_pgsql/
H A Dpgsql_driver.c965 if (oid == 0 && (errno == ERANGE || errno == EINVAL)) { in PHP_METHOD()
1012 if (oid == 0 && (errno == ERANGE || errno == EINVAL)) { in PHP_METHOD()
/PHP-7.4/ext/pdo_pgsql/tests/
H A Dbug72294.phpt14 function handleError($errno, $errstr, $errfile, $errline)
16 if (!($errno & error_reporting())) {
20 throw new RuntimeException( $errstr, $errno );
/PHP-7.4/ext/phar/
H A Dphar_object.c4165 if (EINVAL == errno && entry->filename_len > 50) { in phar_extract_file()
/PHP-7.4/ext/phar/tests/
H A Dcreate_path_error.phpt22 function error_handler($errno, $errmsg)
/PHP-7.4/ext/posix/
H A Dposix.c210 ZEND_ARG_INFO(0, errno)
469 POSIX_G(last_error) = errno;
575 POSIX_G(last_error) = errno; in PHP_FUNCTION()
581 POSIX_G(last_error) = errno; in PHP_FUNCTION()
606 POSIX_G(last_error) = errno; in PHP_FUNCTION()
645 POSIX_G(last_error) = errno; in PHP_FUNCTION()
665 POSIX_G(last_error) = errno; in PHP_FUNCTION()
1106 if (errno == ERANGE) { in PHP_FUNCTION()
1164 if (errno == ERANGE) { in PHP_FUNCTION()
1238 if (errno == ERANGE) { in PHP_FUNCTION()
[all …]
/PHP-7.4/ext/posix/tests/
H A Dposix_strerror_error.phpt9 /* Prototype : proto string posix_strerror(int errno)
10 * Description: Retrieve the system error message associated with the given errno.
21 $errno = posix_get_last_error();
23 var_dump( posix_strerror($errno, $extra_arg) );
26 $errno = -999;
27 echo gettype( posix_strerror($errno) )."\n";
H A Dposix_times_basic.phpt17 $errno= posix_get_last_error();
18 var_dump(posix_strerror($errno));
/PHP-7.4/ext/reflection/tests/
H A Dbug76936.phpt16 function ($errno, $errstr, $errfile, $errline) {
17 $this->handleError($errno, $errstr, $errfile, $errline);
22 private function handleError($errno, $errstr, $errfile, $errline, $errmodule = null) {
/PHP-7.4/ext/session/
H A Dmod_files.c215 } while (ret == -1 && errno == EINTR); in ps_files_open()
222 …LL, E_WARNING, "fcntl(%d, F_SETFD, FD_CLOEXEC) failed: %s (%d)", data->fd, strerror(errno), errno); in ps_files_open()
226 …php_error_docref(NULL, E_WARNING, "open(%s, O_RDWR) failed: %s (%d)", buf, strerror(errno), errno); in ps_files_open()
274 php_error_docref(NULL, E_WARNING, "write failed: %s (%d)", strerror(errno), errno); in ps_files_write()
296 …L, E_NOTICE, "ps_files_cleanup_dir: opendir(%s) failed: %s (%d)", dirname, strerror(errno), errno); in ps_files_cleanup_dir()
401 errno = 0; in PS_OPEN_FUNC()
403 if (errno == ERANGE) { in PS_OPEN_FUNC()
410 errno = 0; in PS_OPEN_FUNC()
412 if (errno == ERANGE || filemode < 0 || filemode > 07777) { in PS_OPEN_FUNC()
526 php_error_docref(NULL, E_WARNING, "read failed: %s (%d)", strerror(errno), errno); in PS_READ_FUNC()
/PHP-7.4/ext/shmop/
H A Dshmop.c200 …_docref(NULL, E_WARNING, "unable to attach or create shared memory segment '%s'", strerror(errno)); in PHP_FUNCTION()
206 …r_docref(NULL, E_WARNING, "unable to get shared memory segment information '%s'", strerror(errno)); in PHP_FUNCTION()
217 …p_error_docref(NULL, E_WARNING, "unable to attach to shared memory segment '%s'", strerror(errno)); in PHP_FUNCTION()
/PHP-7.4/ext/simplexml/tests/
H A Dbug37565.phpt8 function my_error_handler($errno, $errstr, $errfile, $errline) {
/PHP-7.4/ext/snmp/
H A Dsnmp.c1737 char *error = strerror(errno); in PHP_FUNCTION()
/PHP-7.4/ext/soap/
H A Dphp_encoding.c1029 errno = 0; in to_zval_long()
/PHP-7.4/ext/soap/tests/
H A Dbug73037.phpt101 $fp = fsockopen(PHP_CLI_SERVER_HOSTNAME, PHP_CLI_SERVER_PORT, $errno, $errstr, 5);
/PHP-7.4/ext/sockets/
H A Dconversions.c579 "(errno %d)", errno); in to_zval_read_sin_addr()
630 "(errno %d)", errno); in to_zval_read_sin6_addr()
1267 if (errno == ENODEV) { in from_zval_write_ifindex()
1273 ZSTR_VAL(str), errno); in from_zval_write_ifindex()
1424 "descriptor %d: fstat() call failed with errno %d", fd, errno); in to_zval_read_fd_array()
H A Dmulticast.c233 PHP_SOCKET_ERROR(php_sock, "unable to set socket option", errno); in php_do_mcast_opt()
303 PHP_SOCKET_ERROR(php_sock, "unable to set socket option", errno); in php_do_setsockopt_ip_mcast()
368 PHP_SOCKET_ERROR(php_sock, "unable to set socket option", errno); in php_do_setsockopt_ipv6_mcast()
742 "Failed obtaining address for interface %u: error %d", if_index, errno);
748 "Failed obtaining address for interface %u: error %d", if_index, errno);
778 (errno != EINVAL || lastsize != 0)) {
780 "Failed obtaining interfaces list: error %d", errno);
823 errno);
H A Dsendrecvmsg.c202 PHP_SOCKET_ERROR(php_sock, "error in sendmsg", errno); in PHP_FUNCTION()
268 SOCKETS_G(last_error) = errno; in PHP_FUNCTION()
270 errno, sockets_strerror(errno)); in PHP_FUNCTION()
362 PHP_SOCKET_ERROR(php_sock, "unable to set socket option", errno); in php_do_setsockopt_ipv6_rfc3542()
393 PHP_SOCKET_ERROR(php_sock, "unable to get socket option", errno); in php_do_getsockopt_ipv6_rfc3542()
H A Dsockets.c56 # define set_errno(a) (errno = a)
182 ZEND_ARG_INFO(0, errno)
616 if (errno != 0 && errno != ESPIPE && errno != EAGAIN) {
1021 SOCKETS_G(last_error) = errno;
1290 if (errno == EAGAIN
1292 || errno == EWOULDBLOCK
1295 php_sock->error = errno;
1497 SOCKETS_G(last_error) = errno;
2267 SOCKETS_G(last_error) = errno;
2654 SOCKETS_G(last_error) = errno;
[all …]
/PHP-7.4/ext/sockets/tests/
H A Dsocket_export_stream-2.phpt16 var_dump(socket_export_stream(stream_socket_server("udp://127.0.0.1:0", $errno, $errstr, STREAM_SER…

Completed in 121 milliseconds

12345678910>>...16