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

/PHP_TRUNK/ext/standard/
H A Darray.c1879 uint32_t n_left; local
1888 n_left = n_elems;
1901 while (--n_left) {
1903 RAND_RANGE(rnd_idx, 0, n_left, PHP_RAND_MAX);
1904 if (rnd_idx != n_left) {
1905 temp = hash->arData[n_left];
1906 hash->arData[n_left] = hash->arData[rnd_idx];
1927 while (--n_left) {
1929 RAND_RANGE(rnd_idx, 0, n_left, PHP_RAND_MAX);
1930 if (rnd_idx != n_left) {
[all...]
H A Dstring.c5489 zend_long n_elems, rnd_idx, n_left; local
5499 n_left = n_elems;
5501 while (--n_left) {
5503 RAND_RANGE(rnd_idx, 0, n_left, PHP_RAND_MAX);
5504 if (rnd_idx != n_left) {
5505 temp = str[n_left];
5506 str[n_left] = str[rnd_idx];

Completed in 15 milliseconds