| /redis-3.2.3/src/ |
| H A D | lzf_d.c | 60 u8 *op = (u8 *)out_data; in lzf_decompress() local 91 … case 32: *op++ = *ip++; case 31: *op++ = *ip++; case 30: *op++ = *ip++; case 29: *op++ = *ip++; in lzf_decompress() 92 … case 28: *op++ = *ip++; case 27: *op++ = *ip++; case 26: *op++ = *ip++; case 25: *op++ = *ip++; in lzf_decompress() 93 … case 24: *op++ = *ip++; case 23: *op++ = *ip++; case 22: *op++ = *ip++; case 21: *op++ = *ip++; in lzf_decompress() 94 … case 20: *op++ = *ip++; case 19: *op++ = *ip++; case 18: *op++ = *ip++; case 17: *op++ = *ip++; in lzf_decompress() 95 … case 16: *op++ = *ip++; case 15: *op++ = *ip++; case 14: *op++ = *ip++; case 13: *op++ = *ip++; in lzf_decompress() 96 … case 12: *op++ = *ip++; case 11: *op++ = *ip++; case 10: *op++ = *ip++; case 9: *op++ = *ip++; in lzf_decompress() 97 … case 8: *op++ = *ip++; case 7: *op++ = *ip++; case 6: *op++ = *ip++; case 5: *op++ = *ip++; in lzf_decompress() 98 … case 4: *op++ = *ip++; case 3: *op++ = *ip++; case 2: *op++ = *ip++; case 1: *op++ = *ip++; in lzf_decompress() 154 op += len; in lzf_decompress() [all …]
|
| H A D | lzf_c.c | 110 u8 *op = (u8 *)out_data; in lzf_compress() local 112 u8 *out_end = op + out_len; in lzf_compress() 137 lit = 0; op++; /* start run */ in lzf_compress() 216 *op++ = len - 7; in lzf_compress() 219 *op++ = off; in lzf_compress() 221 lit = 0; op++; /* start run */ in lzf_compress() 262 lit++; *op++ = *ip++; in lzf_compress() 277 lit++; *op++ = *ip++; in lzf_compress() 282 lit = 0; op++; /* start run */ in lzf_compress() 286 op [- lit - 1] = lit - 1; /* end run */ in lzf_compress() [all …]
|
| H A D | t_zset.c | 1647 if (op->subject == NULL) in zuiInitIterator() 1650 if (op->type == OBJ_SET) { in zuiInitIterator() 1683 if (op->subject == NULL) in zuiClearIterator() 1686 if (op->type == OBJ_SET) { in zuiClearIterator() 1709 int zuiLength(zsetopsrc *op) { in zuiLength() argument 1710 if (op->subject == NULL) in zuiLength() 1713 if (op->type == OBJ_SET) { in zuiLength() 1740 if (op->subject == NULL) in zuiNext() 1748 if (op->type == OBJ_SET) { in zuiNext() 1859 if (op->subject == NULL) in zuiFind() [all …]
|
| H A D | bitops.c | 587 unsigned long op, j, numkeys; in bitopCommand() local 597 op = BITOP_AND; in bitopCommand() 599 op = BITOP_OR; in bitopCommand() 601 op = BITOP_XOR; in bitopCommand() 603 op = BITOP_NOT; in bitopCommand() 610 if (op == BITOP_NOT && c->argc != 4) { in bitopCommand() 668 if (op == BITOP_AND) { in bitopCommand() 681 } else if (op == BITOP_OR) { in bitopCommand() 694 } else if (op == BITOP_XOR) { in bitopCommand() 707 } else if (op == BITOP_NOT) { in bitopCommand() [all …]
|
| H A D | ae_epoll.c | 78 int op = eventLoop->events[fd].mask == AE_NONE ? in aeApiAddEvent() local 86 if (epoll_ctl(state->epfd,op,fd,&ee) == -1) return -1; in aeApiAddEvent()
|
| H A D | t_set.c | 37 robj *dstkey, int op); 940 robj *dstkey, int op) { in sunionDiffGenericCommand() argument 971 if (op == SET_OP_DIFF && sets[0]) { in sunionDiffGenericCommand() 1000 if (op == SET_OP_UNION) { in sunionDiffGenericCommand() 1013 } else if (op == SET_OP_DIFF && sets[0] && diff_algo == 1) { in sunionDiffGenericCommand() 1037 } else if (op == SET_OP_DIFF && sets[0] && diff_algo == 2) { in sunionDiffGenericCommand() 1083 op == SET_OP_UNION ? "sunionstore" : "sdiffstore", in sunionDiffGenericCommand()
|
| H A D | server.c | 2054 redisOp *op; in redisOpArrayAppend() local 2057 op = oa->ops+oa->numops; in redisOpArrayAppend() 2058 op->cmd = cmd; in redisOpArrayAppend() 2059 op->dbid = dbid; in redisOpArrayAppend() 2060 op->argv = argv; in redisOpArrayAppend() 2061 op->argc = argc; in redisOpArrayAppend() 2062 op->target = target; in redisOpArrayAppend() 2070 redisOp *op; in redisOpArrayFree() local 2073 op = oa->ops+oa->numops; in redisOpArrayFree() 2074 for (j = 0; j < op->argc; j++) in redisOpArrayFree() [all …]
|
| /redis-3.2.3/deps/lua/test/ |
| H A D | globals.lua | 8 local ok,_,l,op,g=string.find(s,"%[%-?(%d*)%]%s*([GS])ETGLOBAL.-;%s+(.*)$") 10 if op=="S" then op="*" else op="" end 11 io.write(g,"\t",l,op,"\n")
|
| /redis-3.2.3/deps/lua/src/ |
| H A D | ldebug.c | 324 OpCode op = GET_OPCODE(i); in symbexec() local 328 check(op < NUM_OPCODES); in symbexec() 330 switch (getOpMode(op)) { in symbexec() 334 check(checkArgMode(pt, b, getBMode(op))); in symbexec() 335 check(checkArgMode(pt, c, getCMode(op))); in symbexec() 340 if (getBMode(op) == OpArgK) check(b < pt->sizek); in symbexec() 345 if (getBMode(op) == OpArgR) { in symbexec() 366 if (testAMode(op)) { in symbexec() 369 if (testTMode(op)) { in symbexec() 373 switch (op) { in symbexec() [all …]
|
| H A D | lcode.c | 75 luaK_codeABC(fs, op, A, B, C); in condjump() 632 switch (op) { in constfolding() 654 if (constfolding(op, e1, e2)) in codearith() 657 int o2 = (op != OP_UNM && op != OP_LEN) ? luaK_exp2RK(fs, e2) : 0; in codearith() 667 e1->u.s.info = luaK_codeABC(fs, op, 0, o1, o2); in codearith() 679 if (cond == 0 && op != OP_EQ) { in codecomp() 684 e1->u.s.info = condjump(fs, op, cond, o1, o2); in codecomp() 689 void luaK_prefix (FuncState *fs, UnOpr op, expdesc *e) { in luaK_prefix() argument 692 switch (op) { in luaK_prefix() 711 switch (op) { in luaK_infix() [all …]
|
| H A D | lcode.h | 70 LUAI_FUNC void luaK_prefix (FuncState *fs, UnOpr op, expdesc *v); 71 LUAI_FUNC void luaK_infix (FuncState *fs, BinOpr op, expdesc *v); 72 LUAI_FUNC void luaK_posfix (FuncState *fs, BinOpr op, expdesc *v1, expdesc *v2);
|
| H A D | liolib.c | 446 int op = luaL_checkoption(L, 2, "cur", modenames); in f_seek() local 448 op = fseek(f, offset, mode[op]); in f_seek() 449 if (op) in f_seek() 462 int op = luaL_checkoption(L, 2, NULL, modenames); in f_setvbuf() local 464 int res = setvbuf(f, NULL, mode[op], sz); in f_setvbuf()
|
| H A D | lparser.c | 778 static UnOpr getunopr (int op) { in getunopr() argument 779 switch (op) { in getunopr() 788 static BinOpr getbinopr (int op) { in getbinopr() argument 789 switch (op) { in getbinopr() 829 BinOpr op; in subexpr() local 840 op = getbinopr(ls->t.token); in subexpr() 841 while (op != OPR_NOBINOPR && priority[op].left > limit) { in subexpr() 845 luaK_infix(ls->fs, op, v); in subexpr() 847 nextop = subexpr(ls, &v2, priority[op].right); in subexpr() 848 luaK_posfix(ls->fs, op, v, &v2); in subexpr() [all …]
|
| H A D | loslib.c | 210 int op = luaL_checkoption(L, 2, "all", catnames); in os_setlocale() local 211 lua_pushstring(L, setlocale(cat[op], l)); in os_setlocale()
|
| H A D | lvm.c | 318 const TValue *rc, TMS op) { in Arith() argument 324 switch (op) { in Arith() 335 else if (!call_binTM(L, rb, rc, ra, op)) in Arith() 364 #define arith_op(op,tm) { \ argument 369 setnvalue(ra, op(nb, nc)); \
|
| /redis-3.2.3/tests/unit/ |
| H A D | bitops.tcl | 7 proc simulate_bit_op {op args} { 27 if {$op eq {not}} {set bit [expr {!$bit}]} 30 switch $op { 166 foreach op {and or xor} { 167 test "BITOP $op fuzzing" { 179 r bitop $op target {*}$veckeys 180 assert_equal [r get target] [simulate_bit_op $op {*}$vec]
|
| /redis-3.2.3/tests/unit/type/ |
| H A D | list-3.tcl | 32 set op [randomInt 6] 39 switch $op {
|