| /redis-3.2.3/tests/support/ |
| H A D | test.tcl | 17 if {![string match $pattern $value]} { 96 if {[string match "assertion:*" $error]} { 108 … if {$okpattern eq "undefined" || $okpattern eq $retval || [string match $okpattern $retval]} { 123 if {![string match {*0 leaks*} $output]} {
|
| H A D | server.tcl | 38 if {[string match {*Darwin*} [exec uname -a]]} { 43 if {[string match {*process does not exist*} $output] || 44 [string match {*cannot examine*} $output]} { 273 if {[string match {*already in use*} $line]} {
|
| H A D | util.tcl | 36 if {[string match {*REDIS BUG REPORT START*} $line]} { 339 expr {[info exists ::env(TERM)] && [string match *xterm* $::env(TERM)]}
|
| /redis-3.2.3/tests/ |
| H A D | instances.tcl | 109 if {[string match $start_pattern $line]} { 255 if {[string match "assertion:*" $error]} { 272 if {[string match {*Darwin*} [exec uname -a]]} { 280 if {[string match {*process does not exist*} $output] || 281 [string match {*cannot examine*} $output]} { 288 if {![string match {*0 leaks*} $output]} { 305 if {$::run_matching ne {} && [string match $::run_matching $test] == 0} { 503 if {[string match {*LOADING*} $retval]} {
|
| /redis-3.2.3/src/ |
| H A D | adlist.h | 52 int (*match)(void *ptr, void *key); member 66 #define listSetMatchMethod(l,m) ((l)->match = (m)) 70 #define listGetMatchMethod(l) ((l)->match)
|
| H A D | util.c | 76 int not, match; in stringmatchlen() local 85 match = 0; in stringmatchlen() 91 match = 1; in stringmatchlen() 115 match = 1; in stringmatchlen() 119 match = 1; in stringmatchlen() 122 match = 1; in stringmatchlen() 129 match = !match; in stringmatchlen() 130 if (!match) in stringmatchlen()
|
| H A D | adlist.c | 51 list->match = NULL; in listCreate() 252 copy->match = orig->match; in listDup() 289 if (list->match) { in listSearchKey() 290 if (list->match(node->value, key)) { in listSearchKey()
|
| H A D | sentinel.c | 1028 sentinelRedisInstance *master = dictGetVal(de), *match; in sentinelTryConnectionSharing() local 1034 if (match == NULL) continue; /* No match. */ in sentinelTryConnectionSharing() 1040 ri->link = match->link; in sentinelTryConnectionSharing() 1041 match->link->refcount++; in sentinelTryConnectionSharing() 1067 if (match == NULL) continue; in sentinelUpdateSentinelAddressInAllMasters() 1070 if (match->link->cc != NULL) in sentinelUpdateSentinelAddressInAllMasters() 1071 instanceLinkCloseConnection(match->link,match->link->cc); in sentinelUpdateSentinelAddressInAllMasters() 1072 if (match->link->pc != NULL) in sentinelUpdateSentinelAddressInAllMasters() 1073 instanceLinkCloseConnection(match->link,match->link->pc); in sentinelUpdateSentinelAddressInAllMasters() 1079 releaseSentinelAddr(match->addr); in sentinelUpdateSentinelAddressInAllMasters() [all …]
|
| /redis-3.2.3/utils/ |
| H A D | cluster_fail_time.tcl | 23 if {[string match {*fail\?*} $output]} break 33 if {![string match {*fail\?*} $output]} break
|
| /redis-3.2.3/tests/integration/ |
| H A D | replication.tcl | 5 string match $pattern $content 33 [string match *handshake* [$slave role]] 67 [string match {*master_link_status:up*} [$A info replication]] 103 [string match {*master_link_status:up*} [$B info replication]] 215 … if {[string match {*slave0:*state=online*slave1:*state=online*slave2:*state=online*} $info]} {
|
| H A D | rdb.tcl | 68 [string match {*Fatal error loading*} \ 92 [string match {*CRC error*} \
|
| H A D | aof.tcl | 92 if {[string match $pattern $result]} { 117 if {[string match $pattern $result]} { 141 if {[string match $pattern $result]} {
|
| H A D | logging.tcl | 13 if {[string match $pattern $result]} {
|
| /redis-3.2.3/deps/lua/src/ |
| H A D | lstrlib.c | 278 static const char *match (MatchState *ms, const char *s, const char *p); 308 const char *res = match(ms, (s+i), ep+1); in max_expand() 319 const char *res = match(ms, s, ep+1); in min_expand() 337 if ((res=match(ms, s, p)) == NULL) /* match failed? */ in start_capture() 348 if ((res = match(ms, s, p)) == NULL) /* match failed? */ in end_capture() 365 static const char *match (MatchState *ms, const char *s, const char *p) { in match() function 420 if (m && ((res=match(ms, s+1, ep+1)) != NULL)) in match() 522 if ((res=match(&ms, s1, p)) != NULL) { in str_find_aux() 562 if ((e = match(&ms, src, p)) != NULL) { in gmatch_aux() 664 e = match(&ms, src, p); in str_gsub()
|
| /redis-3.2.3/tests/unit/ |
| H A D | aofrw.tcl | 73 [string match {*Killing*AOF*child*} [exec tail -n5 < [srv 0 stdout]]] 193 while {[string match {*aof_rewrite_scheduled:1*} [r info persistence]]} { 206 while {[string match {*aof_rewrite_scheduled:1*} [r info persistence]]} {
|
| H A D | maxmemory.tcl | 87 if {[string match {*used memory*} $e]} { 92 if {[string match allkeys-* $policy]} {
|
| H A D | keyspace.tcl | 65 append res [string match OK* [r read]] 67 append res [string match PONG* [r read]] 73 string match ERR* $err
|
| H A D | introspection.tcl | 54 [string match {*foobar*} [r client list]] == 0
|
| H A D | scan.tcl | 45 set res [r scan $cur match "key:1??"]
|
| /redis-3.2.3/tests/unit/type/ |
| H A D | hash.tcl | 307 lappend rv [string match "ERR*not an integer*" $smallerr] 308 lappend rv [string match "ERR*not an integer*" $bigerr] 317 lappend rv [string match "ERR*not an integer*" $smallerr] 318 lappend rv [string match "ERR*not an integer*" $bigerr] 379 lappend rv [string match "ERR*not*float*" $smallerr] 380 lappend rv [string match "ERR*not*float*" $bigerr] 389 lappend rv [string match "ERR*not*float*" $smallerr] 390 lappend rv [string match "ERR*not*float*" $bigerr]
|
| /redis-3.2.3/deps/jemalloc/doc/ |
| H A D | stylesheet.xsl | 4 <xsl:template match="mallctl">
|
| /redis-3.2.3/deps/jemalloc/include/jemalloc/ |
| H A D | jemalloc_defs.h.in | 31 * with C++. The only justification for this is to match the prototypes that
|
| /redis-3.2.3/tests/sentinel/tests/ |
| H A D | 07-down-conditions.tcl | 15 [string match *down* \
|
| /redis-3.2.3/tests/cluster/tests/ |
| H A D | 03-failover-loop.tcl | 44 [string match {*state=online*} [RI $tokill slave0]]
|
| /redis-3.2.3/deps/jemalloc/ |
| H A D | config.sub | 1533 # Note that if you're going to try to match "-MANUFACTURER" here (say,
|