Searched refs:l2 (Results 1 – 10 of 10) sorted by relevance
| /redis-3.2.3/src/ |
| H A D | memtest.c | 142 unsigned long off, w, *l1, *l2; in memtest_fill_random() local 149 l2 = l1+words; in memtest_fill_random() 154 l2 += step; in memtest_fill_random() 169 unsigned long off, w, *l1, *l2, v; in memtest_fill_value() local 174 l2 = l1+words; in memtest_fill_value() 187 l2 += step; in memtest_fill_value() 196 unsigned long w, *l1, *l2; in memtest_compare() local 200 l2 = l1+words; in memtest_compare() 202 if (*l1 != *l2) { in memtest_compare() 205 (void*)l1, (void*)l2, *l1, *l2); in memtest_compare() [all …]
|
| H A D | sds.c | 768 size_t l1, l2, minlen; in sdscmp() local 772 l2 = sdslen(s2); in sdscmp() 773 minlen = (l1 < l2) ? l1 : l2; in sdscmp() 775 if (cmp == 0) return l1-l2; in sdscmp()
|
| H A D | server.c | 440 int l1,l2; in dictSdsKeyCompare() local 444 l2 = sdslen((sds)key2); in dictSdsKeyCompare() 445 if (l1 != l2) return 0; in dictSdsKeyCompare()
|
| /redis-3.2.3/deps/lua/src/ |
| H A D | lstrlib.c | 445 const char *s2, size_t l2) { in lmemfind() argument 446 if (l2 == 0) return s1; /* empty strings are everywhere */ in lmemfind() 447 else if (l2 > l1) return NULL; /* avoids a negative `l1' */ in lmemfind() 450 l2--; /* 1st char will be checked by `memchr' */ in lmemfind() 451 l1 = l1-l2; /* `s2' cannot be found after that */ in lmemfind() 454 if (memcmp(init, s2+1, l2) == 0) in lmemfind() 496 size_t l1, l2; in str_find_aux() local 498 const char *p = luaL_checklstring(L, 2, &l2); in str_find_aux() 505 const char *s2 = lmemfind(s+init, l1-init, p, l2); in str_find_aux() 508 lua_pushinteger(L, s2-s+l2); in str_find_aux()
|
| H A D | lcode.h | 68 LUAI_FUNC void luaK_concat (FuncState *fs, int *l1, int l2);
|
| H A D | lcode.c | 185 void luaK_concat (FuncState *fs, int *l1, int l2) { in luaK_concat() argument 186 if (l2 == NO_JUMP) return; in luaK_concat() 188 *l1 = l2; in luaK_concat() 194 fixjump(fs, list, l2); in luaK_concat()
|
| /redis-3.2.3/deps/hiredis/ |
| H A D | sds.c | 768 size_t l1, l2, minlen; in sdscmp() local 772 l2 = sdslen(s2); in sdscmp() 773 minlen = (l1 < l2) ? l1 : l2; in sdscmp() 775 if (cmp == 0) return l1-l2; in sdscmp()
|
| H A D | async.c | 77 int l1, l2; in callbackKeyCompare() local 81 l2 = sdslen((const sds)key2); in callbackKeyCompare() 82 if (l1 != l2) return 0; in callbackKeyCompare()
|
| /redis-3.2.3/tests/unit/ |
| H A D | sort.tcl | 75 set l2 [r sort tosort GET # GET wobj_*->weight] 76 foreach {id1 w1} $l1 {id2 w2} $l2 {
|
| /redis-3.2.3/tests/unit/type/ |
| H A D | zset.tcl | 989 set l2 [r zrevrange myzset 0 -1] 991 if {[lindex $l1 $j] ne [lindex $l2 end-$j]} {
|