Home
last modified time | relevance | path

Searched refs:args (Results 1 – 19 of 19) sorted by relevance

/redis-3.2.3/tests/
H A Dtest_helper.tcl97 proc srv {args} { argument
100 set level [lindex $args 0]
112 proc r {args} { argument
115 set level [lindex $args 0]
116 set args [lrange $args 1 end]
121 proc reconnect {args} { argument
122 set level [lindex $args 0]
145 if {[llength $args] > 0 && [string is integer [lindex $args 0]]} {
147 set args [lrange $args 1 end]
160 proc s {args} { argument
[all …]
H A Dinstances.tcl332 proc S {n args} { argument
334 [dict get $s link] {*}$args
338 proc R {n args} { argument
340 [dict get $r link] {*}$args
/redis-3.2.3/tests/cluster/
H A Dcluster.tcl14 set args [split $l]
16 id [lindex $args 0] \
17 addr [lindex $args 1] \
18 flags [split [lindex $args 2] ,] \
19 slaveof [lindex $args 3] \
20 ping_sent [lindex $args 4] \
21 pong_recv [lindex $args 5] \
22 config_epoch [lindex $args 6] \
23 linkstate [lindex $args 7] \
24 slots [lrange $args 8 -1] \
/redis-3.2.3/tests/integration/
H A Dredis-cli.tcl56 proc _run_cli {opts args} {
57 set cmd [format "src/redis-cli -p %d -n 9 $args" [srv port]]
75 proc run_cli {args} {
76 _run_cli {} {*}$args
79 proc run_cli_with_input_pipe {cmd args} {
80 _run_cli [list pipe $cmd] {*}$args
83 proc run_cli_with_input_file {path args} {
84 _run_cli [list path $path] {*}$args
/redis-3.2.3/tests/unit/
H A Dquit.tcl2 proc format_command {args} {
3 set cmd "*[llength $args]\r\n"
4 foreach a $args {
H A Dbitops.tcl7 proc simulate_bit_op {op args} { argument
10 set count [llength $args]
11 foreach a $args {
H A Dscripting.tcl427 test {Call Redis command with many args from Lua (issue #1764)} {
/redis-3.2.3/tests/support/
H A Dutil.tcl108 proc randpath args { argument
109 set path [expr {int(rand()*[llength $args])}]
110 uplevel 1 [lindex $args $path]
255 proc formatCommand {args} { argument
256 set cmd "*[llength $args]\r\n"
257 foreach a $args {
H A Dcluster.tcl98 set args [split $line " "]
99 lassign $args nodeid addr flags slaveof pingsent pongrecv configepoch linkstate
100 set slots [lrange $args 8 end]
165 proc ::redis_cluster::__dispatch__ {id method args} { argument
168 set keys [::redis_cluster::get_keys_from_command $method $args]
191 if {[catch {$link $method {*}$args} e]} {
215 uplevel 1 [list ::redis_cluster::__method__$method $id] $args
H A Dredis.tcl57 proc ::redis::__dispatch__ {id method args} { argument
58 set errorcode [catch {::redis::__dispatch__raw__ $id $method $args} retval]
64 set errorcode [catch {::redis::__dispatch__raw__ $id $method $args} retval]
/redis-3.2.3/deps/jemalloc/
H A D.autom4te.cfg2 args: --no-cache
/redis-3.2.3/tests/unit/type/
H A Dhash.tcl110 test {HMSET wrong number of args} {
116 set args {}
120 lappend args $k $newval
122 r hmset smallhash {*}$args
126 set args {}
130 lappend args $k $newval
132 r hmset bighash {*}$args
H A Dset.tcl108 test {SREM variadic version with more args needed to destroy the key} {
227 set args {}
232 lappend args set_$i
244 set result [lsort [r sdiff {*}$args]]
H A Dstring.tcl137 test {MSET wrong number of args} {
/redis-3.2.3/deps/lua/src/
H A Dlparser.c611 expdesc args; in funcargs() local
620 args.k = VVOID; in funcargs()
622 explist1(ls, &args); in funcargs()
623 luaK_setmultret(fs, &args); in funcargs()
629 constructor(ls, &args); in funcargs()
633 codestring(ls, &args, ls->t.seminfo.ts); in funcargs()
644 if (hasmultret(args.k)) in funcargs()
647 if (args.k != VVOID) in funcargs()
648 luaK_exp2nextreg(fs, &args); /* close last argument */ in funcargs()
H A Dlua_cjson.c208 static json_config_t *json_arg_init(lua_State *l, int args) in json_arg_init() argument
210 luaL_argcheck(l, lua_gettop(l) <= args, args + 1, in json_arg_init()
213 while (lua_gettop(l) < args) in json_arg_init()
/redis-3.2.3/src/
H A Dredis-cli.c302 int args = llabs(entry->element[1]->integer); in cliIntegrateHelp() local
305 args--; in cliIntegrateHelp()
307 while(args--) ch->params = sdscat(ch->params,"arg "); in cliIntegrateHelp()
1164 static char **convertToSds(int count, char** args) { in convertToSds() argument
1169 sds[j] = sdsnew(args[j]); in convertToSds()
/redis-3.2.3/deps/jemalloc/bin/
H A Djeprof.in1072 my $args = shift;
1075 my @x = split(/ +/, $args);
/redis-3.2.3/
H A D00-RELEASENOTES835 Actually this is wrong, the command can be called without args at all.