Home
last modified time | relevance | path

Searched refs:timeout (Results 1 – 25 of 97) sorted by relevance

1234

/PHP-5.5/ext/snmp/tests/
H A Dsnmp2_set.phpt22 echo "No type & no value (timeout & retries instead)\n";
23 $z = snmp2_set($hostname, $communityWrite, 'SNMPv2-MIB::sysLocation.0', $timeout, $retries);
26 echo "No value (timeout instead), retries instead of timeout\n";
36 $oldvalue1 = snmpget($hostname, $communityWrite, $oid1, $timeout, $retries);
39 $oldvalue2 = snmpget($hostname, $communityWrite, $oid1, $timeout, $retries);
43 $z = snmp2_set($hostname, $communityWrite, $oid1, 's', $newvalue1, $timeout, $retries);
45 var_dump((snmpget($hostname, $communityWrite, $oid1, $timeout, $retries) === $newvalue1));
46 $z = snmp2_set($hostname, $communityWrite, $oid1, 's', $oldvalue1, $timeout, $retries);
48 var_dump((snmpget($hostname, $communityWrite, $oid1, $timeout, $retries) === $oldvalue1));
149 No type & no value (timeout & retries instead)
[all …]
H A Dsnmpset.phpt22 echo "No type & no value (timeout & retries instead)\n";
23 $z = snmpset($hostname, $communityWrite, 'SNMPv2-MIB::sysLocation.0', $timeout, $retries);
26 echo "No value (timeout instead), retries instead of timeout\n";
36 $oldvalue1 = snmpget($hostname, $communityWrite, $oid1, $timeout, $retries);
39 $oldvalue2 = snmpget($hostname, $communityWrite, $oid1, $timeout, $retries);
43 $z = snmpset($hostname, $communityWrite, $oid1, 's', $newvalue1, $timeout, $retries);
45 var_dump((snmpget($hostname, $communityWrite, $oid1, $timeout, $retries) === $newvalue1));
46 $z = snmpset($hostname, $communityWrite, $oid1, 's', $oldvalue1, $timeout, $retries);
48 var_dump((snmpget($hostname, $communityWrite, $oid1, $timeout, $retries) === $oldvalue1));
149 No type & no value (timeout & retries instead)
[all …]
H A Dsnmp3.phpt15 // string object_id [, int timeout [, int retries]]);
20 …hostname, $user_noauth, 'noAuthNoPriv', '', '', '', '', '.1.3.6.1.2.1.1.1.0', $timeout, $retries));
35 …me, $username, 'authNoPriv', 'MD5', $auth_pass, '', '', '.1.3.6.1.2.1.1.1.0', $timeout, $retries));
38 …ame, $username, 'authNoPriv', 'MD5', $auth_pass, '', '', '.1.3.6.1.2.1.1.1.0', $timeout, $retries);
44 …ame, $username, 'authNoPriv', 'MD5', $auth_pass, '', '', '.1.3.6.1.2.1.1.1.0', $timeout, $retries);
50 …ostname, $username, 'authNoPriv', 'MD5', $auth_pass, '', '', '.1.3.6.1.2.1.1', $timeout, $retries);
57 …name, $username, 'authNoPriv', 'MD5', $auth_pass, 'AES', '', '.1.3.6.1.2.1.1', $timeout, $retries);
65 …t($hostname, $rwuser, 'authPriv', 'MD5', $auth_pass, 'AES', $priv_pass, $oid1, $timeout, $retries);
68 …ser, 'authPriv', 'MD5', $auth_pass, 'AES', $priv_pass, $oid1, 's', $newvalue1, $timeout, $retries);
70 …name, $rwuser, 'authPriv', 'MD5', $auth_pass, 'AES', $priv_pass, $oid1, $timeout, $retries) === $n…
[all …]
H A Dsnmpget.phpt19 var_dump(snmpget($hostname, $community, '.1.3.6.1.2.1.1.1.0', $timeout, ''));
22 echo "Single OID, default timeout and retries\n";
25 var_dump(snmpget($hostname, $community, '.1.3.6.1.2.1.1.1.0', $timeout));
27 var_dump(snmpget($hostname, $community, '.1.3.6.1.2.1.1.1.0', $timeout, $retries));
29 var_dump(snmpget($hostname, $community, array('.1.3.6.1.2.1.1.1.0'), $timeout, $retries));
31 var_dump(snmpget($hostname, $community, array('.1.3.6.1.2.1.1.1.0', '.1.3.6.1.2.1.1.3.0'), $timeout
35 var_dump(snmpget($hostname, $community, '.1.3.6.1.2.1..1.1.0', $timeout, $retries));
37 var_dump(snmpget($hostname, $community, array('.1.3.6.1.2.1...1.1.0'), $timeout, $retries));
43 var_dump(snmpget($hostname, $community, '.1.3.6.1.2.1.1.1.110', $timeout, $retries));
45 var_dump(snmpget($hostname, $community, array('.1.3.6.1.2.1.1.1.110'), $timeout, $retries));
[all …]
H A Dsnmp2_set-nomib.phpt23 $z = snmp2_set($hostname, $communityWrite, '.1.3.6.777.888.999.444.0', 's', 'bbb', $timeout, $retri…
27 $z = snmp2_set($hostname, $communityWrite, '.1.3.6...777.888.999.444.0', 's', 'bbb', $timeout, $ret…
32 $oldvalue1 = snmpget($hostname, $communityWrite, $oid1, $timeout, $retries);
36 $z = snmp2_set($hostname, $communityWrite, $oid1, 's', $newvalue1, $timeout, $retries);
38 var_dump((snmpget($hostname, $communityWrite, $oid1, $timeout, $retries) === $newvalue1));
39 $z = snmp2_set($hostname, $communityWrite, $oid1, 's', $oldvalue1, $timeout, $retries);
41 var_dump((snmpget($hostname, $communityWrite, $oid1, $timeout, $retries) === $oldvalue1));
H A Dsnmpset-nomib.phpt23 $z = snmpset($hostname, $communityWrite, '.1.3.6.777.888.999.444.0', 's', 'bbb', $timeout, $retries…
27 $z = snmpset($hostname, $communityWrite, '.1.3...6.777.888.999.444.0', 's', 'bbb', $timeout, $retri…
33 $oldvalue1 = snmpget($hostname, $communityWrite, $oid1, $timeout, $retries);
37 $z = snmpset($hostname, $communityWrite, $oid1, 's', $newvalue1, $timeout, $retries);
39 var_dump((snmpget($hostname, $communityWrite, $oid1, $timeout, $retries) === $newvalue1));
40 $z = snmpset($hostname, $communityWrite, $oid1, 's', $oldvalue1, $timeout, $retries);
42 var_dump((snmpget($hostname, $communityWrite, $oid1, $timeout, $retries) === $oldvalue1));
H A Dsnmp2_get.phpt19 var_dump(snmp2_get($hostname, $community, '.1.3.6.1.2.1.1.1.0', $timeout, ''));
21 var_dump(snmp2_get($hostname, $community, array(), $timeout, $retries));
25 var_dump(snmp2_get($hostname, $community, '.1.3.6.1.2.1.1.1.0', $timeout, $retries));
27 var_dump(snmp2_get($hostname, $community, array('.1.3.6.1.2.1.1.1.0'), $timeout, $retries));
29 …get($hostname, $community, array('.1.3.6.1.2.1.1.1.0', '.1.3.6.1.2.1.1.3.0'), $timeout, $retries));
33 var_dump(snmp2_get($hostname, $community, '.1.3.6.1.2..1.1.1.0', $timeout, $retries));
35 var_dump(snmp2_get($hostname, $community, array('.1.3.6.1.2.1...1.1.0'), $timeout, $retries));
37 …t($hostname, $community, array('.1.3.6.1.2.1...1.1.0', '.1.3.6.1.2.1.1.3.0'), $timeout, $retries));
41 var_dump(snmp2_get($hostname, $community, '.1.3.6.1.2.1.1.1.110', $timeout, $retries));
43 var_dump(snmp2_get($hostname, $community, array('.1.3.6.1.2.1.1.1.110'), $timeout, $retries));
[all …]
H A Dsnmp2_walk.phpt19 var_dump(snmp2_walk($hostname, $community, '.1.3.6.1.2.1.1', $timeout, ''));
23 $return = snmp2_walk($hostname, $community, '.1.3.6.1.2.1.1', $timeout, $retries);
31 $return = snmp2_walk($hostname, $community, array('.1.3.6.1.2.1.1'), $timeout, $retries);
36 $return = snmpwalk($hostname, $community, '', $timeout, $retries);
42 $return = snmpwalk($hostname, $community, '.1.3.6...1', $timeout, $retries);
46 $return = snmp2_walk($hostname, $community, array('.1.3.6.1.2.1.1', '.1.3.6'), $timeout, $retries);
50 $return = snmp2_walk($hostname, $community, array('.1.3.6.1.2.1.1', '.1.3.6...1'), $timeout, $retri…
52 $return = snmp2_walk($hostname, $community, array('.1.3.6...1', '.1.3.6.1.2.1.1'), $timeout, $retri…
56 $return = snmp2_walk($hostname, $community, array('.1.3.6.99999.0.99999.111'), $timeout, $retries);
H A Dsnmpwalk.phpt19 var_dump(snmpwalk($hostname, $community, '.1.3.6.1.2.1.1', $timeout, ''));
23 $return = snmpwalk($hostname, $community, '.1.3.6.1.2.1.1', $timeout, $retries);
31 $return = snmpwalk($hostname, $community, array('.1.3.6.1.2.1.1'), $timeout, $retries);
36 $return = snmpwalk($hostname, $community, '', $timeout, $retries);
42 $return = snmpwalk($hostname, $community, '.1.3.6...1', $timeout, $retries);
46 $return = snmpwalk($hostname, $community, array('.1.3.6.1.2.1.1', '.1.3.6'), $timeout, $retries);
50 $return = snmpwalk($hostname, $community, array('.1.3.6.1.2.1.1', '.1.3.6...1'), $timeout, $retries…
52 $return = snmpwalk($hostname, $community, array('.1.3.6...1', '.1.3.6.1.2.1.1'), $timeout, $retries…
56 $return = snmpwalk($hostname, $community, array('.1.3.6.99999.0.99999.111'), $timeout, $retries);
H A Dsnmp_getvalue.phpt18 var_dump(snmpget($hostname, $community, '.1.3.6.1.2.1.1.1.0', $timeout, $retries));
22 var_dump(snmpget($hostname, $community, '.1.3.6.1.2.1.1.1.0', $timeout, $retries));
26 $z = snmpget($hostname, $community, '.1.3.6.1.2.1.1.1.0', $timeout, $retries);
33 $z = snmpget($hostname, $community, '.1.3.6.1.2.1.1.1.0', $timeout, $retries);
40 ….2.1.88.1.4.2.1.3.6.95.115.110.109.112.100.95.108.105.110.107.68.111.119.110', $timeout, $retries);
47 ….2.1.88.1.4.2.1.3.6.95.115.110.109.112.100.95.108.105.110.107.68.111.119.110', $timeout, $retries);
56 var_dump(count(snmp2_walk($hostname, $community, '.', $timeout, $retries)));
H A Dsnmprealwalk.phpt19 var_dump(snmprealwalk($hostname, $community, '.1.3.6.1.2.1.1', $timeout, ''));
23 $return = snmprealwalk($hostname, $community, '.1.3.6.1.2.1.1', $timeout, $retries);
30 $return = snmprealwalk($hostname, $community, array('.1.3.6.1.2.1.1'), $timeout, $retries);
38 $return = snmprealwalk($hostname, $community, array('.1.3.6.1.2.1.1', '.1.3.6'), $timeout, $retries…
42 $return = snmprealwalk($hostname, $community, array('.1.3.6.1.2.1.1', '.1.3.6...1'), $timeout, $ret…
44 $return = snmprealwalk($hostname, $community, array('.1.3.6...1', '.1.3.6.1.2.1.1'), $timeout, $ret…
48 $return = snmprealwalk($hostname, $community, array('.1.3.6.99999.0.99999.111'), $timeout, $retries…
H A Dgeneric_timeout_error.phpt2 Generic timeout (wrong community)
17 var_dump(snmpget($hostname, 'timeout_community_432', '.1.3.6.1.2.1.1.1.0', $timeout, $retries));
18 var_dump(snmpget($hostname, 'timeout_community_432', array('.1.3.6.1.2.1.1.1.0'), $timeout, $retrie…
H A Dsnmp2_real_walk.phpt19 var_dump(snmp2_real_walk($hostname, $community, '.1.3.6.1.2.1.1', $timeout, ''));
23 $return = snmp2_real_walk($hostname, $community, '.1.3.6.1.2.1.1', $timeout, $retries);
30 $return = snmp2_real_walk($hostname, $community, array('.1.3.6.1.2.1.1'), $timeout, $retries);
38 $return = snmp2_real_walk($hostname, $community, array('.1.3.6.1.2.1.1', '.1.3.6'), $timeout, $retr…
42 $return = snmp2_real_walk($hostname, $community, array('.1.3.6.1.2.1.1', '.1.3.6...1'), $timeout, $…
44 $return = snmp2_real_walk($hostname, $community, array('.1.3.6...1', '.1.3.6.1.2.1.1'), $timeout, $…
48 $return = snmp2_real_walk($hostname, $community, array('.1.3.6.99999.0.99999.111'), $timeout, $retr…
H A Dsnmp2_getnext.phpt18 var_dump(snmp2_getnext($hostname, $community, '.1.3.6.1.2.1.1.1.0', $timeout, $retries));
20 var_dump(snmp2_getnext($hostname, $community, array('.1.3.6.1.2.1.1.1.0'), $timeout, $retries));
22 …ext($hostname, $community, array('.1.3.6.1.2.1.1.1.0', '.1.3.6.1.2.1.1.6.0'), $timeout, $retries));
H A Dsnmpgetnext.phpt18 var_dump(snmpgetnext($hostname, $community, '.1.3.6.1.2.1.1.1.0', $timeout, $retries));
20 var_dump(snmpgetnext($hostname, $community, array('.1.3.6.1.2.1.1.1.0'), $timeout, $retries));
22 …ext($hostname, $community, array('.1.3.6.1.2.1.1.1.0', '.1.3.6.1.2.1.1.6.0'), $timeout, $retries));
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 …]
/PHP-5.5/main/
H A Dphp_network.h121 PHPAPI int php_poll2(php_pollfd *ufds, unsigned int nfds, int timeout);
140 # define php_poll2(ufds, nfds, timeout) poll(ufds, nfds, timeout) argument
174 static inline int php_pollfd_for_ms(php_socket_t fd, int events, int timeout) in php_pollfd_for_ms() argument
183 n = php_poll2(&p, 1, timeout); in php_pollfd_for_ms()
231 int socktype, int asynchronous, struct timeval *timeout, char **error_string,
239 struct timeval *timeout,
243 #define php_connect_nonb(sock, addr, addrlen, timeout) \ argument
254 struct timeval *timeout,
278 struct timeval timeout; member
307 …k_open_host(host, port, socktype, timeout, persistent) _php_stream_sock_open_host((host), (port), … argument
[all …]
/PHP-5.5/main/streams/
H A Dphp_stream_transport.h32 struct timeval *timeout,
51 struct timeval *timeout,
57 #define php_stream_xport_create(name, namelen, options, flags, persistent_id, timeout, context, est… argument
58 …_php_stream_xport_create(name, namelen, options, flags, persistent_id, timeout, context, estr, eco…
70 struct timeval *timeout,
86 struct timeval *timeout,
146 struct timeval *timeout; member
/PHP-5.5/ext/standard/tests/network/
H A Dfsockopen_error.phpt5 …oto resource fsockopen(string hostname, int port [, int errno [, string errstr [, float timeout]]])
20 $timeout = 10.5;
22 var_dump( fsockopen($hostname, $port, $errno, $errstr, $timeout, $extra_arg) );
34 $timeout = 1.5;
35 var_dump( fsockopen($hostname, $port, $errno, $errstr, $timeout) );
43 $timeout = 1.5;
44 var_dump( fsockopen($hostname, $port, $errno, $errstr, $timeout) );
/PHP-5.5/sapi/fpm/fpm/events/
H A Dselect.c39 static int fpm_event_select_wait(struct fpm_event_queue_s *queue, unsigned long int timeout);
86 static int fpm_event_select_wait(struct fpm_event_queue_s *queue, unsigned long int timeout) /* {{{… in fpm_event_select_wait() argument
97 t.tv_sec = timeout / 1000; in fpm_event_select_wait()
98 t.tv_usec = (timeout % 1000) * 1000; in fpm_event_select_wait()
H A Dport.c34 static int fpm_event_port_wait(struct fpm_event_queue_s *queue, unsigned long int timeout);
117 static int fpm_event_port_wait(struct fpm_event_queue_s *queue, unsigned long int timeout) /* {{{ */ in fpm_event_port_wait() argument
123 t.tv_sec = (int)(timeout / 1000); in fpm_event_port_wait()
124 t.tv_nsec = (timeout % 1000) * 1000 * 1000; in fpm_event_port_wait()
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()
/PHP-5.5/sapi/fpm/fpm/
H A Dfpm_events.h17 struct timeval timeout; /* next time to trigger */ member
37 int (*wait)(struct fpm_event_queue_s *queue, unsigned long int timeout);
46 int fpm_event_add(struct fpm_event_s *ev, unsigned long int timeout);
H A Dfpm_events.c36 #define fpm_event_set_timeout(ev, now) timeradd(&(now), &(ev)->frequency, &(ev)->timeout);
379 unsigned long int timeout; in fpm_event_loop() local
394 ms = q->ev->timeout; in fpm_event_loop()
396 if (timercmp(&q->ev->timeout, &ms, <)) { in fpm_event_loop()
397 ms = q->ev->timeout; in fpm_event_loop()
405 timeout = 1000; in fpm_event_loop()
408 timeout = (tmp.tv_sec * 1000) + (tmp.tv_usec / 1000) + 1; in fpm_event_loop()
411 ret = module->wait(fpm_event_queue_fd, timeout); in fpm_event_loop()
427 if (timercmp(&now, &q->ev->timeout, >) || timercmp(&now, &q->ev->timeout, ==)) { in fpm_event_loop()
/PHP-5.5/win32/
H A Dtime.c150 int timeout = value->it_value.tv_sec * 1000 + value->it_value.tv_usec;
155 if (timeout > 0) {
164 realtimer = timeSetEvent(timeout, 100, (LPTIMECALLBACK) setitimer_timeout, (UINT) msg, repeat);
168 virttimer = timeSetEvent(timeout, 100, (LPTIMECALLBACK) setitimer_timeout, (UINT) msg, repeat);
172 proftimer = timeSetEvent(timeout, 100, (LPTIMECALLBACK) setitimer_timeout, (UINT) msg, repeat);

Completed in 27 milliseconds

1234