Home
last modified time | relevance | path

Searched refs:redisReply (Results 1 – 13 of 13) sorted by relevance

/redis-3.2.3/deps/hiredis/
H A Dtest.c47 redisReply *reply; in select_database()
69 redisReply *reply; in disconnect()
222 redisReply *reply; in test_append_formatted_commands()
316 ((redisReply*)reply)->elements == 0); in test_reply_reader()
348 redisReply *reply; in test_blocking_connection()
426 redisReply *reply; in test_blocking_io_errors()
501 redisReply **replies; in test_throughput()
510 replies = malloc(sizeof(redisReply*)*num); in test_throughput()
521 replies = malloc(sizeof(redisReply*)*num); in test_throughput()
534 replies = malloc(sizeof(redisReply*)*num); in test_throughput()
[all …]
H A Dhiredis.h98 typedef struct redisReply { struct
104 struct redisReply **element; /* elements vector for REDIS_REPLY_ARRAY */ argument
105 } redisReply; typedef
H A Dhiredis.c44 static redisReply *createReplyObject(int type);
61 static redisReply *createReplyObject(int type) { in createReplyObject()
62 redisReply *r = calloc(1,sizeof(*r)); in createReplyObject()
73 redisReply *r = reply; in freeReplyObject()
98 redisReply *r, *parent; in createStringObject()
130 redisReply *r, *parent; in createArrayObject()
137 r->element = calloc(elements,sizeof(redisReply*)); in createArrayObject()
155 redisReply *r, *parent; in createIntegerObject()
172 redisReply *r, *parent; in createNilObject()
H A Dasync.c254 static void __redisRunCallback(redisAsyncContext *ac, redisCallback *cb, redisReply *reply) { in __redisRunCallback()
353 static int __redisGetSubscribeCallback(redisAsyncContext *ac, redisReply *reply, redisCallback *dst… in __redisGetSubscribeCallback()
443 if (((redisReply*)reply)->type == REDIS_REPLY_ERROR) { in redisProcessCallbacks()
445 snprintf(c->errstr,sizeof(c->errstr),"%s",((redisReply*)reply)->str); in redisProcessCallbacks()
H A DREADME.md88 The standard replies that `redisCommand` are of the type `redisReply`. The
89 `type` field in the `redisReply` should be used to test what kind of reply
112 `reply->elements`. Every element in the multi bulk reply is a `redisReply` object as well
184 redisReply *reply;
347 The function `redisReaderGetReply` creates `redisReply` and makes the function
348 argument `reply` point to the created `redisReply` variable. For instance, if
349 the response of type `REDIS_REPLY_STATUS` then the `str` field of `redisReply`
351 responsible for creating instances of the `redisReply` can be customized by
/redis-3.2.3/src/
H A Dredis-cli.c480 redisReply *reply; in cliAuth()
493 redisReply *reply; in cliSelect()
752 redisReply *reply; in cliReadReply()
1464 redisReply *reply; in latencyMode()
1570 redisReply *reply; in latencyDistMode()
1774 redisReply *reply; in pipeMode()
1963 redisReply *reply; in getDbSize()
2000 redisReply *reply; in getKeyTypes()
2028 redisReply *reply; in getKeySizes()
2263 redisReply *reply; in statMode()
[all …]
H A Dsentinel.c2243 redisReply *r; in sentinelInfoReplyCallback()
2266 redisReply *r; in sentinelPingReplyCallback()
2305 redisReply *r; in sentinelPublishReplyCallback()
2428 redisReply *r; in sentinelReceiveHelloMessages()
3511 redisReply *r; in sentinelReceiveIsMasterDownReply()
H A Dredis-benchmark.c219 redisReply *r = reply; in readHandler()
/redis-3.2.3/deps/hiredis/examples/
H A Dexample-libev.c11 redisReply *reply = r; in getCallback()
H A Dexample-libevent.c11 redisReply *reply = r; in getCallback()
H A Dexample-libuv.c11 redisReply *reply = r; in getCallback()
H A Dexample-ae.c14 redisReply *reply = r; in getCallback()
H A Dexample.c10 redisReply *reply; in main()