Home
last modified time | relevance | path

Searched refs:timeout (Results 26 – 50 of 97) sorted by relevance

1234

/PHP-5.5/ext/snmp/tests/
H A Dsnmp-object-errno-errstr.phpt20 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries);
27 $session = new SNMP(SNMP::VERSION_2c, $hostname, 'timeout_community_432', $timeout, $retries);
35 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries);
42 $session = new SNMP(SNMP::VERSION_3, $hostname, 'somebogususer', $timeout, $retries);
52 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries);
58 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries);
64 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries);
70 $session = new SNMP(SNMP::VERSION_3, $hostname, $rwuser, $timeout, $retries);
80 $session = new SNMP(SNMP::VERSION_3, $hostname, $rwuser, $timeout, $retries);
H A Dskipif.inc9 //string $object_id [, int $timeout [, int $retries ]] )
11 if (snmpget($hostname, $community, '.1.3.6.1.2.1.1.1.0', $timeout) === false)
H A Dsnmp-object-properties.phpt21 $session = new SNMP(SNMP::VERSION_1, $hostname, $community, $timeout, $retries);
77 ["timeout"]=>
104 ["timeout"]=>
131 ["timeout"]=>
161 ["timeout"]=>
203 ["timeout"]=>
H A Dsnmp_include.inc6 Default timeout is 1000ms and there will be one request performed.
17 $timeout = getenv('SNMP_TIMEOUT') ? getenv('SNMP_TIMEOUT') : -1;
H A Dsnmp3-error.phpt17 // string object_id [, int timeout [, int retries]]);
28 …ser', 'authPriv', 'MD5', $auth_pass, 'AES', $priv_pass, '.1.3.6.1.2.1.1.1.0', $timeout, $retries));
32 …riv', 'MD5', $auth_pass, 'AES', $priv_pass, '.1.3.6.777...7.5.3', 's', 'ttt', $timeout, $retries));
33 … 'MD5', $auth_pass, 'AES', $priv_pass, '.1.3.6.777.7.5.3', array('s'), 'yyy', $timeout, $retries));
H A Dsnmp-object-error.phpt28 var_dump(new SNMP(SNMP::VERSION_1, $hostname, $community, $timeout, ''));
39 $session = new SNMP(SNMP::VERSION_3, $hostname, $user_noauth, $timeout, $retries);
56 $session = new SNMP(SNMP::VERSION_3, $hostname, $user_noauth, $timeout, $retries);
65 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries);
H A Dwrong_hostname.phpt17 var_dump(snmpget('192.168..6.1', 'community', '.1.3.6.1.2.1.1.1.0', $timeout, $retries));
/PHP-5.5/main/
H A Dnetwork.c312 struct timeval *timeout, argument
717 struct timeval *timeout, argument
789 if (timeout) {
887 timeout ? &working_timeout : NULL,
896 if (timeout) {
916 if (timeout) {
1047 sock->timeout.tv_sec = FG(default_socket_timeout);
1048 sock->timeout.tv_usec = 0;
1171 if (timeout >= 0) {
1172 tv.tv_sec = timeout / 1000;
[all …]
/PHP-5.5/ext/openssl/
H A Dxp_ssl.c203 struct timeval *timeout = NULL; in php_openssl_sockop_io() local
208 if (began_blocked && &sslsock->s.timeout) { in php_openssl_sockop_io()
209 timeout = &sslsock->s.timeout; in php_openssl_sockop_io()
216 if (!sslsock->s.is_blocked && timeout && (timeout->tv_sec || timeout->tv_usec)) { in php_openssl_sockop_io()
577 *timeout; in php_openssl_enable_crypto() local
600 timeout = sslsock->is_client ? &sslsock->connect_timeout : &sslsock->s.timeout; in php_openssl_enable_crypto()
601 has_timeout = !sslsock->s.is_blocked && (timeout->tv_sec || timeout->tv_usec); in php_openssl_enable_crypto()
748 xparam->inputs.timeout, in php_openssl_tcp_sockop_accept()
826 if (sslsock->s.timeout.tv_sec == -1) { in php_openssl_sockop_set_option()
1043 struct timeval *timeout, in php_openssl_ssl_socket_factory() argument
[all …]
/PHP-5.5/ext/standard/
H A Dfsock.c38 double timeout = FG(default_socket_timeout); in php_fsockopen_stream() local
50 …NUM_ARGS() TSRMLS_CC, "s|lzzd", &host, &host_len, &port, &zerrno, &zerrstr, &timeout) == FAILURE) { in php_fsockopen_stream()
66 conv = (unsigned long) (timeout * 1000000.0); in php_fsockopen_stream()
/PHP-5.5/main/streams/
H A Dtransports.c54 struct timeval *timeout, in _php_stream_xport_create() argument
69 if (timeout == NULL) { in _php_stream_xport_create()
70 timeout = &default_timeout; in _php_stream_xport_create()
133 (char*)name, namelen, persistent_id, options, flags, timeout, in _php_stream_xport_create()
145 timeout, &error_text, error_code TSRMLS_CC)) { in _php_stream_xport_create()
227 struct timeval *timeout, in php_stream_xport_connect() argument
239 param.inputs.timeout = timeout; in php_stream_xport_connect()
287 struct timeval *timeout, in php_stream_xport_accept() argument
297 param.inputs.timeout = timeout; in php_stream_xport_accept()
H A Dxp_socket.c64 if (sock->timeout.tv_sec == -1) in php_sockop_write()
67 ptimeout = &sock->timeout; in php_sockop_write()
125 if (sock->timeout.tv_sec == -1) in php_sock_stream_wait_for_data()
128 ptimeout = &sock->timeout; in php_sock_stream_wait_for_data()
282 if (sock->timeout.tv_sec == -1) { in php_sockop_set_option()
286 tv = sock->timeout; in php_sockop_set_option()
312 sock->timeout = *(struct timeval*)ptrparam; in php_sockop_set_option()
675 xparam->inputs.timeout, in php_tcp_sockop_connect()
716 xparam->inputs.timeout, in php_tcp_sockop_accept()
781 struct timeval *timeout, in php_stream_generic_socket_factory() argument
[all …]
/PHP-5.5/ext/standard/tests/network/
H A Dfsockopen_basic.phpt5 …oto resource fsockopen(string hostname, int port [, int errno [, string errstr [, float timeout]]])
28 $timeout = 1.5;
31 $client = fsockopen($hostname, $port, $errno, $errstr, $timeout);
/PHP-5.5/sapi/fpm/fpm/events/
H A Depoll.c33 static int fpm_event_epoll_wait(struct fpm_event_queue_s *queue, unsigned long int timeout);
120 static int fpm_event_epoll_wait(struct fpm_event_queue_s *queue, unsigned long int timeout) /* {{{ … in fpm_event_epoll_wait() argument
128 ret = epoll_wait(epollfd, epollfds, nepollfds, timeout); in fpm_event_epoll_wait()
H A Ddevpoll.c37 static int fpm_event_devpoll_wait(struct fpm_event_queue_s *queue, unsigned long int timeout);
148 static int fpm_event_devpoll_wait(struct fpm_event_queue_s *queue, unsigned long int timeout) /* {{… in fpm_event_devpoll_wait() argument
157 dopoll.dp_timeout = (int)timeout; in fpm_event_devpoll_wait()
H A Dpoll.c34 static int fpm_event_poll_wait(struct fpm_event_queue_s *queue, unsigned long int timeout);
133 static int fpm_event_poll_wait(struct fpm_event_queue_s *queue, unsigned long int timeout) /* {{{ */ in fpm_event_poll_wait() argument
144 ret = poll(active_pollfds, npollfds, timeout); in fpm_event_poll_wait()
/PHP-5.5/ext/curl/
H A Dmulti.c153 static void _make_timeval_struct(struct timeval *to, double timeout) /* {{{ */ in _make_timeval_struct() argument
157 conv = (unsigned long) (timeout * 1000000.0); in _make_timeval_struct()
173 double timeout = 1.0; in PHP_FUNCTION() local
176 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r|d", &z_mh, &timeout) == FAILURE) { in PHP_FUNCTION()
182 _make_timeval_struct(&to, timeout); in PHP_FUNCTION()
/PHP-5.5/ext/mbstring/libmbfl/tests/conv_encoding.tests/
H A Dcp51932_cp50220raw.exp3 set timeout 1
H A Dujis_sjis.exp3 set timeout 1
H A Dutf8_sjis.exp3 set timeout 1
/PHP-5.5/ext/mbstring/libmbfl/tests/strwidth.tests/
H A Dstrwidth.exp3 set timeout 1
/PHP-5.5/ext/sockets/tests/
H A Dmcast_helpers.php.inc6 die("Socket read timeout hit. Can be a bug, a test bug, or a firewall issue.");
/PHP-5.5/ext/snmp/
H A Dsnmp.c152 ZEND_ARG_INFO(0, timeout)
160 ZEND_ARG_INFO(0, timeout)
168 ZEND_ARG_INFO(0, timeout)
176 ZEND_ARG_INFO(0, timeout)
186 ZEND_ARG_INFO(0, timeout)
211 ZEND_ARG_INFO(0, timeout)
219 ZEND_ARG_INFO(0, timeout)
227 ZEND_ARG_INFO(0, timeout)
235 ZEND_ARG_INFO(0, timeout)
245 ZEND_ARG_INFO(0, timeout)
[all …]
/PHP-5.5/ext/standard/tests/streams/
H A Dstream_get_meta_data_socket_variation2.phpt20 echo "\n\nSet a timeout on the client and attempt a read:\n";
57 Set a timeout on the client and attempt a read:
/PHP-5.5/tests/func/
H A D005a.phpt2 Testing register_shutdown_function() with timeout. (Bug: #21513)

Completed in 79 milliseconds

1234