| /redis-3.2.3/deps/jemalloc/include/msvc_compat/C99/ |
| H A D | stdint.h | 230 #define INT8_C(val) val##i8 argument 231 #define INT16_C(val) val##i16 argument 232 #define INT32_C(val) val##i32 argument 233 #define INT64_C(val) val##i64 argument 235 #define UINT8_C(val) val##ui8 argument 236 #define UINT16_C(val) val##ui16 argument 237 #define UINT32_C(val) val##ui32 argument 238 #define UINT64_C(val) val##ui64 argument
|
| /redis-3.2.3/deps/jemalloc/src/ |
| H A D | util.c | 349 val = va_arg(ap, int); \ in malloc_vsnprintf() 355 val = va_arg(ap, long); \ in malloc_vsnprintf() 376 val = va_arg(ap, ssize_t); \ in malloc_vsnprintf() 379 val = va_arg(ap, size_t); \ in malloc_vsnprintf() 386 val = 0; \ in malloc_vsnprintf() 504 GET_ARG_NUMERIC(val, len); in malloc_vsnprintf() 538 unsigned char val; in malloc_vsnprintf() local 543 val = va_arg(ap, int); in malloc_vsnprintf() 544 buf[0] = val; in malloc_vsnprintf() 558 uintmax_t val; in malloc_vsnprintf() local [all …]
|
| /redis-3.2.3/deps/hiredis/ |
| H A D | net.c | 125 int val = 1; in redisKeepAlive() local 128 if (setsockopt(fd, SOL_SOCKET, SO_KEEPALIVE, &val, sizeof(val)) == -1){ in redisKeepAlive() 133 val = interval; in redisKeepAlive() 136 if (setsockopt(fd, IPPROTO_TCP, TCP_KEEPALIVE, &val, sizeof(val)) < 0) { in redisKeepAlive() 142 val = interval; in redisKeepAlive() 143 if (setsockopt(fd, IPPROTO_TCP, TCP_KEEPIDLE, &val, sizeof(val)) < 0) { in redisKeepAlive() 148 val = interval/3; in redisKeepAlive() 149 if (val == 0) val = 1; in redisKeepAlive() 150 if (setsockopt(fd, IPPROTO_TCP, TCP_KEEPINTVL, &val, sizeof(val)) < 0) { in redisKeepAlive() 155 val = 3; in redisKeepAlive() [all …]
|
| H A D | dict.h | 47 void *val; member 81 (ht)->type->valDestructor((ht)->privdata, (entry)->val) 85 entry->val = (ht)->type->valDup((ht)->privdata, _val_); \ 87 entry->val = (_val_); \ 109 #define dictGetEntryVal(he) ((he)->val) 117 static int dictAdd(dict *ht, void *key, void *val); 118 static int dictReplace(dict *ht, void *key, void *val);
|
| H A D | dict.c | 135 static int dictAdd(dict *ht, void *key, void *val) { in dictAdd() argument 151 dictSetHashVal(ht, entry, val); in dictAdd() 160 static int dictReplace(dict *ht, void *key, void *val) { in dictReplace() argument 165 if (dictAdd(ht, key, val) == DICT_OK) in dictReplace() 176 dictSetHashVal(ht, entry, val); in dictReplace()
|
| /redis-3.2.3/deps/jemalloc/include/jemalloc/internal/ |
| H A D | tsd.h | 83 a_type val; \ 89 a_type val; \ 104 a_name##tsd_set(a_type *val); 217 a_name##tsd_tls = (*val); \ 262 a_name##tsd_tls = (*val); \ 290 a_cleanup(&wrapper->val); \ 379 return (&wrapper->val); \ 388 wrapper->val = *(val); \ 404 a_cleanup(&wrapper->val); \ 501 return (&wrapper->val); \ [all …]
|
| H A D | rtree.h | 41 extent_node_t *val; member 120 const extent_node_t *val); 125 bool rtree_set(rtree_t *rtree, uintptr_t key, const extent_node_t *val); 193 return (elm->val); in rtree_val_read() 205 rtree_val_write(rtree_t *rtree, rtree_node_elm_t *elm, const extent_node_t *val) in rtree_val_write() argument 208 atomic_write_p(&elm->pun, val); in rtree_val_write() 263 rtree_set(rtree_t *rtree, uintptr_t key, const extent_node_t *val) in rtree_set() argument 281 rtree_val_write(rtree, &node[subkey], val); in rtree_set()
|
| /redis-3.2.3/src/ |
| H A D | rdb.c | 206 long long val; in rdbLoadIntegerObject() local 215 val = (int16_t)v; in rdbLoadIntegerObject() 220 val = (int32_t)v; in rdbLoadIntegerObject() 307 sds val = NULL; in rdbLoadLzfStringObject() local 329 return val; in rdbLoadLzfStringObject() 335 zfree(val); in rdbLoadLzfStringObject() 337 sdsfree(val); in rdbLoadLzfStringObject() 476 if (isnan(val)) { in rdbSaveDoubleValue() 495 if (val > min && val < max && val == ((double)((long long)val))) in rdbSaveDoubleValue() 732 return rdbSaveAuxField(rdb,key,strlen(key),val,strlen(val)); in rdbSaveAuxFieldStrStr() [all …]
|
| H A D | t_zset.c | 1777 serverAssert(ziplistGet(it->zl.eptr,&val->estr,&val->elen,&val->ell)); in zuiNext() 1805 val->ell = (long)val->ele->ptr; in zuiLongLongFromValue() 1808 if (string2ll(val->ele->ptr,sdslen(val->ele->ptr),&val->ell)) in zuiLongLongFromValue() 1814 if (string2ll((char*)val->estr,val->elen,&val->ell)) in zuiLongLongFromValue() 1827 val->ele = createStringObject((char*)val->estr,val->elen); in zuiObjectFromValue() 1840 val->elen = ll2string((char*)val->_buf,sizeof(val->_buf),(long)val->ele->ptr); in zuiBufferFromValue() 1841 val->estr = val->_buf; in zuiBufferFromValue() 1844 val->estr = val->ele->ptr; in zuiBufferFromValue() 1849 val->elen = ll2string((char*)val->_buf,sizeof(val->_buf),val->ell); in zuiBufferFromValue() 1850 val->estr = val->_buf; in zuiBufferFromValue() [all …]
|
| H A D | dict.h | 50 void *val; member 105 (d)->type->valDestructor((d)->privdata, (entry)->v.val) 109 entry->v.val = (d)->type->valDup((d)->privdata, _val_); \ 111 entry->v.val = (_val_); \ 141 #define dictGetVal(he) ((he)->v.val) 152 int dictAdd(dict *d, void *key, void *val); 154 int dictReplace(dict *d, void *key, void *val);
|
| H A D | anet.c | 97 int val = 1; in anetKeepAlive() local 99 if (setsockopt(fd, SOL_SOCKET, SO_KEEPALIVE, &val, sizeof(val)) == -1) in anetKeepAlive() 111 val = interval; in anetKeepAlive() 112 if (setsockopt(fd, IPPROTO_TCP, TCP_KEEPIDLE, &val, sizeof(val)) < 0) { in anetKeepAlive() 120 val = interval/3; in anetKeepAlive() 121 if (val == 0) val = 1; in anetKeepAlive() 122 if (setsockopt(fd, IPPROTO_TCP, TCP_KEEPINTVL, &val, sizeof(val)) < 0) { in anetKeepAlive() 129 val = 3; in anetKeepAlive() 130 if (setsockopt(fd, IPPROTO_TCP, TCP_KEEPCNT, &val, sizeof(val)) < 0) { in anetKeepAlive() 141 static int anetSetTcpNoDelay(char *err, int fd, int val) in anetSetTcpNoDelay() argument [all …]
|
| H A D | debug.c | 358 robj *val; in debugCommand() local 365 val = dictGetVal(de); in debugCommand() 405 (void*)val, val->refcount, in debugCommand() 407 val->lru, estimateObjectIdleTime(val)/1000, extra); in debugCommand() 410 robj *val; in debugCommand() local 417 val = dictGetVal(de); in debugCommand() 420 if (val->type != OBJ_STRING || !sdsEncodedObject(val)) { in debugCommand() 434 robj *key, *val; in debugCommand() local 450 dbAdd(c->db,key,val); in debugCommand() 894 robj *val, *key; in logCurrentClient() local [all …]
|
| H A D | db.c | 61 return val; in lookupKey() 89 robj *val; in lookupKeyReadWithFlags() local 118 if (val == NULL) in lookupKeyReadWithFlags() 122 return val; in lookupKeyReadWithFlags() 186 dbAdd(db,key,val); in setKey() 188 dbOverwrite(db,key,val); in setKey() 190 incrRefCount(val); in setKey() 436 robj *key, *val = NULL; in scanCallback() local 447 val = dictGetVal(de); in scanCallback() 448 incrRefCount(val); in scanCallback() [all …]
|
| H A D | sort.c | 517 robj *val = lookupKeyByPattern(c->db,sop->pattern, in sortCommand() local 521 if (!val) { in sortCommand() 524 addReplyBulk(c,val); in sortCommand() 525 decrRefCount(val); in sortCommand() 547 robj *val = lookupKeyByPattern(c->db,sop->pattern, in sortCommand() local 551 if (!val) val = createStringObject("",0); in sortCommand() 556 listTypePush(sobj,val,LIST_TAIL); in sortCommand() 557 decrRefCount(val); in sortCommand()
|
| H A D | bio.c | 201 unsigned long long val; in bioPendingJobsOfType() local 203 val = bio_pending[type]; in bioPendingJobsOfType() 205 return val; in bioPendingJobsOfType()
|
| H A D | hyperloglog.c | 349 #define HLL_DENSE_SET_REGISTER(p,regnum,val) do { \ argument 354 unsigned long _v = val; \ 376 #define HLL_SPARSE_VAL_SET(p,val,len) do { \ argument 377 *(p) = (((val)-1)<<2|((len)-1))|HLL_SPARSE_VAL_BIT; \ 1049 uint8_t val; in hllMerge() local 1052 HLL_DENSE_GET_REGISTER(val,hdr->registers,i); in hllMerge() 1053 if (val > max[i]) max[i] = val; in hllMerge() 1373 unsigned int val; in pfselftestCommand() local 1376 if (val != bytecounters[i]) { in pfselftestCommand() 1485 uint8_t val; in pfdebugCommand() local [all …]
|
| H A D | redis-check-rdb.c | 203 robj *key, *val; in redis_check_rdb() local 282 if ((val = rdbLoadObject(type,&rdb)) == NULL) goto eoferr; in redis_check_rdb() 293 decrRefCount(val); in redis_check_rdb()
|
| H A D | config.c | 43 const int val; member 115 if (ce->val == val) return ce->name; in configEnumGetName() 124 const char *name = configEnumGetName(ce,val); in configEnumGetNameOrUnknown() 794 long val; local 796 val = strtoll(v[j], &eptr, 10); 798 ((j & 1) == 0 && val < 1) || 799 ((j & 1) == 1 && val < 0)) { 834 long val; local 842 val = memtoll(v[j], &err); 843 if (err || val < 0) { [all …]
|
| H A D | zipmap.h | 39 …t(unsigned char *zm, unsigned char *key, unsigned int klen, unsigned char *val, unsigned int vlen,…
|
| /redis-3.2.3/tests/unit/ |
| H A D | memefficiency.tcl | 8 set val [string repeat A [expr {int(rand()*$range)}]] 9 $rd set $key $val 11 incr written [string length $val]
|
| H A D | other.tcl | 175 set val "0000${i}0000" 176 append q "SET key:$i $val\r\n" 188 set val [read $fd2 $count]
|
| /redis-3.2.3/tests/support/ |
| H A D | redis.tcl | 117 proc ::redis::__method__blocking {id fd val} { argument 118 set ::redis::blocking($id) $val 119 fconfigure $fd -blocking $val 122 proc ::redis::__method__reconnect {id fd val} { argument 123 set ::redis::reconnect($id) $val 155 proc ::redis::__method__deferred {id fd val} { argument 156 set ::redis::deferred($id) $val
|
| /redis-3.2.3/tests/cluster/tests/ |
| H A D | 03-failover-loop.tcl | 23 set val [randstring 20 20 alpha] 104 assert {$err eq "$val:$i"} 106 assert {$err eq "$val:$i:2"}
|
| /redis-3.2.3/deps/lua/src/ |
| H A D | lvm.h | 30 StkId val); 32 StkId val);
|
| H A D | lvm.c | 108 void luaV_gettable (lua_State *L, const TValue *t, TValue *key, StkId val) { in luaV_gettable() argument 117 setobj2s(L, val, res); in luaV_gettable() 125 callTMres(L, val, tm, t, key); in luaV_gettable() 134 void luaV_settable (lua_State *L, const TValue *t, TValue *key, StkId val) { in luaV_settable() argument 144 setobj2t(L, oldval, val); in luaV_settable() 146 luaC_barriert(L, h, val); in luaV_settable() 154 callTM(L, tm, t, key, val); in luaV_settable() 713 TValue *val = ra+n; in luaV_execute() local 714 setobj2t(L, luaH_setnum(L, h, last--), val); in luaV_execute() 715 luaC_barriert(L, h, val); in luaV_execute()
|