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

/PHP_TRUNK/ext/standard/
H A Darray.c1869 zend_long rnd_idx, n_left; local
1878 n_left = n_elems;
1890 while (--n_left) {
1892 RAND_RANGE(rnd_idx, 0, n_left, PHP_RAND_MAX);
1893 if (rnd_idx != n_left) {
1894 temp = hash->arData[n_left];
1895 hash->arData[n_left] = hash->arData[rnd_idx];
H A Dstring.c5460 zend_long n_elems, rnd_idx, n_left; local
5470 n_left = n_elems;
5472 while (--n_left) {
5474 RAND_RANGE(rnd_idx, 0, n_left, PHP_RAND_MAX);
5475 if (rnd_idx != n_left) {
5476 temp = str[n_left];
5477 str[n_left] = str[rnd_idx];

Completed in 17 milliseconds