Searched refs:numelems (Results 1 - 2 of 2) sorted by relevance

/PHP_TRUNK/ext/standard/html_tables/
H A Dhtml_table_gen.php740 $numelems = max(pow(2, ceil(log(1.5*count($origdp))/log(2))),16); variable
741 $mask = $numelems - 1;
755 for ($i = 0; $i < $numelems; $i++) {
775 for ($i = 0; $i < $numelems; $i++) {
788 ", sprintf("0x%X", $numelems), ",
/PHP_TRUNK/ext/standard/
H A Dstring.c1205 int numelems; local
1211 numelems = zend_hash_num_elements(Z_ARRVAL_P(arr));
1213 if (numelems == 0) {
1215 } else if (numelems == 1) {
1222 strings = emalloc((sizeof(zend_long) + sizeof(zend_string *)) * numelems);
1229 ((zend_long *) (strings + numelems))[strptr - strings] = Z_LVAL_P(tmp);
1244 str = zend_string_alloc(len + (numelems - 1) * ZSTR_LEN(delim), 0);
1256 zend_long val = ((zend_long *) (strings + numelems))[strptr - strings];
1271 zend_print_long_to_buf(cptr, ((zend_long *) (strings + numelems))[strptr - strings]);

Completed in 11 milliseconds