Home
last modified time | relevance | path

Searched refs:getLongFromObjectOrReply (Results 1 – 14 of 14) sorted by relevance

/redis-3.2.3/src/
H A Dt_list.c311 if ((getLongFromObjectOrReply(c, c->argv[2], &index, NULL) != C_OK)) in lindexCommand()
338 if ((getLongFromObjectOrReply(c, c->argv[2], &index, NULL) != C_OK)) in lsetCommand()
393 if ((getLongFromObjectOrReply(c, c->argv[2], &start, NULL) != C_OK) || in lrangeCommand()
394 (getLongFromObjectOrReply(c, c->argv[3], &end, NULL) != C_OK)) return; in lrangeCommand()
439 if ((getLongFromObjectOrReply(c, c->argv[2], &start, NULL) != C_OK) || in ltrimCommand()
440 (getLongFromObjectOrReply(c, c->argv[3], &end, NULL) != C_OK)) return; in ltrimCommand()
487 if ((getLongFromObjectOrReply(c, c->argv[2], &toremove, NULL) != C_OK)) in lremCommand()
H A Dbitops.c529 if (getLongFromObjectOrReply(c,c->argv[3],&on,err) != C_OK) in setbitCommand()
771 if (getLongFromObjectOrReply(c,c->argv[2],&start,NULL) != C_OK) in bitcountCommand()
773 if (getLongFromObjectOrReply(c,c->argv[3],&end,NULL) != C_OK) in bitcountCommand()
816 if (getLongFromObjectOrReply(c,c->argv[2],&bit,NULL) != C_OK) in bitposCommand()
835 if (getLongFromObjectOrReply(c,c->argv[3],&start,NULL) != C_OK) in bitposCommand()
838 if (getLongFromObjectOrReply(c,c->argv[4],&end,NULL) != C_OK) in bitposCommand()
H A Dslowlog.c146 getLongFromObjectOrReply(c,c->argv[2],&count,NULL) != C_OK) in slowlogCommand()
H A Dsort.c235 if ((getLongFromObjectOrReply(c, c->argv[j+1], &limit_start, NULL) in sortCommand()
237 (getLongFromObjectOrReply(c, c->argv[j+2], &limit_count, NULL) in sortCommand()
H A Dt_zset.c1486 if ((getLongFromObjectOrReply(c,c->argv[2],&start,NULL) != C_OK) || in zremrangeGenericCommand()
1487 (getLongFromObjectOrReply(c,c->argv[3],&end,NULL) != C_OK)) in zremrangeGenericCommand()
1951 if ((getLongFromObjectOrReply(c, c->argv[2], &setnum, NULL) != C_OK)) in zunionInterGenericCommand()
2191 if ((getLongFromObjectOrReply(c, c->argv[2], &start, NULL) != C_OK) || in zrangeGenericCommand()
2192 (getLongFromObjectOrReply(c, c->argv[3], &end, NULL) != C_OK)) return; in zrangeGenericCommand()
2328 if ((getLongFromObjectOrReply(c, c->argv[pos+1], &offset, NULL) != C_OK) || in genericZrangebyscoreCommand()
2329 (getLongFromObjectOrReply(c, c->argv[pos+2], &limit, NULL) != C_OK)) return; in genericZrangebyscoreCommand()
2675 if ((getLongFromObjectOrReply(c, c->argv[pos+1], &offset, NULL) != C_OK) || in genericZrangebylexCommand()
2676 (getLongFromObjectOrReply(c, c->argv[pos+2], &limit, NULL) != C_OK)) return; in genericZrangebylexCommand()
H A Dt_set.c417 if (getLongFromObjectOrReply(c,c->argv[2],&l,NULL) != C_OK) return; in spopWithCountCommand()
632 if (getLongFromObjectOrReply(c,c->argv[2],&l,NULL) != C_OK) return; in srandmemberWithCountCommand()
H A Dreplication.c721 if ((getLongFromObjectOrReply(c,c->argv[j+1], in replconfCommand()
1795 if ((getLongFromObjectOrReply(c, c->argv[2], &port, NULL) != C_OK)) in slaveofCommand()
2143 if (getLongFromObjectOrReply(c,c->argv[1],&numreplicas,NULL) != C_OK) in waitCommand()
H A Dt_string.c189 if (getLongFromObjectOrReply(c,c->argv[2],&offset,NULL) != C_OK) in setrangeCommand()
H A Ddebug.c437 if (getLongFromObjectOrReply(c, c->argv[2], &keys, NULL) != C_OK) in debugCommand()
507 if (getLongFromObjectOrReply(c, c->argv[2], &dbid, NULL) != C_OK) in debugCommand()
H A Ddb.c376 if (getLongFromObjectOrReply(c, c->argv[1], &id, in selectCommand()
512 if (getLongFromObjectOrReply(c, c->argv[i+1], &count, NULL) in scanGenericCommand()
H A Dobject.c650 int getLongFromObjectOrReply(client *c, robj *o, long *target, const char *msg) { in getLongFromObjectOrReply() function
H A Dsentinel.c2937 if (getLongFromObjectOrReply(c,c->argv[3],&port,NULL) != C_OK || in sentinelCommand()
3016 if (getLongFromObjectOrReply(c,c->argv[5],&quorum,"Invalid quorum") in sentinelCommand()
3018 if (getLongFromObjectOrReply(c,c->argv[4],&port,"Invalid port") in sentinelCommand()
H A Dserver.h1212 int getLongFromObjectOrReply(client *c, robj *o, long *target, const char *msg);
H A Dcluster.c4695 if (getLongFromObjectOrReply(c,c->argv[5],&timeout,NULL) != C_OK || in migrateCommand()
4696 getLongFromObjectOrReply(c,c->argv[4],&dbid,NULL) != C_OK) in migrateCommand()