Lines Matching refs:n_left
3217 int64_t idx, j, n_elems, rnd_idx, n_left; local
3228 n_left = n_elems;
3256 while (--n_left) {
3257 rnd_idx = algo->range(state, 0, n_left);
3261 if (rnd_idx != n_left) {
3262 ZVAL_COPY_VALUE(&temp, &hash->arPacked[n_left]);
3263 ZVAL_COPY_VALUE(&hash->arPacked[n_left], &hash->arPacked[rnd_idx]);
3284 while (--n_left) {
3285 rnd_idx = algo->range(state, 0, n_left);
3289 if (rnd_idx != n_left) {
3290 ZVAL_COPY_VALUE(&temp, &hash->arPacked[n_left]);
3291 ZVAL_COPY_VALUE(&hash->arPacked[n_left], &hash->arPacked[rnd_idx]);
3293 zend_hash_iterators_update(hash, (uint32_t)rnd_idx, n_left);