Home
last modified time | relevance | path

Searched refs:retries (Results 1 – 25 of 35) sorted by relevance

12

/PHP-8.2/ext/snmp/tests/
H A Dsnmp2_set.phpt20 echo "No type & no value (timeout & retries instead)\n";
28 echo "No value (timeout instead), retries instead of timeout\n";
38 $oldvalue1 = snmpget($hostname, $communityWrite, $oid1, $timeout, $retries);
41 $oldvalue2 = snmpget($hostname, $communityWrite, $oid1, $timeout, $retries);
45 $z = snmp2_set($hostname, $communityWrite, $oid1, 's', $newvalue1, $timeout, $retries);
47 var_dump((snmpget($hostname, $communityWrite, $oid1, $timeout, $retries) === $newvalue1));
49 $z = snmp2_set($hostname, $communityWrite, $oid1, 's', $oldvalue1, $timeout, $retries);
51 var_dump((snmpget($hostname, $communityWrite, $oid1, $timeout, $retries) === $oldvalue1));
56 var_dump((snmpget($hostname, $communityWrite, $oid1, $timeout, $retries) === $newvalue1));
169 No type & no value (timeout & retries instead)
[all …]
H A Dsnmpset.phpt20 echo "No type & no value (timeout & retries instead)\n";
22 $z = snmpset($hostname, $communityWrite, 'SNMPv2-MIB::sysLocation.0', $timeout, $retries);
28 echo "No value (timeout instead), retries instead of timeout\n";
38 $oldvalue1 = snmpget($hostname, $communityWrite, $oid1, $timeout, $retries);
41 $oldvalue2 = snmpget($hostname, $communityWrite, $oid1, $timeout, $retries);
45 $z = snmpset($hostname, $communityWrite, $oid1, 's', $newvalue1, $timeout, $retries);
47 var_dump((snmpget($hostname, $communityWrite, $oid1, $timeout, $retries) === $newvalue1));
48 $z = snmpset($hostname, $communityWrite, $oid1, 's', $oldvalue1, $timeout, $retries);
50 var_dump((snmpget($hostname, $communityWrite, $oid1, $timeout, $retries) === $oldvalue1));
163 No type & no value (timeout & retries instead)
[all …]
H A Dsnmpget.phpt20 echo "Single OID, default timeout and retries\n";
22 echo "Single OID, default retries\n";
25 var_dump(snmpget($hostname, $community, '.1.3.6.1.2.1.1.1.0', $timeout, $retries));
27 var_dump(snmpget($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(snmpget($hostname, $community, '.1.3.6.1.2.1..1.1.0', $timeout, $retries));
35 var_dump(snmpget($hostname, $community, array('.1.3.6.1.2.1...1.1.0'), $timeout, $retries));
41 var_dump(snmpget($hostname, $community, '.1.3.6.1.2.1.1.1.110', $timeout, $retries));
43 var_dump(snmpget($hostname, $community, array('.1.3.6.1.2.1.1.1.110'), $timeout, $retries));
51 Single OID, default timeout and retries
[all …]
H A Dsnmp3.phpt17 // string object_id [, int timeout [, int retries]]);
22 …hostname, $user_noauth, 'noAuthNoPriv', '', '', '', '', '.1.3.6.1.2.1.1.1.0', $timeout, $retries));
37 …me, $username, 'authNoPriv', 'MD5', $auth_pass, '', '', '.1.3.6.1.2.1.1.1.0', $timeout, $retries));
40 …ame, $username, 'authNoPriv', 'MD5', $auth_pass, '', '', '.1.3.6.1.2.1.1.1.0', $timeout, $retries);
46 …ame, $username, 'authNoPriv', 'MD5', $auth_pass, '', '', '.1.3.6.1.2.1.1.1.0', $timeout, $retries);
52 …ostname, $username, 'authNoPriv', 'MD5', $auth_pass, '', '', '.1.3.6.1.2.1.1', $timeout, $retries);
59 …name, $username, 'authNoPriv', 'MD5', $auth_pass, 'AES', '', '.1.3.6.1.2.1.1', $timeout, $retries);
67 …t($hostname, $rwuser, 'authPriv', 'MD5', $auth_pass, 'AES', $priv_pass, $oid1, $timeout, $retries);
70 …ser, 'authPriv', 'MD5', $auth_pass, 'AES', $priv_pass, $oid1, 's', $newvalue1, $timeout, $retries);
72 …ser, 'authPriv', 'MD5', $auth_pass, 'AES', $priv_pass, $oid1, $timeout, $retries) === $newvalue1));
[all …]
H A Dsnmp2_set-nomib.phpt23 … snmp2_set($hostname, $communityWrite, '.1.3.6.777.888.999.444.0', 's', 'bbb', $timeout, $retries);
27 …nmp2_set($hostname, $communityWrite, '.1.3.6...777.888.999.444.0', 's', 'bbb', $timeout, $retries);
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 … snmpset($hostname, $communityWrite, '.1.3...6.777.888.999.444.0', 's', 'bbb', $timeout, $retries);
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.phpt22 var_dump(snmp2_get($hostname, $community, array(), $timeout, $retries));
29 var_dump(snmp2_get($hostname, $community, '.1.3.6.1.2.1.1.1.0', $timeout, $retries));
31 var_dump(snmp2_get($hostname, $community, array('.1.3.6.1.2.1.1.1.0'), $timeout, $retries));
33 …get($hostname, $community, array('.1.3.6.1.2.1.1.1.0', '.1.3.6.1.2.1.1.3.0'), $timeout, $retries));
37 var_dump(snmp2_get($hostname, $community, '.1.3.6.1.2..1.1.1.0', $timeout, $retries));
39 var_dump(snmp2_get($hostname, $community, array('.1.3.6.1.2.1...1.1.0'), $timeout, $retries));
41 …t($hostname, $community, array('.1.3.6.1.2.1...1.1.0', '.1.3.6.1.2.1.1.3.0'), $timeout, $retries));
45 var_dump(snmp2_get($hostname, $community, '.1.3.6.1.2.1.1.1.110', $timeout, $retries));
47 var_dump(snmp2_get($hostname, $community, array('.1.3.6.1.2.1.1.1.110'), $timeout, $retries));
49 …t($hostname, $community, array('.1.3.6.1.2.1.1.1.0', '.1.3.6.1.2.1.1.3.220'), $timeout, $retries));
H A Dsnmp2_walk.phpt21 $return = snmp2_walk($hostname, $community, '.1.3.6.1.2.1.1', $timeout, $retries);
29 $return = snmp2_walk($hostname, $community, array('.1.3.6.1.2.1.1'), $timeout, $retries);
34 $return = snmpwalk($hostname, $community, '', $timeout, $retries);
40 $return = snmpwalk($hostname, $community, '.1.3.6...1', $timeout, $retries);
44 $return = snmp2_walk($hostname, $community, array('.1.3.6.1.2.1.1', '.1.3.6'), $timeout, $retries);
48 …urn = snmp2_walk($hostname, $community, array('.1.3.6.1.2.1.1', '.1.3.6...1'), $timeout, $retries);
50 …urn = snmp2_walk($hostname, $community, array('.1.3.6...1', '.1.3.6.1.2.1.1'), $timeout, $retries);
54 $return = snmp2_walk($hostname, $community, array('.1.3.6.99999.0.99999.111'), $timeout, $retries);
H A Dsnmpwalk.phpt21 $return = snmpwalk($hostname, $community, '.1.3.6.1.2.1.1', $timeout, $retries);
29 $return = snmpwalk($hostname, $community, array('.1.3.6.1.2.1.1'), $timeout, $retries);
34 $return = snmpwalk($hostname, $community, '', $timeout, $retries);
40 $return = snmpwalk($hostname, $community, '.1.3.6...1', $timeout, $retries);
44 $return = snmpwalk($hostname, $community, array('.1.3.6.1.2.1.1', '.1.3.6'), $timeout, $retries);
48 $return = snmpwalk($hostname, $community, array('.1.3.6.1.2.1.1', '.1.3.6...1'), $timeout, $retries
50 $return = snmpwalk($hostname, $community, array('.1.3.6...1', '.1.3.6.1.2.1.1'), $timeout, $retries
54 $return = snmpwalk($hostname, $community, array('.1.3.6.99999.0.99999.111'), $timeout, $retries);
H A Dsnmp_getvalue.phpt21 var_dump(snmpget($hostname, $community, '.1.3.6.1.2.1.1.1.0', $timeout, $retries));
25 var_dump(snmpget($hostname, $community, '.1.3.6.1.2.1.1.1.0', $timeout, $retries));
29 $z = snmpget($hostname, $community, '.1.3.6.1.2.1.1.1.0', $timeout, $retries);
36 $z = snmpget($hostname, $community, '.1.3.6.1.2.1.1.1.0', $timeout, $retries);
43 ….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);
50 ….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);
59 var_dump(count(snmp2_walk($hostname, $community, '.', $timeout, $retries)));
H A Dsnmp2_real_walk.phpt21 $return = snmp2_real_walk($hostname, $community, '.1.3.6.1.2.1.1', $timeout, $retries);
28 $return = snmp2_real_walk($hostname, $community, array('.1.3.6.1.2.1.1'), $timeout, $retries);
36 …rn = snmp2_real_walk($hostname, $community, array('.1.3.6.1.2.1.1', '.1.3.6'), $timeout, $retries);
40 … snmp2_real_walk($hostname, $community, array('.1.3.6.1.2.1.1', '.1.3.6...1'), $timeout, $retries);
42 … snmp2_real_walk($hostname, $community, array('.1.3.6...1', '.1.3.6.1.2.1.1'), $timeout, $retries);
46 …rn = snmp2_real_walk($hostname, $community, array('.1.3.6.99999.0.99999.111'), $timeout, $retries);
H A Dsnmprealwalk.phpt21 $return = snmprealwalk($hostname, $community, '.1.3.6.1.2.1.1', $timeout, $retries);
28 $return = snmprealwalk($hostname, $community, array('.1.3.6.1.2.1.1'), $timeout, $retries);
36 $return = snmprealwalk($hostname, $community, array('.1.3.6.1.2.1.1', '.1.3.6'), $timeout, $retries
40 …n = snmprealwalk($hostname, $community, array('.1.3.6.1.2.1.1', '.1.3.6...1'), $timeout, $retries);
42 …n = snmprealwalk($hostname, $community, array('.1.3.6...1', '.1.3.6.1.2.1.1'), $timeout, $retries);
46 $return = snmprealwalk($hostname, $community, array('.1.3.6.99999.0.99999.111'), $timeout, $retries
H A Dsnmp2_getnext.phpt20 var_dump(snmp2_getnext($hostname, $community, '.1.3.6.1.2.1.1.1.0', $timeout, $retries));
22 var_dump(snmp2_getnext($hostname, $community, array('.1.3.6.1.2.1.1.1.0'), $timeout, $retries));
24 …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.phpt20 var_dump(snmpgetnext($hostname, $community, '.1.3.6.1.2.1.1.1.0', $timeout, $retries));
22 var_dump(snmpgetnext($hostname, $community, array('.1.3.6.1.2.1.1.1.0'), $timeout, $retries));
24 …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.phpt22 $session = new SNMP(SNMP::VERSION_1, $hostname, $community, $timeout, $retries);
30 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries);
36 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries);
45 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries);
54 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries);
63 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries);
72 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries);
112 $session = new SNMP(SNMP::VERSION_3, $hostname, $rwuser, $timeout, $retries);
120 $session = new SNMP(SNMP::VERSION_3, $hostname, $rwuser, $timeout, $retries);
136 $session = new SNMP(SNMP::VERSION_3, $hostname, $rwuser, $timeout, $retries);
[all …]
H A Dsnmp-object-errno-errstr.phpt22 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries);
29 $session = new SNMP(SNMP::VERSION_2c, $hostname, 'timeout_community_432', $timeout, $retries);
37 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries);
44 $session = new SNMP(SNMP::VERSION_3, $hostname, 'somebogususer', $timeout, $retries);
54 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries);
60 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries);
66 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries);
72 $session = new SNMP(SNMP::VERSION_3, $hostname, $rwuser, $timeout, $retries);
82 $session = new SNMP(SNMP::VERSION_3, $hostname, $rwuser, $timeout, $retries);
H A Dgeneric_timeout_error.phpt19 var_dump(snmpget($hostname, 'timeout_community_432', '.1.3.6.1.2.1.1.1.0', $timeout, $retries));
20 …dump(snmpget($hostname, 'timeout_community_432', array('.1.3.6.1.2.1.1.1.0'), $timeout, $retries));
H A Dsnmp-object-properties.phpt23 $session = new SNMP(SNMP::VERSION_1, $hostname, $community, $timeout, $retries);
90 ["retries"]=>
115 ["retries"]=>
140 ["retries"]=>
170 ["retries"]=>
H A Dsnmp-object-error.phpt41 $session = new SNMP(SNMP::VERSION_3, $hostname, $user_noauth, $timeout, $retries);
58 $session = new SNMP(SNMP::VERSION_3, $hostname, $user_noauth, $timeout, $retries);
75 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries);
93 SNMP::__construct(): Argument #5 ($retries) must be of type int, string given
H A Dsnmp3-error.phpt19 // string object_id [, int timeout [, int retries]]);
48 …ser', 'authPriv', 'MD5', $auth_pass, 'AES', $priv_pass, '.1.3.6.1.2.1.1.1.0', $timeout, $retries));
50 …riv', 'MD5', $auth_pass, 'AES', $priv_pass, '.1.3.6.777...7.5.3', 's', 'ttt', $timeout, $retries));
53 … 'MD5', $auth_pass, 'AES', $priv_pass, '.1.3.6.777.7.5.3', array('s'), 'yyy', $timeout, $retries));
H A Dskipif.inc7 //string $object_id [, int $timeout [, int $retries ]] )
H A Dwrong_hostname.phpt19 var_dump(snmpget('192.168..6.1', 'community', '.1.3.6.1.2.1.1.1.0', $timeout, $retries));
/PHP-8.2/ext/snmp/
H A Dsnmp.stub.php113 …stname, string $community, array|string $object_id, int $timeout = -1, int $retries = -1): mixed {} argument
115 …stname, string $community, array|string $object_id, int $timeout = -1, int $retries = -1): mixed {} argument
117 …ame, string $community, array|string $object_id, int $timeout = -1, int $retries = -1): array|fals… argument
137 …stname, string $community, array|string $object_id, int $timeout = -1, int $retries = -1): mixed {} argument
139 …stname, string $community, array|string $object_id, int $timeout = -1, int $retries = -1): mixed {} argument
151 array|string $object_id, int $timeout = -1, int $retries = -1): mixed {} argument
157 array|string $object_id, int $timeout = -1, int $retries = -1): mixed {} argument
163 array|string $object_id, int $timeout = -1, int $retries = -1): array|false {} argument
169 array|string $object_id, int $timeout = -1, int $retries = -1): array|false {} argument
176 int $timeout = -1, int $retries = -1): bool {} argument
[all …]
/PHP-8.2/ext/imap/tests/setup/
H A Dskipif.inc5 $retries = 0; // don't retry connect on failure
7 $mbox = @imap_open(IMAP_SERVER, IMAP_MAILBOX_USERNAME, IMAP_MAILBOX_PASSWORD, $options, $retries);
/PHP-8.2/ext/standard/tests/mail/
H A Dmail_skipif.inc18 $retries = 0; // don't retry connect on failure
20 $mbox = @imap_open($mailbox, $username, $password, $options, $retries);

Completed in 37 milliseconds

12