| /redis-3.2.3/tests/support/ |
| H A D | server.tcl | 92 proc ping_server {host port} { 95 set fd [socket $host $port] 120 proc server_is_up {host port retrynum} { 124 if {[catch {ping_server $host $port} ping]} { 255 set host $::host 257 if {[dict exists $config bind]} { set host [dict get $config bind] } 264 dict set srv "host" $host
|
| H A D | cluster.tcl | 104 lassign [split $addr :] host port 108 catch {set link [redis $host $port]} 114 host $host \
|
| H A D | redis.tcl | 74 lassign $::redis::addr($id) host port 75 set ::redis::fd($id) [socket $host $port]
|
| H A D | util.tcl | 369 proc start_write_load {host port seconds} { 371 exec $tclsh tests/helpers/gen_write_load.tcl $host $port $seconds &
|
| /redis-3.2.3/utils/ |
| H A D | redis-sha1.rb | 48 host = ARGV[0] || "127.0.0.1" 51 puts "Performing SHA1 of Redis server #{host} #{port} DB: #{db}" 52 p "Dataset SHA1: #{redisSha1(:host => host, :port => port.to_i, :db => db)}"
|
| H A D | generate-command-help.rb | 56 client = Net::HTTP.new url.host, url.port
|
| /redis-3.2.3/tests/unit/ |
| H A D | dump.tcl | 63 set second_host [srv 0 host] 82 set second_host [srv 0 host] 102 set second_host [srv 0 host] 121 set second_host [srv 0 host] 142 set second_host [srv 0 host] 168 set second_host [srv 0 host] 189 set second_host [srv 0 host] 207 set second_host [srv 0 host] 228 set second_host [srv 0 host] 256 set second_host [srv 0 host] [all …]
|
| H A D | protocol.tcl | 75 set s [socket [srv 0 host] [srv 0 port]]
|
| H A D | aofrw.tcl | 10 set master_host [srv 0 host]
|
| /redis-3.2.3/tests/integration/ |
| H A D | aof.tcl | 55 set client [redis [dict get $srv host] [dict get $srv port]] 72 set client [redis [dict get $srv host] [dict get $srv port]] 173 set client [redis [dict get $srv host] [dict get $srv port]] 197 set client [redis [dict get $srv host] [dict get $srv port]] 221 set client [redis [dict get $srv host] [dict get $srv port]] 244 set client [redis [dict get $srv host] [dict get $srv port]]
|
| H A D | replication-4.tcl | 1 proc start_bg_complex_data {host port db ops} { 3 exec $tclsh tests/helpers/bg_complex_data.tcl $host $port $db $ops & 14 set master_host [srv -1 host] 61 set master_host [srv -1 host] 103 set master_host [srv -1 host]
|
| H A D | replication.tcl | 10 set slave_host [srv 0 host] 15 set master_host [srv 0 host] 56 set A_host [srv 0 host] 60 set B_host [srv 0 host] 134 r slaveof [srv -1 host] [srv -1 port] 190 set master_host [srv 0 host]
|
| H A D | aof-race.tcl | 16 set client [redis [srv host] [srv port]] 32 set client [redis [srv host] [srv port]]
|
| H A D | replication-psync.tcl | 1 proc start_bg_complex_data {host port db ops} { 3 exec $tclsh tests/helpers/bg_complex_data.tcl $host $port $db $ops & 25 set master_host [srv -1 host]
|
| H A D | replication-3.tcl | 4 r -1 slaveof [srv 0 host] [srv 0 port] 39 r -1 slaveof [srv 0 host] [srv 0 port]
|
| H A D | replication-2.tcl | 4 r -1 slaveof [srv 0 host] [srv 0 port]
|
| /redis-3.2.3/tests/sentinel/tests/ |
| H A D | 07-down-conditions.tcl | 29 lassign [S 4 SENTINEL GET-MASTER-ADDR-BY-NAME mymaster] host port 31 exec ../../../src/redis-cli -h $host -p $port debug sleep 10 > /dev/null & 37 lassign [S 4 SENTINEL GET-MASTER-ADDR-BY-NAME mymaster] host port
|
| /redis-3.2.3/tests/helpers/ |
| H A D | bg_complex_data.tcl | 4 proc bg_complex_data {host port db ops} { 5 set r [redis $host $port]
|
| H A D | gen_write_load.tcl | 3 proc gen_write_load {host port seconds} { 5 set r [redis $host $port 1]
|
| /redis-3.2.3/src/ |
| H A D | anet.h | 59 int anetResolve(char *err, char *host, char *ipbuf, size_t ipbuf_len); 60 int anetResolveIP(char *err, char *host, char *ipbuf, size_t ipbuf_len);
|
| H A D | anet.c | 203 int anetGenericResolve(char *err, char *host, char *ipbuf, size_t ipbuf_len, in anetGenericResolve() argument 214 if ((rv = getaddrinfo(host, NULL, &hints, &info)) != 0) { in anetGenericResolve() 230 int anetResolve(char *err, char *host, char *ipbuf, size_t ipbuf_len) { in anetResolve() argument 231 return anetGenericResolve(err,host,ipbuf,ipbuf_len,ANET_NONE); in anetResolve() 234 int anetResolveIP(char *err, char *host, char *ipbuf, size_t ipbuf_len) { in anetResolveIP() argument 235 return anetGenericResolve(err,host,ipbuf,ipbuf_len,ANET_IP_ONLY); in anetResolveIP()
|
| /redis-3.2.3/deps/hiredis/ |
| H A D | test.c | 25 const char *host; member 90 c = redisConnect(config.tcp.host, config.tcp.port); in connect() 483 c = redisConnectWithTimeout(config.tcp.host, config.tcp.port, config.tcp.timeout); in test_invalid_timeout_errors() 492 c = redisConnectWithTimeout(config.tcp.host, config.tcp.port, config.tcp.timeout); in test_invalid_timeout_errors() 666 .host = "127.0.0.1", in main() 684 cfg.tcp.host = argv[0]; in main() 706 printf("\nTesting against TCP connection (%s:%d):\n", cfg.tcp.host, cfg.tcp.port); in main()
|
| /redis-3.2.3/tests/ |
| H A D | test_helper.tcl | 128 set host [dict get $srv "host"] 131 set client [redis $host $port] 425 } elseif {$opt eq {--host}} {
|
| H A D | instances.tcl | 95 host 127.0.0.1 \ 412 R $id slaveof [get_instance_attrib redis 0 host] \
|
| /redis-3.2.3/tests/sentinel/tests/includes/ |
| H A D | init-tests.tcl | 32 [get_instance_attrib redis $master_id host] \
|