Lines Matching refs:idx
142 int $idx, $j;
144 for ($idx = 0; $idx < $no; ++$idx)
146 $str = GetDefaultAnimRangeTitle($idx);
841 proc QuickSort(string $a[], int $idx[], int $left, int $right, string $compare)
847 $s = $a[$idx[($left + $right) / 2]];
852 while(eval($compare + " \"" + $a[$idx[++$i]] + "\" \"" + $s + "\"") < 0)
854 while(eval($compare + " \"" + $a[$idx[--$j]] + "\" \"" + $s + "\"") > 0)
860 $t = $idx[$i];
861 $idx[$i] = $idx[$j];
862 $idx[$j] = $t;
864 QuickSort($a, $idx, $left, ($i - 1), $compare);
865 QuickSort($a, $idx, ($j + 1), $right, $compare);
880 int $i, $idx[];
883 $idx[$i] = $i;
885 QuickSort($array, $idx, 0, ($sz - 1), $compare);
891 $retList[$i] = $array[$idx[$i]];
3031 int $idx;
3034 for ($idx = 0; $idx < $no; ++$idx)
3036 if ($idx == $i)
3040 if ($item == $list[$idx])
3045 if ($idx < $no) // same name