Lines Matching refs:strcasecmp
1718 if (c->argc == 2 && !strcasecmp(c->argv[1]->ptr,"help")) { in clientCommand()
1736 } else if (!strcasecmp(c->argv[1]->ptr,"id") && c->argc == 2) { in clientCommand()
1739 } else if (!strcasecmp(c->argv[1]->ptr,"list")) { in clientCommand()
1742 if (c->argc == 4 && !strcasecmp(c->argv[2]->ptr,"type")) { in clientCommand()
1756 } else if (!strcasecmp(c->argv[1]->ptr,"reply") && c->argc == 3) { in clientCommand()
1758 if (!strcasecmp(c->argv[2]->ptr,"on")) { in clientCommand()
1761 } else if (!strcasecmp(c->argv[2]->ptr,"off")) { in clientCommand()
1763 } else if (!strcasecmp(c->argv[2]->ptr,"skip")) { in clientCommand()
1770 } else if (!strcasecmp(c->argv[1]->ptr,"kill")) { in clientCommand()
1790 if (!strcasecmp(c->argv[i]->ptr,"id") && moreargs) { in clientCommand()
1796 } else if (!strcasecmp(c->argv[i]->ptr,"type") && moreargs) { in clientCommand()
1803 } else if (!strcasecmp(c->argv[i]->ptr,"addr") && moreargs) { in clientCommand()
1805 } else if (!strcasecmp(c->argv[i]->ptr,"skipme") && moreargs) { in clientCommand()
1806 if (!strcasecmp(c->argv[i+1]->ptr,"yes")) { in clientCommand()
1808 } else if (!strcasecmp(c->argv[i+1]->ptr,"no")) { in clientCommand()
1856 } else if (!strcasecmp(c->argv[1]->ptr,"unblock") && (c->argc == 3 || in clientCommand()
1864 if (!strcasecmp(c->argv[3]->ptr,"timeout")) { in clientCommand()
1866 } else if (!strcasecmp(c->argv[3]->ptr,"error")) { in clientCommand()
1888 } else if (!strcasecmp(c->argv[1]->ptr,"setname") && c->argc == 3) { in clientCommand()
1916 } else if (!strcasecmp(c->argv[1]->ptr,"getname") && c->argc == 2) { in clientCommand()
1921 } else if (!strcasecmp(c->argv[1]->ptr,"pause") && c->argc == 3) { in clientCommand()
2053 if (!strcasecmp(name,"normal")) return CLIENT_TYPE_NORMAL; in getClientTypeByName()
2054 else if (!strcasecmp(name,"slave")) return CLIENT_TYPE_SLAVE; in getClientTypeByName()
2055 else if (!strcasecmp(name,"replica")) return CLIENT_TYPE_SLAVE; in getClientTypeByName()
2056 else if (!strcasecmp(name,"pubsub")) return CLIENT_TYPE_PUBSUB; in getClientTypeByName()
2057 else if (!strcasecmp(name,"master")) return CLIENT_TYPE_MASTER; in getClientTypeByName()