/php-src/ext/bcmath/libbcmath/src/ |
H A D | round.c | 126 size_t count = num->n_len + num->n_scale - rounded_len - 1; in bc_round() local 128 while ((count > 0) && (*nptr == 0)) { in bc_round() 129 count--; in bc_round() 133 if (count > 0) { in bc_round()
|
/php-src/tests/lang/ |
H A D | bug24908.phpt | 9 if (count($_SERVER)) echo "O"; 12 if (count($_SERVER)) echo "K\n";
|
/php-src/ext/spl/tests/ |
H A D | spl_iterator_caching_count_basic.phpt | 2 SPL: Caching iterator count() cache contents 11 echo $i->count()."\n";
|
H A D | dllist_004.phpt | 36 echo count($stack)."\n"; 37 echo $stack->count()."\n"; 45 echo count($stack)."\n";
|
H A D | dllist_005.phpt | 36 echo count($queue)."\n"; 37 echo $queue->count()."\n"; 45 echo count($queue)."\n";
|
H A D | bug67360.phpt | 10 var_dump(count($Iterator) === count($array));
|
H A D | spl_iterator_caching_count_error.phpt | 2 SPL: Caching iterator count() cache failure 11 $i->count();
|
/php-src/ext/hash/ |
H A D | hash_snefru.c | 140 if ((MAX32 - context->count[1]) < (len * 8)) { in PHP_SNEFRUUpdate() 141 context->count[0]++; in PHP_SNEFRUUpdate() 142 context->count[1] = MAX32 - context->count[1]; in PHP_SNEFRUUpdate() 143 context->count[1] = ((uint32_t) len * 8) - context->count[1]; in PHP_SNEFRUUpdate() 145 context->count[1] += (uint32_t) len * 8; in PHP_SNEFRUUpdate() 178 context->state[14] = context->count[0]; in PHP_SNEFRUFinal() 179 context->state[15] = context->count[1]; in PHP_SNEFRUFinal()
|
/php-src/ext/standard/tests/array/ |
H A D | bug30833.phpt | 9 $count = array_count_values( $foo ); 10 var_dump($count);
|
H A D | bug43505.phpt | 9 public function count() { 20 $t = count($obj);
|
/php-src/ext/zlib/tests/ |
H A D | gzgetc_basic_1.phpt | 22 $count = 0; 24 $count++; 28 echo "\ncharacters counted=$count\n";
|
H A D | gzgetc_basic.phpt | 22 $count = 0; 24 $count++; 28 echo "\ncharacters counted=$count\n";
|
/php-src/ext/ldap/tests/ |
H A D | ldap_search_variation4.phpt | 39 ["count"]=> 45 ["count"]=> 50 ["count"]=>
|
/php-src/Zend/tests/ |
H A D | bug81076.phpt | 2 Bug #81076 Invalid implicit binds cause incorrect static var count in closure debug info 5 var_dump(fn() => [$why, $do, $we, $count]);
|
/php-src/ext/tokenizer/tests/ |
H A D | token_get_all_variation2.phpt | 22 for($count = 0; $count < count($source); $count++) { 23 echo "-- Iteration ".($count + 1)." --\n"; 24 var_dump( token_get_all($source[$count]));
|
/php-src/ext/pdo_pgsql/tests/ |
H A D | getnotify.phpt | 33 var_dump(count($notify)); 41 var_dump(count($notify)); 48 var_dump(count($notify)); 55 var_dump(count($notify)); 62 var_dump(count($notify)); 85 var_dump(count($notify));
|
/php-src/ext/standard/tests/general_functions/ |
H A D | is_countable_with_classes.phpt | 10 public function count(): int 12 return count(1, 'foo');
|
/php-src/ext/date/lib/ |
H A D | parse_posix.c | 517 transitions->times[transitions->count ] = trans_begin; in timelib_get_transitions_for_year() 518 transitions->times[transitions->count+1] = trans_end; in timelib_get_transitions_for_year() 519 transitions->types[transitions->count ] = tz->posix_info->type_index_dst_type; in timelib_get_transitions_for_year() 520 transitions->types[transitions->count+1] = tz->posix_info->type_index_std_type; in timelib_get_transitions_for_year() 522 transitions->times[transitions->count+1] = trans_begin; in timelib_get_transitions_for_year() 523 transitions->times[transitions->count ] = trans_end; in timelib_get_transitions_for_year() 524 transitions->types[transitions->count+1] = tz->posix_info->type_index_dst_type; in timelib_get_transitions_for_year() 525 transitions->types[transitions->count ] = tz->posix_info->type_index_std_type; in timelib_get_transitions_for_year() 528 transitions->count += 2; in timelib_get_transitions_for_year() 557 for (i = 1; i < transitions.count; i++) { in timelib_fetch_posix_timezone_offset()
|
/php-src/ext/standard/tests/strings/ |
H A D | strtr_variation1.phpt | 12 $count = 1; 38 for($index = 0; $index < count($str_arr); $index++) { 39 echo "-- Iteration $count --\n"; 49 $count++;
|
H A D | strtr_variation2.phpt | 13 $count = 1; 42 for($index = 0; $index < count($str_arr); $index++) { 43 echo "-- Iteration $count --\n"; 53 $count++;
|
H A D | get_html_translation_table_basic8.phpt | 11 var_dump( count($tt) ); 17 var_dump( count($tt) ); 22 var_dump( count($tt) ); 28 var_dump( count($tt) );
|
/php-src/ext/opcache/jit/ir/ |
H A D | ir_strtab.c | 58 memcpy(strtab->data, old_data, strtab->count * sizeof(ir_strtab_bucket)); in ir_strtab_resize() 61 i = strtab->count; in ir_strtab_resize() 86 for (i = strtab->count; i > 0; i--) { in ir_strtab_grow_buf() 102 strtab->count = 0; in ir_strtab_init() 153 if (UNEXPECTED(strtab->count >= strtab->size)) { in ir_strtab_lookup() 171 strtab->count++; in ir_strtab_lookup() 204 IR_ASSERT(idx >= 0 && (uint32_t)idx < strtab->count); in ir_strtab_str() 211 IR_ASSERT(idx >= 0 && (uint32_t)idx < strtab->count); in ir_strtab_strl() 232 for (i = 0; i < strtab->count; i++) { in ir_strtab_apply()
|
/php-src/ext/opcache/ |
H A D | zend_accelerator_util_funcs.h | 33 void zend_accel_move_user_functions(HashTable *str, uint32_t count, zend_script *script); 34 void zend_accel_move_user_classes(HashTable *str, uint32_t count, zend_script *script);
|
/php-src/ext/phar/tests/ |
H A D | bug77322.phpt | 9 var_dump($zip->count()); 13 var_dump($tar->count());
|
/php-src/ext/standard/tests/filters/ |
H A D | bug81302.phpt | 13 $count = strlen(fread($f, 1024)); 15 var_dump($count === $pos);
|