Home
last modified time | relevance | path

Searched refs:match (Results 1 – 25 of 32) sorted by relevance

12

/redis-3.2.3/tests/support/
H A Dtest.tcl17 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 Dserver.tcl38 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 Dutil.tcl36 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 Dinstances.tcl109 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 Dadlist.h52 int (*match)(void *ptr, void *key); member
66 #define listSetMatchMethod(l,m) ((l)->match = (m))
70 #define listGetMatchMethod(l) ((l)->match)
H A Dutil.c76 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 Dadlist.c51 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 Dsentinel.c1028 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 Dcluster_fail_time.tcl23 if {[string match {*fail\?*} $output]} break
33 if {![string match {*fail\?*} $output]} break
/redis-3.2.3/tests/integration/
H A Dreplication.tcl5 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 Drdb.tcl68 [string match {*Fatal error loading*} \
92 [string match {*CRC error*} \
H A Daof.tcl92 if {[string match $pattern $result]} {
117 if {[string match $pattern $result]} {
141 if {[string match $pattern $result]} {
H A Dlogging.tcl13 if {[string match $pattern $result]} {
/redis-3.2.3/deps/lua/src/
H A Dlstrlib.c278 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 Daofrw.tcl73 [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 Dmaxmemory.tcl87 if {[string match {*used memory*} $e]} {
92 if {[string match allkeys-* $policy]} {
H A Dkeyspace.tcl65 append res [string match OK* [r read]]
67 append res [string match PONG* [r read]]
73 string match ERR* $err
H A Dintrospection.tcl54 [string match {*foobar*} [r client list]] == 0
H A Dscan.tcl45 set res [r scan $cur match "key:1??"]
/redis-3.2.3/tests/unit/type/
H A Dhash.tcl307 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 Dstylesheet.xsl4 <xsl:template match="mallctl">
/redis-3.2.3/deps/jemalloc/include/jemalloc/
H A Djemalloc_defs.h.in31 * with C++. The only justification for this is to match the prototypes that
/redis-3.2.3/tests/sentinel/tests/
H A D07-down-conditions.tcl15 [string match *down* \
/redis-3.2.3/tests/cluster/tests/
H A D03-failover-loop.tcl44 [string match {*state=online*} [RI $tokill slave0]]
/redis-3.2.3/deps/jemalloc/
H A Dconfig.sub1533 # Note that if you're going to try to match "-MANUFACTURER" here (say,

12