Searched refs:sort_comp (Results 1 – 1 of 1) sorted by relevance
/l4re-core-master/lua/lib/contrib/src/ |
A D | ltablib.c | 274 static int sort_comp (lua_State *L, int a, int b) { in sort_comp() function 303 while ((void)lua_geti(L, 1, ++i), sort_comp(L, -1, -2)) { in partition() 310 while ((void)lua_geti(L, 1, --j), sort_comp(L, -3, -1)) { in partition() 352 if (sort_comp(L, -1, -2)) /* a[up] < a[lo]? */ in auxsort() 364 if (sort_comp(L, -2, -1)) /* a[p] < a[lo]? */ in auxsort() 369 if (sort_comp(L, -1, -2)) /* a[up] < a[p]? */ in auxsort()
|
Completed in 3 milliseconds