Searched refs:sort_comp (Results 1 – 2 of 2) sorted by relevance
| /f-stack/app/redis-5.0.5/deps/lua/src/ |
| H A D | ltablib.c | 178 static int sort_comp (lua_State *L, int a, int b) { in sort_comp() function 199 if (sort_comp(L, -1, -2)) /* a[u] < a[l]? */ in auxsort() 207 if (sort_comp(L, -2, -1)) /* a[i]<a[l]? */ in auxsort() 212 if (sort_comp(L, -1, -2)) /* a[u]<a[i]? */ in auxsort() 226 while (lua_rawgeti(L, 1, ++i), sort_comp(L, -1, -2)) { in auxsort() 231 while (lua_rawgeti(L, 1, --j), sort_comp(L, -3, -1)) { in auxsort()
|
| /f-stack/freebsd/contrib/openzfs/module/lua/ |
| H A D | ltablib.c | 169 static int sort_comp (lua_State *L, int a, int b) { in sort_comp() function 190 if (sort_comp(L, -1, -2)) /* a[u] < a[l]? */ in auxsort() 198 if (sort_comp(L, -2, -1)) /* a[i]<a[l]? */ in auxsort() 203 if (sort_comp(L, -1, -2)) /* a[u]<a[i]? */ in auxsort() 217 while (lua_rawgeti(L, 1, ++i), sort_comp(L, -1, -2)) { in auxsort() 222 while (lua_rawgeti(L, 1, --j), sort_comp(L, -3, -1)) { in auxsort()
|