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

/PHP_TRUNK/ext/standard/
H A Dstring.c5486 zend_long n_elems, rnd_idx, n_left; local
5499 rnd_idx = php_rand();
5500 RAND_RANGE(rnd_idx, 0, n_left, PHP_RAND_MAX);
5501 if (rnd_idx != n_left) {
5503 str[n_left] = str[rnd_idx];
5504 str[rnd_idx] = temp;
H A Darray.c1877 zend_long rnd_idx; local
1901 rnd_idx = php_rand();
1902 RAND_RANGE(rnd_idx, 0, n_left, PHP_RAND_MAX);
1903 if (rnd_idx != n_left) {
1905 hash->arData[n_left] = hash->arData[rnd_idx];
1906 hash->arData[rnd_idx] = temp;
1927 rnd_idx = php_rand();
1928 RAND_RANGE(rnd_idx, 0, n_left, PHP_RAND_MAX);
1929 if (rnd_idx != n_left) {
1931 hash->arData[n_left] = hash->arData[rnd_idx];
[all...]

Completed in 13 milliseconds