Searched refs:sort_comp (Results 1 – 2 of 2) sorted by relevance
| /freebsd-13.1/sys/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()
|
| /freebsd-13.1/contrib/lua/src/ |
| H A D | ltablib.c | 273 static int sort_comp (lua_State *L, int a, int b) { in sort_comp() function 302 while ((void)lua_geti(L, 1, ++i), sort_comp(L, -1, -2)) { in partition() 309 while ((void)lua_geti(L, 1, --j), sort_comp(L, -3, -1)) { in partition() 351 if (sort_comp(L, -1, -2)) /* a[up] < a[lo]? */ in auxsort() 363 if (sort_comp(L, -2, -1)) /* a[p] < a[lo]? */ in auxsort() 368 if (sort_comp(L, -1, -2)) /* a[up] < a[p]? */ in auxsort()
|