z 864 lib/lua/lapi.c ZIO z; z 868 lib/lua/lapi.c luaZ_init(L, &z, reader, data); z 869 lib/lua/lapi.c status = luaD_protectedparser(L, &z, chunkname); z 486 lib/lua/ldo.c ZIO *z; z 496 lib/lua/ldo.c int c = luaZ_lookahead(p->z); z 498 lib/lua/ldo.c tf = ((c == LUA_SIGNATURE[0]) ? luaU_undump : luaY_parser)(L, p->z, z 509 lib/lua/ldo.c LUAI_FUNC int luaD_protectedparser (lua_State *L, ZIO *z, const char *name) { z 512 lib/lua/ldo.c p.z = z; p.name = name; z 40 lib/lua/ldo.h LUAI_FUNC int luaD_protectedparser (lua_State *L, ZIO *z, const char *name); z 181 lib/lua/lfmathlib.c static void cordic(int f, double *x, double *y, double *z) { z 193 lib/lua/lfmathlib.c int f1 = (f) ? *y >= 0 : *z < 0; z 196 lib/lua/lfmathlib.c *z = (f1) ? *z + zstep : *z - zstep; z 222 lib/lua/lfmathlib.c double x = INV_GAIN_CIRCLE, y = 0, z = phi; z 223 lib/lua/lfmathlib.c cordic(ROTATE, &x, &y, &z); z 256 lib/lua/lfmathlib.c double z = 0; z 257 lib/lua/lfmathlib.c cordic(VECTOR, &x, &y, &z); z 261 lib/lua/lfmathlib.c case 2: z = M_PI - z; break; z 262 lib/lua/lfmathlib.c case 3: z = z - M_PI; break; z 263 lib/lua/lfmathlib.c case 4: z = -z; break; z 266 lib/lua/lfmathlib.c *phi = z; z 28 lib/lua/llex.c #define next(ls) (ls->current = zgetc(ls->z)) z 140 lib/lua/llex.c LUAI_FUNC void luaX_setinput (lua_State *L, LexState *ls, ZIO *z, TString *source) { z 144 lib/lua/llex.c ls->z = z; z 63 lib/lua/llex.h ZIO *z; /* input stream */ z 71 lib/lua/llex.h LUAI_FUNC void luaX_setinput (lua_State *L, LexState *ls, ZIO *z, z 383 lib/lua/lparser.c LUAI_FUNC Proto *luaY_parser (lua_State *L, ZIO *z, Mbuffer *buff, const char *name) { z 387 lib/lua/lparser.c luaX_setinput(L, &lexstate, z, luaS_new(L, name)); z 78 lib/lua/lparser.h LUAI_FUNC Proto *luaY_parser (lua_State *L, ZIO *z, Mbuffer *buff, z 21 lib/lua/lzio.c LUAI_FUNC int luaZ_fill (ZIO *z) { z 23 lib/lua/lzio.c lua_State *L = z->L; z 25 lib/lua/lzio.c if (z->eoz) return EOZ; z 27 lib/lua/lzio.c buff = z->reader(L, z->data, &size); z 30 lib/lua/lzio.c z->eoz = 1; /* avoid calling reader function next time */ z 33 lib/lua/lzio.c z->n = size - 1; z 34 lib/lua/lzio.c z->p = buff; z 35 lib/lua/lzio.c return char2int(*(z->p++)); z 39 lib/lua/lzio.c LUAI_FUNC int luaZ_lookahead (ZIO *z) { z 40 lib/lua/lzio.c if (z->n == 0) { z 41 lib/lua/lzio.c if (luaZ_fill(z) == EOZ) z 44 lib/lua/lzio.c z->n++; /* luaZ_fill removed first byte; put back it */ z 45 lib/lua/lzio.c z->p--; z 48 lib/lua/lzio.c return char2int(*z->p); z 52 lib/lua/lzio.c LUAI_FUNC void luaZ_init (lua_State *L, ZIO *z, lua_Reader reader, void *data) { z 53 lib/lua/lzio.c z->L = L; z 54 lib/lua/lzio.c z->reader = reader; z 55 lib/lua/lzio.c z->data = data; z 56 lib/lua/lzio.c z->n = 0; z 57 lib/lua/lzio.c z->p = NULL; z 58 lib/lua/lzio.c z->eoz = 0; z 63 lib/lua/lzio.c LUAI_FUNC size_t luaZ_read (ZIO *z, void *b, size_t n) { z 66 lib/lua/lzio.c if (luaZ_lookahead(z) == EOZ) z 68 lib/lua/lzio.c m = (n <= z->n) ? n : z->n; /* min. between n and z->n */ z 69 lib/lua/lzio.c memcpy(b, z->p, m); z 70 lib/lua/lzio.c z->n -= m; z 71 lib/lua/lzio.c z->p += m; z 22 lib/lua/lzio.h #define zgetc(z) (((z)->n--)>0 ? char2int(*(z)->p++) : luaZ_fill(z)) z 47 lib/lua/lzio.h LUAI_FUNC void luaZ_init (lua_State *L, ZIO *z, lua_Reader reader, z 49 lib/lua/lzio.h LUAI_FUNC size_t luaZ_read (ZIO* z, void* b, size_t n); /* read next n bytes */ z 50 lib/lua/lzio.h LUAI_FUNC int luaZ_lookahead (ZIO *z); z 66 lib/lua/lzio.h LUAI_FUNC int luaZ_fill (ZIO *z); z 29 modules/cordic_math.c static void cordic(tangle t, fcordic f, fixed *x, fixed *y, fixed *z) { z 40 modules/cordic_math.c int f1 = (f) ? *y >= 0 : *z < 0; z 43 modules/cordic_math.c *z = (f1) ? *z + zstep : *z - zstep; z 96 modules/cordic_math.c fixed x = INV_GAIN_CIRCLE[t], y = 0, z = phi; z 97 modules/cordic_math.c cordic(t, ROTATE, &x, &y, &z); z 132 modules/cordic_math.c fixed x = px, y = py, z = 0; z 133 modules/cordic_math.c cordic(t, VECTOR, &x, &y, &z); z 136 modules/cordic_math.c case 2: z = HALF_CIRCLE[t] - z; break; z 137 modules/cordic_math.c case 3: z = z - HALF_CIRCLE[t]; break; z 138 modules/cordic_math.c case 4: z = -z; break; z 140 modules/cordic_math.c *phi = z; z 296 modules/md5.c #define F1(x, y, z) (z ^ (x & (y ^ z))) z 297 modules/md5.c #define F2(x, y, z) F1(z, x, y) z 298 modules/md5.c #define F3(x, y, z) (x ^ y ^ z) z 299 modules/md5.c #define F4(x, y, z) (y ^ (x | ~z)) z 302 modules/md5.c #define MD5STEP(f, w, x, y, z, data, s) \ z 303 modules/md5.c ( w += f(x, y, z) + data, w = w<<s | w>>(32-s), w += x ) z 557 modules/sha1.c #define R0(v,w,x,y,z,i) \ z 558 modules/sha1.c z += ((w & (x ^ y)) ^ y) + blk0(i) + 0x5A827999 + rol(v, 5); \ z 560 modules/sha1.c #define R1(v,w,x,y,z,i) \ z 561 modules/sha1.c z += ((w & (x ^ y)) ^ y) + blk(i) + 0x5A827999 + rol(v, 5); \ z 563 modules/sha1.c #define R2(v,w,x,y,z,i) \ z 564 modules/sha1.c z += (w ^ x ^ y) + blk(i) + 0x6ED9EBA1 + rol(v, 5); w = rol(w, 30); z 565 modules/sha1.c #define R3(v,w,x,y,z,i) \ z 566 modules/sha1.c z += (((w | x) & y) | (w & x)) + blk(i) + 0x8F1BBCDC + rol(v, 5); \ z 568 modules/sha1.c #define R4(v,w,x,y,z,i) \ z 569 modules/sha1.c z += (w ^ x ^ y) + blk(i) + 0xCA62C1D6 + rol(v, 5); \ z 1350 tools/packfi2/zlib.h ZEXTERN int ZEXPORT inflateSyncPoint OF((z_streamp z));