Home
last modified time | relevance | path

Searched refs:z (Results 1 – 25 of 35) sorted by relevance

12

/redis-3.2.3/deps/lua/src/
H A Dlzio.c26 buff = z->reader(L, z->data, &size); in luaZ_fill()
29 z->n = size - 1; in luaZ_fill()
30 z->p = buff; in luaZ_fill()
36 if (z->n == 0) { in luaZ_lookahead()
41 z->p--; in luaZ_lookahead()
49 z->L = L; in luaZ_init()
52 z->n = 0; in luaZ_init()
53 z->p = NULL; in luaZ_init()
63 m = (n <= z->n) ? n : z->n; /* min. between n and z->n */ in luaZ_read()
65 z->n -= m; in luaZ_read()
[all …]
H A Dlzio.h22 #define zgetc(z) (((z)->n--)>0 ? char2int(*(z)->p++) : luaZ_fill(z)) argument
47 LUAI_FUNC void luaZ_init (lua_State *L, ZIO *z, lua_Reader reader,
49 LUAI_FUNC size_t luaZ_read (ZIO* z, void* b, size_t n); /* read next n bytes */
50 LUAI_FUNC int luaZ_lookahead (ZIO *z);
65 LUAI_FUNC int luaZ_fill (ZIO *z);
H A Dllex.h63 ZIO *z; /* input stream */ member
71 LUAI_FUNC void luaX_setinput (lua_State *L, LexState *ls, ZIO *z,
H A Dldo.c486 ZIO *z; member
496 int c = luaZ_lookahead(p->z); in f_parser()
498 tf = (luaY_parser)(L, p->z, in f_parser()
509 int luaD_protectedparser (lua_State *L, ZIO *z, const char *name) { in luaD_protectedparser() argument
512 p.z = z; p.name = name; in luaD_protectedparser()
H A Dllex.c28 #define next(ls) (ls->current = zgetc(ls->z))
140 void luaX_setinput (lua_State *L, LexState *ls, ZIO *z, TString *source) { in luaX_setinput() argument
144 ls->z = z; in luaX_setinput()
H A Dlparser.h78 LUAI_FUNC Proto *luaY_parser (lua_State *L, ZIO *z, Mbuffer *buff,
H A Dldo.h40 LUAI_FUNC int luaD_protectedparser (lua_State *L, ZIO *z, const char *name);
/redis-3.2.3/deps/jemalloc/include/jemalloc/internal/
H A Djemalloc_internal_macros.h41 #define ZU(z) ((size_t)z) argument
42 #define ZI(z) ((ssize_t)z) argument
46 #define KZU(z) ZU(z##ULL) argument
47 #define KZI(z) ZI(z##LL) argument
/redis-3.2.3/deps/jemalloc/test/include/test/
H A DSFMT-sse2.h65 __m128i v, x, y, z; in mm_recursion() local
69 z = _mm_srli_si128(c, SR2); in mm_recursion()
71 z = _mm_xor_si128(z, x); in mm_recursion()
72 z = _mm_xor_si128(z, v); in mm_recursion()
75 z = _mm_xor_si128(z, x); in mm_recursion()
76 z = _mm_xor_si128(z, y); in mm_recursion()
77 return z; in mm_recursion()
H A DSFMT-alti.h80 vector unsigned int v, w, x, y, z; in vec_recursion() local
84 z = vec_perm(c, (vector unsigned int)perm_sr, perm_sr); in vec_recursion()
86 z = vec_xor(z, w); in vec_recursion()
89 z = vec_xor(z, y); in vec_recursion()
90 z = vec_xor(z, v); in vec_recursion()
91 return z; in vec_recursion()
H A Dmath.h21 double f, z; in ln_gamma() local
27 z = x; in ln_gamma()
28 while (z < 7.0) { in ln_gamma()
29 f *= z; in ln_gamma()
30 z += 1.0; in ln_gamma()
32 x = z; in ln_gamma()
37 z = 1.0 / (x * x); in ln_gamma()
40 (((-0.000595238095238 * z + 0.000793650793651) * z - in ln_gamma()
41 0.002777777777778) * z + 0.083333333333333) / x); in ln_gamma()
/redis-3.2.3/deps/jemalloc/test/integration/
H A Dmallocx.c7 size_t z; in get_nsizes_impl() local
9 z = sizeof(unsigned); in get_nsizes_impl()
10 assert_d_eq(mallctl(cmd, &ret, &z, NULL, 0), 0, in get_nsizes_impl()
27 size_t z; in get_size_impl() local
31 z = sizeof(size_t); in get_size_impl()
35 z = sizeof(size_t); in get_size_impl()
36 assert_d_eq(mallctlbymib(mib, miblen, &ret, &z, NULL, 0), in get_size_impl()
H A Dxallocx.c55 size_t z; in get_nsizes_impl() local
57 z = sizeof(unsigned); in get_nsizes_impl()
58 assert_d_eq(mallctl(cmd, &ret, &z, NULL, 0), 0, in get_nsizes_impl()
89 size_t z; in get_size_impl() local
93 z = sizeof(size_t); in get_size_impl()
97 z = sizeof(size_t); in get_size_impl()
98 assert_d_eq(mallctlbymib(mib, miblen, &ret, &z, NULL, 0), in get_size_impl()
/redis-3.2.3/deps/jemalloc/
H A D.gitignore50 /test/integration/[A-Za-z]*
51 !/test/integration/[A-Za-z]*.*
61 /test/stress/[A-Za-z]*
62 !/test/stress/[A-Za-z]*.*
68 /test/unit/[A-Za-z]*
69 !/test/unit/[A-Za-z]*.*
/redis-3.2.3/src/
H A Drand.c50 #define MUL(x, y, z) { int32_t l = (long)(x) * (long)(y); \ argument
51 (z)[0] = LOW(l); (z)[1] = HIGH(l); }
53 #define ADDEQU(x, y, z) (z = CARRY(x, (y)), x = LOW(x + (y))) argument
H A Dsha1.c47 #define R0(v,w,x,y,z,i) z+=((w&(x^y))^y)+blk0(i)+0x5A827999+rol(v,5);w=rol(w,30); argument
48 #define R1(v,w,x,y,z,i) z+=((w&(x^y))^y)+blk(i)+0x5A827999+rol(v,5);w=rol(w,30); argument
49 #define R2(v,w,x,y,z,i) z+=(w^x^y)+blk(i)+0x6ED9EBA1+rol(v,5);w=rol(w,30); argument
50 #define R3(v,w,x,y,z,i) z+=(((w|x)&y)|(w&x))+blk(i)+0x8F1BBCDC+rol(v,5);w=rol(w,30); argument
51 #define R4(v,w,x,y,z,i) z+=(w^x^y)+blk(i)+0xCA62C1D6+rol(v,5);w=rol(w,30); argument
/redis-3.2.3/deps/lua/test/
H A Dbisect.lua17 local z,e=bisect(f,a,b,f(a),f(b))
18 io.write(string.format("after %d steps, root is %.17g with error %.1e, f=%.1e\n",n,z,e,f(z)))
/redis-3.2.3/deps/lua/etc/
H A Dnoparser.c25 LUAI_FUNC Proto *luaY_parser (lua_State *L, ZIO *z, Mbuffer *buff, const char *name) { in luaY_parser() argument
26 UNUSED(z); in luaY_parser()
/redis-3.2.3/tests/unit/type/
H A Dzset.tcl31 r zadd ztmp 30 z
74 r zadd ztmp 10 x 20 y 30 z
89 r zadd ztmp nx 10 x 20 y 30 z
95 r zadd ztmp 10 x 20 y 30 z
105 r zadd ztmp 10 x 20 y 30 z
112 r zadd ztmp 10 x 20 y 30 z
119 r zadd ztmp 10 x 20 y 30 z
170 assert_equal 0 [r zrem ztmp z]
255 r zadd zranktmp 30 z
664 r zadd z -inf neginf
[all …]
H A Dstring.tcl133 r mset x 10 y "foo bar" z "x x x x x x x\n\n\r\n"
134 r mget x y z
138 catch {r mset x 10 y "foo bar" z} err
/redis-3.2.3/tests/unit/
H A Dsort.tcl210 r sadd myset a b c d e f g h i l m n o p q r s t u v z aa aaa azz
213 } {a aa aaa azz b c d e f g h i l m n o p q r s t u v z}
234 r sadd myset a b c d e f g h i l m n o p q r s t u v z aa aaa azz
235 foreach ele {a aa aaa azz b c d e f g h i l m n o p q r s t u v z} {
239 } {a aa aaa azz b c d e f g h i l m n o p q r s t u v z}
H A Dother.tcl132 r set z somevalue
133 r expireat z [expr {[clock seconds]+3000}]
154 set ttl [r ttl z]
H A Dprotocol.tcl60 assert_error "*wrong*arguments*ping*" {r ping x y z}
H A Dexpire.tcl60 catch {r setex z -10 foo} e
96 r del x y z
/redis-3.2.3/deps/jemalloc/test/unit/
H A Datomic.c96 TEST_STRUCT(z, size_t) in TEST_STRUCT() argument
100 TEST_BODY(z, size_t, size_t, zu, "#zx"); in TEST_STRUCT()

12