Home
last modified time | relevance | path

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

1234

/PHP-7.1/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') ? 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);
/PHP-7.1/sapi/fpm/fpm/events/
H A Dkqueue.c36 static int fpm_event_kqueue_wait(struct fpm_event_queue_s *queue, unsigned long int timeout);
119 static int fpm_event_kqueue_wait(struct fpm_event_queue_s *queue, unsigned long int timeout) /* {{{… in fpm_event_kqueue_wait() argument
128 t.tv_sec = timeout / 1000; in fpm_event_kqueue_wait()
129 t.tv_nsec = (timeout % 1000) * 1000 * 1000; in fpm_event_kqueue_wait()
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-7.1/sapi/fpm/fpm/
H A Dfpm_events.c35 #define fpm_event_set_timeout(ev, now) timeradd(&(now), &(ev)->frequency, &(ev)->timeout);
378 unsigned long int timeout; in fpm_event_loop() local
393 ms = q->ev->timeout; in fpm_event_loop()
395 if (timercmp(&q->ev->timeout, &ms, <)) { in fpm_event_loop()
396 ms = q->ev->timeout; in fpm_event_loop()
404 timeout = 1000; in fpm_event_loop()
407 timeout = (tmp.tv_sec * 1000) + (tmp.tv_usec / 1000) + 1; in fpm_event_loop()
410 ret = module->wait(fpm_event_queue_fd, timeout); in fpm_event_loop()
426 if (timercmp(&now, &q->ev->timeout, >) || timercmp(&now, &q->ev->timeout, ==)) { in fpm_event_loop()
/PHP-7.1/ext/standard/tests/streams/
H A Dbug71245.phpt14 'timeout' => 60,
36 [timeout] => 60
/PHP-7.1/main/streams/
H A Dtransports.c54 struct timeval *timeout, in _php_stream_xport_create() argument
70 if (timeout == NULL) { in _php_stream_xport_create()
71 timeout = &default_timeout; in _php_stream_xport_create()
134 (char*)name, namelen, persistent_id, options, flags, timeout, in _php_stream_xport_create()
146 timeout, &error_text, error_code)) { in _php_stream_xport_create()
228 struct timeval *timeout, in php_stream_xport_connect() argument
240 param.inputs.timeout = timeout; in php_stream_xport_connect()
288 struct timeval *timeout, in php_stream_xport_accept() argument
298 param.inputs.timeout = timeout; in php_stream_xport_accept()
H A Dxp_socket.c71 if (sock->timeout.tv_sec == -1) in php_sockop_write()
74 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()
315 if (sock->timeout.tv_sec == -1) { in php_sockop_set_option()
319 tv = sock->timeout; in php_sockop_set_option()
355 sock->timeout = *(struct timeval*)ptrparam; in php_sockop_set_option()
774 xparam->inputs.timeout, in php_tcp_sockop_connect()
823 xparam->inputs.timeout, in php_tcp_sockop_accept()
881 struct timeval *timeout, in php_stream_generic_socket_factory() argument
[all …]
/PHP-7.1/main/
H A Dnetwork.c313 struct timeval *timeout, argument
734 struct timeval *timeout, argument
811 if (timeout) {
930 timeout ? &working_timeout : NULL,
939 if (timeout) {
959 if (timeout) {
1128 sock->timeout.tv_sec = FG(default_socket_timeout);
1129 sock->timeout.tv_usec = 0;
1253 if (timeout >= 0) {
1254 tv.tv_sec = timeout / 1000;
[all …]
/PHP-7.1/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.1/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.1/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-7.1/ext/mbstring/libmbfl/tests/strwidth.tests/
H A Dstrwidth.exp3 set timeout 1
/PHP-7.1/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.1/ext/snmp/
H A Dsnmp.c143 ZEND_ARG_INFO(0, timeout)
151 ZEND_ARG_INFO(0, timeout)
159 ZEND_ARG_INFO(0, timeout)
167 ZEND_ARG_INFO(0, timeout)
177 ZEND_ARG_INFO(0, timeout)
202 ZEND_ARG_INFO(0, timeout)
210 ZEND_ARG_INFO(0, timeout)
218 ZEND_ARG_INFO(0, timeout)
226 ZEND_ARG_INFO(0, timeout)
236 ZEND_ARG_INFO(0, timeout)
[all …]
/PHP-7.1/ext/standard/
H A Dhttp_fopen_wrapper.c135 struct timeval timeout; in php_stream_url_wrap_http_ex() local
205 timeout.tv_sec = (time_t) d; in php_stream_url_wrap_http_ex()
206 timeout.tv_usec = (size_t) ((d - timeout.tv_sec) * 1000000); in php_stream_url_wrap_http_ex()
208 timeout.tv_sec = (long) d; in php_stream_url_wrap_http_ex()
209 timeout.tv_usec = (long) ((d - timeout.tv_sec) * 1000000); in php_stream_url_wrap_http_ex()
213 timeout.tv_sec = FG(default_socket_timeout); in php_stream_url_wrap_http_ex()
215 timeout.tv_sec = (long)FG(default_socket_timeout); in php_stream_url_wrap_http_ex()
217 timeout.tv_usec = 0; in php_stream_url_wrap_http_ex()
222 NULL, &timeout, context, &errstr, NULL); in php_stream_url_wrap_http_ex()
225 php_stream_set_option(stream, PHP_STREAM_OPTION_READ_TIMEOUT, 0, &timeout); in php_stream_url_wrap_http_ex()

Completed in 61 milliseconds

1234