Searched refs:UNIT_SECONDS (Results 1 – 5 of 5) sorted by relevance
| /redis-3.2.3/src/ |
| H A D | t_string.c | 77 if (unit == UNIT_SECONDS) milliseconds *= 1000; in setGenericCommand() 99 int unit = UNIT_SECONDS; in setCommand() 121 unit = UNIT_SECONDS; in setCommand() 149 setGenericCommand(c,OBJ_SET_NO_FLAGS,c->argv[1],c->argv[3],c->argv[2],UNIT_SECONDS,NULL,NULL); in setexCommand()
|
| H A D | blocked.c | 89 if (unit == UNIT_SECONDS) tval *= 1000; in getTimeoutFromObjectOrReply()
|
| H A D | db.c | 950 if (unit == UNIT_SECONDS) when *= 1000; in expireGenericCommand() 990 expireGenericCommand(c,mstime(),UNIT_SECONDS); in expireCommand() 994 expireGenericCommand(c,0,UNIT_SECONDS); in expireatCommand()
|
| H A D | t_list.c | 876 if (getTimeoutFromObjectOrReply(c,c->argv[c->argc-1],&timeout,UNIT_SECONDS) in blockingPopGenericCommand() 938 if (getTimeoutFromObjectOrReply(c,c->argv[3],&timeout,UNIT_SECONDS) in brpoplpushCommand()
|
| H A D | server.h | 398 #define UNIT_SECONDS 0 macro
|