Searched refs:n_left (Results 1 - 2 of 2) sorted by relevance

/PHP_TRUNK/ext/standard/
H A Dstring.c5341 long n_elems, rnd_idx, n_left; local
5351 n_left = n_elems;
5353 while (--n_left) {
5355 RAND_RANGE(rnd_idx, 0, n_left, PHP_RAND_MAX);
5356 if (rnd_idx != n_left) {
5357 temp = str[n_left];
5358 str[n_left] = str[rnd_idx];
H A Darray.c1752 int j, n_elems, rnd_idx, n_left; local
1762 n_left = n_elems;
1766 while (--n_left) {
1768 RAND_RANGE(rnd_idx, 0, n_left, PHP_RAND_MAX);
1769 if (rnd_idx != n_left) {
1770 temp = elems[n_left];
1771 elems[n_left] = elems[rnd_idx];

Completed in 18 milliseconds