| /f-stack/app/redis-5.0.5/src/ |
| H A D | config.c | 108 if (!strcasecmp(ce->name,name)) return ce->val; in configEnumGetValue() 140 if (!strcasecmp(s,"yes")) return 1; in yesnotoi() 141 else if (!strcasecmp(s,"no")) return 0; in yesnotoi() 246 } else if (!strcasecmp(argv[0],"save")) { in loadServerConfigFromString() 347 } else if ((!strcasecmp(argv[0],"slaveof") || in loadServerConfigFromString() 791 } else if (!strcasecmp(argv[0],"sentinel")) { in loadServerConfigFromString() 869 } else if (!strcasecmp(c->argv[2]->ptr,_name)) { \ 875 } else if (!strcasecmp(c->argv[2]->ptr,_name)) { \ 882 } else if (!strcasecmp(c->argv[2]->ptr,_name)) { \ 894 } else if (!strcasecmp(c->argv[2]->ptr,_name)) { [all …]
|
| H A D | latency.c | 275 if (!strcasecmp(event,"fork")) { in createLatencyReport() 296 if (!strcasecmp(event,"command")) { in createLatencyReport() 312 if (!strcasecmp(event,"fast-command")) { in createLatencyReport() 333 if (!strcasecmp(event,"aof-write-alone")) { in createLatencyReport() 340 if (!strcasecmp(event,"aof-fsync-always")) { in createLatencyReport() 345 if (!strcasecmp(event,"aof-fstat") || in createLatencyReport() 346 !strcasecmp(event,"rdb-unlik-temp-file")) { in createLatencyReport() 353 !strcasecmp(event,"aof-rename")) { in createLatencyReport() 362 if (!strcasecmp(event,"expire-cycle")) { in createLatencyReport() 369 if (!strcasecmp(event,"eviction-del")) { in createLatencyReport() [all …]
|
| H A D | debug.c | 301 if (c->argc == 2 && !strcasecmp(c->argv[1]->ptr,"help")) { in debugCommand() 329 } else if (!strcasecmp(c->argv[1]->ptr,"segfault")) { in debugCommand() 331 } else if (!strcasecmp(c->argv[1]->ptr,"panic")) { in debugCommand() 333 } else if (!strcasecmp(c->argv[1]->ptr,"restart") || in debugCommand() 334 !strcasecmp(c->argv[1]->ptr,"crash-and-recover")) in debugCommand() 342 int flags = !strcasecmp(c->argv[1]->ptr,"restart") ? in debugCommand() 347 } else if (!strcasecmp(c->argv[1]->ptr,"oom")) { in debugCommand() 351 } else if (!strcasecmp(c->argv[1]->ptr,"assert")) { in debugCommand() 356 } else if (!strcasecmp(c->argv[1]->ptr,"reload")) { in debugCommand() 373 } else if (!strcasecmp(c->argv[1]->ptr,"loadaof")) { in debugCommand() [all …]
|
| H A D | scripting.c | 2318 if (!strcasecmp(argv[0],"h") || !strcasecmp(argv[0],"help")) { in ldbRepl() 2350 } else if (!strcasecmp(argv[0],"s") || !strcasecmp(argv[0],"step") || in ldbRepl() 2351 !strcasecmp(argv[0],"n") || !strcasecmp(argv[0],"next")) { in ldbRepl() 2354 } else if (!strcasecmp(argv[0],"c") || !strcasecmp(argv[0],"continue")){ in ldbRepl() 2356 } else if (!strcasecmp(argv[0],"t") || !strcasecmp(argv[0],"trace")) { in ldbRepl() 2359 } else if (!strcasecmp(argv[0],"m") || !strcasecmp(argv[0],"maxlen")) { in ldbRepl() 2362 } else if (!strcasecmp(argv[0],"b") || !strcasecmp(argv[0],"break")) { in ldbRepl() 2365 } else if (!strcasecmp(argv[0],"e") || !strcasecmp(argv[0],"eval")) { in ldbRepl() 2368 } else if (!strcasecmp(argv[0],"a") || !strcasecmp(argv[0],"abort")) { in ldbRepl() 2381 } else if (!strcasecmp(argv[0],"l") || !strcasecmp(argv[0],"list")){ in ldbRepl() [all …]
|
| H A D | slowlog.c | 143 if (c->argc == 2 && !strcasecmp(c->argv[1]->ptr,"help")) { in slowlogCommand() 153 } else if (c->argc == 2 && !strcasecmp(c->argv[1]->ptr,"reset")) { in slowlogCommand() 156 } else if (c->argc == 2 && !strcasecmp(c->argv[1]->ptr,"len")) { in slowlogCommand() 159 !strcasecmp(c->argv[1]->ptr,"get")) in slowlogCommand()
|
| H A D | sentinel.c | 1615 if (!strcasecmp(argv[0],"monitor") && argc == 5) { in sentinelHandleConfiguration() 1693 } else if ((!strcasecmp(argv[0],"known-slave") || in sentinelHandleConfiguration() 1706 } else if (!strcasecmp(argv[0],"known-sentinel") && in sentinelHandleConfiguration() 2190 (strcasecmp(l+19,"up") == 0) ? in sentinelRefreshInstanceInfo() 2987 if (!strcasecmp(c->argv[1]->ptr,"masters")) { in sentinelCommand() 3071 } else if (!strcasecmp(c->argv[1]->ptr,"reset")) { in sentinelCommand() 3203 } else if (!strcasecmp(c->argv[1]->ptr,"set")) { in sentinelCommand() 3326 allsections = !strcasecmp(section,"all"); in sentinelInfoCommand() 3327 defsections = !strcasecmp(section,"default"); in sentinelInfoCommand() 3803 if (strcasecmp(master->leader,sentinel.myid)) in sentinelVoteLeader() [all …]
|
| H A D | networking.c | 1718 if (c->argc == 2 && !strcasecmp(c->argv[1]->ptr,"help")) { in clientCommand() 1739 } else if (!strcasecmp(c->argv[1]->ptr,"list")) { 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() 1806 if (!strcasecmp(c->argv[i+1]->ptr,"yes")) { in clientCommand() 1864 if (!strcasecmp(c->argv[3]->ptr,"timeout")) { in clientCommand() 1866 } else if (!strcasecmp(c->argv[3]->ptr,"error")) { in clientCommand() 2053 if (!strcasecmp(name,"normal")) return CLIENT_TYPE_NORMAL; in getClientTypeByName() [all …]
|
| H A D | cluster.c | 140 if (strcasecmp(argv[0],"vars") == 0) { in clusterLoadConfig() 188 if (!strcasecmp(s,"myself")) { in clusterLoadConfig() 192 } else if (!strcasecmp(s,"master")) { in clusterLoadConfig() 194 } else if (!strcasecmp(s,"slave")) { in clusterLoadConfig() 196 } else if (!strcasecmp(s,"fail?")) { in clusterLoadConfig() 198 } else if (!strcasecmp(s,"fail")) { in clusterLoadConfig() 201 } else if (!strcasecmp(s,"handshake")) { in clusterLoadConfig() 203 } else if (!strcasecmp(s,"noaddr")) { in clusterLoadConfig() 207 } else if (!strcasecmp(s,"noflags")) { in clusterLoadConfig() 1266 if (!strcasecmp(node->ip,ip) && in clusterHandshakeInProgress() [all …]
|
| H A D | t_stream.c | 1346 if (!strcasecmp(o,"BLOCK") && moreargs) { in xreadCommand() 1375 } else if (!strcasecmp(o,"NOACK")) { in xreadCommand() 1723 if (c->argc == 6 && !strcasecmp(opt,"CREATE")) { in xgroupCommand() 1724 if (strcasecmp(c->argv[5]->ptr,"MKSTREAM")) { in xgroupCommand() 1755 (!strcasecmp(opt,"SETID") || in xgroupCommand() 1756 !strcasecmp(opt,"DELCONSUMER"))) in xgroupCommand() 1827 } else if (!strcasecmp(opt,"HELP")) { in xgroupCommand() 2174 if (!strcasecmp(opt,"FORCE")) { in xclaimCommand() 2176 } else if (!strcasecmp(opt,"JUSTID")) { in xclaimCommand() 2382 if (!strcasecmp(opt,"maxlen") && moreargs) { in xtrimCommand() [all …]
|
| H A D | sort.c | 228 if (!strcasecmp(c->argv[j]->ptr,"asc")) { in sortCommand() 230 } else if (!strcasecmp(c->argv[j]->ptr,"desc")) { in sortCommand() 232 } else if (!strcasecmp(c->argv[j]->ptr,"alpha")) { in sortCommand() 234 } else if (!strcasecmp(c->argv[j]->ptr,"limit") && leftargs >= 2) { in sortCommand() 244 } else if (!strcasecmp(c->argv[j]->ptr,"store") && leftargs >= 1) { in sortCommand() 247 } else if (!strcasecmp(c->argv[j]->ptr,"by") && leftargs >= 1) { in sortCommand() 263 } else if (!strcasecmp(c->argv[j]->ptr,"get") && leftargs >= 1) { in sortCommand()
|
| H A D | util.c | 210 if (*u == '\0' || !strcasecmp(u,"b")) { in memtoll() 212 } else if (!strcasecmp(u,"k")) { in memtoll() 214 } else if (!strcasecmp(u,"kb")) { in memtoll() 216 } else if (!strcasecmp(u,"m")) { in memtoll() 218 } else if (!strcasecmp(u,"mb")) { in memtoll() 220 } else if (!strcasecmp(u,"g")) { in memtoll() 222 } else if (!strcasecmp(u,"gb")) { in memtoll()
|
| H A D | db.c | 644 if (!strcasecmp(c->argv[i]->ptr, "count") && j >= 2) { in scanGenericCommand() 848 if (!strcasecmp(c->argv[1]->ptr,"nosave")) { in shutdownCommand() 850 } else if (!strcasecmp(c->argv[1]->ptr,"save")) { in shutdownCommand() 1340 if (!strcasecmp(argv[i]->ptr,skiplist[j].name)) { in sortGetKeys() 1368 if (!strcasecmp(argv[i]->ptr,"keys") && in migrateGetKeys() 1400 if ((!strcasecmp(arg, "store") || !strcasecmp(arg, "storedist")) && ((i+1) < argc)) { in georadiusGetKeys() 1435 if (!strcasecmp(arg, "block")) { in xreadGetKeys() 1437 } else if (!strcasecmp(arg, "count")) { in xreadGetKeys() 1439 } else if (!strcasecmp(arg, "group")) { in xreadGetKeys() 1441 } else if (!strcasecmp(arg, "noack")) { in xreadGetKeys() [all …]
|
| H A D | geo.c | 508 if (!strcasecmp(arg, "withdist")) { in georadiusGeneric() 510 } else if (!strcasecmp(arg, "withhash")) { in georadiusGeneric() 512 } else if (!strcasecmp(arg, "withcoord")) { in georadiusGeneric() 514 } else if (!strcasecmp(arg, "asc")) { in georadiusGeneric() 516 } else if (!strcasecmp(arg, "desc")) { in georadiusGeneric() 518 } else if (!strcasecmp(arg, "count") && (i+1) < remaining) { in georadiusGeneric() 526 } else if (!strcasecmp(arg, "store") && in georadiusGeneric() 533 } else if (!strcasecmp(arg, "storedist") && in georadiusGeneric()
|
| H A D | bitops.c | 603 if ((opname[0] == 'a' || opname[0] == 'A') && !strcasecmp(opname,"and")) in bitopCommand() 605 else if((opname[0] == 'o' || opname[0] == 'O') && !strcasecmp(opname,"or")) in bitopCommand() 607 else if((opname[0] == 'x' || opname[0] == 'X') && !strcasecmp(opname,"xor")) in bitopCommand() 609 else if((opname[0] == 'n' || opname[0] == 'N') && !strcasecmp(opname,"not")) in bitopCommand() 931 if (!strcasecmp(subcmd,"get") && remargs >= 2) in bitfieldCommand() 933 else if (!strcasecmp(subcmd,"set") && remargs >= 3) in bitfieldCommand() 935 else if (!strcasecmp(subcmd,"incrby") && remargs >= 3) in bitfieldCommand() 937 else if (!strcasecmp(subcmd,"overflow") && remargs >= 1) { in bitfieldCommand() 940 if (!strcasecmp(owtypename,"wrap")) in bitfieldCommand() 942 else if (!strcasecmp(owtypename,"sat")) in bitfieldCommand() [all …]
|
| H A D | object.c | 1253 if (c->argc == 2 && !strcasecmp(c->argv[1]->ptr,"help")) { in objectCommand() 1262 } else if (!strcasecmp(c->argv[1]->ptr,"refcount") && c->argc == 3) { in objectCommand() 1266 } else if (!strcasecmp(c->argv[1]->ptr,"encoding") && c->argc == 3) { in objectCommand() 1270 } else if (!strcasecmp(c->argv[1]->ptr,"idletime") && c->argc == 3) { in objectCommand() 1278 } else if (!strcasecmp(c->argv[1]->ptr,"freq") && c->argc == 3) { in objectCommand() 1300 if (!strcasecmp(c->argv[1]->ptr,"help") && c->argc == 2) { in memoryCommand() 1310 } else if (!strcasecmp(c->argv[1]->ptr,"usage") && c->argc >= 3) { in memoryCommand() 1314 if (!strcasecmp(c->argv[j]->ptr,"samples") && in memoryCommand() 1338 } else if (!strcasecmp(c->argv[1]->ptr,"stats") && c->argc == 2) { in memoryCommand() 1440 } else if (!strcasecmp(c->argv[1]->ptr,"doctor") && c->argc == 2) { in memoryCommand() [all …]
|
| H A D | pubsub.c | 328 if (c->argc == 2 && !strcasecmp(c->argv[1]->ptr,"help")) { in pubsubCommand() 336 } else if (!strcasecmp(c->argv[1]->ptr,"channels") && in pubsubCommand() 360 } else if (!strcasecmp(c->argv[1]->ptr,"numsub") && c->argc >= 2) { in pubsubCommand() 371 } else if (!strcasecmp(c->argv[1]->ptr,"numpat") && c->argc == 2) { in pubsubCommand()
|
| H A D | redis-check-aof.c | 113 if (strcasecmp(str, "multi") == 0) { in process() 118 } else if (strcasecmp(str, "exec") == 0) { in process()
|
| H A D | server.c | 495 return strcasecmp(key1, key2) == 0; in dictSdsKeyCaseCompare() 2558 if (!strcasecmp(c->argv[0]->ptr,"quit")) { in processCommand() 3136 allsections = strcasecmp(section,"all") == 0; in genRedisInfoString() 3137 defsections = strcasecmp(section,"default") == 0; in genRedisInfoString() 4073 if (argc == 3 && !strcasecmp(argv[1], "test")) { in main() 4074 if (!strcasecmp(argv[2], "ziplist")) { in main() 4078 } else if (!strcasecmp(argv[2], "intset")) { in main() 4080 } else if (!strcasecmp(argv[2], "zipmap")) { in main() 4084 } else if (!strcasecmp(argv[2], "util")) { in main() 4088 } else if (!strcasecmp(argv[2], "crc64")) { in main() [all …]
|
| H A D | replication.c | 466 if (strcasecmp(master_replid, server.replid) && in masterTryPartialResynchronization() 467 (strcasecmp(master_replid, server.replid2) || in masterTryPartialResynchronization() 472 if (strcasecmp(master_replid, server.replid) && in masterTryPartialResynchronization() 473 strcasecmp(master_replid, server.replid2)) in masterTryPartialResynchronization() 661 if (!strcasecmp(c->argv[0]->ptr,"psync")) { in syncCommand() 806 } else if (!strcasecmp(c->argv[j]->ptr,"capa")) { in replconfCommand() 808 if (!strcasecmp(c->argv[j+1]->ptr,"eof")) in replconfCommand() 812 } else if (!strcasecmp(c->argv[j]->ptr,"ack")) { in replconfCommand() 831 } else if (!strcasecmp(c->argv[j]->ptr,"getack")) { in replconfCommand() 2033 if (!strcasecmp(c->argv[1]->ptr,"no") && in replicaofCommand() [all …]
|
| /f-stack/freebsd/contrib/openzfs/cmd/zinject/ |
| H A D | zinject.c | 798 if (strcasecmp(optarg, "degrade") == 0) { in main() 800 } else if (strcasecmp(optarg, "fault") == 0) { in main() 844 if (strcasecmp(optarg, "io") == 0) { in main() 850 } else if (strcasecmp(optarg, "decrypt") == 0) { in main() 852 } else if (strcasecmp(optarg, "nxio") == 0) { in main() 854 } else if (strcasecmp(optarg, "dtl") == 0) { in main() 941 if (strcasecmp(optarg, "read") == 0) { in main() 943 } else if (strcasecmp(optarg, "write") == 0) { in main() 945 } else if (strcasecmp(optarg, "free") == 0) { in main() 947 } else if (strcasecmp(optarg, "claim") == 0) { in main() [all …]
|
| /f-stack/tools/knictl/ |
| H A D | knictl.c | 16 if (0 == strcasecmp(c, "alltokni")){ in get_action() 18 } else if (0 == strcasecmp(c, "alltoff")){ in get_action() 20 } else if (0 == strcasecmp(c, "default")){ in get_action()
|
| /f-stack/tools/ipfw/ |
| H A D | dummynet.c | 212 if (!strcasecmp(stru, "us")) in time_to_us() 214 if (!strcasecmp(stru, "ms")) in time_to_us() 216 if (!strcasecmp(stru, "s")) in time_to_us() 251 if( !strcasecmp(ep->name, "codel")) { in get_extra_parms() 260 } else if( !strcasecmp(ep->name, "pie")) { in get_extra_parms() 296 if (!strcasecmp(ep->name,"FQ_CODEL")) { in get_extra_parms() 311 } else if (!strcasecmp(ep->name,"FQ_PIE")) { in get_extra_parms() 915 if (!strcasecmp(name, ED_TOK_SAMPLES)) { in load_extra_delays() 925 } else if (!strcasecmp(name, ED_TOK_BW)) { in load_extra_delays() 928 } else if (!strcasecmp(name, ED_TOK_LOSS)) { in load_extra_delays() [all …]
|
| /f-stack/freebsd/contrib/openzfs/lib/libuutil/ |
| H A D | uu_string.c | 46 return (strcasecmp(a, b) == 0); in uu_strcaseeq()
|
| /f-stack/freebsd/libkern/ |
| H A D | strcasecmp.c | 44 strcasecmp(const char *s1, const char *s2) in strcasecmp() function
|
| /f-stack/app/redis-5.0.5/deps/hiredis/ |
| H A D | test.c | 278 strcasecmp(reader->errstr,"Protocol error, got \"@\" as reply type byte") == 0); in test_reply_reader() 290 strcasecmp(reader->errstr,"Protocol error, got \"@\" as reply type byte") == 0); in test_reply_reader() 395 strcasecmp(reply->str,"pong") == 0) in test_blocking_connection() 401 strcasecmp(reply->str,"ok") == 0) in test_blocking_connection() 458 strcasecmp(reply->element[1]->str,"pong") == 0); in test_blocking_connection() 536 test_cond(strcasecmp(reply->str,"OK") == 0 && in test_blocking_io_errors()
|