Lines Matching refs:idx
142 int $idx, $j;
144 for ($idx = 0; $idx < $no; ++$idx)
146 $str = GetDefaultAnimRangeTitle($idx);
813 proc QuickSort(string $a[], int $idx[], int $left, int $right, string $compare)
819 $s = $a[$idx[($left + $right) / 2]];
824 while(eval($compare + " \"" + $a[$idx[++$i]] + "\" \"" + $s + "\"") < 0)
826 while(eval($compare + " \"" + $a[$idx[--$j]] + "\" \"" + $s + "\"") > 0)
832 $t = $idx[$i];
833 $idx[$i] = $idx[$j];
834 $idx[$j] = $t;
836 QuickSort($a, $idx, $left, ($i - 1), $compare);
837 QuickSort($a, $idx, ($j + 1), $right, $compare);
852 int $i, $idx[];
855 $idx[$i] = $i;
857 QuickSort($array, $idx, 0, ($sz - 1), $compare);
863 $retList[$i] = $array[$idx[$i]];
3003 int $idx;
3006 for ($idx = 0; $idx < $no; ++$idx)
3008 if ($idx == $i)
3012 if ($item == $list[$idx])
3017 if ($idx < $no) // same name