SYMBOL INDEX (1779 symbols across 128 files) FILE: dep/ae/ae.c function aeEventLoop (line 67) | aeEventLoop *aeCreateEventLoop(int setsize) { function aeGetSetSize (line 100) | int aeGetSetSize(aeEventLoop *eventLoop) { function aeResizeSetSize (line 111) | int aeResizeSetSize(aeEventLoop *eventLoop, int setsize) { function aeDeleteEventLoop (line 129) | void aeDeleteEventLoop(aeEventLoop *eventLoop) { function aeStop (line 136) | void aeStop(aeEventLoop *eventLoop) { function aeCreateFileEvent (line 140) | int aeCreateFileEvent(aeEventLoop *eventLoop, int fd, int mask, function aeDeleteFileEvent (line 161) | void aeDeleteFileEvent(aeEventLoop *eventLoop, int fd, int mask) function aeGetFileEvents (line 179) | int aeGetFileEvents(aeEventLoop *eventLoop, int fd) { function aeGetTime (line 186) | static void aeGetTime(long *seconds, long *milliseconds) function aeAddMillisecondsToNow (line 195) | static void aeAddMillisecondsToNow(long long milliseconds, long *sec, lo... function aeCreateTimeEvent (line 209) | long long aeCreateTimeEvent(aeEventLoop *eventLoop, long long milliseconds, function aeDeleteTimeEvent (line 228) | int aeDeleteTimeEvent(aeEventLoop *eventLoop, long long id) function aeTimeEvent (line 252) | static aeTimeEvent *aeSearchNearestTimer(aeEventLoop *eventLoop) function processTimeEvents (line 268) | static int processTimeEvents(aeEventLoop *eventLoop) { function aeProcessEvents (line 355) | int aeProcessEvents(aeEventLoop *eventLoop, int flags) function aeWait (line 436) | int aeWait(int fd, int mask, long long milliseconds) { function aeMain (line 456) | void aeMain(aeEventLoop *eventLoop) { function aeSetBeforeSleepProc (line 469) | void aeSetBeforeSleepProc(aeEventLoop *eventLoop, aeBeforeSleepProc *bef... FILE: dep/ae/ae.h type aeEventLoop (line 56) | struct aeEventLoop type aeEventLoop (line 59) | struct aeEventLoop type aeEventLoop (line 60) | struct aeEventLoop type aeEventLoop (line 61) | struct aeEventLoop type aeEventLoop (line 62) | struct aeEventLoop type aeFileEvent (line 65) | typedef struct aeFileEvent { type aeTimeEvent (line 73) | typedef struct aeTimeEvent { type aeFiredEvent (line 84) | typedef struct aeFiredEvent { type aeEventLoop (line 90) | typedef struct aeEventLoop { FILE: dep/ae/ae_epoll.c type aeApiState (line 34) | typedef struct aeApiState { function aeApiCreate (line 39) | static int aeApiCreate(aeEventLoop *eventLoop) { function aeApiResize (line 58) | static int aeApiResize(aeEventLoop *eventLoop, int setsize) { function aeApiFree (line 65) | static void aeApiFree(aeEventLoop *eventLoop) { function aeApiAddEvent (line 73) | static int aeApiAddEvent(aeEventLoop *eventLoop, int fd, int mask) { function aeApiDelEvent (line 90) | static void aeApiDelEvent(aeEventLoop *eventLoop, int fd, int delmask) { function aeApiPoll (line 108) | static int aeApiPoll(aeEventLoop *eventLoop, struct timeval *tvp) { FILE: dep/ae/ae_evport.c type aeApiState (line 68) | typedef struct aeApiState { function aeApiCreate (line 75) | static int aeApiCreate(aeEventLoop *eventLoop) { function aeApiResize (line 97) | static int aeApiResize(aeEventLoop *eventLoop, int setsize) { function aeApiFree (line 102) | static void aeApiFree(aeEventLoop *eventLoop) { function aeApiLookupPending (line 109) | static int aeApiLookupPending(aeApiState *state, int fd) { function aeApiAssociate (line 123) | static int aeApiAssociate(const char *where, int portfd, int fd, int mas... function aeApiAddEvent (line 152) | static int aeApiAddEvent(aeEventLoop *eventLoop, int fd, int mask) { function aeApiDelEvent (line 183) | static void aeApiDelEvent(aeEventLoop *eventLoop, int fd, int mask) { function aeApiPoll (line 243) | static int aeApiPoll(aeEventLoop *eventLoop, struct timeval *tvp) { FILE: dep/ae/ae_kqueue.c type aeApiState (line 36) | typedef struct aeApiState { function aeApiCreate (line 41) | static int aeApiCreate(aeEventLoop *eventLoop) { function aeApiResize (line 60) | static int aeApiResize(aeEventLoop *eventLoop, int setsize) { function aeApiFree (line 67) | static void aeApiFree(aeEventLoop *eventLoop) { function aeApiAddEvent (line 75) | static int aeApiAddEvent(aeEventLoop *eventLoop, int fd, int mask) { function aeApiDelEvent (line 90) | static void aeApiDelEvent(aeEventLoop *eventLoop, int fd, int mask) { function aeApiPoll (line 104) | static int aeApiPoll(aeEventLoop *eventLoop, struct timeval *tvp) { FILE: dep/ae/ae_select.c type aeApiState (line 34) | typedef struct aeApiState { function aeApiCreate (line 41) | static int aeApiCreate(aeEventLoop *eventLoop) { function aeApiResize (line 51) | static int aeApiResize(aeEventLoop *eventLoop, int setsize) { function aeApiFree (line 57) | static void aeApiFree(aeEventLoop *eventLoop) { function aeApiAddEvent (line 61) | static int aeApiAddEvent(aeEventLoop *eventLoop, int fd, int mask) { function aeApiDelEvent (line 69) | static void aeApiDelEvent(aeEventLoop *eventLoop, int fd, int mask) { function aeApiPoll (line 76) | static int aeApiPoll(aeEventLoop *eventLoop, struct timeval *tvp) { FILE: dep/darray/darray.c function darray (line 7) | darray * function darray_destroy (line 30) | void function darray_init (line 37) | int function darray_deinit (line 52) | void function darray_idx (line 60) | unsigned long long function darray_swap (line 127) | void function darray_sort (line 141) | void function darray_each (line 151) | int FILE: dep/darray/darray.h type darray (line 7) | typedef struct darray { function darray_null (line 16) | static inline void function darray_set (line 25) | static inline void function darray_n (line 34) | static inline unsigned long long FILE: dep/dhashkit/dcrc16.c function hash_crc16 (line 38) | uint32_t FILE: dep/dhashkit/dcrc32.c function hash_crc32 (line 74) | uint32_t function hash_crc32a (line 87) | uint32_t FILE: dep/dhashkit/dfnv.c function hash_fnv1_64 (line 8) | uint32_t function hash_fnv1a_64 (line 22) | uint32_t function hash_fnv1_32 (line 37) | uint32_t function hash_fnv1a_32 (line 52) | uint32_t FILE: dep/dhashkit/dhashkit.h type continuum (line 9) | struct continuum { type hash_type_t (line 34) | typedef enum hash_type { type dist_type_t (line 41) | typedef enum dist_type { type continuum (line 61) | struct continuum type continuum (line 62) | struct continuum type continuum (line 63) | struct continuum type SHA1_CTX (line 67) | typedef struct { FILE: dep/dhashkit/dhsieh.c function hash_hsieh (line 13) | uint32_t FILE: dep/dhashkit/djenkins.c function hash_jenkins (line 46) | uint32_t FILE: dep/dhashkit/dketama.c function ketama_hash (line 11) | static uint32_t function ketama_item_cmp (line 24) | static int function ketama_dispatch (line 38) | uint32_t FILE: dep/dhashkit/dmd5.c type MD5_u32plus (line 14) | typedef unsigned int MD5_u32plus; type MD5_CTX (line 16) | typedef struct { function MD5_Init (line 179) | void function MD5_Update (line 191) | void function MD5_Final (line 227) | void function md5_signature (line 283) | void function hash_md5 (line 293) | uint32_t FILE: dep/dhashkit/dmodula.c function modula_dispatch (line 9) | uint32_t FILE: dep/dhashkit/dmurmur.c function hash_murmur (line 20) | uint32_t FILE: dep/dhashkit/done_at_a_time.c function hash_one_at_a_time (line 17) | uint32_t FILE: dep/dhashkit/drandom.c function random_dispatch (line 9) | uint32_t FILE: dep/dhashkit/dsha1.c function SHA1Transform (line 53) | void SHA1Transform(uint32_t state[5], const unsigned char buffer[64]) function SHA1Init (line 114) | void SHA1Init(SHA1_CTX* context) function SHA1Update (line 128) | void SHA1Update(SHA1_CTX* context, const unsigned char* data, uint32_t len) function SHA1Final (line 152) | void SHA1Final(unsigned char digest[20], SHA1_CTX* context) FILE: dep/dlist/dlist.c function dlist (line 12) | dlist *dlistCreate(void) function dlistRelease (line 29) | void dlistRelease(dlist *list) function dlist (line 51) | dlist *dlistAddNodeHead(dlist *list, void *value) function dlist (line 77) | dlist *dlistAddNodeTail(dlist *list, void *value) function dlist (line 97) | dlist *dlistInsertNode(dlist *list, dlistNode *old_node, void *value, in... function dlistDelNode (line 130) | void dlistDelNode(dlist *list, dlistNode *node) function dlistIter (line 149) | dlistIter *dlistGetIterator(dlist *list, int direction) function dlistReleaseIterator (line 163) | void dlistReleaseIterator(dlistIter *iter) { function dlistRewind (line 168) | void dlistRewind(dlist *list, dlistIter *li) { function dlistRewindTail (line 173) | void dlistRewindTail(dlist *list, dlistIter *li) { function dlistNode (line 192) | dlistNode *dlistNext(dlistIter *iter) function dlist (line 213) | dlist *dlistDup(dlist *orig) function dlistNode (line 253) | dlistNode *dlistSearchKey(dlist *list, void *key) function dlistNode (line 278) | dlistNode *dlistIndex(dlist *list, long index) { function dlistRotate (line 293) | void dlistRotate(dlist *list) { function dlist (line 308) | dlist *dlistPush(dlist *list, void *value) { FILE: dep/dlist/dlist.h type dlistNode (line 6) | typedef struct dlistNode { type dlistIter (line 12) | typedef struct dlistIter { type dlist (line 17) | typedef struct dlist { FILE: dep/dlist/dlockqueue.c function dlockqueue (line 11) | dlockqueue *dlockqueue_create(void) function dlockqueue_push (line 33) | long long dlockqueue_push(void *q, void *value) function dlockqueue_destroy (line 101) | void dlockqueue_destroy(void *q) function dlockqueue_length (line 117) | long long dlockqueue_length(void *q) FILE: dep/dlist/dlockqueue.h type dlist (line 4) | struct dlist type dlockqueue (line 6) | typedef struct dlockqueue{ FILE: dep/dlist/dmtqueue.c function dmtqueue (line 10) | dmtqueue *dmtqueue_create(void) function dmtqueue_destroy (line 28) | void dmtqueue_destroy(dmtqueue *q) function dmtqueue_push (line 41) | long long dmtqueue_push(dmtqueue *q, void *value) function dmtqueue_empty (line 63) | int dmtqueue_empty(dmtqueue *q) function dmtqueue_length (line 79) | long long dmtqueue_length(dmtqueue *q) function dmtqueue_init_with_lockqueue (line 96) | int dmtqueue_init_with_lockqueue(dmtqueue *q, dlockqueue_freefunc freefunc) FILE: dep/dlist/dmtqueue.h type dmtqueue (line 9) | typedef struct dmtqueue{ FILE: dep/dmalloc/dmalloc.c function dmalloc_size (line 68) | size_t dmalloc_size(void *ptr) { function _dfree (line 175) | void function dalloc_used_memory (line 206) | size_t function dalloc_get_memory_size (line 235) | size_t dalloc_get_memory_size(void) { function dalloc_get_rss (line 293) | size_t dalloc_get_rss(void) { function dalloc_get_rss (line 333) | size_t dalloc_get_rss(void) { function dalloc_get_rss (line 345) | size_t dalloc_get_rss(void) { function dalloc_get_fragmentation_ratio (line 356) | float dalloc_get_fragmentation_ratio(size_t rss) { FILE: dep/himemcached-0.1.0/himcdep/sds.c function sds (line 51) | sds sdsnewlen(const void *init, size_t initlen) { function sds (line 70) | sds sdsempty(void) { function sds (line 75) | sds sdsnew(const char *init) { function sds (line 81) | sds sdsdup(const sds s) { function sdsfree (line 86) | void sdsfree(sds s) { function sdsupdatelen (line 105) | void sdsupdatelen(sds s) { function sdsclear (line 116) | void sdsclear(sds s) { function sds (line 129) | sds sdsMakeRoomFor(sds s, size_t addlen) { function sds (line 155) | sds sdsRemoveFreeSpace(sds s) { function sdsAllocSize (line 171) | size_t sdsAllocSize(sds s) { function sdsIncrLen (line 200) | void sdsIncrLen(sds s, int incr) { function sds (line 215) | sds sdsgrowzero(sds s, size_t len) { function sds (line 237) | sds sdscatlen(sds s, const void *t, size_t len) { function sds (line 255) | sds sdscat(sds s, const char *t) { function sds (line 263) | sds sdscatsds(sds s, const sds t) { function sds (line 269) | sds sdscpylen(sds s, const char *t, size_t len) { function sds (line 288) | sds sdscpy(sds s, const char *t) { function sdsll2str (line 299) | int sdsll2str(char *s, long long value) { function sdsull2str (line 331) | int sdsull2str(char *s, unsigned long long v) { function sds (line 360) | sds sdscatvprintf(sds s, const char *fmt, va_list ap) { function sds (line 399) | sds sdscatprintf(sds s, const char *fmt, ...) { function sds (line 425) | sds sdscatfmt(sds s, char const *fmt, ...) { function sdstrim (line 543) | void sdstrim(sds s, const char *cset) { function sdsrange (line 575) | void sdsrange(sds s, int start, int end) { function sdstolower (line 606) | void sdstolower(sds s) { function sdstoupper (line 613) | void sdstoupper(sds s) { function sdscmp (line 630) | int sdscmp(const sds s1, const sds s2) { function sds (line 658) | sds *sdssplitlen(const char *s, int len, const char *sep, int seplen, in... function sdsfreesplitres (line 708) | void sdsfreesplitres(sds *tokens, int count) { function sds (line 719) | sds sdsfromlonglong(long long value) { function sds (line 740) | sds sdscatrepr(sds s, const char *p, size_t len) { function is_hex_digit (line 767) | int is_hex_digit(char c) { function hex_digit_to_int (line 774) | int hex_digit_to_int(char c) { function sds (line 815) | sds *sdssplitargs(const char *line, int *argc) { function sds (line 934) | sds sdsmapchars(sds s, const char *from, const char *to, size_t setlen) { function sds (line 950) | sds sdsjoin(char **argv, int argc, char *sep, size_t seplen) { function sds (line 962) | sds sdsjoinsds(sds *argv, int argc, const char *sep, size_t seplen) { function main (line 977) | int main(void) { FILE: dep/himemcached-0.1.0/himcdep/sds.h type sdshdr (line 44) | struct sdshdr { function sdslen (line 50) | static inline size_t sdslen(const sds s) { function sdsavail (line 55) | static inline size_t sdsavail(const sds s) { FILE: dep/himemcached-0.1.0/himcread.c function __memcachedReaderSetError (line 32) | static void __memcachedReaderSetError(mcReader *r, int type, const char ... function chrtos (line 52) | static size_t chrtos(char *buf, size_t size, char byte) function __memcachedReaderSetErrorProtocolByte (line 77) | static void __memcachedReaderSetErrorProtocolByte(mcReader *r, char byte) { function __memcachedReaderSetErrorOOM (line 86) | static void __memcachedReaderSetErrorOOM(mcReader *r) { function elementArrayCreate (line 90) | static int elementArrayCreate(mcReader *r) function elementArrayDestroy (line 107) | static void elementArrayDestroy(mcReader *r) function elementArrayExpand (line 129) | static int elementArrayExpand(mcReader *r) function elementArrayAdd (line 147) | static int elementArrayAdd(mcReader *r, void *reply) function memcachedParseResponse (line 159) | static void memcachedParseResponse(mcReader *r) function mcReader (line 631) | mcReader *memcachedReaderCreateWithFunctions(mcReplyObjectFunctions *fn) function memcachedReaderFree (line 669) | void memcachedReaderFree(mcReader *r) function memcachedReaderFeed (line 678) | int memcachedReaderFeed(mcReader *r, const char *buf, size_t len) function memcachedReaderReset (line 711) | static void memcachedReaderReset(mcReader *r) function memcachedReaderGetReply (line 805) | int memcachedReaderGetReply(mcReader *r, void **reply) { FILE: dep/himemcached-0.1.0/himcread.h type mcReplyObjectFunctions (line 33) | typedef struct mcReplyObjectFunctions { type mcReader (line 41) | typedef struct mcReader { FILE: dep/himemcached-0.1.0/himemcached.c function mcReply (line 31) | static mcReply *createReplyObject(int type) { function freeMcReplyObject (line 43) | void freeMcReplyObject(void *reply) { function __memcachedSetError (line 155) | void __memcachedSetError(mcContext *c, int type, const char *str) { function memcachedBufferWrite (line 181) | int memcachedBufferWrite(mcContext *c, int *done) { function memcachedGetReplyFromReader (line 212) | int memcachedGetReplyFromReader(mcContext *c, void **reply) { function memcachedGetReply (line 220) | int memcachedGetReply(mcContext *c, void **reply) { function mcReader (line 250) | mcReader *memcachedReaderCreate(void) { function mcContext (line 254) | mcContext *memcachedContextInit(void) { function memcachedFree (line 278) | void memcachedFree(mcContext *c) { function memcachedBufferRead (line 303) | int memcachedBufferRead(mcContext *c) { function getRequestTypeFromString (line 331) | static int getRequestTypeFromString(char *str, size_t len) function checkCmdValidAndGetTotalLen (line 384) | static int checkCmdValidAndGetTotalLen(int cmdtype, int argtype, int arg... function genericMemcachedCommand (line 463) | static int genericMemcachedCommand(int cmdtype, char *cmd, int argtype, ... function memcachedFormatCommandSdsArgv (line 512) | int memcachedFormatCommandSdsArgv(char **target, int argc, const sds *ar... function memcachedvFormatCommand (line 552) | int memcachedvFormatCommand(char **target, const char *format, va_list ap) function memcachedFormatCommand (line 784) | int memcachedFormatCommand(char **target, const char *format, ...) { function memcachedFormatCommandArgv (line 804) | int memcachedFormatCommandArgv(char **target, int argc, const char **arg... FILE: dep/himemcached-0.1.0/himemcached.h type mcReply (line 48) | typedef struct mcReply { type mcConnectionType (line 66) | enum mcConnectionType { type mcContext (line 72) | typedef struct mcContext { FILE: dep/sds/sds.c function sdsHdrSize (line 42) | static inline int sdsHdrSize(char type) { function sdsReqType (line 58) | static inline char sdsReqType(size_t string_size) { function sds (line 82) | sds sdsnewlen(const void *init, size_t initlen) { function sds (line 140) | sds sdsempty(void) { function sds (line 145) | sds sdsnew(const char *init) { function sds (line 151) | sds sdsdup(const sds s) { function sdsfree (line 156) | void sdsfree(sds s) { function sdsupdatelen (line 175) | void sdsupdatelen(sds s) { function sdsclear (line 184) | void sdsclear(sds s) { function sds (line 195) | sds sdsMakeRoomFor(sds s, size_t addlen) { function sds (line 246) | sds sdsRemoveFreeSpace(sds s) { function sdsAllocSize (line 279) | size_t sdsAllocSize(sds s) { function sdsIncrLen (line 313) | void sdsIncrLen(sds s, int incr) { function sds (line 359) | sds sdsgrowzero(sds s, size_t len) { function sds (line 377) | sds sdscatlen(sds s, const void *t, size_t len) { function sds (line 392) | sds sdscat(sds s, const char *t) { function sds (line 400) | sds sdscatsds(sds s, const sds t) { function sds (line 406) | sds sdscpylen(sds s, const char *t, size_t len) { function sds (line 419) | sds sdscpy(sds s, const char *t) { function sdsll2str (line 430) | int sdsll2str(char *s, long long value) { function sdsull2str (line 462) | int sdsull2str(char *s, unsigned long long v) { function sds (line 494) | sds sdsfromlonglong(long long value) { function sds (line 502) | sds sdscatvprintf(sds s, const char *fmt, va_list ap) { function sds (line 555) | sds sdscatprintf(sds s, const char *fmt, ...) { function sds (line 580) | sds sdscatfmt(sds s, char const *fmt, ...) { function sds (line 684) | sds sdstrim(sds s, const char *cset) { function sdsrange (line 715) | void sdsrange(sds s, int start, int end) { function sdstolower (line 744) | void sdstolower(sds s) { function sdstoupper (line 751) | void sdstoupper(sds s) { function sdscmp (line 768) | int sdscmp(const sds s1, const sds s2) { function sds (line 796) | sds *sdssplitlen(const char *s, int len, const char *sep, int seplen, in... function sdsfreesplitres (line 846) | void sdsfreesplitres(sds *tokens, int count) { function sds (line 859) | sds sdscatrepr(sds s, const char *p, size_t len) { function is_hex_digit (line 886) | int is_hex_digit(char c) { function hex_digit_to_int (line 893) | int hex_digit_to_int(char c) { function sds (line 934) | sds *sdssplitargs(const char *line, int *argc) { function sds (line 1053) | sds sdsmapchars(sds s, const char *from, const char *to, size_t setlen) { function sds (line 1069) | sds sdsjoin(char **argv, int argc, char *sep) { function sds (line 1081) | sds sdsjoinsds(sds *argv, int argc, const char *sep, size_t seplen) { function sdsIsNum (line 1092) | int sdsIsNum(sds s) { function sds_free (line 1115) | void sds_free(void *ptr) { s_free(ptr); } function sdsTest (line 1123) | int sdsTest(void) { function main (line 1288) | int main(void) { FILE: dep/sds/sds.h type sdshdr5 (line 46) | struct __attribute__ ((__packed__)) sdshdr5 { type sdshdr8 (line 50) | struct __attribute__ ((__packed__)) sdshdr8 { type sdshdr16 (line 56) | struct __attribute__ ((__packed__)) sdshdr16 { type sdshdr32 (line 62) | struct __attribute__ ((__packed__)) sdshdr32 { type sdshdr64 (line 68) | struct __attribute__ ((__packed__)) sdshdr64 { function sdslen (line 86) | static inline size_t sdslen(const sds s) { function sdsavail (line 103) | static inline size_t sdsavail(const sds s) { function sdssetlen (line 129) | static inline void sdssetlen(sds s, size_t newlen) { function sdsinclen (line 153) | static inline void sdsinclen(sds s, size_t inc) { function sdsalloc (line 179) | static inline size_t sdsalloc(const sds s) { function sdssetalloc (line 196) | static inline void sdssetalloc(sds s, size_t newlen) { FILE: dep/util/dlog.c type logger (line 13) | struct logger function log_init (line 15) | int function log_deinit (line 36) | void function log_reopen (line 48) | void function log_level_up (line 63) | void function log_level_down (line 74) | void function log_level_set (line 85) | void function log_stacktrace (line 94) | void function log_loggable (line 105) | int function _log (line 117) | void function _log_stderr (line 159) | void function _log_stdout (line 186) | void function _log_hexdump (line 217) | void function _log_safe (line 285) | void function _log_stderr_safe (line 318) | void function log_write_len (line 347) | void log_write_len(char *str, size_t len) FILE: dep/util/dlog.h type logger (line 8) | struct logger { FILE: dep/util/dutil.c function dassert (line 37) | void function dstacktrace (line 48) | void function dstacktrace_fd (line 72) | void function _dvscnprintf (line 84) | int function _dscnprintf (line 112) | int function _safe_vsnprintf (line 208) | int function _safe_snprintf (line 289) | int function dusec_now (line 303) | long long function dmsec_now (line 324) | long long function dsec_now (line 333) | long long function string_match_len (line 340) | int string_match_len(const char *pattern, int patternLen, function string_match (line 462) | int string_match(const char *pattern, const char *string, int nocase) { FILE: src/vr.c type option (line 34) | struct option function rstatus_t (line 49) | static rstatus_t function vr_print_run (line 151) | static void function vr_print_done (line 201) | static void function vr_show_usage (line 207) | static void function rstatus_t (line 235) | static rstatus_t function vr_remove_pidfile (line 264) | static void function vr_set_default_options (line 276) | static void function rstatus_t (line 300) | static rstatus_t function vr_test_conf (line 397) | static bool function vr_pre_run (line 418) | static int function vr_post_run (line 466) | static void function vr_run (line 485) | static void function main (line 506) | int FILE: src/vr_aof.c function aofRewriteBufferSize (line 4) | unsigned long aofRewriteBufferSize(void) { function sds (line 24) | sds catAppendOnlyExpireAtCommand(sds buf, struct redisCommand *cmd, robj... function sds (line 54) | sds catAppendOnlyGenericCommand(sds dst, int argc, robj **argv) { function aofChildWriteDiffData (line 82) | void aofChildWriteDiffData(aeEventLoop *el, int fd, void *privdata, int ... function aofRewriteBufferAppend (line 111) | void aofRewriteBufferAppend(unsigned char *s, unsigned long len) { function feedAppendOnlyFile (line 157) | void feedAppendOnlyFile(struct redisCommand *cmd, int dictid, robj **arg... FILE: src/vr_aof.h type aofrwblock (line 27) | typedef struct aofrwblock { type redisCommand (line 34) | struct redisCommand type redisCommand (line 37) | struct redisCommand FILE: src/vr_backend.c type darray (line 6) | struct darray function vr_backend_init (line 10) | int function vr_backend_deinit (line 34) | void function backend_cron (line 44) | static int function setup_backend (line 77) | static int function backends_init (line 101) | int function backends_run (line 125) | int function backends_wait (line 141) | int function backends_deinit (line 157) | void FILE: src/vr_backend.h type vr_backend (line 4) | typedef struct vr_backend { type darray (line 22) | struct darray FILE: src/vr_bitops.c function redisPopcount (line 10) | size_t redisPopcount(void *s, long count) { function redisBitpos (line 71) | long redisBitpos(void *s, unsigned long count, int bit) { function setUnsignedBitfield (line 172) | void setUnsignedBitfield(unsigned char *p, uint64_t offset, uint64_t bit... function setSignedBitfield (line 187) | void setSignedBitfield(unsigned char *p, uint64_t offset, uint64_t bits,... function getUnsignedBitfield (line 197) | uint64_t getUnsignedBitfield(unsigned char *p, uint64_t offset, uint64_t... function getSignedBitfield (line 211) | int64_t getSignedBitfield(unsigned char *p, uint64_t offset, uint64_t bi... function checkUnsignedBitfieldOverflow (line 244) | int checkUnsignedBitfieldOverflow(uint64_t value, int64_t incr, uint64_t... function checkSignedBitfieldOverflow (line 281) | int checkSignedBitfieldOverflow(int64_t value, int64_t incr, uint64_t bi... function printBits (line 335) | void printBits(unsigned char *p, unsigned long count) { function getBitOffsetFromArgument (line 367) | int getBitOffsetFromArgument(client *c, robj *o, size_t *offset, int has... function getBitfieldTypeFromArgument (line 403) | int getBitfieldTypeFromArgument(client *c, robj *o, int *sign, int *bits) { function robj (line 434) | robj *lookupStringForBitCommand(client *c, size_t maxbit, int *expired) { function setbitCommand (line 450) | void setbitCommand(client *c) { function getbitCommand (line 498) | void getbitCommand(client *c) { function bitopCommand (line 535) | void bitopCommand(client *c) { function bitcountCommand (line 709) | void bitcountCommand(client *c) { function bitposCommand (line 782) | void bitposCommand(client *c) { type bitfieldOp (line 898) | struct bitfieldOp { function bitfieldCommand (line 907) | void bitfieldCommand(client *c) { FILE: src/vr_bitops.h type client (line 13) | struct client type client (line 14) | struct client type client (line 15) | struct client type client (line 16) | struct client type client (line 17) | struct client type client (line 18) | struct client type client (line 19) | struct client type client (line 20) | struct client FILE: src/vr_block.c function unblockClient (line 6) | void unblockClient(client *c) { function getTimeoutFromObjectOrReply (line 35) | int getTimeoutFromObjectOrReply(client *c, robj *object, long long *time... function blockClient (line 59) | void blockClient(client *c, int btype) { FILE: src/vr_block.h type blockingState (line 6) | typedef struct blockingState { type client (line 22) | struct client type client (line 23) | struct client type client (line 24) | struct client FILE: src/vr_client.c function sdsZmallocSize (line 10) | size_t sdsZmallocSize(sds s) { function freeClientReplyValue (line 19) | void freeClientReplyValue(void *o) { function listMatchObjects (line 23) | int listMatchObjects(void *a, void *b) { function client (line 27) | client *createClient(vr_eventloop *vel, struct conn *conn) { function prepareClientToWrite (line 123) | int prepareClientToWrite(client *c) { function robj (line 163) | robj *dupLastObjectIfNeeded(dlist *reply) { function _addReplyToBuffer (line 180) | int _addReplyToBuffer(client *c, const char *s, size_t len) { function _addReplyObjectToList (line 197) | void _addReplyObjectToList(client *c, robj *o) { function _addReplySdsToList (line 235) | void _addReplySdsToList(client *c, sds s) { function _addReplyStringToList (line 266) | void _addReplyStringToList(client *c, const char *s, size_t len) { function addReply (line 302) | void addReply(client *c, robj *obj) { function addReplySds (line 339) | void addReplySds(client *c, sds s) { function addReplyString (line 353) | void addReplyString(client *c, const char *s, size_t len) { function addReplyErrorLength (line 359) | void addReplyErrorLength(client *c, const char *s, size_t len) { function addReplyError (line 365) | void addReplyError(client *c, const char *err) { function addReplyErrorFormat (line 369) | void addReplyErrorFormat(client *c, const char *fmt, ...) { function addReplyStatusLength (line 385) | void addReplyStatusLength(client *c, const char *s, size_t len) { function addReplyStatus (line 391) | void addReplyStatus(client *c, const char *status) { function addReplyStatusFormat (line 395) | void addReplyStatusFormat(client *c, const char *fmt, ...) { function setDeferredMultiBulkLength (line 416) | void setDeferredMultiBulkLength(client *c, void *node, long length) { function addReplyDouble (line 443) | void addReplyDouble(client *c, double d) { function addReplyHumanLongDouble (line 460) | void addReplyHumanLongDouble(client *c, long double d) { function addReplyLongLongWithPrefix (line 468) | void addReplyLongLongWithPrefix(client *c, long long ll, char prefix) { function addReplyLongLong (line 490) | void addReplyLongLong(client *c, long long ll) { function addReplyMultiBulkLen (line 499) | void addReplyMultiBulkLen(client *c, long length) { function addReplyBulkLen (line 507) | void addReplyBulkLen(client *c, robj *obj) { function addReplyBulk (line 533) | void addReplyBulk(client *c, robj *obj) { function addReplyBulkCBuffer (line 540) | void addReplyBulkCBuffer(client *c, const void *p, size_t len) { function addReplyBulkSds (line 547) | void addReplyBulkSds(client *c, sds s) { function addReplyBulkCString (line 555) | void addReplyBulkCString(client *c, const char *s) { function addReplyBulkLongLong (line 564) | void addReplyBulkLongLong(client *c, long long ll) { function copyClientOutputBuffer (line 575) | void copyClientOutputBuffer(client *dst, client *src) { function clientHasPendingReplies (line 585) | int clientHasPendingReplies(client *c) { function freeClientArgv (line 589) | static void freeClientArgv(client *c) { function disconnectSlaves (line 600) | void disconnectSlaves(void) { function unlinkClientFromEventloop (line 610) | void unlinkClientFromEventloop(client *c) { function linkClientToEventloop (line 653) | void linkClientToEventloop(client *c,vr_eventloop *vel) { function unlinkClient (line 682) | void unlinkClient(client *c) { function freeClient (line 722) | void freeClient(client *c) { function freeClientAsync (line 819) | void freeClientAsync(client *c) { function freeClientsInAsyncFreeQueue (line 825) | void freeClientsInAsyncFreeQueue(vr_eventloop *vel) { function writeToClient (line 838) | int writeToClient(int fd, client *c, int handler_installed) { function sendReplyToClient (line 926) | void sendReplyToClient(aeEventLoop *el, int fd, void *privdata, int mask) { function handleClientsWithPendingWrites (line 936) | int handleClientsWithPendingWrites(vr_eventloop *vel) { function resetClient (line 963) | void resetClient(client *c) { function processInlineBuffer (line 984) | int processInlineBuffer(client *c) { function setProtocolError (line 1047) | static void setProtocolError(client *c, int pos) { function processMultibulkBuffer (line 1058) | int processMultibulkBuffer(client *c) { function processInputBuffer (line 1196) | void processInputBuffer(client *c) { function readQueryFromClient (line 1248) | void readQueryFromClient(aeEventLoop *el, int fd, void *privdata, int ma... function getClientsMaxBuffers (line 1309) | void getClientsMaxBuffers(vr_eventloop *vel, unsigned long *longest_outp... function genClientPeerId (line 1338) | void genClientPeerId(client *client, char *peerid, function sds (line 1365) | sds catClientInfoString(sds s, client *client) { function sds (line 1417) | sds getAllClientsInfoString(vr_eventloop *vel) { type clientkilldata (line 1432) | struct clientkilldata { function clientCommand (line 1441) | void clientCommand(client *c) { function rewriteClientCommandVector (line 1659) | void rewriteClientCommandVector(client *c, int argc, ...) { function replaceClientCommandVector (line 1683) | void replaceClientCommandVector(client *c, int argc, robj **argv) { function rewriteClientCommandArgument (line 1703) | void rewriteClientCommandArgument(client *c, int i, robj *newval) { function getClientOutputBufferMemoryUsage (line 1735) | unsigned long getClientOutputBufferMemoryUsage(client *c) { function getClientType (line 1750) | int getClientType(client *c) { function getClientTypeByName (line 1758) | int getClientTypeByName(char *name) { function checkClientOutputBufferLimits (line 1782) | int checkClientOutputBufferLimits(client *c) { function asyncCloseClientOnOutputBufferLimitReached (line 1827) | void asyncCloseClientOnOutputBufferLimitReached(client *c) { function flushSlavesOutputBuffers (line 1843) | void flushSlavesOutputBuffers(void) { function pauseClients (line 1885) | void pauseClients(vr_eventloop *vel, long long end) { function clientsArePaused (line 1895) | int clientsArePaused(vr_eventloop *vel) { function processEventsWhileBlocked (line 1933) | int processEventsWhileBlocked(vr_eventloop *vel) { function current_clients (line 1946) | int FILE: src/vr_client.h type client (line 69) | typedef struct client { type clientBufferLimitsConfig (line 130) | typedef struct clientBufferLimitsConfig { type conn (line 137) | struct conn FILE: src/vr_command.c type redisCommand (line 65) | struct redisCommand function populateCommandTable (line 184) | void populateCommandTable(void) { function populateCommandsNeedAdminpass (line 220) | int populateCommandsNeedAdminpass(void) { type redisCommand (line 243) | struct redisCommand type redisCommand (line 254) | struct redisCommand type redisCommand (line 255) | struct redisCommand type redisCommand (line 261) | struct redisCommand type redisCommand (line 262) | struct redisCommand function call (line 308) | void call(client *c, int flags) { function processCommand (line 431) | int processCommand(client *c) { function redisOpArrayInit (line 606) | void redisOpArrayInit(redisOpArray *oa) { function redisOpArrayAppend (line 611) | int redisOpArrayAppend(redisOpArray *oa, struct redisCommand *cmd, int d... function redisOpArrayFree (line 627) | void redisOpArrayFree(redisOpArray *oa) { function propagate (line 652) | void propagate(struct redisCommand *cmd, int dbid, robj **argv, int argc, function alsoPropagate (line 673) | void alsoPropagate(struct redisCommand *cmd, int dbid, robj **argv, int ... function forceCommandPropagation (line 691) | void forceCommandPropagation(client *c, int flags) { function preventCommandPropagation (line 699) | void preventCommandPropagation(client *c) { function preventCommandAOF (line 704) | void preventCommandAOF(client *c) { function preventCommandReplication (line 709) | void preventCommandReplication(client *c) { function addReplyCommandFlag (line 714) | static int addReplyCommandFlag(client *c, struct redisCommand *cmd, int ... function addReplyCommand (line 723) | static void addReplyCommand(client *c, struct redisCommand *cmd) { function commandCommand (line 760) | void commandCommand(client *c) { type darray (line 856) | struct darray type darray (line 861) | struct darray type redisCommand (line 862) | struct redisCommand type redisCommand (line 868) | struct redisCommand function commandStatsTableDestroy (line 879) | void FILE: src/vr_command.h type client (line 41) | struct client type redisCommand (line 42) | struct redisCommand type redisCommand (line 43) | struct redisCommand { type commandStats (line 60) | typedef struct commandStats { type redisOp (line 72) | typedef struct redisOp { type redisOpArray (line 85) | typedef struct redisOpArray { type redisCommand (line 95) | struct redisCommand type redisCommand (line 96) | struct redisCommand type redisCommand (line 97) | struct redisCommand type client (line 99) | struct client type client (line 100) | struct client type redisCommand (line 103) | struct redisCommand type redisCommand (line 106) | struct redisCommand type redisCommand (line 107) | struct redisCommand type client (line 108) | struct client type client (line 109) | struct client type client (line 110) | struct client type client (line 111) | struct client type client (line 113) | struct client type darray (line 115) | struct darray type darray (line 116) | struct darray FILE: src/vr_conf.c function conf_value_dump (line 122) | static void function conf_organization_dump (line 144) | static void function conf_organizations_dump (line 179) | static void function conf_set_maxmemory (line 211) | int function conf_set_maxmemory_policy (line 245) | int function conf_set_int_non_zero (line 289) | int function conf_get_sds (line 333) | int function conf_set_sds (line 352) | int function conf_set_password (line 375) | int function conf_get_int (line 403) | int function conf_set_int (line 421) | int function conf_get_longlong (line 459) | int function conf_set_longlong (line 477) | int function conf_set_yesorno (line 506) | int function conf_set_array_sds (line 539) | int function conf_set_commands_need_adminpass (line 586) | int function conf_get_array_sds (line 633) | int function dictConfValueDestructor (line 662) | static void dictConfValueDestructor(void *privdata, void *val) function dictDestructor (line 669) | static void dictDestructor(void *privdata, void *val) function conf_value (line 703) | conf_value *conf_value_create(int type) function conf_value_destroy (line 726) | void conf_value_destroy(conf_value *cv) function conf_server_init (line 757) | static int conf_server_init(conf_server *cs) function conf_server_set_default (line 783) | static int conf_server_set_default(conf_server *cs) function conf_server_deinit (line 831) | static void conf_server_deinit(conf_server *cs) function conf_server_get (line 877) | int function conf_server_set (line 889) | int function conf_init (line 901) | static int conf_init(vr_conf *cf) function conf_set_default (line 927) | static int conf_set_default(vr_conf *cf) function conf_deinit (line 935) | static void conf_deinit(vr_conf *cf) function conf_server_dump (line 958) | static void function conf_dump (line 973) | static void function conf_key_value_insert (line 992) | static int function conf_pre_load_from_string (line 1033) | static int function conf_pre_validate (line 1130) | static int function conf_parse_conf_server (line 1165) | static int function conf_parse (line 1195) | static int function conf_post_validate (line 1241) | static int function vr_conf (line 1256) | static vr_conf * function vr_conf (line 1306) | vr_conf * function conf_destroy (line 1348) | void function conf_version_get (line 1360) | unsigned long long function CONF_RLOCK (line 1372) | int function CONF_WLOCK (line 1378) | int function CONF_UNLOCK (line 1384) | int function CONFF_LOCK (line 1390) | int function CONFF_UNLOCK (line 1396) | int function configSetCommand (line 1412) | static void configSetCommand(client *c) { function addReplyConfOption (line 1516) | static void addReplyConfOption(client *c,conf_option *cop) function configGetCommand (line 1561) | static void configGetCommand(client *c) { type rewriteConfigState (line 1600) | struct rewriteConfigState { function rewriteConfigAppendLine (line 1610) | static void rewriteConfigAppendLine(struct rewriteConfigState *state, sd... function rewriteConfigAddLineNumberToOption (line 1616) | static void rewriteConfigAddLineNumberToOption(struct rewriteConfigState... type rewriteConfigState (line 1651) | struct rewriteConfigState type rewriteConfigState (line 1653) | struct rewriteConfigState function rewriteConfigMarkAsProcessed (line 1712) | static void rewriteConfigMarkAsProcessed(struct rewriteConfigState *stat... function rewriteConfigRewriteLine (line 1734) | static void rewriteConfigRewriteLine(struct rewriteConfigState *state, c... function rewriteConfigReleaseState (line 1770) | static void rewriteConfigReleaseState(struct rewriteConfigState *state) { function rewriteConfigRemoveOrphaned (line 1785) | static void rewriteConfigRemoveOrphaned(struct rewriteConfigState *state) { function sds (line 1814) | static sds rewriteConfigGetContentFromState(struct rewriteConfigState *s... function rewriteConfigOverwriteFile (line 1844) | static int rewriteConfigOverwriteFile(char *configfile, sds content) { function rewriteConfigIntOption (line 1890) | static void rewriteConfigIntOption(struct rewriteConfigState *state, cha... function rewriteConfigSdsOption (line 1903) | static void rewriteConfigSdsOption(struct rewriteConfigState *state, cha... function rewriteConfigLongLongOption (line 1928) | static void rewriteConfigLongLongOption(struct rewriteConfigState *state... function rewriteConfigFormatMemory (line 1942) | static int rewriteConfigFormatMemory(char *buf, size_t len, long long by... function rewriteConfigBytesOption (line 1959) | static void rewriteConfigBytesOption(struct rewriteConfigState *state, c... function rewriteConfigEnumOption (line 1976) | static void rewriteConfigEnumOption(struct rewriteConfigState *state, ch... function rewriteConfigBindOption (line 1990) | static void rewriteConfigBindOption(struct rewriteConfigState *state) { function rewriteConfigCommandsNAPOption (line 2019) | void rewriteConfigCommandsNAPOption(struct rewriteConfigState *state) { function rewriteConfig (line 2052) | static int rewriteConfig(char *path) { function configCommand (line 2103) | void configCommand(client *c) { function conf_cache_init (line 2146) | int function conf_cache_deinit (line 2160) | int function conf_cache_update (line 2176) | int FILE: src/vr_conf.h type conf_option (line 66) | typedef struct conf_option { type evictpolicy_type_t (line 84) | typedef enum evictpolicy_type { type conf_server (line 90) | typedef struct conf_server { type vr_conf (line 118) | typedef struct vr_conf { type conf_value (line 134) | typedef struct conf_value{ type conf_cache (line 141) | typedef struct conf_cache { type client (line 192) | struct client FILE: src/vr_connection.c type conn (line 5) | struct conn type conn (line 7) | struct conn type conn (line 10) | struct conn type conn (line 67) | struct conn type conn (line 70) | struct conn function conn_free (line 82) | static void function conn_put (line 118) | void function conn_init (line 157) | int function conn_deinit (line 175) | void function conn_recv (line 189) | ssize_t function conn_send (line 239) | ssize_t function conn_sendv (line 287) | ssize_t FILE: src/vr_connection.h type conn_base (line 4) | typedef struct conn_base { type conn (line 11) | struct conn { type conn (line 36) | struct conn type conn (line 37) | struct conn type conn (line 42) | struct conn type conn (line 43) | struct conn type conn (line 44) | struct conn type darray (line 44) | struct darray FILE: src/vr_core.h type rstatus_t (line 36) | typedef int rstatus_t; type err_t (line 37) | typedef int err_t; type mstime_t (line 39) | typedef long long mstime_t; type instance (line 41) | struct instance type darray (line 42) | struct darray type conn (line 43) | struct conn type client (line 44) | struct client type clientBufferLimitsConfig (line 45) | struct clientBufferLimitsConfig type redisCommand (line 46) | struct redisCommand type vr_worker (line 47) | struct vr_worker type instance (line 132) | struct instance { FILE: src/vr_db.c type evictionPoolEntry (line 39) | struct evictionPoolEntry type evictionPoolEntry (line 40) | struct evictionPoolEntry function redisDbInit (line 55) | int redisDbInit(redisDb *db) function redisDbDeinit (line 70) | int function lockDbRead (line 77) | int function lockDbWrite (line 84) | int function unlockDb (line 91) | int function robj (line 98) | robj *lookupKey(redisDb *db, robj *key) { function robj (line 115) | robj *lookupKeyRead(redisDb *db, robj *key) { function robj (line 120) | robj *lookupKeyWrite(redisDb *db, robj *key, int *expired) { function robj (line 125) | robj *lookupKeyReadOrReply(client *c, robj *key, robj *reply) { function robj (line 131) | robj *lookupKeyWriteOrReply(client *c, robj *key, robj *reply, int *expi... function dbAdd (line 142) | void dbAdd(redisDb *db, robj *key, robj *val) { function dbOverwrite (line 155) | void dbOverwrite(redisDb *db, robj *key, robj *val) { function setKey (line 168) | void setKey(redisDb *db, robj *key, robj *val, int *expired) { function dbExists (line 178) | int dbExists(redisDb *db, robj *key) { function robj (line 186) | robj *dbRandomKey(redisDb *db) { function dbDelete (line 215) | int dbDelete(redisDb *db, robj *key) { function robj (line 226) | robj *dbUnshareStringValue(redisDb *db, robj *key, robj *o) { function emptyDb (line 239) | long long emptyDb(void(callback)(void*)) { function selectDb (line 254) | int selectDb(client *c, int id) { function signalModifiedKey (line 273) | void signalModifiedKey(redisDb *db, robj *key) { function signalFlushedDb (line 277) | void signalFlushedDb(int dbid) { function flushdbCommand (line 285) | void flushdbCommand(client *c) { function flushallCommand (line 301) | void flushallCommand(client *c) { function delCommand (line 316) | void delCommand(client *c) { function existsCommand (line 342) | void existsCommand(client *c) { function selectCommand (line 362) | void selectCommand(client *c) { function randomkeyCommand (line 376) | void randomkeyCommand(client *c) { function keysCommand (line 400) | void keysCommand(client *c) { function scanCallback (line 456) | void scanCallback(void *privdata, const dictEntry *de) { function parseScanCursorOrReply (line 489) | int parseScanCursorOrReply(client *c, robj *o, unsigned long *cursor) { function scanGenericCommand (line 515) | void scanGenericCommand(client *c, int scantype) { function scanCommand (line 760) | void scanCommand(client *c) { function dbsizeCommand (line 764) | void dbsizeCommand(client *c) { function lastsaveCommand (line 778) | void lastsaveCommand(client *c) { function typeCommand (line 782) | void typeCommand(client *c) { function shutdownCommand (line 811) | void shutdownCommand(client *c) { function renameGenericCommand (line 839) | void renameGenericCommand(client *c, int nx) { function renameCommand (line 881) | void renameCommand(client *c) { function renamenxCommand (line 885) | void renamenxCommand(client *c) { function moveCommand (line 889) | void moveCommand(client *c) { function removeExpire (line 943) | int removeExpire(redisDb *db, robj *key) { function setExpire (line 950) | void setExpire(redisDb *db, robj *key, long long when) { function getExpire (line 962) | long long getExpire(redisDb *db, robj *key) { function propagateExpire (line 983) | void propagateExpire(redisDb *db, robj *key) { function checkIfExpired (line 1000) | int checkIfExpired(redisDb *db, robj *key) { function expireIfNeeded (line 1011) | int expireIfNeeded(redisDb *db, robj *key) { function expireGenericCommand (line 1057) | void expireGenericCommand(client *c, long long basetime, int unit) { function expireCommand (line 1111) | void expireCommand(client *c) { function expireatCommand (line 1115) | void expireatCommand(client *c) { function pexpireCommand (line 1119) | void pexpireCommand(client *c) { function pexpireatCommand (line 1123) | void pexpireatCommand(client *c) { function ttlGenericCommand (line 1127) | void ttlGenericCommand(client *c, int output_ms) { function ttlCommand (line 1156) | void ttlCommand(client *c) { function pttlCommand (line 1160) | void pttlCommand(client *c) { function persistCommand (line 1164) | void persistCommand(client *c) { type redisCommand (line 1189) | struct redisCommand type redisCommand (line 1219) | struct redisCommand function getKeysFreeResult (line 1228) | void getKeysFreeResult(int *result) { type redisCommand (line 1235) | struct redisCommand type redisCommand (line 1264) | struct redisCommand type redisCommand (line 1292) | struct redisCommand type redisCommand (line 1334) | struct redisCommand function fetchInternalDbByKey (line 1361) | int fetchInternalDbByKey(client *c, robj *key) { function fetchInternalDbById (line 1366) | int fetchInternalDbById(client *c, int idx) { function tryResizeHashTablesForDb (line 1373) | void tryResizeHashTablesForDb(int dbid) { function incrementallyRehashForDb (line 1392) | int incrementallyRehashForDb(int dbid) { function activeExpireCycle (line 1437) | void activeExpireCycle(vr_backend *backend, int type) { function activeExpireCycleTryExpire (line 1568) | int activeExpireCycleTryExpire(redisDb *db, dictEntry *de, long long now) { function databasesCron (line 1584) | void databasesCron(vr_backend *backend) { FILE: src/vr_db.h type evictionPoolEntry (line 12) | struct evictionPoolEntry { type redisDb (line 20) | typedef struct redisDb { type client (line 47) | struct client type client (line 48) | struct client type client (line 57) | struct client type client (line 60) | struct client type client (line 61) | struct client type client (line 62) | struct client type client (line 63) | struct client type client (line 64) | struct client type client (line 65) | struct client type client (line 66) | struct client type client (line 68) | struct client type client (line 69) | struct client type client (line 70) | struct client type client (line 71) | struct client type client (line 72) | struct client type client (line 73) | struct client type client (line 74) | struct client type client (line 75) | struct client type client (line 76) | struct client type client (line 77) | struct client type client (line 78) | struct client type client (line 85) | struct client type client (line 86) | struct client type client (line 87) | struct client type client (line 88) | struct client type client (line 89) | struct client type client (line 90) | struct client type client (line 91) | struct client type client (line 92) | struct client type client (line 93) | struct client type redisCommand (line 94) | struct redisCommand type redisCommand (line 95) | struct redisCommand type redisCommand (line 97) | struct redisCommand type redisCommand (line 98) | struct redisCommand type redisCommand (line 99) | struct redisCommand type redisCommand (line 100) | struct redisCommand type client (line 102) | struct client type client (line 103) | struct client FILE: src/vr_dict.c function dictIntHashFunction (line 32) | unsigned int dictIntHashFunction(unsigned int key) function dictSetHashFunctionSeed (line 45) | void dictSetHashFunctionSeed(uint32_t seed) { function dictGetHashFunctionSeed (line 49) | uint32_t dictGetHashFunctionSeed(void) { function dictGenHashFunction (line 64) | unsigned int dictGenHashFunction(const void *key, int len) { function dictGenCaseHashFunction (line 108) | unsigned int dictGenCaseHashFunction(const unsigned char *buf, int len) { function _dictReset (line 120) | static void _dictReset(dictht *ht) function dict (line 129) | dict *dictCreate(dictType *type, function _dictInit (line 139) | int _dictInit(dict *d, dictType *type, function dictResize (line 153) | int dictResize(dict *d) function dictExpand (line 165) | int dictExpand(dict *d, unsigned long size) function dictRehash (line 206) | int dictRehash(dict *d, int n) { function timeInMilliseconds (line 251) | long long timeInMilliseconds(void) { function dictRehashMilliseconds (line 259) | int dictRehashMilliseconds(dict *d, int ms) { function _dictRehashStep (line 278) | static void _dictRehashStep(dict *d) { function dictAdd (line 283) | int dictAdd(dict *d, void *key, void *val) function dictEntry (line 307) | dictEntry *dictAddRaw(dict *d, void *key) function dictReplace (line 339) | int dictReplace(dict *d, void *key, void *val) function dictEntry (line 366) | dictEntry *dictReplaceRaw(dict *d, void *key) { function dictGenericDelete (line 373) | static int dictGenericDelete(dict *d, const void *key, int nofree) function dictDelete (line 410) | int dictDelete(dict *ht, const void *key) { function dictDeleteNoFree (line 414) | int dictDeleteNoFree(dict *ht, const void *key) { function _dictClear (line 419) | int _dictClear(dict *d, dictht *ht, void(callback)(void *)) { function dictRelease (line 446) | void dictRelease(dict *d) function dictEntry (line 453) | dictEntry *dictFind(dict *d, const void *key) function dictFingerprint (line 487) | long long dictFingerprint(dict *d) { function dictIterator (line 519) | dictIterator *dictGetIterator(dict *d) function dictIterator (line 532) | dictIterator *dictGetSafeIterator(dict *d) { function dictEntry (line 539) | dictEntry *dictNext(dictIterator *iter) function dictReleaseIterator (line 574) | void dictReleaseIterator(dictIterator *iter) function dictEntry (line 589) | dictEntry *dictGetRandomKey(dict *d) function dictGetSomeKeys (line 652) | unsigned int dictGetSomeKeys(dict *d, dictEntry **des, unsigned int coun... function rev (line 721) | static unsigned long rev(unsigned long v) { function dictScan (line 815) | unsigned long dictScan(dict *d, function _dictExpandIfNeeded (line 889) | static int _dictExpandIfNeeded(dict *d) function _dictNextPower (line 911) | static unsigned long _dictNextPower(unsigned long size) function _dictKeyIndex (line 929) | static int _dictKeyIndex(dict *d, const void *key) function dictEmpty (line 953) | void dictEmpty(dict *d, void(callback)(void*)) { function dictEnableResize (line 960) | void dictEnableResize(void) { function dictDisableResize (line 964) | void dictDisableResize(void) { function _dictGetStatsHt (line 971) | size_t _dictGetStatsHt(char *buf, size_t bufsize, dictht *ht, int tablei... function dictGetStats (line 1032) | void dictGetStats(char *buf, size_t bufsize, dict *d) { FILE: src/vr_dict.h type dictEntry (line 12) | typedef struct dictEntry { type dictType (line 23) | typedef struct dictType { type dictht (line 34) | typedef struct dictht { type dict (line 41) | typedef struct dict { type dictIterator (line 53) | typedef struct dictIterator { FILE: src/vr_eventloop.c function vr_eventloop_init (line 3) | int function vr_eventloop_deinit (line 93) | void FILE: src/vr_eventloop.h type vr_eventloop (line 4) | typedef struct vr_eventloop { FILE: src/vr_hyperloglog.c type hllhdr (line 151) | struct hllhdr { function MurmurHash64A (line 362) | uint64_t MurmurHash64A (const void * key, int len, unsigned int seed) { function hllPatLen (line 413) | int hllPatLen(unsigned char *ele, size_t elesize, long *regp) { function hllDenseAdd (line 454) | int hllDenseAdd(uint8_t *registers, unsigned char *ele, size_t elesize) { function hllDenseSum (line 473) | double hllDenseSum(uint8_t *registers, double *PE, int *ezp) { function hllSparseToDense (line 537) | int hllSparseToDense(robj *o) { function hllSparseAdd (line 607) | int hllSparseAdd(robj *o, unsigned char *ele, size_t elesize) { function hllSparseSum (line 857) | double hllSparseSum(uint8_t *sparse, int sparselen, double *PE, int *ezp... function hllRawSum (line 897) | double hllRawSum(uint8_t *registers, double *PE, int *ezp) { function hllCount (line 936) | static uint64_t hllCount(struct hllhdr *hdr, int *invalid) { function hllAdd (line 996) | int hllAdd(robj *o, unsigned char *ele, size_t elesize) { function hllMerge (line 1013) | int hllMerge(uint8_t *max, robj *hll) { function robj (line 1058) | robj *createHLLObject(void) { function isHLLObjectOrReply (line 1093) | int isHLLObjectOrReply(client *c, robj *o) { function pfaddCommand (line 1124) | void pfaddCommand(client *c) { function pfcountCommand (line 1176) | void pfcountCommand(client *c) { function pfmergeCommand (line 1289) | void pfmergeCommand(client *c) { function pfselftestCommand (line 1355) | void pfselftestCommand(client *c) { function pfdebugCommand (line 1459) | void pfdebugCommand(client *c) { FILE: src/vr_hyperloglog.h type client (line 15) | struct client type client (line 16) | struct client type client (line 17) | struct client type client (line 18) | struct client type client (line 19) | struct client type client (line 20) | struct client FILE: src/vr_intset.c function _intsetValueEncoding (line 14) | static uint8_t _intsetValueEncoding(int64_t v) { function _intsetGetEncoded (line 24) | static int64_t _intsetGetEncoded(intset *is, int pos, uint8_t enc) { function _intsetGet (line 45) | static int64_t _intsetGet(intset *is, int pos) { function _intsetSet (line 50) | static void _intsetSet(intset *is, int pos, int64_t value) { function intset (line 66) | intset *intsetNew(void) { function intset (line 74) | static intset *intsetResize(intset *is, uint32_t len) { function intsetSearch (line 84) | static uint8_t intsetSearch(intset *is, int64_t value, uint32_t *pos) { function intset (line 126) | static intset *intsetUpgradeAndAdd(intset *is, int64_t value) { function intsetMoveTail (line 151) | static void intsetMoveTail(intset *is, uint32_t from, uint32_t to) { function intset (line 173) | intset *intsetAdd(intset *is, int64_t value, uint8_t *success) { function intset (line 203) | intset *intsetRemove(intset *is, int64_t value, int *success) { function intsetFind (line 223) | uint8_t intsetFind(intset *is, int64_t value) { function intsetRandom (line 229) | int64_t intsetRandom(intset *is) { function intsetGet (line 235) | uint8_t intsetGet(intset *is, uint32_t pos, int64_t *value) { function intsetLen (line 244) | uint32_t intsetLen(intset *is) { function intsetBlobLen (line 249) | size_t intsetBlobLen(intset *is) { FILE: src/vr_intset.h type intset (line 6) | typedef struct intset { FILE: src/vr_listen.c function vr_listen (line 6) | vr_listen * function vr_listen_destroy (line 102) | void function rstatus_t (line 122) | static rstatus_t function rstatus_t (line 153) | rstatus_t function vr_listen_accept (line 205) | int FILE: src/vr_listen.h type vr_listen (line 4) | typedef struct vr_listen { type vr_listen (line 14) | struct vr_listen FILE: src/vr_lzfP.h type u8 (line 120) | typedef unsigned char u8; type LZF_HSLOT (line 124) | typedef unsigned int LZF_HSLOT; type u8 (line 127) | typedef const u8 *LZF_HSLOT; type LZF_HSLOT (line 130) | typedef LZF_HSLOT LZF_STATE[1 << (HLOG)]; type u16 (line 135) | typedef unsigned short u16; type u16 (line 137) | typedef unsigned int u16; FILE: src/vr_lzf_c.c function lzf_compress (line 62) | unsigned int FILE: src/vr_lzf_d.c function lzf_decompress (line 19) | unsigned int FILE: src/vr_master.c function master_init (line 8) | int function master_deinit (line 63) | void function client_accept (line 78) | static void function cbsul_push (line 88) | static void type connswapunit (line 96) | struct connswapunit type connswapunit (line 99) | struct connswapunit function dispatch_conn_exist (line 108) | void function thread_event_process (line 138) | static void function setup_master (line 183) | static int function master_run (line 223) | int FILE: src/vr_master.h type vr_master (line 4) | typedef struct vr_master { type client (line 19) | struct client FILE: src/vr_multi.c type watchedKey (line 15) | typedef struct watchedKey { function unwatchAllKeys (line 22) | void unwatchAllKeys(client *c) { function initClientMultiState (line 49) | void initClientMultiState(client *c) { function freeClientMultiState (line 55) | void freeClientMultiState(client *c) { function queueMultiCommand (line 70) | void queueMultiCommand(client *c) { function flagTransaction (line 88) | void flagTransaction(client *c) { function execCommand (line 93) | void execCommand(client *c) { function discardCommand (line 97) | void discardCommand(client *c) { function discardTransaction (line 106) | void discardTransaction(client *c) { function multiCommand (line 113) | void multiCommand(client *c) { function watchForKey (line 123) | void watchForKey(client *c, robj *key) { function watchCommand (line 152) | void watchCommand(client *c) { function touchWatchedKey (line 166) | void touchWatchedKey(redisDb *db, robj *key) { function touchWatchedKeysOnFlush (line 189) | void touchWatchedKeysOnFlush(int dbid) { FILE: src/vr_multi.h type multiCmd (line 5) | typedef struct multiCmd { type multiState (line 11) | typedef struct multiState { type client (line 18) | struct client type client (line 19) | struct client type client (line 20) | struct client type client (line 21) | struct client type client (line 23) | struct client type client (line 24) | struct client type client (line 25) | struct client type client (line 26) | struct client type client (line 27) | struct client type client (line 28) | struct client type client (line 29) | struct client FILE: src/vr_notify.c function keyspaceEventsStringToFlags (line 11) | int keyspaceEventsStringToFlags(char *classes) { function sds (line 38) | sds keyspaceEventsFlagsToString(int flags) { function notifyKeyspaceEvent (line 66) | void notifyKeyspaceEvent(int type, char *event, robj *key, int dbid) { FILE: src/vr_object.c function robj (line 10) | robj *createObject(int type, void *ptr) { function robj (line 23) | robj *createRawStringObject(const char *ptr, size_t len) { function robj (line 30) | robj *createEmbeddedStringObject(const char *ptr, size_t len) { function robj (line 60) | robj *createStringObject(const char *ptr, size_t len) { function robj (line 67) | robj *createStringObjectFromLongLong(long long value) { function robj (line 89) | robj *createStringObjectFromLongDouble(long double value, int humanfrien... function robj (line 133) | robj *dupStringObject(robj *o) { function robj (line 154) | robj *dupStringObjectUnconstant(robj *o) { function robj (line 159) | robj *createQuicklistObject(void) { function robj (line 166) | robj *createZiplistObject(void) { function robj (line 173) | robj *createSetObject(void) { function robj (line 180) | robj *createIntsetObject(void) { function robj (line 187) | robj *createHashObject(void) { function robj (line 198) | robj *createZsetObject(void) { function robj (line 209) | robj *createZsetZiplistObject(void) { function freeStringObject (line 216) | void freeStringObject(robj *o) { function freeListObject (line 222) | void freeListObject(robj *o) { function freeSetObject (line 232) | void freeSetObject(robj *o) { function freeZsetObject (line 245) | void freeZsetObject(robj *o) { function freeHashObject (line 262) | void freeHashObject(robj *o) { function incrRefCount (line 276) | void incrRefCount(robj *o) { function decrRefCount (line 280) | void decrRefCount(robj *o) { function decrRefCountVoid (line 300) | void decrRefCountVoid(void *o) { function freeObject (line 304) | void freeObject(robj *o) { function freeObjectVoid (line 318) | void freeObjectVoid(void *o) { function robj (line 334) | robj *resetRefCount(robj *obj) { function checkType (line 339) | int checkType(client *c, robj *o, int type) { function isObjectRepresentableAsLongLong (line 347) | int isObjectRepresentableAsLongLong(robj *o, long long *llval) { function robj (line 358) | robj *tryObjectEncoding(robj *o) { function robj (line 437) | robj *getDecodedObject(robj *o) { function compareStringObjectsWithFlags (line 465) | int compareStringObjectsWithFlags(robj *a, robj *b, int flags) { function compareStringObjects (line 498) | int compareStringObjects(robj *a, robj *b) { function collateStringObjects (line 503) | int collateStringObjects(robj *a, robj *b) { function equalStringObjects (line 511) | int equalStringObjects(robj *a, robj *b) { function stringObjectLen (line 522) | size_t stringObjectLen(robj *o) { function getDoubleFromObject (line 531) | int getDoubleFromObject(robj *o, double *target) { function getDoubleFromObjectOrReply (line 559) | int getDoubleFromObjectOrReply(client *c, robj *o, double *target, const... function getLongDoubleFromObject (line 573) | int getLongDoubleFromObject(robj *o, long double *target) { function getLongDoubleFromObjectOrReply (line 597) | int getLongDoubleFromObjectOrReply(client *c, robj *o, long double *targ... function getLongLongFromObject (line 611) | int getLongLongFromObject(robj *o, long long *target) { function getLongLongFromObjectOrReply (line 635) | int getLongLongFromObjectOrReply(client *c, robj *o, long long *target, ... function getLongFromObjectOrReply (line 649) | int getLongFromObjectOrReply(client *c, robj *o, long *target, const cha... function estimateObjectIdleTime (line 681) | unsigned long long estimateObjectIdleTime(robj *o) { function getStringObjectSdsUsedMemory (line 693) | size_t getStringObjectSdsUsedMemory(robj *o) { function robj (line 704) | robj *objectCommandLookup(client *c, robj *key) { function robj (line 711) | robj *objectCommandLookupOrReply(client *c, robj *key, robj *reply) { function objectCommand (line 720) | void objectCommand(client *c) { FILE: src/vr_object.h type robj (line 37) | typedef struct vr_object { type client (line 76) | struct client type client (line 77) | struct client type client (line 78) | struct client type client (line 79) | struct client type client (line 82) | struct client type client (line 91) | struct client type client (line 92) | struct client type client (line 93) | struct client FILE: src/vr_pubsub.c function pubsubUnsubscribeChannel (line 5) | int pubsubUnsubscribeChannel(client *c, robj *channel, int notify) { function pubsubUnsubscribeAllChannels (line 45) | int pubsubUnsubscribeAllChannels(client *c, int notify) { function pubsubUnsubscribePattern (line 69) | int pubsubUnsubscribePattern(client *c, robj *pattern, int notify) { function pubsubUnsubscribeAllPatterns (line 97) | int pubsubUnsubscribeAllPatterns(client *c, int notify) { function pubsubSubscribeChannel (line 126) | int pubsubSubscribeChannel(client *c, robj *channel) { function subscribeCommand (line 154) | void subscribeCommand(client *c) { function clientSubscriptionsCount (line 163) | int clientSubscriptionsCount(client *c) { function unsubscribeCommand (line 168) | void unsubscribeCommand(client *c) { function pubsubSubscribePattern (line 181) | int pubsubSubscribePattern(client *c, robj *pattern) { function psubscribeCommand (line 202) | void psubscribeCommand(client *c) { function punsubscribeCommand (line 210) | void punsubscribeCommand(client *c) { function pubsubPublishMessage (line 223) | int pubsubPublishMessage(robj *channel, robj *message) { FILE: src/vr_pubsub.h type pubsubPattern (line 4) | typedef struct pubsubPattern { FILE: src/vr_quicklist.c function quicklist (line 61) | quicklist *quicklistCreate(void) { function quicklistSetCompressDepth (line 74) | void quicklistSetCompressDepth(quicklist *quicklist, int compress) { function quicklistSetFill (line 84) | void quicklistSetFill(quicklist *quicklist, int fill) { function quicklistSetOptions (line 93) | void quicklistSetOptions(quicklist *quicklist, int fill, int depth) { function quicklist (line 99) | quicklist *quicklistNew(int fill, int compress) { function REDIS_STATIC (line 105) | REDIS_STATIC quicklistNode *quicklistCreateNode(void) { function quicklistCount (line 119) | unsigned int quicklistCount(quicklist *ql) { return ql->count; } function quicklistRelease (line 122) | void quicklistRelease(quicklist *quicklist) { function REDIS_STATIC (line 145) | REDIS_STATIC int __quicklistCompressNode(quicklistNode *node) { function REDIS_STATIC (line 182) | REDIS_STATIC int __quicklistDecompressNode(quicklistNode *node) { function quicklistGetLzf (line 220) | size_t quicklistGetLzf(const quicklistNode *node, void **data) { function REDIS_STATIC (line 232) | REDIS_STATIC void __quicklistCompress(const quicklist *quicklist, function REDIS_STATIC (line 319) | REDIS_STATIC void __quicklistInsertNode(quicklist *quicklist, function REDIS_STATIC (line 355) | REDIS_STATIC void _quicklistInsertNodeBefore(quicklist *quicklist, function REDIS_STATIC (line 361) | REDIS_STATIC void _quicklistInsertNodeAfter(quicklist *quicklist, function REDIS_STATIC (line 367) | REDIS_STATIC int function REDIS_STATIC (line 387) | REDIS_STATIC int _quicklistNodeAllowInsert(const quicklistNode *node, function REDIS_STATIC (line 419) | REDIS_STATIC int _quicklistNodeAllowMerge(const quicklistNode *a, function quicklistPushHead (line 447) | int quicklistPushHead(quicklist *quicklist, void *value, size_t sz) { function quicklistPushTail (line 470) | int quicklistPushTail(quicklist *quicklist, void *value, size_t sz) { function quicklistAppendZiplist (line 492) | void quicklistAppendZiplist(quicklist *quicklist, unsigned char *zl) { function quicklist (line 509) | quicklist *quicklistAppendValuesFromZiplist(quicklist *quicklist, function quicklist (line 533) | quicklist *quicklistCreateFromZiplist(int fill, int compress, function REDIS_STATIC (line 546) | REDIS_STATIC void __quicklistDelNode(quicklist *quicklist, function REDIS_STATIC (line 580) | REDIS_STATIC int quicklistDelIndex(quicklist *quicklist, quicklistNode *... function quicklistDelEntry (line 601) | void quicklistDelEntry(quicklistIter *iter, quicklistEntry *entry) { function quicklistReplaceAtIndex (line 634) | int quicklistReplaceAtIndex(quicklist *quicklist, long index, void *data, function REDIS_STATIC (line 661) | REDIS_STATIC quicklistNode *_quicklistZiplistMerge(quicklist *quicklist, function REDIS_STATIC (line 699) | REDIS_STATIC void _quicklistMergeNodes(quicklist *quicklist, function REDIS_STATIC (line 763) | REDIS_STATIC quicklistNode *_quicklistSplitNode(quicklistNode *node, int... function REDIS_STATIC (line 798) | REDIS_STATIC void _quicklistInsert(quicklist *quicklist, quicklistEntry ... function quicklistInsertBefore (line 908) | void quicklistInsertBefore(quicklist *quicklist, quicklistEntry *entry, function quicklistInsertAfter (line 913) | void quicklistInsertAfter(quicklist *quicklist, quicklistEntry *entry, function quicklistDelRange (line 924) | int quicklistDelRange(quicklist *quicklist, const long start, function quicklistCompare (line 1008) | int quicklistCompare(unsigned char *p1, unsigned char *p2, int p2_len) { function quicklistIter (line 1014) | quicklistIter *quicklistGetIterator(const quicklist *quicklist, int dire... function quicklistIter (line 1037) | quicklistIter *quicklistGetIteratorAtIdx(const quicklist *quicklist, function quicklistReleaseIterator (line 1055) | void quicklistReleaseIterator(quicklistIter *iter) { function quicklistNext (line 1083) | int quicklistNext(quicklistIter *iter, quicklistEntry *entry) { function quicklist (line 1152) | quicklist *quicklistDup(quicklist *orig) { function quicklistIndex (line 1192) | int quicklistIndex(const quicklist *quicklist, const long long idx, function quicklistRotate (line 1249) | void quicklistRotate(quicklist *quicklist) { function quicklistPopCustom (line 1291) | int quicklistPopCustom(quicklist *quicklist, int where, unsigned char **... function REDIS_STATIC (line 1339) | REDIS_STATIC void *_quicklistSaver(unsigned char *data, unsigned int sz) { function quicklistPop (line 1352) | int quicklistPop(quicklist *quicklist, int where, unsigned char **data, function quicklistPush (line 1371) | void quicklistPush(quicklist *quicklist, void *value, const size_t sz, FILE: src/vr_quicklist.h type quicklistNode (line 14) | typedef struct quicklistNode { type quicklistLZF (line 32) | typedef struct quicklistLZF { type quicklist (line 43) | typedef struct quicklist { type quicklistIter (line 52) | typedef struct quicklistIter { type quicklistEntry (line 60) | typedef struct quicklistEntry { FILE: src/vr_rbtree.c function rbtree_node_init (line 3) | void function rbtree_init (line 14) | void type rbnode (line 23) | struct rbnode type rbnode (line 24) | struct rbnode type rbnode (line 24) | struct rbnode type rbnode (line 35) | struct rbnode type rbtree (line 36) | struct rbtree type rbnode (line 38) | struct rbnode type rbnode (line 39) | struct rbnode function rbtree_left_rotate (line 50) | static void function rbtree_right_rotate (line 77) | static void function rbtree_insert (line 104) | void function rbtree_delete (line 186) | void FILE: src/vr_rbtree.h type rbnode (line 10) | struct rbnode { type rbtree (line 19) | struct rbtree { type rbnode (line 24) | struct rbnode type rbtree (line 25) | struct rbtree type rbnode (line 25) | struct rbnode type rbnode (line 26) | struct rbnode type rbtree (line 26) | struct rbtree type rbtree (line 27) | struct rbtree type rbnode (line 27) | struct rbnode type rbtree (line 28) | struct rbtree type rbnode (line 28) | struct rbnode FILE: src/vr_rdb.c function rdbSave (line 4) | int rdbSave(char *filename) { function rdbRemoveTempFile (line 8) | void rdbRemoveTempFile(pid_t childpid) { FILE: src/vr_rdb.h type saveparam (line 31) | struct saveparam { FILE: src/vr_replication.c type vr_replication (line 3) | struct vr_replication function vr_replication_init (line 5) | int vr_replication_init(void) function vr_replication_deinit (line 34) | void vr_replication_deinit(void) function unblockClientWaitingReplicas (line 67) | void unblockClientWaitingReplicas(client *c) { function refreshGoodSlavesCount (line 78) | void refreshGoodSlavesCount(void) { function replicationHandleMasterDisconnection (line 99) | void replicationHandleMasterDisconnection(void) { function replicationCacheMaster (line 129) | void replicationCacheMaster(client *c) { function replconfCommand (line 178) | void replconfCommand(client *c) { function putSlaveOnline (line 246) | void putSlaveOnline(client *slave) { function replicationSendAck (line 264) | void replicationSendAck(void) { function replicationFeedMonitors (line 277) | void replicationFeedMonitors(client *c, dlist *monitors, int dictid, rob... function feedReplicationBacklog (line 320) | void feedReplicationBacklog(void *ptr, size_t len) { function feedReplicationBacklogWithObject (line 347) | void feedReplicationBacklogWithObject(robj *o) { function replicationFeedSlaves (line 362) | void replicationFeedSlaves(dlist *slaves, int dictid, robj **argv, int a... FILE: src/vr_replication.h type vr_replication (line 46) | struct vr_replication { type vr_replication (line 97) | struct vr_replication FILE: src/vr_scripting.c function scriptCommand (line 3) | void scriptCommand(client *c) { FILE: src/vr_server.c type vr_server (line 6) | struct vr_server type sharedObjectsStruct (line 9) | struct sharedObjectsStruct function dictStrHash (line 11) | unsigned int function dictStrCaseHash (line 16) | unsigned int function dictSdsHash (line 21) | unsigned int function dictSdsCaseHash (line 26) | unsigned int function dictStrKeyCompare (line 31) | int function dictStrKeyCaseCompare (line 46) | int function dictSdsKeyCompare (line 55) | int function dictSdsKeyCaseCompare (line 70) | int function dictSdsDestructor (line 87) | void function dictObjectDestructor (line 95) | void function dictEncObjKeyCompare (line 104) | int function dictEncObjHash (line 124) | unsigned int function dictObjHash (line 149) | unsigned int function dictObjKeyCompare (line 155) | int function dictListDestructor (line 163) | void function createSharedObjects (line 202) | static void createSharedObjects(void) { function init_server (line 303) | int function getLRUClock (line 415) | unsigned int getLRUClock(void) { function evictionPoolPopulate (line 429) | void evictionPoolPopulate(dict *sampledict, dict *keydict, function freeMemoryIfNeeded (line 495) | int freeMemoryIfNeeded(vr_eventloop *vel) { function pingCommand (line 629) | void pingCommand(client *c) { function time_independent_strcmp (line 661) | int time_independent_strcmp(char *a, char *b) { function authCommand (line 694) | void authCommand(client *c) { function adminCommand (line 712) | void adminCommand(client *c) { function htNeedsResize (line 729) | int htNeedsResize(dict *dict) { type keys_statistics (line 738) | struct keys_statistics { function sds (line 748) | sds genVireInfoString(vr_eventloop *vel, char *section) { function infoCommand (line 1077) | void infoCommand(client *c) { function echoCommand (line 1087) | void echoCommand(client *c) { function timeCommand (line 1091) | void timeCommand(client *c) { function adjustOpenFilesLimit (line 1110) | int adjustOpenFilesLimit(int maxclients) { FILE: src/vr_server.h type readyList (line 75) | typedef struct readyList { type vr_server (line 80) | struct vr_server { type zskiplistNode (line 237) | typedef struct zskiplistNode { type zskiplist (line 247) | typedef struct zskiplist { type zset (line 253) | typedef struct zset { type listTypeIterator (line 259) | typedef struct { type listTypeEntry (line 267) | typedef struct { type setTypeIterator (line 273) | typedef struct { type hashTypeIterator (line 284) | typedef struct { type sharedObjectsStruct (line 294) | struct sharedObjectsStruct { type vr_server (line 312) | struct vr_server type sharedObjectsStruct (line 313) | struct sharedObjectsStruct type instance (line 338) | struct instance type client (line 343) | struct client type client (line 345) | struct client type client (line 346) | struct client FILE: src/vr_signal.c type signal (line 7) | struct signal function rstatus_t (line 19) | rstatus_t function signal_deinit (line 44) | void function signal_handler (line 49) | void FILE: src/vr_signal.h type signal (line 4) | struct signal { FILE: src/vr_slowlog.c function slowlogEntry (line 10) | slowlogEntry *slowlogCreateEntry(robj **argv, int argc, long long durati... function slowlogFreeEntry (line 51) | void slowlogFreeEntry(void *septr) { function slowlogInit (line 63) | void slowlogInit(void) { function slowlogPushEntryIfNeeded (line 73) | void slowlogPushEntryIfNeeded(vr_eventloop *vel, robj **argv, int argc, ... function slowlogReset (line 96) | void slowlogReset(void) { function slowlogCommand (line 105) | void slowlogCommand(client *c) { FILE: src/vr_slowlog.h type slowlogEntry (line 8) | typedef struct slowlogEntry { FILE: src/vr_stats.c function vr_stats_init (line 3) | int function vr_stats_deinit (line 39) | void function trackInstantaneousMetric (line 66) | void trackInstantaneousMetric(vr_stats *stats, int metric, long long cur... function getInstantaneousMetric (line 82) | long long getInstantaneousMetric(vr_stats *stats, int metric) { FILE: src/vr_stats.h type vr_stats (line 15) | typedef struct vr_stats { FILE: src/vr_t_hash.c function hashTypeTryConversion (line 12) | void hashTypeTryConversion(robj *o, robj **argv, int start, int end) { function hashTypeTryObjectEncoding (line 28) | void hashTypeTryObjectEncoding(robj *subject, robj **o1, robj **o2) { function hashTypeGetFromZiplist (line 37) | int hashTypeGetFromZiplist(robj *o, robj *field, function hashTypeGetFromHashTable (line 74) | int hashTypeGetFromHashTable(robj *o, robj *field, robj **value) { function robj (line 91) | robj *hashTypeGetObject(robj *o, robj *field) { function hashTypeGetValueLength (line 121) | size_t hashTypeGetValueLength(robj *o, robj *field) { function hashTypeExists (line 143) | int hashTypeExists(robj *o, robj *field) { function hashTypeSet (line 165) | int hashTypeSet(robj *o, robj *field, robj *value) { function hashTypeDelete (line 222) | int hashTypeDelete(robj *o, robj *field) { function hashTypeLength (line 260) | unsigned long hashTypeLength(robj *o) { function hashTypeIterator (line 274) | hashTypeIterator *hashTypeInitIterator(robj *subject) { function hashTypeReleaseIterator (line 291) | void hashTypeReleaseIterator(hashTypeIterator *hi) { function hashTypeNext (line 301) | int hashTypeNext(hashTypeIterator *hi) { function hashTypeCurrentFromZiplist (line 338) | void hashTypeCurrentFromZiplist(hashTypeIterator *hi, int what, function hashTypeCurrentFromHashTable (line 358) | void hashTypeCurrentFromHashTable(hashTypeIterator *hi, int what, robj *... function robj (line 371) | robj *hashTypeCurrentObject(hashTypeIterator *hi, int what) { function robj (line 393) | robj *hashTypeLookupWriteOrCreate(client *c, robj *key, int *expired) { function hashTypeConvertZiplist (line 407) | void hashTypeConvertZiplist(robj *o, int enc) { function hashTypeConvert (line 447) | void hashTypeConvert(robj *o, int enc) { function hsetCommand (line 461) | void hsetCommand(client *c) { function hsetnxCommand (line 484) | void hsetnxCommand(client *c) { function hmsetCommand (line 512) | void hmsetCommand(client *c) { function hincrbyCommand (line 543) | void hincrbyCommand(client *c) { function hincrbyfloatCommand (line 585) | void hincrbyfloatCommand(client *c) { function addHashFieldToReply (line 632) | static void addHashFieldToReply(client *c, robj *o, robj *field) { function hgetCommand (line 671) | void hgetCommand(client *c) { function hmgetCommand (line 691) | void hmgetCommand(client *c) { function hdelCommand (line 722) | void hdelCommand(client *c) { function hlenCommand (line 761) | void hlenCommand(client *c) { function hstrlenCommand (line 781) | void hstrlenCommand(client *c) { function addHashIteratorCursorToReply (line 802) | static void addHashIteratorCursorToReply(client *c, hashTypeIterator *hi... function genericHgetallCommand (line 826) | void genericHgetallCommand(client *c, int flags) { function hkeysCommand (line 868) | void hkeysCommand(client *c) { function hvalsCommand (line 872) | void hvalsCommand(client *c) { function hgetallCommand (line 876) | void hgetallCommand(client *c) { function hexistsCommand (line 880) | void hexistsCommand(client *c) { function hscanCommand (line 900) | void hscanCommand(client *c) { FILE: src/vr_t_list.c function listTypePush (line 12) | void listTypePush(robj *subject, robj *value, int where) { function robj (line 29) | robj *listTypePop(robj *subject, int where) { function listTypeLength (line 46) | unsigned long listTypeLength(robj *subject) { function listTypeIterator (line 55) | listTypeIterator *listTypeInitIterator(robj *subject, long index, function listTypeReleaseIterator (line 76) | void listTypeReleaseIterator(listTypeIterator *li) { function listTypeNext (line 84) | int listTypeNext(listTypeIterator *li, listTypeEntry *entry) { function robj (line 98) | robj *listTypeGet(listTypeEntry *entry) { function listTypeInsert (line 113) | void listTypeInsert(listTypeEntry *entry, robj *value, int where) { function listTypeEqual (line 132) | int listTypeEqual(listTypeEntry *entry, robj *o) { function listTypeDelete (line 142) | void listTypeDelete(listTypeIterator *iter, listTypeEntry *entry) { function listTypeConvert (line 151) | void listTypeConvert(robj *subject, int enc) { function pushGenericCommand (line 169) | void pushGenericCommand(client *c, int where) { function lpushCommand (line 208) | void lpushCommand(client *c) { function rpushCommand (line 212) | void rpushCommand(client *c) { function pushxGenericCommand (line 216) | void pushxGenericCommand(client *c, robj *refval, robj *val, int where) { function lpushxCommand (line 259) | void lpushxCommand(client *c) { function rpushxCommand (line 264) | void rpushxCommand(client *c) { function linsertCommand (line 269) | void linsertCommand(client *c) { function llenCommand (line 280) | void llenCommand(client *c) { function lindexCommand (line 301) | void lindexCommand(client *c) { function lsetCommand (line 341) | void lsetCommand(client *c) { function popGenericCommand (line 378) | void popGenericCommand(client *c, int where) { function lpopCommand (line 412) | void lpopCommand(client *c) { function rpopCommand (line 416) | void rpopCommand(client *c) { function lrangeCommand (line 420) | void lrangeCommand(client *c) { function ltrimCommand (line 481) | void ltrimCommand(client *c) { function lremCommand (line 536) | void lremCommand(client *c) { function rpoplpushHandlePush (line 604) | void rpoplpushHandlePush(client *c, robj *dstkey, robj *dstobj, robj *va... function rpoplpushCommand (line 619) | void rpoplpushCommand(client *c) { function blockForKeys (line 679) | void blockForKeys(client *c, robj **keys, int numkeys, mstime_t timeout,... function unblockClientWaitingData (line 714) | void unblockClientWaitingData(client *c) { function signalListAsReady (line 750) | void signalListAsReady(redisDb *db, robj *key) { function serveClientBlockedOnList (line 794) | int serveClientBlockedOnList(client *receiver, robj *key, robj *dstkey, ... function handleClientsBlockedOnLists (line 854) | void handleClientsBlockedOnLists(void) { function blockingPopGenericCommand (line 936) | void blockingPopGenericCommand(client *c, int where) { function blpopCommand (line 992) | void blpopCommand(client *c) { function brpopCommand (line 996) | void brpopCommand(client *c) { function brpoplpushCommand (line 1000) | void brpoplpushCommand(client *c) { FILE: src/vr_t_set.c function robj (line 13) | robj *setTypeCreate(robj *value) { function setTypeAdd (line 24) | int setTypeAdd(robj *subject, robj *value) { function setTypeRemove (line 61) | int setTypeRemove(robj *setobj, robj *value) { function setTypeIsMember (line 80) | int setTypeIsMember(robj *subject, robj *value) { function setTypeIterator (line 94) | setTypeIterator *setTypeInitIterator(robj *subject) { function setTypeReleaseIterator (line 108) | void setTypeReleaseIterator(setTypeIterator *si) { function setTypeNext (line 129) | int setTypeNext(setTypeIterator *si, robj **objele, int64_t *llele) { function robj (line 153) | robj *setTypeNextObject(setTypeIterator *si) { function setTypeRandomElement (line 188) | int setTypeRandomElement(robj *setobj, robj **objele, int64_t *llele) { function setTypeSize (line 202) | unsigned long setTypeSize(robj *subject) { function setTypeConvert (line 215) | void setTypeConvert(robj *setobj, int enc) { function saddCommand (line 245) | void saddCommand(client *c) { function sremCommand (line 279) | void sremCommand(client *c) { function smoveCommand (line 316) | void smoveCommand(client *c) { function sismemberCommand (line 369) | void sismemberCommand(client *c) { function scardCommand (line 394) | void scardCommand(client *c) { function smembersGenericCommand (line 414) | void smembersGenericCommand(client *c, robj *set) function spopWithCountCommand (line 441) | void spopWithCountCommand(client *c) { function spopCommand (line 600) | void spopCommand(client *c) { function srandmemberWithCountCommand (line 668) | void srandmemberWithCountCommand(client *c) { function srandmemberCommand (line 802) | void srandmemberCommand(client *c) { function smembersCommand (line 826) | void smembersCommand(client *c) { function qsortCompareSetsByCardinality (line 847) | int qsortCompareSetsByCardinality(const void *s1, const void *s2) { function qsortCompareSetsByRevCardinality (line 853) | int qsortCompareSetsByRevCardinality(const void *s1, const void *s2) { function sinterGenericCommand (line 859) | void sinterGenericCommand(client *c, robj **setkeys, function sinterCommand (line 1056) | void sinterCommand(client *c) { function sinterstoreCommand (line 1060) | void sinterstoreCommand(client *c) { function sunionDiffGenericCommand (line 1068) | void sunionDiffGenericCommand(client *c, robj **setkeys, int setnum, function sunionCommand (line 1309) | void sunionCommand(client *c) { function sunionstoreCommand (line 1313) | void sunionstoreCommand(client *c) { function sdiffCommand (line 1317) | void sdiffCommand(client *c) { function sdiffstoreCommand (line 1321) | void sdiffstoreCommand(client *c) { function sscanCommand (line 1325) | void sscanCommand(client *c) { FILE: src/vr_t_string.c function checkStringLength (line 7) | static int checkStringLength(client *c, long long size) { function setGenericCommand (line 37) | void setGenericCommand(client *c, int flags, robj *key, robj *val, robj ... function setCommand (line 80) | void setCommand(client *c) { function setnxCommand (line 126) | void setnxCommand(client *c) { function setexCommand (line 131) | void setexCommand(client *c) { function psetexCommand (line 136) | void psetexCommand(client *c) { function getGenericCommand (line 141) | int getGenericCommand(client *c) { function getCommand (line 157) | void getCommand(client *c) { function getsetCommand (line 178) | void getsetCommand(client *c) { function setrangeCommand (line 216) | void setrangeCommand(client *c) { function getrangeCommand (line 294) | void getrangeCommand(client *c) { function mgetCommand (line 343) | void mgetCommand(client *c) { function msetGenericCommand (line 367) | void msetGenericCommand(client *c, int nx) { function msetCommand (line 397) | void msetCommand(client *c) { function msetnxCommand (line 421) | void msetnxCommand(client *c) { function incrDecrCommand (line 425) | void incrDecrCommand(client *c, long long incr) { function incrCommand (line 470) | void incrCommand(client *c) { function decrCommand (line 474) | void decrCommand(client *c) { function incrbyCommand (line 478) | void incrbyCommand(client *c) { function decrbyCommand (line 485) | void decrbyCommand(client *c) { function incrbyfloatCommand (line 492) | void incrbyfloatCommand(client *c) { function appendCommand (line 533) | void appendCommand(client *c) { function strlenCommand (line 572) | void strlenCommand(client *c) { FILE: src/vr_t_zset.c function zskiplistNode (line 6) | zskiplistNode *zslCreateNode(int level, double score, robj *obj) { function zskiplist (line 13) | zskiplist *zslCreate(void) { function zslFreeNode (line 30) | void zslFreeNode(zskiplistNode *node) { function zslFree (line 35) | void zslFree(zskiplist *zsl) { function zslRandomLevel (line 51) | int zslRandomLevel(void) { function zskiplistNode (line 58) | zskiplistNode *zslInsert(zskiplist *zsl, double score, robj *obj) { function zslDeleteNode (line 115) | void zslDeleteNode(zskiplist *zsl, zskiplistNode *x, zskiplistNode **upd... function zslDelete (line 136) | int zslDelete(zskiplist *zsl, double score, robj *obj) { function zslValueGteMin (line 160) | static int zslValueGteMin(double value, zrangespec *spec) { function zslValueLteMax (line 164) | int zslValueLteMax(double value, zrangespec *spec) { function zslIsInRange (line 169) | int zslIsInRange(zskiplist *zsl, zrangespec *range) { function zskiplistNode (line 187) | zskiplistNode *zslFirstInRange(zskiplist *zsl, zrangespec *range) { function zskiplistNode (line 213) | zskiplistNode *zslLastInRange(zskiplist *zsl, zrangespec *range) { function zslDeleteRangeByScore (line 240) | unsigned long zslDeleteRangeByScore(zskiplist *zsl, zrangespec *range, d... function zslDeleteRangeByLex (line 271) | unsigned long zslDeleteRangeByLex(zskiplist *zsl, zlexrangespec *range, ... function zslDeleteRangeByRank (line 302) | unsigned long zslDeleteRangeByRank(zskiplist *zsl, unsigned int start, u... function zslGetRank (line 334) | unsigned long zslGetRank(zskiplist *zsl, double score, robj *o) { function zskiplistNode (line 358) | zskiplistNode* zslGetElementByRank(zskiplist *zsl, unsigned long rank) { function zslParseRange (line 378) | static int zslParseRange(robj *min, robj *max, zrangespec *spec) { function zslParseLexRangeItem (line 429) | int zslParseLexRangeItem(robj *item, robj **dest, int *ex) { function zslParseLexRange (line 461) | static int zslParseLexRange(robj *min, robj *max, zlexrangespec *spec) { function zslFreeLexRange (line 480) | void zslFreeLexRange(zlexrangespec *spec) { function compareStringObjectsForLexRange (line 488) | int compareStringObjectsForLexRange(robj *a, robj *b) { function zslLexValueGteMin (line 496) | static int zslLexValueGteMin(robj *value, zlexrangespec *spec) { function zslLexValueLteMax (line 502) | static int zslLexValueLteMax(robj *value, zlexrangespec *spec) { function zslIsInLexRange (line 509) | int zslIsInLexRange(zskiplist *zsl, zlexrangespec *range) { function zskiplistNode (line 528) | zskiplistNode *zslFirstInLexRange(zskiplist *zsl, zlexrangespec *range) { function zskiplistNode (line 554) | zskiplistNode *zslLastInLexRange(zskiplist *zsl, zlexrangespec *range) { function zzlGetScore (line 581) | double zzlGetScore(unsigned char *sptr) { function robj (line 608) | robj *ziplistGetObject(unsigned char *sptr) { function zzlCompareElements (line 627) | int zzlCompareElements(unsigned char *eptr, unsigned char *cstr, unsigne... function zzlLength (line 649) | unsigned int zzlLength(unsigned char *zl) { function zzlNext (line 655) | void zzlNext(unsigned char *zl, unsigned char **eptr, unsigned char **sp... function zzlPrev (line 674) | void zzlPrev(unsigned char *zl, unsigned char **eptr, unsigned char **sp... function zzlIsInRange (line 693) | int zzlIsInRange(unsigned char *zl, zrangespec *range) { function zzlLexValueGteMin (line 780) | static int zzlLexValueGteMin(unsigned char *p, zlexrangespec *spec) { function zzlLexValueLteMax (line 787) | static int zzlLexValueLteMax(unsigned char *p, zlexrangespec *spec) { function zzlIsInLexRange (line 796) | int zzlIsInLexRange(unsigned char *zl, zlexrangespec *range) { function zsetLength (line 1041) | unsigned int zsetLength(robj *zobj) { function zsetConvert (line 1053) | void zsetConvert(robj *zobj, int encoding) { function zsetConvertToZiplistIfNeeded (line 1130) | void zsetConvertToZiplistIfNeeded(robj *zobj, size_t maxelelen) { function zsetScore (line 1143) | int zsetScore(robj *zobj, robj *member, double *score) { function zaddGenericCommand (line 1170) | void zaddGenericCommand(client *c, int flags) { function zaddCommand (line 1376) | void zaddCommand(client *c) { function zincrbyCommand (line 1380) | void zincrbyCommand(client *c) { function zremCommand (line 1384) | void zremCommand(client *c) { function zremrangeGenericCommand (line 1457) | void zremrangeGenericCommand(client *c, int rangetype) { function zremrangebyrankCommand (line 1562) | void zremrangebyrankCommand(client *c) { function zremrangebyscoreCommand (line 1566) | void zremrangebyscoreCommand(client *c) { function zremrangebylexCommand (line 1570) | void zremrangebylexCommand(client *c) { type iterset (line 1584) | typedef union _iterset iterset; type iterzset (line 1585) | typedef union _iterzset iterzset; function zuiInitIterator (line 1587) | void zuiInitIterator(zsetopsrc *op) { function zuiClearIterator (line 1623) | void zuiClearIterator(zsetopsrc *op) { function zuiLength (line 1650) | int zuiLength(zsetopsrc *op) { function zuiNext (line 1680) | int zuiNext(zsetopsrc *op, zsetopval *val) { function zuiLongLongFromValue (line 1743) | int zuiLongLongFromValue(zsetopval *val) { function robj (line 1768) | robj *zuiObjectFromValue(zsetopval *val) { function zuiBufferFromValue (line 1780) | int zuiBufferFromValue(zsetopval *val) { function zuiFind (line 1802) | int zuiFind(zsetopsrc *op, zsetopval *val, double *score) { function zuiCompareByCardinality (line 1855) | int zuiCompareByCardinality(const void *s1, const void *s2) { function zunionInterAggregate (line 1864) | inline static void zunionInterAggregate(double *target, double val, int ... function zunionInterGenericCommand (line 1885) | void zunionInterGenericCommand(client *c, robj *dstkey, int op) { function zunionstoreCommand (line 2122) | void zunionstoreCommand(client *c) { function zinterstoreCommand (line 2126) | void zinterstoreCommand(client *c) { function zrangeGenericCommand (line 2130) | void zrangeGenericCommand(client *c, int reverse) { function zrangeCommand (line 2246) | void zrangeCommand(client *c) { function zrevrangeCommand (line 2250) | void zrevrangeCommand(client *c) { function genericZrangebyscoreCommand (line 2255) | void genericZrangebyscoreCommand(client *c, int reverse) { function zrangebyscoreCommand (line 2456) | void zrangebyscoreCommand(client *c) { function zrevrangebyscoreCommand (line 2460) | void zrevrangebyscoreCommand(client *c) { function zcountCommand (line 2464) | void zcountCommand(client *c) { function zlexcountCommand (line 2554) | void zlexcountCommand(client *c) { function genericZrangebylexCommand (line 2634) | void genericZrangebylexCommand(client *c, int reverse) { function zrangebylexCommand (line 2810) | void zrangebylexCommand(client *c) { function zrevrangebylexCommand (line 2814) | void zrevrangebylexCommand(client *c) { function zcardCommand (line 2818) | void zcardCommand(client *c) { function zscoreCommand (line 2840) | void zscoreCommand(client *c) { function zrankGenericCommand (line 2867) | void zrankGenericCommand(client *c, int reverse) { function zrankCommand (line 2941) | void zrankCommand(client *c) { function zrevrankCommand (line 2945) | void zrevrankCommand(client *c) { function zscanCommand (line 2949) | void zscanCommand(client *c) { FILE: src/vr_t_zset.h type zrangespec (line 5) | typedef struct { type zlexrangespec (line 11) | typedef struct { type zsetopsrc (line 16) | typedef struct { type zsetopval (line 51) | typedef struct { FILE: src/vr_thread.c function vr_thread_init (line 3) | int function vr_thread_deinit (line 18) | void function vr_thread_start (line 39) | int vr_thread_start(vr_thread *thread) FILE: src/vr_thread.h type vr_thread (line 6) | typedef struct vr_thread { FILE: src/vr_util.c function vr_set_blocking (line 23) | int function vr_set_nonblocking (line 36) | int function vr_set_reuseaddr (line 49) | int function vr_set_tcpnodelay (line 69) | int function vr_set_linger (line 81) | int function vr_set_sndbuf (line 95) | int function vr_set_rcvbuf (line 105) | int function vr_get_soerror (line 115) | int function vr_get_sndbuf (line 132) | int function vr_get_rcvbuf (line 149) | int function vr_set_tcpkeepalive (line 166) | int function _vr_atoi (line 214) | int function digits10 (line 240) | uint32_t digits10(uint64_t v) { function sdigits10 (line 261) | uint32_t sdigits10(int64_t v) { function ll2string (line 283) | int function string2ll (line 341) | int function string2l (line 408) | int string2l(const char *s, size_t slen, long *lval) { function d2string (line 423) | int d2string(char *buf, size_t len, double value) { function vr_valid_port (line 460) | bool function _vr_sendn (line 473) | ssize_t function _vr_recvn (line 504) | ssize_t function vr_usec_now (line 535) | int64_t function vr_msec_now (line 556) | int64_t function vr_resolve_inet (line 562) | static int function vr_resolve_unix (line 632) | static int function vr_resolve (line 660) | int function vr_net_peer_to_string (line 670) | static int vr_net_peer_to_string(int fd, char *ip, size_t ip_len, int *p... function vr_net_format_addr (line 709) | static int vr_net_format_addr(char *buf, size_t buf_len, char *ip, int p... function vr_net_format_peer (line 715) | int vr_net_format_peer(int fd, char *buf, size_t buf_len) { function get_random_hex_chars (line 727) | void function stringmatchlen (line 802) | int stringmatchlen(const char *pattern, int patternLen, function stringmatch (line 924) | int stringmatch(const char *pattern, const char *string, int nocase) { function memrev16 (line 930) | void memrev16(void *p) { function memrev32 (line 940) | void memrev32(void *p) { function memrev64 (line 953) | void memrev64(void *p) { function intrev16 (line 970) | uint16_t intrev16(uint16_t v) { function intrev32 (line 975) | uint32_t intrev32(uint32_t v) { function intrev64 (line 980) | uint64_t intrev64(uint64_t v) { function memtoll (line 992) | long long memtoll(const char *p, int *err) { function bytesToHuman (line 1046) | void bytesToHuman(char *s, unsigned long long n) { function sds (line 1081) | sds getAbsolutePath(char *filename) { FILE: src/vr_util.h type sockinfo (line 122) | struct sockinfo { type sockinfo (line 132) | struct sockinfo FILE: src/vr_worker.c type darray (line 7) | struct darray type connswapunit (line 14) | struct connswapunit type connswapunit (line 20) | struct connswapunit type connswapunit (line 22) | struct connswapunit type connswapunit (line 34) | struct connswapunit function csui_free (line 59) | void function csul_push (line 67) | void type connswapunit (line 75) | struct connswapunit type connswapunit (line 78) | struct connswapunit function vr_worker_init (line 87) | int function vr_worker_deinit (line 154) | void function worker_get_next_idx (line 178) | int function dispatch_conn_new (line 185) | void function thread_event_process (line 217) | static void function setup_worker (line 318) | static int function workers_init (line 353) | int function workers_run (line 380) | int function workers_wait (line 396) | int function workers_deinit (line 412) | void function worker_before_sleep (line 426) | void function worker_cron (line 441) | int FILE: src/vr_worker.h type vr_worker (line 4) | typedef struct vr_worker { type connswapunit (line 27) | struct connswapunit { type darray (line 33) | struct darray type connswapunit (line 40) | struct connswapunit type connswapunit (line 41) | struct connswapunit type connswapunit (line 43) | struct connswapunit type connswapunit (line 44) | struct connswapunit type aeEventLoop (line 50) | struct aeEventLoop type aeEventLoop (line 51) | struct aeEventLoop FILE: src/vr_ziplist.c type zlentry (line 155) | typedef struct zlentry { function zipIntSize (line 180) | static unsigned int zipIntSize(unsigned char encoding) { function zipEncodeLength (line 195) | static unsigned int zipEncodeLength(unsigned char *p, unsigned char enco... function zipPrevEncodeLength (line 259) | static unsigned int zipPrevEncodeLength(unsigned char *p, unsigned int l... function zipPrevEncodeLengthForceLarge (line 277) | static void zipPrevEncodeLengthForceLarge(unsigned char *p, unsigned int... function zipPrevLenByteDiff (line 309) | static int zipPrevLenByteDiff(unsigned char *p, unsigned int len) { function zipRawEntryLength (line 316) | static unsigned int zipRawEntryLength(unsigned char *p) { function zipTryEncoding (line 325) | static int zipTryEncoding(unsigned char *entry, unsigned int entrylen, l... function zipSaveInteger (line 352) | static void zipSaveInteger(unsigned char *p, int64_t value, unsigned cha... function zipLoadInteger (line 382) | static int64_t zipLoadInteger(unsigned char *p, unsigned char encoding) { function zipEntry (line 414) | static void zipEntry(unsigned char *p, zlentry *e) { function ziplistGet (line 866) | unsigned int ziplistGet(unsigned char *p, unsigned char **sstr, unsigned... function ziplistCompare (line 913) | unsigned int ziplistCompare(unsigned char *p, unsigned char *sstr, unsig... function ziplistLen (line 1000) | unsigned int ziplistLen(unsigned char *zl) { function ziplistBlobLen (line 1018) | size_t ziplistBlobLen(unsigned char *zl) { function ziplistRepr (line 1022) | void ziplistRepr(unsigned char *zl) { function usec (line 1110) | static long long usec(void) { function stress (line 1116) | static void stress(int pos, int num, int maxsize, int dnum) { function randstring (line 1166) | static int randstring(char *target, unsigned int min, unsigned int max) { function verify (line 1192) | static void verify(unsigned char *zl, zlentry *e) { function ziplistTest (line 1209) | int ziplistTest(int argc, char **argv) { FILE: src/vr_zipmap.c function zipmapDecodeLength (line 105) | static unsigned int zipmapDecodeLength(unsigned char *p) { function zipmapEncodeLength (line 116) | static unsigned int zipmapEncodeLength(unsigned char *p, unsigned int le... function zipmapRequiredLength (line 168) | static unsigned long zipmapRequiredLength(unsigned int klen, unsigned in... function zipmapRawKeyLength (line 178) | static unsigned int zipmapRawKeyLength(unsigned char *p) { function zipmapRawValueLength (line 185) | static unsigned int zipmapRawValueLength(unsigned char *p) { function zipmapRawEntryLength (line 197) | static unsigned int zipmapRawEntryLength(unsigned char *p) { function zipmapGet (line 334) | int zipmapGet(unsigned char *zm, unsigned char *key, unsigned int klen, ... function zipmapExists (line 345) | int zipmapExists(unsigned char *zm, unsigned char *key, unsigned int kle... function zipmapLen (line 350) | unsigned int zipmapLen(unsigned char *zm) { function zipmapBlobLen (line 367) | size_t zipmapBlobLen(unsigned char *zm) { FILE: tests/vrabtest.c type config (line 41) | struct config { type config (line 61) | struct config type option (line 80) | struct option function vrt_show_usage (line 106) | static void function vrt_set_default_options (line 139) | static void function vrt_clean_options (line 165) | static void function vrt_get_options (line 189) | static int function vrt_daemonize (line 392) | static int vrt_daemonize(int dump_core) function abtest_server_init (line 493) | static int abtest_server_init(abtest_server *abs, char *address) function abtest_server_deinit (line 526) | static void abtest_server_deinit(abtest_server *abs) function get_backend_server_idx (line 542) | unsigned int get_backend_server_idx(abtest_group *abg, char *key, size_t... function abtest_server (line 556) | abtest_server *get_backend_server(abtest_group *abg, char *key, size_t k... function abtest_group_init (line 567) | static int abtest_group_init(abtest_group *abg, char *group_string) function abtest_group_deinit (line 629) | static void abtest_group_deinit(abtest_group *abg) function darray (line 643) | darray *abtest_groups_create(char *groups_string) function abtest_groups_destroy (line 680) | void abtest_groups_destroy(darray *abgs) function main (line 690) | int FILE: tests/vrabtest.h type redisContext (line 6) | struct redisContext type redisAsyncContext (line 7) | struct redisAsyncContext type abtest_group (line 8) | struct abtest_group type conn_context (line 10) | typedef struct conn_context { type abtest_server (line 15) | typedef struct abtest_server { type abtest_group (line 24) | struct abtest_group type abtest_server (line 25) | typedef abtest_server *(*backend_server_t)(struct abtest_group*, char *,... type abtest_group (line 27) | typedef struct abtest_group { FILE: tests/vrt_backend.c type task_data (line 26) | typedef struct task_data { function task_data_create (line 40) | static int task_data_create(void) function task_data_destroy (line 55) | static void task_data_destroy(task_data *td) function backend_conn_context_init (line 60) | static int backend_conn_context_init(conn_context *cc, char *host, int p... function backend_conn_context_deinit (line 73) | static void backend_conn_context_deinit(conn_context *cc) function connect_callback (line 86) | static void connect_callback(const redisAsyncContext *c, int status) { function disconnect_callback (line 97) | static void disconnect_callback(const redisAsyncContext *c, int status) { function scan_for_delete_callback (line 109) | static void scan_for_delete_callback(redisAsyncContext *c, void *r, void... function update_memory_callback (line 164) | static void update_memory_callback(redisAsyncContext *c, void *r, void *... function update_maxmemory_callback (line 178) | static void update_maxmemory_callback(redisAsyncContext *c, void *r, voi... function update_memory_info (line 210) | static void update_memory_info(darray *abgs) function check_memory_enough (line 226) | static void check_memory_enough(backend_thread *bt) function backend_thread_cron (line 264) | static int backend_thread_cron(aeEventLoop *eventLoop, long long id, voi... function backend_thread_init (line 293) | static int backend_thread_init(backend_thread *bt, char *test_target_gro... function backend_thread_deinit (line 344) | static void backend_thread_deinit(backend_thread *bt) function vrt_backend_init (line 375) | int vrt_backend_init(int threads_count, char *test_target_groups) function vrt_backend_deinit (line 396) | void vrt_backend_deinit(void) function vrt_start_backend (line 418) | int vrt_start_backend(void) function vrt_wait_backend (line 433) | int vrt_wait_backend(void) FILE: tests/vrt_backend.h type abtest_group (line 6) | struct abtest_group type dlist (line 7) | struct dlist type dmtlist (line 8) | struct dmtlist type data_unit (line 9) | struct data_unit type aeEventLoop (line 10) | struct aeEventLoop type backend_thread (line 12) | typedef struct backend_thread { FILE: tests/vrt_benchmark.c type config (line 31) | struct config { type benchmark_thread (line 67) | typedef struct benchmark_thread { type _benchmark_client (line 88) | struct _benchmark_client { type aeEventLoop (line 116) | struct aeEventLoop function freeClient (line 118) | static void freeClient(benchmark_client c) { function freeAllClients (line 141) | static void freeAllClients(dlist *clients) { function resetClient (line 151) | static void resetClient(benchmark_client c) { function randomizeClientKey (line 161) | static void randomizeClientKey(benchmark_client c) { function randomizeClientField (line 177) | static void randomizeClientField(benchmark_client c) { function clientDone (line 194) | static void clientDone(benchmark_client c) { function benchmark_thread_init (line 214) | static int benchmark_thread_init(benchmark_thread *bt, int requests, int... function benchmark_thread_deinit (line 254) | static void benchmark_thread_deinit(benchmark_thread *bt) function start_benchmark_threads_until_finish (line 283) | static int start_benchmark_threads_until_finish(void) function readHandlerMC (line 304) | static void readHandlerMC(aeEventLoop *el, int fd, void *privdata, int m... function readHandler (line 382) | static void readHandler(aeEventLoop *el, int fd, void *privdata, int mas... function writeHandler (line 458) | static void writeHandler(aeEventLoop *el, int fd, void *privdata, int ma... function benchmark_client (line 525) | static benchmark_client createClient(char *cmd, size_t len, benchmark_cl... function createMissingClients (line 688) | static void createMissingClients(benchmark_client c) { function compareLatency (line 707) | static int compareLatency(const void *a, const void *b) { function updateBenchmarkStats (line 711) | static void updateBenchmarkStats(void) function showLatencyReport (line 728) | static void showLatencyReport(void) { function benchmark (line 768) | static void benchmark(char *title, char *cmd, int len) { function parseOptions (line 808) | int parseOptions(int argc, const char **argv) { function showThroughput (line 975) | static int showThroughput(struct aeEventLoop *eventLoop, long long id, v... function test_is_selected (line 1001) | int test_is_selected(char *name) { function types_is_selected (line 1013) | int types_is_selected(char *name) { function set_requests_temporarily (line 1027) | void set_requests_temporarily(int num) { function retrieval_requests_to_original (line 1033) | void retrieval_requests_to_original() { function set_random_keys_temporarily (line 1043) | void set_random_keys_temporarily(int num) { function retrieval_random_keys_to_original (line 1051) | void retrieval_random_keys_to_original() { function test_redis (line 1060) | static int test_redis(int argc, const char **argv) function test_memcached (line 1387) | static int test_memcached(int argc, const char **argv) function main (line 1439) | int main(int argc, const char **argv) { FILE: tests/vrt_check_data.c type check_data_thread (line 38) | typedef struct check_data_thread { type check_unit (line 57) | typedef struct check_unit { type data_checker (line 78) | typedef struct data_checker { function check_unit (line 102) | static check_unit *check_unit_create(void) function check_unit_destroy (line 131) | static void check_unit_destroy(check_unit *cunit) function check_conn_context_init (line 157) | static int check_conn_context_init(conn_context *cc, char *host, int port) function check_conn_context_deinit (line 170) | static void check_conn_context_deinit(conn_context *cc) function connect_callback (line 184) | static void connect_callback(const redisAsyncContext *c, int status) { function disconnect_callback (line 195) | static void disconnect_callback(const redisAsyncContext *c, int status) { function sort_replys_if_needed (line 207) | static int sort_replys_if_needed(check_unit *cunit) function check_replys_if_same (line 234) | static int check_replys_if_same(check_unit *cunit) function check_data_callback (line 254) | static void check_data_callback(redisAsyncContext *c, void *r, void *pri... function start_check_data (line 582) | static int start_check_data(char *key, size_t keylen, check_data_thread ... function scan_for_check_callback (line 616) | static void scan_for_check_callback(redisAsyncContext *c, void *r, void ... function one_check_data_thread_finished (line 665) | static void one_check_data_thread_finished(void) function all_check_data_threads_finished (line 670) | static int all_check_data_threads_finished(void) function check_data_thread_cron (line 682) | static int check_data_thread_cron(aeEventLoop *eventLoop, long long id, ... function check_data_thread_init (line 714) | static int check_data_thread_init(check_data_thread *cdt, char *test_tar... function check_data_thread_deinit (line 774) | static void check_data_thread_deinit(check_data_thread *cdt) function checking_data_or_not (line 818) | static int checking_data_or_not(void) function create_check_data_threads (line 834) | static int create_check_data_threads(void) function destroy_check_data_threads (line 914) | static void destroy_check_data_threads(void) function start_check_data_threads (line 937) | static int start_check_data_threads(void) function begin_check_data (line 956) | static int begin_check_data(void) function end_check_data (line 966) | static void end_check_data(void) function data_checker_cron (line 972) | static int data_checker_cron(aeEventLoop *eventLoop, long long id, void ... function vrt_data_checker_init (line 1006) | int vrt_data_checker_init(char *checker, char *test_target_groups) function vrt_data_checker_deinit (line 1054) | void vrt_data_checker_deinit(void) function vrt_start_data_checker (line 1089) | int vrt_start_data_checker(void) function vrt_wait_data_checker (line 1098) | int vrt_wait_data_checker(void) function test_if_need_pause (line 1107) | int test_if_need_pause(void) function test_can_continue (line 1117) | void test_can_continue(void) function test_need_to_pause (line 1125) | void test_need_to_pause(void) function one_produce_thread_paused (line 1130) | void one_produce_thread_paused(void) function one_dispatch_thread_paused (line 1135) | void one_dispatch_thread_paused(void) function one_backend_thread_paused (line 1140) | void one_backend_thread_paused(void) function all_produce_threads_paused (line 1145) | int all_produce_threads_paused(void) function all_dispatch_threads_paused (line 1157) | int all_dispatch_threads_paused(void) function all_backend_threads_paused (line 1169) | int all_backend_threads_paused(void) function all_threads_paused (line 1181) | int all_threads_paused(void) FILE: tests/vrt_dispatch_data.c function get_total_tested_commands_count_per_cycle (line 36) | long long get_total_tested_commands_count_per_cycle(void) function get_total_reply_err_count_per_cycle (line 43) | long long get_total_reply_err_count_per_cycle(void) function reset_total_count_per_cycle (line 50) | void reset_total_count_per_cycle(void) type reply_unit (line 56) | typedef struct reply_unit { function show_replys_inconsistency_msg (line 63) | static void show_replys_inconsistency_msg(data_unit *du, redisReply *rep... function sort_replys_if_needed (line 115) | static int sort_replys_if_needed(reply_unit *ru) function check_replys_if_same (line 153) | static int check_replys_if_same(reply_unit *ru) type callback_data (line 174) | struct callback_data { function reply_callback (line 180) | static void reply_callback(redisAsyncContext *c, void *r, void *privdata) { function dispatch_thread_send_data (line 236) | static int dispatch_thread_send_data(dispatch_data_thread *ddt) function dispatch_data_thread_cron (line 291) | static int dispatch_data_thread_cron(aeEventLoop *eventLoop, long long i... function connect_callback (line 340) | static void connect_callback(const redisAsyncContext *c, int status) { function disconnect_callback (line 351) | static void disconnect_callback(const redisAsyncContext *c, int status) { function dispatch_conn_context_init (line 363) | static int dispatch_conn_context_init(conn_context *cc, char *host, int ... function dispatch_conn_context_deinit (line 376) | static void dispatch_conn_context_deinit(conn_context *cc) function dispatch_data_thread_init (line 389) | static int dispatch_data_thread_init(dispatch_data_thread *ddt, char *te... function dispatch_data_thread_deinit (line 456) | static void dispatch_data_thread_deinit(dispatch_data_thread *ddt) function vrt_dispatch_data_init (line 487) | int vrt_dispatch_data_init(int threads_count, char *test_target_groups, ... function vrt_dispatch_data_deinit (line 508) | void vrt_dispatch_data_deinit(void) function vrt_start_dispatch_data (line 530) | int vrt_start_dispatch_data(void) function vrt_wait_dispatch_data (line 545) | int vrt_wait_dispatch_data(void) function data_dispatch (line 561) | int data_dispatch(data_unit *du) FILE: tests/vrt_dispatch_data.h type abtest_group (line 6) | struct abtest_group type dlist (line 7) | struct dlist type dmtqueue (line 8) | struct dmtqueue type data_unit (line 9) | struct data_unit type aeEventLoop (line 10) | struct aeEventLoop type dispatch_data_thread (line 12) | typedef struct dispatch_data_thread { type data_unit (line 49) | struct data_unit FILE: tests/vrt_produce_data.c type produce_thread (line 27) | typedef struct produce_thread { function sds (line 60) | static sds get_random_cached_key(produce_scheme *ps, data_producer *dp) function get_random_int (line 66) | static int get_random_int(void) function get_random_unsigned_int (line 75) | static unsigned int get_random_unsigned_int(void) function get_random_char (line 80) | static char get_random_char(void) function sds (line 86) | static sds get_random_key(void) function sds (line 104) | static sds get_random_string(void) function sds (line 120) | static sds get_random_float_str(void) function sds (line 146) | static sds *get_random_zset_range_min_max_str(int range_type) function get_random_field_len (line 256) | static unsigned int get_random_field_len(void) function sds (line 261) | static sds get_random_key_with_hit_ratio(produce_scheme *ps, data_produc... function nck_when_noerror (line 277) | static int nck_when_noerror(redisReply *reply) function nck_when_ok (line 288) | static int nck_when_ok(redisReply *reply) function nck_when_str (line 300) | static int nck_when_str(redisReply *reply) function nck_when_unsigned_integer (line 311) | static int nck_when_unsigned_integer(redisReply *reply) function nck_when_nonzero_unsigned_integer (line 323) | static int nck_when_nonzero_unsigned_integer(redisReply *reply) function nck_when_zero_or_one (line 335) | static int nck_when_zero_or_one(redisReply *reply) function nck_when_one (line 347) | static int nck_when_one(redisReply *reply) function data_unit (line 361) | static data_unit *get_cmd_producer(data_producer *dp, produce_scheme *ps) function data_unit (line 375) | static data_unit *set_cmd_producer(data_producer *dp, produce_scheme *ps) function data_unit (line 390) | static data_unit *setnx_cmd_producer(data_producer *dp, produce_scheme *ps) function setnx_cmd_nck (line 406) | static int setnx_cmd_nck(redisReply *reply) function data_unit (line 418) | static data_unit *setex_cmd_producer(data_producer *dp, produce_scheme *ps) function data_unit (line 434) | static data_unit *psetex_cmd_producer(data_producer *dp, produce_scheme ... function data_unit (line 450) | static data_unit *del_cmd_producer(data_producer *dp, produce_scheme *ps) function data_unit (line 464) | static data_unit *expire_cmd_producer(data_producer *dp, produce_scheme ... function data_unit (line 479) | static data_unit *expireat_cmd_producer(data_producer *dp, produce_schem... function data_unit (line 494) | static data_unit *exists_cmd_producer(data_producer *dp, produce_scheme ... function data_unit (line 508) | static data_unit *ttl_cmd_producer(data_producer *dp, produce_scheme *ps) function data_unit (line 522) | static data_unit *pttl_cmd_producer(data_producer *dp, produce_scheme *ps) function data_unit (line 536) | static data_unit *incr_cmd_producer(data_producer *dp, produce_scheme *ps) function data_unit (line 550) | static data_unit *decr_cmd_producer(data_producer *dp, produce_scheme *ps) function data_unit (line 564) | static data_unit *incrby_cmd_producer(data_producer *dp, produce_scheme ... function data_unit (line 579) | static data_unit *decrby_cmd_producer(data_producer *dp, produce_scheme ... function data_unit (line 594) | static data_unit *append_cmd_producer(data_producer *dp, produce_scheme ... function append_cmd_nck (line 610) | static int append_cmd_nck(redisReply *reply) function data_unit (line 621) | static data_unit *strlen_cmd_producer(data_producer *dp, produce_scheme ... function data_unit (line 635) | static data_unit *getset_cmd_producer(data_producer *dp, produce_scheme ... function data_unit (line 650) | static data_unit *incrbyfloat_cmd_producer(data_producer *dp, produce_sc... function data_unit (line 665) | static data_unit *setbit_cmd_producer(data_producer *dp, produce_scheme ... function data_unit (line 685) | static data_unit *getbit_cmd_producer(data_producer *dp, produce_scheme ... function data_unit (line 700) | static data_unit *setrange_cmd_producer(data_producer *dp, produce_schem... function data_unit (line 716) | static data_unit *getrange_cmd_producer(data_producer *dp, produce_schem... function data_unit (line 732) | static data_unit *bitcount_cmd_producer(data_producer *dp, produce_schem... function data_unit (line 753) | static data_unit *bitpos_cmd_producer(data_producer *dp, produce_scheme ... function data_unit (line 784) | static data_unit *mget_cmd_producer(data_producer *dp, produce_scheme *ps) function data_unit (line 798) | static data_unit *mset_cmd_producer(data_producer *dp, produce_scheme *ps) function data_unit (line 813) | static data_unit *hset_cmd_producer(data_producer *dp, produce_scheme *ps) function data_unit (line 829) | static data_unit *hget_cmd_producer(data_producer *dp, produce_scheme *ps) function data_unit (line 844) | static data_unit *hlen_cmd_producer(data_producer *dp, produce_scheme *ps) function data_unit (line 858) | static data_unit *hdel_cmd_producer(data_producer *dp, produce_scheme *ps) function data_unit (line 878) | static data_unit *hexists_cmd_producer(data_producer *dp, produce_scheme... function data_unit (line 893) | static data_unit *hkeys_cmd_producer(data_producer *dp, produce_scheme *ps) function data_unit (line 907) | static data_unit *hvals_cmd_producer(data_producer *dp, produce_scheme *ps) function data_unit (line 921) | static data_unit *hgetall_cmd_producer(data_producer *dp, produce_scheme... function data_unit (line 935) | static data_unit *hincrby_cmd_producer(data_producer *dp, produce_scheme... function data_unit (line 951) | static data_unit *hincrbyfloat_cmd_producer(data_producer *dp, produce_s... function data_unit (line 967) | static data_unit *hmget_cmd_producer(data_producer *dp, produce_scheme *ps) function data_unit (line 987) | static data_unit *hmset_cmd_producer(data_producer *dp, produce_scheme *ps) function data_unit (line 1008) | static data_unit *hsetnx_cmd_producer(data_producer *dp, produce_scheme ... function data_unit (line 1024) | static data_unit *hstrlen_cmd_producer(data_producer *dp, produce_scheme... function data_unit (line 1039) | static data_unit *rpush_cmd_producer(data_producer *dp, produce_scheme *ps) function rpush_cmd_nck (line 1060) | static int rpush_cmd_nck(redisReply *reply) function data_unit (line 1071) | static data_unit *lpush_cmd_producer(data_producer *dp, produce_scheme *ps) function data_unit (line 1092) | static data_unit *lrange_cmd_producer(data_producer *dp, produce_scheme ... function data_unit (line 1108) | static data_unit *rpop_cmd_producer(data_producer *dp, produce_scheme *ps) function data_unit (line 1122) | static data_unit *lpop_cmd_producer(data_producer *dp, produce_scheme *ps) function data_unit (line 1136) | static data_unit *llen_cmd_producer(data_producer *dp, produce_scheme *ps) function data_unit (line 1150) | static data_unit *lrem_cmd_producer(data_producer *dp, produce_scheme *ps) function data_unit (line 1166) | static data_unit *ltrim_cmd_producer(data_producer *dp, produce_scheme *ps) function data_unit (line 1182) | static data_unit *lindex_cmd_producer(data_producer *dp, produce_scheme ... function data_unit (line 1197) | static data_unit *lset_cmd_producer(data_producer *dp, produce_scheme *ps) function data_unit (line 1213) | static data_unit *sadd_cmd_producer(data_producer *dp, produce_scheme *ps) function data_unit (line 1233) | static data_unit *smembers_cmd_producer(data_producer *dp, produce_schem... function data_unit (line 1247) | static data_unit *scard_cmd_producer(data_producer *dp, produce_scheme *ps) function data_unit (line 1261) | static data_unit *srem_cmd_producer(data_producer *dp, produce_scheme *ps) function data_unit (line 1281) | static data_unit *sismember_cmd_producer(data_producer *dp, produce_sche... function data_unit (line 1296) | static data_unit *sunion_cmd_producer(data_producer *dp, produce_scheme ... function data_unit (line 1310) | static data_unit *sdiff_cmd_producer(data_producer *dp, produce_scheme *ps) function data_unit (line 1324) | static data_unit *sinter_cmd_producer(data_producer *dp, produce_scheme ... function lpush_cmd_nck (line 1339) | static int lpush_cmd_nck(redisReply *reply) function data_unit (line 1350) | static data_unit *zadd_cmd_producer(data_producer *dp, produce_scheme *ps) function zadd_cmd_nck (line 1373) | static int zadd_cmd_nck(redisReply *reply) function data_unit (line 1384) | static data_unit *zincrby_cmd_producer(data_producer *dp, produce_scheme... function zincrby_cmd_nck (line 1402) | static int zincrby_cmd_nck(redisReply *reply) function data_unit (line 1413) | static data_unit *zrange_cmd_producer(data_producer *dp, produce_scheme ... function data_unit (line 1438) | static data_unit *zrevrange_cmd_producer(data_producer *dp, produce_sche... function data_unit (line 1463) | static data_unit *zrem_cmd_producer(data_producer *dp, produce_scheme *ps) function data_unit (line 1484) | static data_unit *zcard_cmd_producer(data_producer *dp, produce_scheme *ps) function data_unit (line 1498) | static data_unit *zcount_cmd_producer(data_producer *dp, produce_scheme ... function data_unit (line 1516) | static data_unit *zrangebyscore_cmd_producer(data_producer *dp, produce_... function data_unit (line 1558) | static data_unit *zrevrangebyscore_cmd_producer(data_producer *dp, produ... function data_unit (line 1600) | static data_unit *zrank_cmd_producer(data_producer *dp, produce_scheme *ps) function data_unit (line 1615) | static data_unit *zrevrank_cmd_producer(data_producer *dp, produce_schem... function data_unit (line 1630) | static data_unit *zscore_cmd_producer(data_producer *dp, produce_scheme ... function data_unit (line 1645) | static data_unit *zremrangebyscore_cmd_producer(data_producer *dp, produ... function data_unit (line 1663) | static data_unit *zremrangebyrank_cmd_producer(data_producer *dp, produc... function data_unit (line 1681) | static data_unit *zremrangebylex_cmd_producer(data_producer *dp, produce... function data_unit (line 1782) | data_unit *data_unit_get(void) function data_unit_put (line 1793) | void data_unit_put(data_unit *du) function produce_scheme (line 1805) | static produce_scheme *produce_scheme_create(long long max_cached_keys, ... function produce_scheme_destroy (line 1860) | static void produce_scheme_destroy(produce_scheme *ps) function get_kcp_idx (line 1876) | static unsigned int get_kcp_idx(int type) function set_non_empty_kcps_idx (line 1910) | static void set_non_empty_kcps_idx(void) function key_cache_array (line 1935) | key_cache_array *kcp_get_from_ps(produce_scheme *ps, data_producer *dp) function vrt_produce_threads_init (line 1963) | static int vrt_produce_threads_init(unsigned int produce_threads_count, function vrt_produce_threads_deinit (line 1981) | static void vrt_produce_threads_deinit(void) function add_to_needed_cmd_type_producer (line 2041) | static int add_to_needed_cmd_type_producer(data_producer *dp) function vrt_produce_data_init (line 2051) | int vrt_produce_data_init(int key_length_range_min,int key_length_range_... function vrt_produce_data_deinit (line 2160) | void vrt_produce_data_deinit(void) function vrt_start_produce_data (line 2168) | int vrt_start_produce_data(void) function vrt_wait_produce_data (line 2184) | int vrt_wait_produce_data(void) function sds (line 2238) | sds get_one_key_from_data_unit(data_unit *du) function print_producer_command (line 2256) | void print_producer_command(data_unit *du) FILE: tests/vrt_produce_data.h type data_producer (line 50) | struct data_producer type produce_scheme (line 51) | struct produce_scheme type key_cache_array (line 52) | struct key_cache_array type data_unit (line 54) | struct data_unit type data_producer (line 54) | struct data_producer type produce_scheme (line 54) | struct produce_scheme type data_producer (line 55) | struct data_producer type redisReply (line 56) | struct redisReply type data_producer (line 57) | typedef struct data_producer { type data_unit (line 75) | typedef struct data_unit { type produce_scheme (line 85) | typedef struct produce_scheme { type key_cache_array (line 100) | struct key_cache_array FILE: tests/vrt_public.c function set_execute_file (line 35) | void set_execute_file(char *file) function sds (line 40) | static sds vire_conf_create(char *dir, int port) function vire_instance (line 69) | vire_instance *vire_instance_create(int port) function vire_instance_destroy (line 112) | void vire_instance_destroy(vire_instance *vi) function vire_server_run (line 146) | int vire_server_run(vire_instance *vi) function vire_server_stop (line 201) | void vire_server_stop(vire_instance *vi) function create_work_dir (line 242) | int create_work_dir(void) function destroy_work_dir (line 259) | int destroy_work_dir(void) function get_next_port (line 275) | static int get_next_port(void) function vire_instance (line 283) | vire_instance *start_one_vire_instance(void) function show_test_result (line 312) | void show_test_result(int result,char *test_content,char *errmsg) function key_cache_array (line 323) | key_cache_array *key_cache_array_create(long long max_pool_size) function key_cache_array_destroy (line 348) | void key_cache_array_destroy(key_cache_array *kca) function key_cache_array_input (line 366) | int key_cache_array_input(key_cache_array *kca, char *key, size_t keylen) function sds (line 385) | sds key_cache_array_random(key_cache_array *kca) function get_longlong_from_info_reply (line 412) | long long get_longlong_from_info_reply(redisReply *reply, char *name) function redisReply (line 450) | redisReply *steal_hiredis_redisreply(redisReply *r) function check_two_replys_if_same (line 474) | int check_two_replys_if_same(redisReply *reply1, redisReply *reply2) type sort_unit (line 514) | struct sort_unit { function element_cmp_multi_step (line 521) | static int element_cmp_multi_step(const void *ele1,const void *ele2) function sort_array_by_step (line 534) | int sort_array_by_step(void **element, size_t elements, function reply_string_binary_compare (line 581) | int reply_string_binary_compare(const void *r1,const void *r2) function parse_command_types (line 594) | int parse_command_types(char *command_types_str) function darray (line 637) | darray *parse_command_list(char *command_list_str) FILE: tests/vrt_public.h type darray (line 14) | struct darray type key_cache_pool (line 15) | struct key_cache_pool type vire_instance (line 87) | typedef struct vire_instance { type key_cache_array (line 116) | typedef struct key_cache_array { type darray (line 137) | struct darray FILE: tests/vrt_simple.c function simple_test_cmd_get_set (line 20) | static int simple_test_cmd_get_set(vire_instance *vi) function simple_test_cmd_setnx (line 56) | static int simple_test_cmd_setnx(vire_instance *vi) function simple_test_cmd_setex (line 104) | static int simple_test_cmd_setex(vire_instance *vi) function simple_test_cmd_psetex (line 147) | static int simple_test_cmd_psetex(vire_instance *vi) function simple_test_cmd_incr (line 190) | static int simple_test_cmd_incr(vire_instance *vi) function simple_test_cmd_decr (line 255) | static int simple_test_cmd_decr(vire_instance *vi) function simple_test_cmd_incrby (line 320) | static int simple_test_cmd_incrby(vire_instance *vi) function simple_test_cmd_decrby (line 387) | static int simple_test_cmd_decrby(vire_instance *vi) function simple_test_cmd_append (line 454) | static int simple_test_cmd_append(vire_instance *vi) function simple_test_cmd_strlen (line 508) | static int simple_test_cmd_strlen(vire_instance *vi) function simple_test_cmd_getset (line 544) | static int simple_test_cmd_getset(vire_instance *vi) function simple_test_cmd_incrbyfloat (line 587) | static int simple_test_cmd_incrbyfloat(vire_instance *vi) function simple_test_cmd_getbit_setbit_bitcount (line 649) | static int simple_test_cmd_getbit_setbit_bitcount(vire_instance *vi) function simple_test_cmd_getrange_setrange (line 701) | static int simple_test_cmd_getrange_setrange(vire_instance *vi) function simple_test_cmd_bitpos (line 753) | static int simple_test_cmd_bitpos(vire_instance *vi) function simple_test_cmd_mget_mset (line 826) | static int simple_test_cmd_mget_mset(vire_instance *vi) type test_hash_member (line 911) | struct test_hash_member { function test_hash_member_length (line 916) | static int test_hash_member_length(struct test_hash_member **thms) function test_hash_members_destroy (line 925) | static void test_hash_members_destroy(struct test_hash_member **thms) type test_hash_member (line 937) | struct test_hash_member type test_hash_member (line 943) | struct test_hash_member type test_hash_member (line 966) | struct test_hash_member type test_hash_member (line 968) | struct test_hash_member function simple_test_hash_encode (line 1027) | static int simple_test_hash_encode(vire_instance *vi) function simple_test_cmd_hget_hset (line 1071) | static int simple_test_cmd_hget_hset(vire_instance *vi) function simple_test_cmd_hlen (line 1141) | static int simple_test_cmd_hlen(vire_instance *vi) function simple_test_cmd_hdel (line 1206) | static int simple_test_cmd_hdel(vire_instance *vi) function simple_test_cmd_pfadd_pfcount (line 1299) | static int simple_test_cmd_pfadd_pfcount(vire_instance *vi) function simple_test (line 1354) | int simple_test(void) FILE: tests/vrt_util.c function vrt_assert (line 18) | void function vrt_vscnprintf (line 27) | int function vrt_scnprintf (line 55) | int function _test_log_error (line 68) | void function _test_log_out (line 92) | void function vrt_usec_now (line 117) | int64_t function vrt_msec_now (line 137) | int64_t function vrt_sec_now (line 146) | int64_t function sds (line 159) | sds getAbsolutePath(char *filename) { function digits10 (line 206) | uint32_t digits10(uint64_t v) { function sdigits10 (line 227) | uint32_t sdigits10(int64_t v) { function ll2string (line 249) | int ll2string(char* dst, size_t dstlen, long long svalue) { function string2ll (line 306) | int string2ll(const char *s, size_t slen, long long *value) { function string2l (line 372) | int string2l(const char *s, size_t slen, long *lval) { function d2string (line 387) | int d2string(char *buf, size_t len, double value) { function create_dir (line 424) | int create_dir(char *path) function destroy_dir (line 433) | int destroy_dir(char *path) function get_pid_from_reply (line 469) | int get_pid_from_reply(redisContext *redisctx, char *host, int port) function sds (line 594) | sds get_host_port_from_address_string(char *address, int *port) FILE: tests/vrt_util.h type redisContext (line 74) | struct redisContext FILE: tests/vrtest.c type config (line 16) | struct config { type config (line 23) | struct config type option (line 28) | struct option function vr_show_usage (line 38) | static void function vr_set_default_options (line 53) | static void function vr_get_options (line 59) | static int function main (line 115) | int