Lines Matching refs:argv
269 if (!strcasecmp(c->argv[1]->ptr,"help")) { in debugCommand()
311 } else if (!strcasecmp(c->argv[1]->ptr,"segfault")) { in debugCommand()
313 } else if (!strcasecmp(c->argv[1]->ptr,"restart") || in debugCommand()
314 !strcasecmp(c->argv[1]->ptr,"crash-and-recover")) in debugCommand()
318 if (getLongLongFromObjectOrReply(c, c->argv[2], &delay, NULL) in debugCommand()
322 int flags = !strcasecmp(c->argv[1]->ptr,"restart") ? in debugCommand()
327 } else if (!strcasecmp(c->argv[1]->ptr,"oom")) { in debugCommand()
331 } else if (!strcasecmp(c->argv[1]->ptr,"assert")) { in debugCommand()
332 if (c->argc >= 3) c->argv[2] = tryObjectEncoding(c->argv[2]); in debugCommand()
333 serverAssertWithInfo(c,c->argv[0],1 == 2); in debugCommand()
334 } else if (!strcasecmp(c->argv[1]->ptr,"reload")) { in debugCommand()
346 } else if (!strcasecmp(c->argv[1]->ptr,"loadaof")) { in debugCommand()
356 } else if (!strcasecmp(c->argv[1]->ptr,"object") && c->argc == 3) { in debugCommand()
361 if ((de = dictFind(c->db->dict,c->argv[2]->ptr)) == NULL) { in debugCommand()
408 } else if (!strcasecmp(c->argv[1]->ptr,"sdslen") && c->argc == 3) { in debugCommand()
413 if ((de = dictFind(c->db->dict,c->argv[2]->ptr)) == NULL) { in debugCommand()
431 } else if (!strcasecmp(c->argv[1]->ptr,"populate") && in debugCommand()
437 if (getLongFromObjectOrReply(c, c->argv[2], &keys, NULL) != C_OK) in debugCommand()
442 (c->argc == 3) ? "key" : (char*)c->argv[3]->ptr, j); in debugCommand()
455 } else if (!strcasecmp(c->argv[1]->ptr,"digest") && c->argc == 2) { in debugCommand()
465 } else if (!strcasecmp(c->argv[1]->ptr,"sleep") && c->argc == 3) { in debugCommand()
466 double dtime = strtod(c->argv[2]->ptr,NULL); in debugCommand()
474 } else if (!strcasecmp(c->argv[1]->ptr,"set-active-expire") && in debugCommand()
477 server.active_expire_enabled = atoi(c->argv[2]->ptr); in debugCommand()
479 } else if (!strcasecmp(c->argv[1]->ptr,"lua-always-replicate-commands") && in debugCommand()
482 server.lua_always_replicate_commands = atoi(c->argv[2]->ptr); in debugCommand()
484 } else if (!strcasecmp(c->argv[1]->ptr,"error") && c->argc == 3) { in debugCommand()
487 errstr = sdscatsds(errstr,c->argv[2]->ptr); in debugCommand()
491 } else if (!strcasecmp(c->argv[1]->ptr,"structsize") && c->argc == 2) { in debugCommand()
502 } else if (!strcasecmp(c->argv[1]->ptr,"htstats") && c->argc == 3) { in debugCommand()
507 if (getLongFromObjectOrReply(c, c->argv[2], &dbid, NULL) != C_OK) in debugCommand()
523 } else if (!strcasecmp(c->argv[1]->ptr,"jemalloc") && c->argc == 3) { in debugCommand()
525 if (!strcasecmp(c->argv[2]->ptr, "info")) { in debugCommand()
529 } else if (!strcasecmp(c->argv[2]->ptr, "purge")) { in debugCommand()
549 (char*)c->argv[1]->ptr); in debugCommand()
580 if (c->argv[j]->type == OBJ_STRING && sdsEncodedObject(c->argv[j])) { in _serverAssertPrintClientInfo()
581 arg = (char*) c->argv[j]->ptr; in _serverAssertPrintClientInfo()
584 c->argv[j]->type, c->argv[j]->encoding); in _serverAssertPrintClientInfo()
588 j, arg, c->argv[j]->refcount); in _serverAssertPrintClientInfo()
886 decoded = getDecodedObject(cc->argv[j]); in logCurrentClient()
897 key = getDecodedObject(cc->argv[1]); in logCurrentClient()