Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/fs/zfs/lua/
H A Dltablib.c170 static int sort_comp (lua_State *L, int a, int b) { in sort_comp() function
191 if (sort_comp(L, -1, -2)) /* a[u] < a[l]? */ in auxsort()
199 if (sort_comp(L, -2, -1)) /* a[i]<a[l]? */ in auxsort()
204 if (sort_comp(L, -1, -2)) /* a[u]<a[i]? */ in auxsort()
218 while (lua_rawgeti(L, 1, ++i), sort_comp(L, -1, -2)) { in auxsort()
223 while (lua_rawgeti(L, 1, --j), sort_comp(L, -3, -1)) { in auxsort()