Home
last modified time | relevance | path

Searched refs:context (Results 1 – 16 of 16) sorted by relevance

/redis-3.2.3/src/
H A Dsha1.c117 void SHA1Init(SHA1_CTX* context) in SHA1Init() argument
120 context->state[0] = 0x67452301; in SHA1Init()
121 context->state[1] = 0xEFCDAB89; in SHA1Init()
122 context->state[2] = 0x98BADCFE; in SHA1Init()
123 context->state[3] = 0x10325476; in SHA1Init()
125 context->count[0] = context->count[1] = 0; in SHA1Init()
135 j = context->count[0]; in SHA1Update()
137 context->count[1]++; in SHA1Update()
142 SHA1Transform(context->state, context->buffer); in SHA1Update()
184 SHA1Update(context, &c, 1); in SHA1Final()
[all …]
H A Dredis-benchmark.c85 redisContext *context; member
127 aeDeleteFileEvent(config.el,c->context->fd,AE_WRITABLE); in freeClient()
128 aeDeleteFileEvent(config.el,c->context->fd,AE_READABLE); in freeClient()
129 redisFree(c->context); in freeClient()
150 aeDeleteFileEvent(config.el,c->context->fd,AE_WRITABLE); in resetClient()
151 aeDeleteFileEvent(config.el,c->context->fd,AE_READABLE); in resetClient()
201 if (redisBufferRead(c->context) != REDIS_OK) { in readHandler()
202 fprintf(stderr,"Error: %s\n",c->context->errstr); in readHandler()
206 if (redisGetReply(c->context,&reply) != REDIS_OK) { in readHandler()
325 if (c->context->err) { in createClient()
[all …]
H A Dsha1.h17 void SHA1Init(SHA1_CTX* context);
18 void SHA1Update(SHA1_CTX* context, const unsigned char* data, uint32_t len);
19 void SHA1Final(unsigned char digest[20], SHA1_CTX* context);
H A Dredis-cli.c80 static redisContext *context; variable
520 if (context->err) { in cliConnect()
527 context = NULL; in cliConnect()
759 context = NULL; in cliReadReply()
964 context = c; in reconnectingRedisCommand()
1472 if (!context) exit(1); in latencyMode()
1687 int fd = context->fd; in slaveMode()
1721 int s = context->fd; in getRDB()
1769 int fd = context->fd; in pipeMode()
2012 keys->element[i]->str, context->err, context->errstr); in getKeyTypes()
[all …]
H A Dsentinel.c265 redisAsyncContext *context; member
275 redisAsyncHandleRead(e->context); in redisAeReadEvent()
282 redisAsyncHandleWrite(e->context); in redisAeWriteEvent()
338 e->context = ac; in redisAeAttach()
H A Dscripting.c1837 void ldbList(int around, int context) { in ldbList() argument
1841 if (around != 0 && abs(around-j) > context) continue; in ldbList()
/redis-3.2.3/deps/hiredis/
H A DREADME.md60 reply = redisCommand(context, "SET foo bar");
65 reply = redisCommand(context, "SET foo %s", value);
134 creating the context.
185 redisAppendCommand(context,"SET foo bar");
186 redisAppendCommand(context,"GET foo");
187 redisGetReply(context,&reply); // reply for SET
189 redisGetReply(context,&reply); // reply for GET
194 reply = redisCommand(context,"SUBSCRIBE foo");
196 while(redisGetReply(context,&reply) == REDIS_OK) {
306 `REDIS_OK` status and the context object is free'd.
[all …]
H A DCHANGELOG.md17 * Issue #43: Don't crash in an asynchronous context when Redis returns an error
/redis-3.2.3/deps/hiredis/adapters/
H A Dlibevent.h38 redisAsyncContext *context; member
45 redisAsyncHandleRead(e->context); in redisLibeventReadEvent()
51 redisAsyncHandleWrite(e->context); in redisLibeventWriteEvent()
91 e->context = ac; in redisLibeventAttach()
H A Dlibuv.h9 redisAsyncContext* context; member
24 redisAsyncHandleRead(p->context); in redisLibuvPoll()
27 redisAsyncHandleWrite(p->context); in redisLibuvPoll()
117 p->context = ac; in redisLibuvAttach()
H A Dae.h39 redisAsyncContext *context; member
49 redisAsyncHandleRead(e->context); in redisAeReadEvent()
56 redisAsyncHandleWrite(e->context); in redisAeWriteEvent()
112 e->context = ac; in redisAeAttach()
H A Dlibev.h40 redisAsyncContext *context; member
53 redisAsyncHandleRead(e->context); in redisLibevReadEvent()
63 redisAsyncHandleWrite(e->context); in redisLibevWriteEvent()
123 e->context = ac; in redisLibevAttach()
/redis-3.2.3/deps/jemalloc/test/include/test/
H A Djemalloc_test.h.in136 # error "This header cannot be included outside a testing context"
/redis-3.2.3/deps/
H A DREADME.md52 Lua scripts for new Lua features: in the context of Redis Lua scripts the
/redis-3.2.3/deps/jemalloc/src/
H A Dprof.c326 prof_unwind_init_callback(struct _Unwind_Context *context, void *arg) in prof_unwind_init_callback() argument
335 prof_unwind_callback(struct _Unwind_Context *context, void *arg) in prof_unwind_callback() argument
342 ip = (void *)_Unwind_GetIP(context); in prof_unwind_callback()
/redis-3.2.3/deps/jemalloc/
H A DChangeLog126 the context of user-specified chunk allocators, aside from the scalability
615 context pointers are stored in small run headers.
708 - Fix leak context reporting. This bug tended to cause the number of contexts