Searched refs:rnd_idx (Results 1 – 2 of 2) sorted by relevance
/php-src/ext/standard/ |
H A D | array.c | 3217 int64_t idx, j, n_elems, rnd_idx, n_left; local 3257 rnd_idx = algo->range(state, 0, n_left); 3261 if (rnd_idx != n_left) { 3263 ZVAL_COPY_VALUE(&hash->arPacked[n_left], &hash->arPacked[rnd_idx]); 3264 ZVAL_COPY_VALUE(&hash->arPacked[rnd_idx], &temp); 3285 rnd_idx = algo->range(state, 0, n_left); 3289 if (rnd_idx != n_left) { 3291 ZVAL_COPY_VALUE(&hash->arPacked[n_left], &hash->arPacked[rnd_idx]); 3292 ZVAL_COPY_VALUE(&hash->arPacked[rnd_idx], &temp); 3293 zend_hash_iterators_update(hash, (uint32_t)rnd_idx, n_left);
|
H A D | string.c | 5946 int64_t n_elems, rnd_idx, n_left; local 5960 rnd_idx = algo->range(state, 0, n_left); 5964 if (rnd_idx != n_left) { 5966 str[n_left] = str[rnd_idx]; 5967 str[rnd_idx] = temp;
|
Completed in 2230 milliseconds