Home
last modified time | relevance | path

Searched refs:sort_comp (Results 1 – 1 of 1) sorted by relevance

/redis-3.2.3/deps/lua/src/
H A Dltablib.c178 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()