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.c1210 int numelems; local
1216 numelems = zend_hash_num_elements(Z_ARRVAL_P(arr));
1218 if (numelems == 0) {
1220 } else if (numelems == 1) {
1227 strings = emalloc((sizeof(zend_long) + sizeof(zend_string *)) * numelems);
1234 ((zend_long *) (strings + numelems))[strptr - strings] = Z_LVAL_P(tmp);
1249 str = zend_string_alloc(len + (numelems - 1) * ZSTR_LEN(delim), 0);
1261 zend_long val = ((zend_long *) (strings + numelems))[strptr - strings];
1276 zend_print_long_to_buf(cptr, ((zend_long *) (strings + numelems))[strptr - strings]);

Completed in 11 milliseconds