Lines Matching refs:strstr
872 return t != NULL && strstr(t,"xterm") != NULL; in isColorTerm()
880 int bold = strstr(color,"bold") != NULL; in sdscatcolor()
882 if (strstr(color,"red")) ccode = 31; in sdscatcolor()
883 else if (strstr(color,"green")) ccode = 32; in sdscatcolor()
884 else if (strstr(color,"yellow")) ccode = 33; in sdscatcolor()
885 else if (strstr(color,"blue")) ccode = 34; in sdscatcolor()
886 else if (strstr(color,"magenta")) ccode = 35; in sdscatcolor()
887 else if (strstr(color,"cyan")) ccode = 36; in sdscatcolor()
888 else if (strstr(color,"white")) ccode = 37; in sdscatcolor()
901 if (strstr(s,"<debug>")) color = "bold"; in sdsCatColorizedLdbReply()
902 if (strstr(s,"<redis>")) color = "green"; in sdsCatColorizedLdbReply()
903 if (strstr(s,"<reply>")) color = "cyan"; in sdsCatColorizedLdbReply()
904 if (strstr(s,"<error>")) color = "red"; in sdsCatColorizedLdbReply()
905 if (strstr(s,"<hint>")) color = "bold"; in sdsCatColorizedLdbReply()
906 if (strstr(s,"<value>") || strstr(s,"<retval>")) color = "magenta"; in sdsCatColorizedLdbReply()
934 if (strstr(r->str,"<endsession>") == r->str) { in cliFormatReplyRaw()
1356 if (strstr(argv[widx], "--") == argv[widx]) break; in parseOptions()
1614 if (config.eval_ldb && (strstr(line,"eval ") == line || in cliSplitArgs()
1615 strstr(line,"e ") == line)) in cliSplitArgs()
2332 strstr(n->name, lcname) == n->name) { in clusterManagerNodeByAbbreviatedName()
2378 if (strstr(info->str, "db0:") != NULL) { in clusterManagerNodeIsEmpty()
2828 strstr(reply->str, "already unassigned") != NULL) success = 1; in clusterManagerDelSlot()
2867 return strstr(reply->str, "already unassigned") != NULL; in clusterManagerIgnoreUnassignedErr()
3001 int is_busy = strstr(migrate_reply->str, "BUSYKEY") != NULL; in clusterManagerMigrateKeysInSlot()
3002 int not_served = strstr(migrate_reply->str, "slot not served") != NULL; in clusterManagerMigrateKeysInSlot()
3178 while ((p = strstr(lines, "\n")) != NULL) { in clusterManagerNodeLoadInfo()
3207 int myself = (strstr(flags, "myself") != NULL); in clusterManagerNodeLoadInfo()
3229 if ((p = strstr(slotsdef, "->-"))) { // Migrating in clusterManagerNodeLoadInfo()
3243 } else if ((p = strstr(slotsdef, "-<-"))) {//Importing in clusterManagerNodeLoadInfo()
3448 while ((p = strstr(lines, "\n")) != NULL) { in clusterManagerGetConfigSignature()
6651 char *p = strstr(info,field); in getInfoField()