| /f-stack/app/redis-5.0.5/src/ |
| H A D | notify.c | 73 res = sdscatlen(res,"A",1); in keyspaceEventsFlagsToString() 77 if (flags & NOTIFY_LIST) res = sdscatlen(res,"l",1); in keyspaceEventsFlagsToString() 78 if (flags & NOTIFY_SET) res = sdscatlen(res,"s",1); in keyspaceEventsFlagsToString() 79 if (flags & NOTIFY_HASH) res = sdscatlen(res,"h",1); in keyspaceEventsFlagsToString() 80 if (flags & NOTIFY_ZSET) res = sdscatlen(res,"z",1); in keyspaceEventsFlagsToString() 85 if (flags & NOTIFY_KEYSPACE) res = sdscatlen(res,"K",1); in keyspaceEventsFlagsToString() 86 if (flags & NOTIFY_KEYEVENT) res = sdscatlen(res,"E",1); in keyspaceEventsFlagsToString() 118 chan = sdscatlen(chan, buf, len); in notifyKeyspaceEvent() 119 chan = sdscatlen(chan, "__:", 3); in notifyKeyspaceEvent() 130 chan = sdscatlen(chan, buf, len); in notifyKeyspaceEvent() [all …]
|
| H A D | sds.c | 397 sds sdscatlen(sds s, const void *t, size_t len) { in sdscatlen() function 413 return sdscatlen(s, t, strlen(t)); in sdscat() 421 return sdscatlen(s, t, sdslen(t)); in sdscatsds() 881 s = sdscatlen(s,"\"",1); in sdscatrepr() 888 case '\n': s = sdscatlen(s,"\\n",2); break; in sdscatrepr() 889 case '\r': s = sdscatlen(s,"\\r",2); break; in sdscatrepr() 890 case '\t': s = sdscatlen(s,"\\t",2); break; in sdscatrepr() 891 case '\a': s = sdscatlen(s,"\\a",2); break; in sdscatrepr() 892 case '\b': s = sdscatlen(s,"\\b",2); break; in sdscatrepr() 902 return sdscatlen(s,"\"",1); in sdscatrepr() [all …]
|
| H A D | scripting.c | 820 log = sdscatlen(log,s,len); in luaLogCommand() 1197 funcdef = sdscatlen(funcdef,"() ",3); in luaCreateFunction() 1633 proto = sdscatlen(proto,"+",1); in ldbSendLogs() 1942 s = sdscatlen(s,"nil",3); in ldbCatStackValueRec() 1976 s = sdscatlen(s,"{",1); in ldbCatStackValueRec() 1978 s = sdscatlen(s,"}",1); in ldbCatStackValueRec() 2046 *o = sdscatlen(*o,reply+1,p-reply-1); in ldbRedisProtocolToHuman_Int() 2056 *o = sdscatlen(*o,"NULL",4); in ldbRedisProtocolToHuman_Bulk() 2079 *o = sdscatlen(*o,"NULL",4); in ldbRedisProtocolToHuman_MultiBulk() 2082 *o = sdscatlen(*o,"[",1); in ldbRedisProtocolToHuman_MultiBulk() [all …]
|
| H A D | sparkline.c | 156 output = sdscatlen(output,chars,len); in sparklineRenderRange() 157 output = sdscatlen(output,"\n",1); in sparklineRenderRange() 171 if (j != 0) output = sdscatlen(output,"\n",1); in sparklineRender()
|
| H A D | lolwut5.c | 232 text = sdscatlen(text,unicode,3); in lwRenderCanvas() 234 if (y != canvas->height-1) text = sdscatlen(text,"\n",1); in lwRenderCanvas() 279 rendered = sdscatlen(rendered,"\n",1); in lolwut5Command()
|
| H A D | lolwut.c | 45 rendered = sdscatlen(rendered,"\n",1); in lolwutUnstableCommand()
|
| H A D | redis-benchmark.c | 347 c->obuf = sdscatlen(c->obuf, buf, len); in createClient() 364 c->obuf = sdscatlen(c->obuf, in createClient() 369 c->obuf = sdscatlen(c->obuf,cmd,len); in createClient() 705 title = sdscatlen(title, " ", 1); in main() 706 title = sdscatlen(title, (char*)argv[i], strlen(argv[i])); in main()
|
| H A D | rio.c | 62 r->io.buffer.ptr = sdscatlen(r->io.buffer.ptr,(char*)buf,len); in rioBufferWrite() 178 r->io.fdset.buf = sdscatlen(r->io.fdset.buf,buf,len); in rioFdsetWrite()
|
| H A D | latency.c | 379 report = sdscatlen(report,"\n",1); in createLatencyReport() 554 graph = sdscatlen(graph,"-",1); in latencyCommandGenSparkeline() 555 graph = sdscatlen(graph,"\n",1); in latencyCommandGenSparkeline()
|
| H A D | aof.c | 527 dst = sdscatlen(dst,buf,len); in catAppendOnlyGenericCommand() 535 dst = sdscatlen(dst,buf,len); in catAppendOnlyGenericCommand() 536 dst = sdscatlen(dst,o->ptr,sdslen(o->ptr)); in catAppendOnlyGenericCommand() 537 dst = sdscatlen(dst,"\r\n",2); in catAppendOnlyGenericCommand() 634 server.aof_buf = sdscatlen(server.aof_buf,buf,sdslen(buf)); in feedAppendOnlyFile() 1283 server.aof_child_diff = sdscatlen(server.aof_child_diff,buf,nread); in aofReadDiffFromParent()
|
| H A D | config.c | 1509 buf = sdscatlen(buf," ",1); 1527 buf = sdscatlen(buf," ",1); 1710 alt = sdscatlen(alt,argv[0],p-argv[0]);; 1711 alt = sdscatlen(alt,"replica",7); 1712 alt = sdscatlen(alt,p+5,strlen(p+5)); 1828 line = sdscatlen(line, " ", 1); 1926 line = sdscatlen(line, " ", 1); 1976 line = sdscatlen(line, " ", 1); 1998 content = sdscatlen(content,"\n",1);
|
| H A D | sds.h | 224 sds sdscatlen(sds s, const void *t, size_t len);
|
| H A D | cluster.c | 2187 link->rcvbuf = sdscatlen(link->rcvbuf,buf,nread); in clusterReadHandler() 2214 link->sndbuf = sdscatlen(link->sndbuf, msg, msglen); in clusterSendMessage() 4007 ci = sdscatlen(ci," - ",3); in clusterGenNodeDescription() 4079 ci = sdscatlen(ci,"\n",1); in clusterGenNodesDescription() 4799 payload->io.buffer.ptr = sdscatlen(payload->io.buffer.ptr,buf,2); in createDumpPayload() 4971 name = sdscatlen(name,host->ptr,sdslen(host->ptr)); in migrateGetSocket() 4972 name = sdscatlen(name,":",1); in migrateGetSocket() 4973 name = sdscatlen(name,port->ptr,sdslen(port->ptr)); in migrateGetSocket() 5025 name = sdscatlen(name,host->ptr,sdslen(host->ptr)); in migrateCloseSocket() 5026 name = sdscatlen(name,":",1); in migrateCloseSocket() [all …]
|
| H A D | redis-cli.c | 285 prompt = sdscatlen(prompt,"> ",2); in cliRefreshPrompt() 345 ret = sdscatlen(ret, &c, 1); in percentDecode() 348 ret = sdscatlen(ret, curr++, 1); in percentDecode() 878 if (!isColorTerm()) return sdscatlen(o,s,len); in sdscatcolor() 891 o = sdscatlen(o,s,len); in sdscatcolor() 923 out = sdscatlen(out,r->str,r->len); in cliFormatReplyRaw() 924 out = sdscatlen(out,"\n",1); in cliFormatReplyRaw() 944 out = sdscatlen(out,r->str,r->len); in cliFormatReplyRaw() 954 out = sdscatlen(out,tmp,sdslen(tmp)); in cliFormatReplyRaw() 989 out = sdscatlen(out,tmp,sdslen(tmp)); in cliFormatReplyCSV() [all …]
|
| H A D | t_string.c | 457 o->ptr = sdscatlen(o->ptr,append->ptr,sdslen(append->ptr)); in appendCommand()
|
| H A D | replication.c | 330 cmdrepr = sdscatlen(cmdrepr," ",1); in replicationFeedMonitors() 332 cmdrepr = sdscatlen(cmdrepr,"\r\n",2); in replicationFeedMonitors()
|
| H A D | networking.c | 1562 c->pending_querybuf = sdscatlen(c->pending_querybuf, in readQueryFromClient() 1708 o = sdscatlen(o,"\n",1); in getAllClientsInfoString()
|
| H A D | module.c | 1055 str->ptr = sdscatlen(str->ptr,buf,len); in RM_StringAppendBuffer() 1129 strmsg = sdscatlen(strmsg,"\r\n",2); in replyWithStatus() 2822 proto = sdscatlen(proto,o->buf,o->used); in RM_Call()
|
| H A D | debug.c | 556 errstr = sdscatlen(errstr,"\r\n",2); in debugCommand()
|
| H A D | sentinel.c | 3311 info = sdscatlen(info,redissection,sdslen(redissection)); \
|
| /f-stack/app/redis-5.0.5/deps/hiredis/ |
| H A D | sds.c | 376 sds sdscatlen(sds s, const void *t, size_t len) { in sdscatlen() function 392 return sdscatlen(s, t, strlen(t)); in sdscat() 400 return sdscatlen(s, t, sdslen(t)); in sdscatsds() 857 s = sdscatlen(s,"\"",1); in sdscatrepr() 864 case '\n': s = sdscatlen(s,"\\n",2); break; in sdscatrepr() 865 case '\r': s = sdscatlen(s,"\\r",2); break; in sdscatrepr() 866 case '\t': s = sdscatlen(s,"\\t",2); break; in sdscatrepr() 867 case '\a': s = sdscatlen(s,"\\a",2); break; in sdscatrepr() 868 case '\b': s = sdscatlen(s,"\\b",2); break; in sdscatrepr() 878 return sdscatlen(s,"\"",1); in sdscatrepr() [all …]
|
| H A D | hiredis.c | 247 newarg = sdscatlen(curarg,c,1); in redisvFormatCommand() 264 newarg = sdscatlen(curarg,arg,size); in redisvFormatCommand() 270 newarg = sdscatlen(curarg,arg,size); in redisvFormatCommand() 511 cmd = sdscatlen(cmd, argv[j], len); in redisFormatSdsCommandArgv() 512 cmd = sdscatlen(cmd, "\r\n", sizeof("\r\n")-1); in redisFormatSdsCommandArgv() 910 newbuf = sdscatlen(c->obuf,cmd,len); in __redisAppendCommand()
|
| H A D | sds.h | 223 sds sdscatlen(sds s, const void *t, size_t len);
|
| H A D | read.c | 464 newbuf = sdscatlen(r->buf,buf,len); in redisReaderFeed()
|