Lines Matching refs:IdxT
236 typedef unsigned int IdxT; typedef
277 static void set2 (lua_State *L, IdxT i, IdxT j) { in set2()
310 static IdxT partition (lua_State *L, IdxT lo, IdxT up) { in partition()
311 IdxT i = lo; /* will be incremented before first use */ in partition()
312 IdxT j = up - 1; /* will be decremented before first use */ in partition()
346 static IdxT choosePivot (IdxT lo, IdxT up, unsigned int rnd) { in choosePivot()
347 IdxT r4 = (up - lo) / 4; /* range/4 */ in choosePivot()
348 IdxT p = rnd % (r4 * 2) + (lo + r4); in choosePivot()
357 static void auxsort (lua_State *L, IdxT lo, IdxT up, in auxsort()
360 IdxT p; /* Pivot index */ in auxsort()
361 IdxT n; /* to be used later */ in auxsort()
418 auxsort(L, 1, (IdxT)n, 0); in sort()