Searched refs:bufsize (Results 1 – 2 of 2) sorted by relevance
| /redis-3.2.3/src/ |
| H A D | dict.c | 1015 return snprintf(buf,bufsize, in _dictGetStatsHt() 1042 l += snprintf(buf+l,bufsize-l, in _dictGetStatsHt() 1057 if (l >= bufsize) break; in _dictGetStatsHt() 1058 l += snprintf(buf+l,bufsize-l, in _dictGetStatsHt() 1065 if (bufsize) buf[bufsize-1] = '\0'; in _dictGetStatsHt() 1069 void dictGetStats(char *buf, size_t bufsize, dict *d) { in dictGetStats() argument 1072 size_t orig_bufsize = bufsize; in dictGetStats() 1074 l = _dictGetStatsHt(buf,bufsize,&d->ht[0],0); in dictGetStats() 1076 bufsize -= l; in dictGetStats() 1077 if (dictIsRehashing(d) && bufsize > 0) { in dictGetStats() [all …]
|
| H A D | dict.h | 168 void dictGetStats(char *buf, size_t bufsize, dict *d);
|