Home
last modified time | relevance | path

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

12345

/PHP-7.4/ext/snmp/tests/
H A Dsnmp-object.phpt20 $session = new SNMP(SNMP::VERSION_1, $hostname, $community, $timeout, $retries);
28 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries);
34 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries);
43 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries);
52 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries);
61 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries);
70 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries);
110 $session = new SNMP(SNMP::VERSION_3, $hostname, $rwuser, $timeout, $retries);
118 $session = new SNMP(SNMP::VERSION_3, $hostname, $rwuser, $timeout, $retries);
134 $session = new SNMP(SNMP::VERSION_3, $hostname, $rwuser, $timeout, $retries);
[all …]
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') ?: -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-7.4/sapi/fpm/fpm/events/
H A Dkqueue.c34 static int fpm_event_kqueue_wait(struct fpm_event_queue_s *queue, unsigned long int timeout);
117 static int fpm_event_kqueue_wait(struct fpm_event_queue_s *queue, unsigned long int timeout) /* {{{… in fpm_event_kqueue_wait() argument
126 t.tv_sec = timeout / 1000; in fpm_event_kqueue_wait()
127 t.tv_nsec = (timeout % 1000) * 1000 * 1000; in fpm_event_kqueue_wait()
H A Depoll.c31 static int fpm_event_epoll_wait(struct fpm_event_queue_s *queue, unsigned long int timeout);
118 static int fpm_event_epoll_wait(struct fpm_event_queue_s *queue, unsigned long int timeout) /* {{{ … in fpm_event_epoll_wait() argument
126 ret = epoll_wait(epollfd, epollfds, nepollfds, timeout); in fpm_event_epoll_wait()
H A Ddevpoll.c35 static int fpm_event_devpoll_wait(struct fpm_event_queue_s *queue, unsigned long int timeout);
146 static int fpm_event_devpoll_wait(struct fpm_event_queue_s *queue, unsigned long int timeout) /* {{… in fpm_event_devpoll_wait() argument
155 dopoll.dp_timeout = (int)timeout; in fpm_event_devpoll_wait()
H A Dpoll.c32 static int fpm_event_poll_wait(struct fpm_event_queue_s *queue, unsigned long int timeout);
131 static int fpm_event_poll_wait(struct fpm_event_queue_s *queue, unsigned long int timeout) /* {{{ */ in fpm_event_poll_wait() argument
142 ret = poll(active_pollfds, npollfds, timeout); in fpm_event_poll_wait()
/PHP-7.4/sapi/fpm/fpm/
H A Dfpm_events.c34 #define fpm_event_set_timeout(ev, now) timeradd(&(now), &(ev)->frequency, &(ev)->timeout);
390 unsigned long int timeout; in fpm_event_loop() local
405 ms = q->ev->timeout; in fpm_event_loop()
407 if (timercmp(&q->ev->timeout, &ms, <)) { in fpm_event_loop()
408 ms = q->ev->timeout; in fpm_event_loop()
416 timeout = 1000; in fpm_event_loop()
419 timeout = (tmp.tv_sec * 1000) + (tmp.tv_usec / 1000) + 1; in fpm_event_loop()
422 ret = module->wait(fpm_event_queue_fd, timeout); in fpm_event_loop()
439 if (timercmp(&now, &q->ev->timeout, >) || timercmp(&now, &q->ev->timeout, ==)) { in fpm_event_loop()
/PHP-7.4/ext/standard/tests/streams/
H A Dbug71245.phpt14 'timeout' => 60,
36 [timeout] => 60
/PHP-7.4/ext/openssl/tests/
H A DServerClientTestCase.inc12 function phpt_wait($worker = WORKER_DEFAULT_NAME, $timeout = null)
14 ServerClientTestCase::getInstance()->wait($worker, $timeout);
136 public function wait($worker, $timeout = null)
139 if ($timeout === null) {
146 $result = stream_select($read, $write, $except, $timeout);
/PHP-7.4/main/streams/
H A Dtransports.c56 struct timeval *timeout, in _php_stream_xport_create() argument
72 if (timeout == NULL) { in _php_stream_xport_create()
73 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)) { in _php_stream_xport_create()
221 struct timeval *timeout, in php_stream_xport_connect() argument
233 param.inputs.timeout = timeout; in php_stream_xport_connect()
281 struct timeval *timeout, in php_stream_xport_accept() argument
291 param.inputs.timeout = timeout; in php_stream_xport_accept()
H A Dxp_socket.c69 if (sock->timeout.tv_sec == -1) in php_sockop_write()
72 ptimeout = &sock->timeout; in php_sockop_write()
132 if (sock->timeout.tv_sec == -1) in php_sock_stream_wait_for_data()
135 ptimeout = &sock->timeout; in php_sock_stream_wait_for_data()
325 if (sock->timeout.tv_sec == -1) { in php_sockop_set_option()
329 tv = sock->timeout; in php_sockop_set_option()
365 sock->timeout = *(struct timeval*)ptrparam; in php_sockop_set_option()
784 xparam->inputs.timeout, in php_tcp_sockop_connect()
833 xparam->inputs.timeout, in php_tcp_sockop_accept()
891 struct timeval *timeout, in php_stream_generic_socket_factory() argument
[all …]
/PHP-7.4/main/
H A Dnetwork.c309 struct timeval *timeout, argument
727 struct timeval *timeout, argument
804 if (timeout) {
923 timeout ? &working_timeout : NULL,
932 if (timeout) {
952 if (timeout) {
1094 sock->timeout.tv_sec = FG(default_socket_timeout);
1095 sock->timeout.tv_usec = 0;
1219 if (timeout >= 0) {
1220 tv.tv_sec = timeout / 1000;
[all …]
/PHP-7.4/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-7.4/ext/mysqli/tests/
H A Dbug79375.phpt2 Bug #79375: mysqli_store_result does not report error from lock wait timeout
150 Lock wait timeout exceeded; try restarting transaction
155 Lock wait timeout exceeded; try restarting transaction
160 Lock wait timeout exceeded; try restarting transaction
165 Lock wait timeout exceeded; try restarting transaction
170 Lock wait timeout exceeded; try restarting transaction
/PHP-7.4/ext/pdo_mysql/tests/
H A Dbug79375.phpt2 Bug #79375: mysqli_store_result does not report error from lock wait timeout
103 SQLSTATE[HY000]: General error: 1205 Lock wait timeout exceeded; try restarting transaction
108 SQLSTATE[HY000]: General error: 1205 Lock wait timeout exceeded; try restarting transaction
113 SQLSTATE[HY000]: General error: 1205 Lock wait timeout exceeded; try restarting transaction
/PHP-7.4/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-7.4/sapi/fpm/tests/
H A Dfcgi.inc118 * Connect timeout in milliseconds
124 * Read/Write timeout in milliseconds
202 * Set the connect timeout
204 * @param int number of milliseconds before connect will timeout
212 * Get the connect timeout
222 * Set the read/write timeout
233 * Get the read timeout
235 * @return int number of milliseconds before read will timeout
245 * @param int millisecond timeout
582 // Reset timeout on socket for now
[all …]
/PHP-7.4/ext/standard/
H A Dhttp_fopen_wrapper.c142 struct timeval timeout; in php_stream_url_wrap_http_ex() local
211 timeout.tv_sec = (time_t) d; in php_stream_url_wrap_http_ex()
212 timeout.tv_usec = (size_t) ((d - timeout.tv_sec) * 1000000); in php_stream_url_wrap_http_ex()
214 timeout.tv_sec = (long) d; in php_stream_url_wrap_http_ex()
215 timeout.tv_usec = (long) ((d - timeout.tv_sec) * 1000000); in php_stream_url_wrap_http_ex()
219 timeout.tv_sec = FG(default_socket_timeout); in php_stream_url_wrap_http_ex()
221 timeout.tv_sec = (long)FG(default_socket_timeout); in php_stream_url_wrap_http_ex()
223 timeout.tv_usec = 0; in php_stream_url_wrap_http_ex()
228 NULL, &timeout, context, &errstr, NULL); in php_stream_url_wrap_http_ex()
231 php_stream_set_option(stream, PHP_STREAM_OPTION_READ_TIMEOUT, 0, &timeout); in php_stream_url_wrap_http_ex()
/PHP-7.4/ext/snmp/
H A Dsnmp.c134 ZEND_ARG_INFO(0, timeout)
142 ZEND_ARG_INFO(0, timeout)
150 ZEND_ARG_INFO(0, timeout)
158 ZEND_ARG_INFO(0, timeout)
168 ZEND_ARG_INFO(0, timeout)
193 ZEND_ARG_INFO(0, timeout)
201 ZEND_ARG_INFO(0, timeout)
209 ZEND_ARG_INFO(0, timeout)
217 ZEND_ARG_INFO(0, timeout)
227 ZEND_ARG_INFO(0, timeout)
[all …]

Completed in 89 milliseconds

12345