Lines Matching refs:IdxT
222 typedef unsigned int IdxT; typedef
263 static void set2 (lua_State *L, IdxT i, IdxT j) { in set2()
296 static IdxT partition (lua_State *L, IdxT lo, IdxT up) { in partition()
297 IdxT i = lo; /* will be incremented before first use */ in partition()
298 IdxT j = up - 1; /* will be decremented before first use */ in partition()
332 static IdxT choosePivot (IdxT lo, IdxT up, unsigned int rnd) { in choosePivot()
333 IdxT r4 = (up - lo) / 4; /* range/4 */ in choosePivot()
334 IdxT p = rnd % (r4 * 2) + (lo + r4); in choosePivot()
343 static void auxsort (lua_State *L, IdxT lo, IdxT up, in auxsort()
346 IdxT p; /* Pivot index */ in auxsort()
347 IdxT n; /* to be used later */ in auxsort()
404 auxsort(L, 1, (IdxT)n, 0); in sort()