Searched refs:rnd_idx (Results 1 – 2 of 2) sorted by relevance
/php-src/ext/standard/ |
H A D | array.c | 3219 int64_t idx, j, n_elems, rnd_idx, n_left; local 3259 rnd_idx = algo->range(state, 0, n_left); 3263 if (rnd_idx != n_left) { 3265 ZVAL_COPY_VALUE(&hash->arPacked[n_left], &hash->arPacked[rnd_idx]); 3266 ZVAL_COPY_VALUE(&hash->arPacked[rnd_idx], &temp); 3287 rnd_idx = algo->range(state, 0, n_left); 3291 if (rnd_idx != n_left) { 3293 ZVAL_COPY_VALUE(&hash->arPacked[n_left], &hash->arPacked[rnd_idx]); 3294 ZVAL_COPY_VALUE(&hash->arPacked[rnd_idx], &temp); 3295 zend_hash_iterators_update(hash, (uint32_t)rnd_idx, n_left);
|
H A D | string.c | 5961 int64_t n_elems, rnd_idx, n_left; local 5975 rnd_idx = algo->range(state, 0, n_left); 5979 if (rnd_idx != n_left) { 5981 str[n_left] = str[rnd_idx]; 5982 str[rnd_idx] = temp;
|
Completed in 34 milliseconds