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

/PHP_TRUNK/ext/standard/
H A Dstring.c5436 zend_long n_elems, rnd_idx, n_left; local
5446 n_left = n_elems;
5448 while (--n_left) {
5450 RAND_RANGE(rnd_idx, 0, n_left, PHP_RAND_MAX);
5451 if (rnd_idx != n_left) {
5452 temp = str[n_left];
5453 str[n_left] = str[rnd_idx];
H A Darray.c1847 uint32_t n_left; local
1856 n_left = n_elems;
1869 while (--n_left) {
1871 RAND_RANGE(rnd_idx, 0, n_left, PHP_RAND_MAX);
1872 if (rnd_idx != n_left) {
1873 temp = hash->arData[n_left];
1874 hash->arData[n_left] = hash->arData[rnd_idx];
1895 while (--n_left) {
1897 RAND_RANGE(rnd_idx, 0, n_left, PHP_RAND_MAX);
1898 if (rnd_idx != n_left) {
[all...]

Completed in 13 milliseconds