Lines Matching refs:IdxT
224 typedef unsigned int IdxT; typedef
265 static void set2 (lua_State *L, IdxT i, IdxT j) { in set2()
298 static IdxT partition (lua_State *L, IdxT lo, IdxT up) { in partition()
299 IdxT i = lo; /* will be incremented before first use */ in partition()
300 IdxT j = up - 1; /* will be decremented before first use */ in partition()
334 static IdxT choosePivot (IdxT lo, IdxT up, unsigned int rnd) { in choosePivot()
335 IdxT r4 = (up - lo) / 4; /* range/4 */ in choosePivot()
336 IdxT p = rnd % (r4 * 2) + (lo + r4); in choosePivot()
345 static void auxsort (lua_State *L, IdxT lo, IdxT up, in auxsort()
348 IdxT p; /* Pivot index */ in auxsort()
349 IdxT n; /* to be used later */ in auxsort()
406 auxsort(L, 1, (IdxT)n, 0); in sort()