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

/PHP_5_5/ext/standard/
H A Dstring.c5353 long n_elems, rnd_idx, n_left; local
5363 n_left = n_elems;
5365 while (--n_left) {
5367 RAND_RANGE(rnd_idx, 0, n_left, PHP_RAND_MAX);
5368 if (rnd_idx != n_left) {
5369 temp = str[n_left];
5370 str[n_left] = str[rnd_idx];
H A Darray.c1742 int j, n_elems, rnd_idx, n_left; local
1752 n_left = n_elems;
1756 while (--n_left) {
1758 RAND_RANGE(rnd_idx, 0, n_left, PHP_RAND_MAX);
1759 if (rnd_idx != n_left) {
1760 temp = elems[n_left];
1761 elems[n_left] = elems[rnd_idx];

Completed in 17 milliseconds