Home
last modified time | relevance | path

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

/external/lua/src/
Dltablib.c287 static int sort_comp (lua_State *L, int a, int b) { in sort_comp() function
316 while (lua_geti(L, 1, ++i), sort_comp(L, -1, -2)) { in partition()
323 while (lua_geti(L, 1, --j), sort_comp(L, -3, -1)) { in partition()
365 if (sort_comp(L, -1, -2)) /* a[up] < a[lo]? */ in auxsort()
377 if (sort_comp(L, -2, -1)) /* a[p] < a[lo]? */ in auxsort()
382 if (sort_comp(L, -1, -2)) /* a[up] < a[p]? */ in auxsort()