Lines Matching refs:n_left
3218 int64_t idx, j, n_elems, rnd_idx, n_left; local
3229 n_left = n_elems;
3257 while (--n_left) {
3258 rnd_idx = algo->range(state, 0, n_left);
3262 if (rnd_idx != n_left) {
3263 ZVAL_COPY_VALUE(&temp, &hash->arPacked[n_left]);
3264 ZVAL_COPY_VALUE(&hash->arPacked[n_left], &hash->arPacked[rnd_idx]);
3285 while (--n_left) {
3286 rnd_idx = algo->range(state, 0, n_left);
3290 if (rnd_idx != n_left) {
3291 ZVAL_COPY_VALUE(&temp, &hash->arPacked[n_left]);
3292 ZVAL_COPY_VALUE(&hash->arPacked[n_left], &hash->arPacked[rnd_idx]);
3294 zend_hash_iterators_update(hash, (uint32_t)rnd_idx, n_left);