Home
last modified time | relevance | path

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

/PHP-8.2/ext/standard/
H A Darray.c2883 int64_t idx, j, n_elems, rnd_idx, n_left; local
2923 rnd_idx = algo->range(status, 0, n_left);
2927 if (rnd_idx != n_left) {
2929 ZVAL_COPY_VALUE(&hash->arPacked[n_left], &hash->arPacked[rnd_idx]);
2930 ZVAL_COPY_VALUE(&hash->arPacked[rnd_idx], &temp);
2951 rnd_idx = algo->range(status, 0, n_left);
2955 if (rnd_idx != n_left) {
2957 ZVAL_COPY_VALUE(&hash->arPacked[n_left], &hash->arPacked[rnd_idx]);
2958 ZVAL_COPY_VALUE(&hash->arPacked[rnd_idx], &temp);
2959 zend_hash_iterators_update(hash, (uint32_t)rnd_idx, n_left);
H A Dstring.c5717 int64_t n_elems, rnd_idx, n_left; local
5731 rnd_idx = algo->range(status, 0, n_left);
5735 if (rnd_idx != n_left) {
5737 str[n_left] = str[rnd_idx];
5738 str[rnd_idx] = temp;

Completed in 34 milliseconds