Home
last modified time | relevance | path

Searched refs:int32_t (Results 1 – 13 of 13) sorted by relevance

/redis-3.2.3/src/
H A Drand.c50 #define MUL(x, y, z) { int32_t l = (long)(x) * (long)(y); \
52 #define CARRY(x, y) ((int32_t)(x) + (long)(y) > MASK)
71 int32_t redisLrand48() { in redisLrand48()
73 return (((int32_t)x[2] << (N - 1)) + (x[1] >> 1)); in redisLrand48()
76 void redisSrand48(int32_t seedval) { in redisSrand48()
H A Drand.h33 int32_t redisLrand48();
34 void redisSrand48(int32_t seedval);
H A Dintset.c41 #define INTSET_ENC_INT32 (sizeof(int32_t))
57 int32_t v32; in _intsetGetEncoded()
65 memcpy(&v32,((int32_t*)is->contents)+pos,sizeof(v32)); in _intsetGetEncoded()
88 ((int32_t*)is->contents)[pos] = value; in _intsetSet()
89 memrev32ifbe(((int32_t*)is->contents)+pos); in _intsetSet()
192 src = (int32_t*)is->contents+from; in intsetMoveTail()
193 dst = (int32_t*)is->contents+to; in intsetMoveTail()
194 bytes *= sizeof(int32_t); in intsetMoveTail()
342 int32_t *i32 = (int32_t*)is->contents; in checkConsistency()
H A Dlatency.h42 int32_t time; /* We don't use time_t to force 4 bytes usage everywhere. */
H A Dziplist.c357 int32_t i32; in zipSaveInteger()
387 int32_t i32; in zipLoadInteger()
H A Drdb.c95 int32_t t32; in rdbLoadTime()
220 val = (int32_t)v; in rdbLoadIntegerObject()
/redis-3.2.3/deps/jemalloc/include/msvc_compat/C99/
H A Dstdint.h77 typedef signed int int32_t; typedef
84 typedef signed __int32 int32_t; typedef
96 typedef int32_t int_least32_t;
106 typedef int32_t int_fast32_t;
136 #define INT32_MIN ((int32_t)_I32_MIN)
/redis-3.2.3/deps/jemalloc/include/jemalloc/internal/
H A Datomic.h314 x = (uint32_t)(-(int32_t)x); in atomic_sub_uint32()
392 return (atomic_fetchadd_32(p, (uint32_t)(-(int32_t)x)) - x); in atomic_sub_uint32()
413 return (OSAtomicAdd32((int32_t)x, (int32_t *)p)); in atomic_add_uint32()
420 return (OSAtomicAdd32(-((int32_t)x), (int32_t *)p)); in atomic_sub_uint32()
427 return (!OSAtomicCompareAndSwap32(c, s, (int32_t *)p)); in atomic_cas_uint32()
452 return (InterlockedExchangeAdd(p, -((int32_t)x)) - x); in atomic_sub_uint32()
525 (uint32_t)-((int32_t)x))); in atomic_sub_p()
573 (uint32_t)-((int32_t)x))); in atomic_sub_z()
621 (uint32_t)-((int32_t)x))); in atomic_sub_u()
/redis-3.2.3/deps/jemalloc/test/include/test/
H A Dtest.h161 #define assert_d32_eq(a, b, ...) assert_cmp(int32_t, a, b, ==, \
163 #define assert_d32_ne(a, b, ...) assert_cmp(int32_t, a, b, !=, \
165 #define assert_d32_lt(a, b, ...) assert_cmp(int32_t, a, b, <, \
167 #define assert_d32_le(a, b, ...) assert_cmp(int32_t, a, b, <=, \
169 #define assert_d32_ge(a, b, ...) assert_cmp(int32_t, a, b, >=, \
171 #define assert_d32_gt(a, b, ...) assert_cmp(int32_t, a, b, >, \
/redis-3.2.3/deps/lua/src/
H A Dlua_bit.c37 typedef __int32 int32_t; typedef
44 typedef int32_t SBits;
H A Dlua_cmsgpack.c621 ((int32_t)c->p[1] << 24) | in mp_decode_to_lua_type()
622 ((int32_t)c->p[2] << 16) | in mp_decode_to_lua_type()
623 ((int32_t)c->p[3] << 8) | in mp_decode_to_lua_type()
624 (int32_t)c->p[4]); in mp_decode_to_lua_type()
/redis-3.2.3/deps/jemalloc/
H A Dconfigure.ac1372 int32_t x32 = 0;
1373 volatile int32_t *x32p = &x32;
H A Dconfigure7501 int32_t x32 = 0;
7502 volatile int32_t *x32p = &x32;