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

/PHP_TRUNK/ext/standard/
H A Darray.c1792 int j, n_elems, rnd_idx, n_left; local
1801 n_left = n_elems;
1813 while (--n_left) {
1815 RAND_RANGE(rnd_idx, 0, n_left, PHP_RAND_MAX);
1816 if (rnd_idx != n_left) {
1817 temp = hash->arData[n_left];
1818 hash->arData[n_left] = hash->arData[rnd_idx];
H A Dstring.c5166 zend_long n_elems, rnd_idx, n_left; local
5176 n_left = n_elems;
5178 while (--n_left) {
5180 RAND_RANGE(rnd_idx, 0, n_left, PHP_RAND_MAX);
5181 if (rnd_idx != n_left) {
5182 temp = str[n_left];
5183 str[n_left] = str[rnd_idx];

Completed in 16 milliseconds