Searched refs:l1 (Results 1 – 11 of 11) sorted by relevance
| /redis-3.2.3/src/ |
| H A D | memtest.c | 148 l1 = l+off; in memtest_fill_random() 149 l2 = l1+words; in memtest_fill_random() 153 l1 += step; in memtest_fill_random() 173 l1 = l+off; in memtest_fill_value() 174 l2 = l1+words; in memtest_fill_value() 186 l1 += step; in memtest_fill_value() 199 l1 = l; in memtest_compare() 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 771 l1 = sdslen(s1); 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 443 l1 = sdslen((sds)key1); in dictSdsKeyCompare() 445 if (l1 != l2) return 0; in dictSdsKeyCompare() 446 return memcmp(key1, key2, l1) == 0; in dictSdsKeyCompare()
|
| /redis-3.2.3/deps/lua/src/ |
| H A D | lstring.c | 79 size_t l1; in luaS_newlstr() local 80 for (l1=l; l1>=step; l1-=step) /* compute hash */ in luaS_newlstr() 81 h = h ^ ((h<<5)+(h>>2)+cast(unsigned char, str[l1-1])); in luaS_newlstr()
|
| H A D | lstrlib.c | 444 static const char *lmemfind (const char *s1, size_t l1, in lmemfind() argument 447 else if (l2 > l1) return NULL; /* avoids a negative `l1' */ in lmemfind() 451 l1 = l1-l2; /* `s2' cannot be found after that */ in lmemfind() 452 while (l1 > 0 && (init = (const char *)memchr(s1, *s2, l1)) != NULL) { in lmemfind() 457 l1 -= init-s1; in lmemfind() 496 size_t l1, l2; in str_find_aux() local 497 const char *s = luaL_checklstring(L, 1, &l1); in str_find_aux() 499 ptrdiff_t init = posrelat(luaL_optinteger(L, 3, 1), l1) - 1; in str_find_aux() 501 else if ((size_t)(init) > l1) init = (ptrdiff_t)l1; in str_find_aux() 505 const char *s2 = lmemfind(s+init, l1-init, p, l2); in str_find_aux() [all …]
|
| 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 187 else if (*l1 == NO_JUMP) in luaK_concat() 188 *l1 = l2; in luaK_concat() 190 int list = *l1; in luaK_concat()
|
| /redis-3.2.3/deps/hiredis/ |
| H A D | async.c | 77 int l1, l2; in callbackKeyCompare() local 80 l1 = sdslen((const sds)key1); in callbackKeyCompare() 82 if (l1 != l2) return 0; in callbackKeyCompare() 83 return memcmp(key1,key2,l1) == 0; in callbackKeyCompare()
|
| H A D | sds.c | 768 size_t l1, l2, minlen; in sdscmp() local 771 l1 = sdslen(s1); in sdscmp() 773 minlen = (l1 < l2) ? l1 : l2; in sdscmp() 775 if (cmp == 0) return l1-l2; in sdscmp()
|
| /redis-3.2.3/tests/unit/ |
| H A D | sort.tcl | 74 set l1 [r sort tosort GET # GET weight_*] 76 foreach {id1 w1} $l1 {id2 w2} $l2 {
|
| /redis-3.2.3/tests/unit/type/ |
| H A D | zset.tcl | 988 set l1 [r zrange myzset 0 -1] 990 for {set j 0} {$j < [llength $l1]} {incr j} { 991 if {[lindex $l1 $j] ne [lindex $l2 end-$j]} {
|