Searched refs:cbuf (Results 1 – 3 of 3) sorted by relevance
| /redis-3.2.3/src/ |
| H A D | rio.c | 314 char cbuf[128]; in rioWriteBulkCount() local 317 cbuf[0] = prefix; in rioWriteBulkCount() 318 clen = 1+ll2string(cbuf+1,sizeof(cbuf)-1,count); in rioWriteBulkCount() 319 cbuf[clen++] = '\r'; in rioWriteBulkCount() 320 cbuf[clen++] = '\n'; in rioWriteBulkCount() 321 if (rioWrite(r,cbuf,clen) == 0) return 0; in rioWriteBulkCount()
|
| H A D | scripting.c | 74 sds cbuf; /* Debugger client command buffer. */ member 1503 ldb.cbuf = sdsempty(); in ldbInit() 1522 sdsfree(ldb.cbuf); in ldbEnable() 1523 ldb.cbuf = sdsempty(); in ldbEnable() 1770 if (sdslen(ldb.cbuf) == 0) return NULL; in ldbReplParseCommand() 1774 sds copy = sdsdup(ldb.cbuf); in ldbReplParseCommand() 2243 ldb.cbuf = sdscatlen(ldb.cbuf,buf,nread); in ldbRepl() 2247 sdsfree(ldb.cbuf); in ldbRepl() 2248 ldb.cbuf = sdsempty(); in ldbRepl()
|
| /redis-3.2.3/deps/hiredis/ |
| H A D | hiredis.c | 237 char cbuf[8], sbuf[128]; in __redisReaderSetErrorProtocolByte() local 239 chrtos(cbuf,sizeof(cbuf),byte); in __redisReaderSetErrorProtocolByte() 241 "Protocol error, got %s as reply type byte", cbuf); in __redisReaderSetErrorProtocolByte()
|