| /f-stack/app/redis-5.0.5/deps/hiredis/ |
| H A D | sds.h | 220 sds sdsdup(const sds s); 222 sds sdsgrowzero(sds s, size_t len); 224 sds sdscat(sds s, const char *t); 225 sds sdscatsds(sds s, const sds t); 227 sds sdscpy(sds s, const char *t); 231 sds sdscatprintf(sds s, const char *fmt, ...) 237 sds sdscatfmt(sds s, char const *fmt, ...); 238 sds sdstrim(sds s, const char *cset); 242 int sdscmp(const sds s1, const sds s2); 255 sds sdsMakeRoomFor(sds s, size_t addlen); [all …]
|
| H A D | sds.c | 83 sds s; in sdsnewlen() 150 sds sdsdup(const sds s) { in sdsdup() 194 sds sdsMakeRoomFor(sds s, size_t addlen) { in sdsMakeRoomFor() 245 sds sdsRemoveFreeSpace(sds s) { in sdsRemoveFreeSpace() 358 sds sdsgrowzero(sds s, size_t len) { in sdsgrowzero() 391 sds sdscat(sds s, const char *t) { in sdscat() 399 sds sdscatsds(sds s, const sds t) { in sdscatsds() 418 sds sdscpy(sds s, const char *t) { in sdscpy() 579 sds sdscatfmt(sds s, char const *fmt, ...) { in sdscatfmt() 681 sds sdstrim(sds s, const char *cset) { in sdstrim() [all …]
|
| H A D | Makefile | 6 OBJ=net.o hiredis.o sds.o async.o read.o 72 async.o: async.c fmacros.h async.h hiredis.h read.h sds.h net.h dict.c dict.h 74 hiredis.o: hiredis.c fmacros.h hiredis.h read.h sds.h net.h 75 net.o: net.c fmacros.h net.h hiredis.h read.h sds.h 76 read.o: read.c fmacros.h read.h sds.h 77 sds.o: sds.c sds.h 78 test.o: test.c fmacros.h hiredis.h read.h sds.h 185 $(INSTALL) hiredis.h async.h read.h sds.h adapters $(INSTALL_INCLUDE_PATH)
|
| H A D | async.c | 66 sdslen((const sds)key)); in callbackHash() 80 l1 = sdslen((const sds)key1); in callbackKeyCompare() 81 l2 = sdslen((const sds)key2); in callbackKeyCompare() 88 sdsfree((sds)key); in callbackKeyDestructor() 370 sds sname; in __redisGetSubscribeCallback() 590 sds sname; in __redisAsyncCommand() 675 sds cmd; in redisAsyncCommandArgv()
|
| /f-stack/app/redis-5.0.5/src/ |
| H A D | sds.h | 221 sds sdsdup(const sds s); 223 sds sdsgrowzero(sds s, size_t len); 225 sds sdscat(sds s, const char *t); 226 sds sdscatsds(sds s, const sds t); 228 sds sdscpy(sds s, const char *t); 232 sds sdscatprintf(sds s, const char *fmt, ...) 238 sds sdscatfmt(sds s, char const *fmt, ...); 239 sds sdstrim(sds s, const char *cset); 243 int sdscmp(const sds s1, const sds s2); 256 sds sdsMakeRoomFor(sds s, size_t addlen); [all …]
|
| H A D | sds.c | 91 sds s; in sdsnewlen() 160 sds sdsdup(const sds s) { in sdsdup() 204 sds sdsMakeRoomFor(sds s, size_t addlen) { in sdsMakeRoomFor() 255 sds sdsRemoveFreeSpace(sds s) { in sdsRemoveFreeSpace() 379 sds sdsgrowzero(sds s, size_t len) { in sdsgrowzero() 412 sds sdscat(sds s, const char *t) { in sdscat() 420 sds sdscatsds(sds s, const sds t) { in sdscatsds() 439 sds sdscpy(sds s, const char *t) { in sdscpy() 600 sds sdscatfmt(sds s, char const *fmt, ...) { in sdscatfmt() 704 sds sdstrim(sds s, const char *cset) { in sdstrim() [all …]
|
| H A D | sparkline.h | 53 sds sparklineRenderRange(sds output, struct sequence *seq, int rows, int offset, int len, int flags… 54 sds sparklineRender(sds output, struct sequence *seq, int columns, int rows, int flags);
|
| H A D | scripting.c | 53 void ldbLog(sds entry); 55 sds ldbCatStackValue(sds s, lua_State *lua, int idx); 352 sds reply; in luaRedisGenericCommand() 630 sds s = o->ptr; in luaRedisGenericCommand() 796 sds log; in luaLogCommand() 876 sds code = sdsempty(); in scriptingEnableGlobalsProtection() 1602 void ldbLog(sds entry) { in ldbLog() 1835 sds *argv = NULL; in ldbReplParseCommand() 1921 sds ldbCatStackValueRec(sds s, lua_State *lua, int idx, int level) { in ldbCatStackValueRec() 2006 sds ldbCatStackValue(sds s, lua_State *lua, int idx) { in ldbCatStackValue() [all …]
|
| H A D | t_hash.c | 57 int hashTypeGetFromZiplist(robj *o, sds field, in hashTypeGetFromZiplist() 90 sds hashTypeGetFromHashTable(robj *o, sds field) { in hashTypeGetFromHashTable() 115 sds value; in hashTypeGetValue() 154 sds aux; in hashTypeGetValueLength() 166 int hashTypeExists(robj *o, sds field) { in hashTypeExists() 202 int hashTypeSet(robj *o, sds field, sds value, int flags) { in hashTypeSet() 251 sds f,v; in hashTypeSet() 279 int hashTypeDelete(robj *o, sds field) { in hashTypeDelete() 480 sds key, value; in hashTypeConvertZiplist() 562 sds new; in hincrbyCommand() [all …]
|
| H A D | server.h | 780 sds path; 798 sds minstring, maxstring; 803 sds ele; 1448 void addReplySds(client *c, sds s); 1459 size_t sdsZmallocSize(sds s); 1466 sds catClientInfoString(sds s, client *client); 1693 int zsetDel(robj *zobj, sds ele); 1758 robj *setTypeCreate(sds value); 1779 int hashTypeExists(robj *o, sds key); 1780 int hashTypeDelete(robj *o, sds key); [all …]
|
| H A D | defrag.c | 87 sds activeDefragSds(sds sdsptr) { in activeDefragSds() 119 sds newsds = activeDefragSds((sds)ob->ptr); in activeDefragStringOb() 213 double *zslDefrag(zskiplist *zsl, double score, sds oldele, sds newele) { in zslDefrag() 216 sds ele = newele? newele: oldele; in zslDefrag() 251 sds newsds; in activeDefragZsetEntry() 254 sds sdsele = dictGetKey(de); in activeDefragZsetEntry() 337 sds newsds, sdsele; in activeDefragSdsListAndDict() 439 sds key = sdsdup(dictGetKey(kde)); in defragLater() 764 sds keysds = dictGetKey(de); in defragKey() 768 sds newsds; in defragKey() [all …]
|
| H A D | redis-cli.c | 452 sds *argv; 453 sds full; 645 sds tmp; in completionCallback() 898 sds sdsCatColorizedLdbReply(sds o, char *s, size_t len) { in sdsCatColorizedLdbReply() 1577 return sds; in convertToSds() 1617 sds *argv = sds_malloc(sizeof(sds)*2); in cliSplitArgs() 2464 sds types = (sds) dictGetVal(entry); in clusterManagerGetAntiAffinityScore() 2465 sds name = (sds) dictGetKey(entry); in clusterManagerGetAntiAffinityScore() 3745 sds slot = (sds) dictGetKey(entry); in clusterManagerFixSlotsCoverage() 4304 sds slot = (sds) dictGetKey(entry); in clusterManagerCheckCluster() [all …]
|
| H A D | slowlog.h | 40 sds cname; /* Client name. */ 41 sds peerid; /* Client network address. */
|
| H A D | sparkline.c | 97 sds sparklineRenderRange(sds output, struct sequence *seq, int rows, int offset, int len, int flags… in sparklineRenderRange() 165 sds sparklineRender(sds output, struct sequence *seq, int columns, int rows, int flags) { in sparklineRender()
|
| H A D | config.c | 158 void queueLoadModule(sds path, sds *argv, int argc) { in queueLoadModule() 176 sds *lines; in loadServerConfigFromString() 181 sds *argv; in loadServerConfigFromString() 1672 sds *argv; 1796 sds line; 1815 sds line; 1854 sds line; 1867 sds line; 1877 sds line; 1904 sds line; [all …]
|
| H A D | stream.h | 69 sds name; /* Consumer name. This is how the consumer 106 streamCG *streamLookupCG(stream *s, sds groupname); 107 streamConsumer *streamLookupConsumer(streamCG *cg, sds name, int create);
|
| H A D | notify.c | 68 sds keyspaceEventsFlagsToString(int flags) { in keyspaceEventsFlagsToString() 69 sds res; in keyspaceEventsFlagsToString() 98 sds chan; in notifyKeyspaceEvent()
|
| H A D | rio.h | 67 sds ptr; 82 sds buf; 128 void rioInitWithBuffer(rio *r, sds s);
|
| H A D | t_set.c | 42 robj *setTypeCreate(sds value) { in setTypeCreate() 52 int setTypeAdd(robj *subject, sds value) { in setTypeAdd() 88 int setTypeRemove(robj *setobj, sds value) { in setTypeRemove() 179 sds sdsele; in setTypeNextObject() 243 sds element; in setTypeConvert() 461 sds sdsele; in spopWithCountCommand() 555 sds sdsele; in spopCommand() 619 sds ele; in srandmemberWithCountCommand() 751 sds ele; in srandmemberCommand() 797 sds elesds; in sinterGenericCommand() [all …]
|
| H A D | evict.c | 56 sds key; /* Key name. */ 57 sds cached; /* Cached SDS object for key name. */ 169 sds key; in evictionPoolPopulate() 226 sds cached = pool[EVPOOL_SIZE-1].cached; in evictionPoolPopulate() 235 sds cached = pool[0].cached; /* Save SDS before overwriting. */ in evictionPoolPopulate() 472 sds bestkey = NULL; in freeMemoryIfNeeded()
|
| H A D | Makefile | 185 REDIS_SERVER_OBJ=adlist.o quicklist.o ae.o anet.o anet_ff.o dict.o server.o sds.o zmalloc.o lzf_c.o… 259 dict-benchmark: dict.c zmalloc.c sds.c siphash.c 293 test-sds: sds.c sds.h 294 $(REDIS_CC) sds.c zmalloc.c -DSDS_TEST_MAIN $(FINAL_LIBS) -o /tmp/sds_test
|
| H A D | t_zset.c | 631 int sdscmplex(sds a, sds b) { in sdscmplex() 910 sds value = ziplistGetObject(p); in zzlLexValueGteMin() 917 sds value = ziplistGetObject(p); in zzlLexValueLteMax() 1171 sds ele; in zsetConvert() 1424 int zsetDel(robj *zobj, sds ele) { in zsetDel() 1537 sds ele; in zaddGenericCommand() 1855 sds ele; 2053 sds ele = val->ele; in zuiNewSdsFromValue() 2182 sds tmp; in zunionInterGenericCommand() 2487 sds ele; in zrangeGenericCommand() [all …]
|
| H A D | latency.c | 217 sds createLatencyReport(void) { in createLatencyReport() 218 sds report = sdsempty(); in createLatencyReport() 517 sds latencyCommandGenSparkeline(char *event, struct latencyTimeSeries *ts) { in latencyCommandGenSparkeline() 520 sds graph = sdsempty(); in latencyCommandGenSparkeline() 592 sds graph; in latencyCommand() 609 sds report = createLatencyReport(); in latencyCommand()
|
| H A D | debug.c | 141 sds sdsele; in xorObjectDigest() 203 sds sdsele; in xorObjectDigest() 280 sds key; in computeDatasetDigest() 441 sds key; in debugCommand() 512 sds d = sdsempty(); in debugCommand() 527 sds d = sdsempty(); in debugCommand() 552 sds errstr = sdsnewlen("-",1); in debugCommand() 559 sds sizes = sdsempty(); in debugCommand() 571 sds stats = sdsempty(); in debugCommand() 1121 sds client; in logCurrentClient() [all …]
|
| H A D | lolwut5.c | 215 sds lwRenderCanvas(lwCanvas *canvas) { in lwRenderCanvas() 216 sds text = sdsempty(); in lwRenderCanvas() 275 sds rendered = lwRenderCanvas(canvas); in lolwut5Command()
|