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

/PHP_TRUNK/ext/standard/
H A Dstring.c5432 zend_long n_elems, rnd_idx, n_left; local
5442 n_left = n_elems;
5444 while (--n_left) {
5446 RAND_RANGE(rnd_idx, 0, n_left, PHP_RAND_MAX);
5447 if (rnd_idx != n_left) {
5448 temp = str[n_left];
5449 str[n_left] = str[rnd_idx];
H A Darray.c1874 uint32_t n_left; local
1883 n_left = n_elems;
1896 while (--n_left) {
1898 RAND_RANGE(rnd_idx, 0, n_left, PHP_RAND_MAX);
1899 if (rnd_idx != n_left) {
1900 temp = hash->arData[n_left];
1901 hash->arData[n_left] = hash->arData[rnd_idx];
1922 while (--n_left) {
1924 RAND_RANGE(rnd_idx, 0, n_left, PHP_RAND_MAX);
1925 if (rnd_idx != n_left) {
[all...]

Completed in 14 milliseconds