Home
last modified time | relevance | path

Searched refs:uint32_t (Results 1 – 25 of 45) sorted by relevance

12

/redis-3.2.3/deps/jemalloc/include/jemalloc/internal/
H A Datomic.h48 uint32_t atomic_add_uint32(uint32_t *p, uint32_t x);
49 uint32_t atomic_sub_uint32(uint32_t *p, uint32_t x);
50 bool atomic_cas_uint32(uint32_t *p, uint32_t c, uint32_t s);
326 atomic_cas_uint32(uint32_t *p, uint32_t c, uint32_t s) in atomic_cas_uint32()
368 atomic_cas_uint32(uint32_t *p, uint32_t c, uint32_t s) in atomic_cas_uint32()
396 atomic_cas_uint32(uint32_t *p, uint32_t c, uint32_t s) in atomic_cas_uint32()
424 atomic_cas_uint32(uint32_t *p, uint32_t c, uint32_t s) in atomic_cas_uint32()
456 atomic_cas_uint32(uint32_t *p, uint32_t c, uint32_t s) in atomic_cas_uint32()
487 atomic_cas_uint32(uint32_t *p, uint32_t c, uint32_t s) in atomic_cas_uint32()
536 return (atomic_cas_uint32((uint32_t *)p, (uint32_t)c, (uint32_t)s)); in atomic_cas_p()
[all …]
H A Dhash.h22 uint32_t hash_x86_32(const void *key, int len, uint32_t seed);
94 uint32_t h1 = seed; in hash_x86_32()
101 const uint32_t *blocks = (const uint32_t *) (data + nblocks*4); in hash_x86_32()
121 uint32_t k1 = 0; in hash_x86_32()
146 uint32_t h1 = seed; in hash_x86_128()
147 uint32_t h2 = seed; in hash_x86_128()
158 const uint32_t *blocks = (const uint32_t *) (data + nblocks*16); in hash_x86_128()
192 uint32_t k1 = 0; in hash_x86_128()
193 uint32_t k2 = 0; in hash_x86_128()
194 uint32_t k3 = 0; in hash_x86_128()
[all …]
H A Djemalloc_internal_defs.h.in38 * Defined if __sync_add_and_fetch(uint32_t *, uint32_t) and
39 * __sync_sub_and_fetch(uint32_t *, uint32_t) are available, despite
/redis-3.2.3/deps/jemalloc/test/include/test/
H A DSFMT.h71 uint32_t gen_rand32(sfmt_t *ctx);
72 uint32_t gen_rand32_range(sfmt_t *ctx, uint32_t limit);
77 sfmt_t *init_gen_rand(uint32_t seed);
85 double to_real1(uint32_t v);
87 double to_real2(uint32_t v);
89 double to_real3(uint32_t v);
92 double to_res53_mix(uint32_t x, uint32_t y);
100 JEMALLOC_INLINE double to_real1(uint32_t v) in to_real1()
113 JEMALLOC_INLINE double to_real2(uint32_t v) in to_real2()
147 JEMALLOC_INLINE double to_res53_mix(uint32_t x, uint32_t y) in to_res53_mix()
[all …]
H A Dtest.h174 #define assert_u32_eq(a, b, ...) assert_cmp(uint32_t, a, b, ==, \
176 #define assert_u32_ne(a, b, ...) assert_cmp(uint32_t, a, b, !=, \
178 #define assert_u32_lt(a, b, ...) assert_cmp(uint32_t, a, b, <, \
180 #define assert_u32_le(a, b, ...) assert_cmp(uint32_t, a, b, <=, \
182 #define assert_u32_ge(a, b, ...) assert_cmp(uint32_t, a, b, >=, \
184 #define assert_u32_gt(a, b, ...) assert_cmp(uint32_t, a, b, >, \
/redis-3.2.3/deps/jemalloc/test/src/
H A DSFMT.c74 uint32_t u[4];
83 uint32_t u[4];
92 uint32_t u[4];
127 JEMALLOC_INLINE_C uint32_t func1(uint32_t x);
128 JEMALLOC_INLINE_C uint32_t func2(uint32_t x);
348 uint32_t x, y; in swap()
366 static uint32_t func1(uint32_t x) { in func1()
376 static uint32_t func2(uint32_t x) { in func2()
448 uint32_t r; in gen_rand32()
461 uint32_t gen_rand32_range(sfmt_t *ctx, uint32_t limit) { in gen_rand32_range()
[all …]
/redis-3.2.3/src/
H A Dlatency.h43 uint32_t latency; /* Latency in milliseconds. */
49 uint32_t max; /* Max latency observed for this event. */
55 uint32_t all_time_high; /* Absolute max observed since latest reset. */
56 uint32_t avg; /* Average of current samples. */
57 uint32_t min; /* Min of current samples. */
58 uint32_t max; /* Max of current samples. */
59 uint32_t mad; /* Mean absolute deviation. */
60 uint32_t samples; /* Number of non-zero samples. */
H A Dsha1.h11 uint32_t state[5];
12 uint32_t count[2];
16 void SHA1Transform(uint32_t state[5], const unsigned char buffer[64]);
18 void SHA1Update(SHA1_CTX* context, const unsigned char* data, uint32_t len);
H A Dintset.h36 uint32_t encoding;
37 uint32_t length;
46 uint8_t intsetGet(intset *is, uint32_t pos, int64_t *value);
47 uint32_t intsetLen(intset *is);
H A Dintset.c82 uint32_t encoding = intrev32ifbe(is->encoding); in _intsetSet()
105 static intset *intsetResize(intset *is, uint32_t len) { in intsetResize()
106 uint32_t size = len*intrev32ifbe(is->encoding); in intsetResize()
182 static void intsetMoveTail(intset *is, uint32_t from, uint32_t to) { in intsetMoveTail()
184 uint32_t bytes = intrev32ifbe(is->length)-from; in intsetMoveTail()
185 uint32_t encoding = intrev32ifbe(is->encoding); in intsetMoveTail()
206 uint32_t pos; in intsetAdd()
236 uint32_t pos; in intsetRemove()
240 uint32_t len = intrev32ifbe(is->length); in intsetRemove()
275 uint32_t intsetLen(intset *is) { in intsetLen()
[all …]
H A Dcluster.h171 uint32_t ping_sent;
172 uint32_t pong_received;
177 uint32_t notused2;
185 uint32_t channel_len;
186 uint32_t message_len;
226 uint32_t totlen; /* Total length of this message */
H A Dutil.h39 uint32_t digits10(uint64_t v);
40 uint32_t sdigits10(int64_t v);
H A Dendianconv.h43 uint32_t intrev32(uint32_t v);
H A Dendianconv.c94 uint32_t intrev32(uint32_t v) { in intrev32()
H A Drdb.h103 int rdbSaveLen(rio *rdb, uint32_t len);
104 uint32_t rdbLoadLen(rio *rdb, int *isencoded);
H A Dsha1.c56 void SHA1Transform(uint32_t state[5], const unsigned char buffer[64]) in SHA1Transform()
58 uint32_t a, b, c, d, e; in SHA1Transform()
61 uint32_t l[16]; in SHA1Transform()
131 void SHA1Update(SHA1_CTX* context, const unsigned char* data, uint32_t len) in SHA1Update()
133 uint32_t i, j; in SHA1Update()
171 uint32_t t = context->count[i]; in SHA1Final()
H A Dutil.c234 uint32_t digits10(uint64_t v) { in digits10()
255 uint32_t sdigits10(int64_t v) { in sdigits10()
302 uint32_t const length = digits10(value)+negative; in ll2string()
306 uint32_t next = length; in ll2string()
319 dst[next] = '0' + (uint32_t) value; in ll2string()
321 int i = (uint32_t) value * 2; in ll2string()
H A Drand.c68 static uint32_t x[3] = { X0, X1, X2 }, a[3] = { A0, A1, A2 }, c = C;
81 uint32_t p[2], q[2], r[2], carry0, carry1; in next()
H A Ddict.c82 static uint32_t dict_hash_function_seed = 5381;
84 void dictSetHashFunctionSeed(uint32_t seed) { in dictSetHashFunctionSeed()
88 uint32_t dictGetHashFunctionSeed(void) { in dictGetHashFunctionSeed()
106 uint32_t seed = dict_hash_function_seed; in dictGenHashFunction()
107 const uint32_t m = 0x5bd1e995; in dictGenHashFunction()
111 uint32_t h = seed ^ len; in dictGenHashFunction()
117 uint32_t k = *(uint32_t*)data; in dictGenHashFunction()
H A Dsolarisfixes.h51 #define u_int32_t uint32_t
/redis-3.2.3/deps/jemalloc/include/msvc_compat/C99/
H A Dstdint.h80 typedef unsigned int uint32_t; typedef
87 typedef unsigned __int32 uint32_t; typedef
100 typedef uint32_t uint_least32_t;
110 typedef uint32_t uint_fast32_t;
/redis-3.2.3/deps/jemalloc/test/unit/
H A Dhash.c70 uint32_t computed, expected; in hash_variant_verify()
84 uint32_t out; in hash_variant_verify()
105 uint32_t out = hash_x86_32(hashes, hashbytes*256, 0); in hash_variant_verify()
H A Datomic.c80 TEST_STRUCT(uint32, uint32_t) in TEST_STRUCT() argument
84 TEST_BODY(uint32, uint32_t, uint32_t, u32, "#"FMTx32); in TEST_STRUCT()
/redis-3.2.3/deps/geohash-int/
H A Dgeohash.c52 static inline uint64_t interleave64(uint32_t xlo, uint32_t ylo) { in interleave64()
178 uint32_t ilato = hash_sep; /* get lat part of deinterleaved hash */ in geohashDecode()
179 uint32_t ilono = hash_sep >> 32; /* shift over to get long part of hash */ in geohashDecode()
/redis-3.2.3/deps/lua/src/
H A Dlua_bit.c38 typedef unsigned __int32 uint32_t; typedef
45 typedef uint32_t UBits;

12