Searched refs:n_elems (Results 1 – 2 of 2) sorted by relevance
1777 int j, n_elems, rnd_idx, n_left; in php_array_data_shuffle() local1779 n_elems = zend_hash_num_elements(Z_ARRVAL_P(array)); in php_array_data_shuffle()1781 if (n_elems < 1) { in php_array_data_shuffle()1785 elems = (Bucket **)safe_emalloc(n_elems, sizeof(Bucket *), 0); in php_array_data_shuffle()1787 n_left = n_elems; in php_array_data_shuffle()1806 for (j = 0; j < n_elems; j++) { in php_array_data_shuffle()1821 hash->nNextFreeElement = n_elems; in php_array_data_shuffle()
5406 long n_elems, rnd_idx, n_left; local5410 n_elems = len;5412 if (n_elems <= 1) {5416 n_left = n_elems;
Completed in 27 milliseconds