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

/PHP_TRUNK/ext/standard/
H A Darray.c1789 int j, n_elems, rnd_idx, n_left; local
1798 n_left = n_elems;
1810 while (--n_left) {
1812 RAND_RANGE(rnd_idx, 0, n_left, PHP_RAND_MAX);
1813 if (rnd_idx != n_left) {
1814 temp = hash->arData[n_left];
1815 hash->arData[n_left] = hash->arData[rnd_idx];
H A Dstring.c5178 php_int_t n_elems, rnd_idx, n_left; local
5188 n_left = n_elems;
5190 while (--n_left) {
5192 RAND_RANGE(rnd_idx, 0, n_left, PHP_RAND_MAX);
5193 if (rnd_idx != n_left) {
5194 temp = str[n_left];
5195 str[n_left] = str[rnd_idx];

Completed in 16 milliseconds