Home
last modified time | relevance | path

Searched refs:count (Results 26 – 50 of 1039) sorted by relevance

12345678910>>...42

/php-src/Zend/
H A Dzend_ptr_stack.c37 ZEND_API void zend_ptr_stack_n_push(zend_ptr_stack *stack, int count, ...) in zend_ptr_stack_n_push() argument
42 ZEND_PTR_STACK_RESIZE_IF_NEEDED(stack, count) in zend_ptr_stack_n_push()
44 va_start(ptr, count); in zend_ptr_stack_n_push()
45 while (count>0) { in zend_ptr_stack_n_push()
49 count--; in zend_ptr_stack_n_push()
55 ZEND_API void zend_ptr_stack_n_pop(zend_ptr_stack *stack, int count, ...) in zend_ptr_stack_n_pop() argument
60 va_start(ptr, count); in zend_ptr_stack_n_pop()
61 while (count>0) { in zend_ptr_stack_n_pop()
65 count--; in zend_ptr_stack_n_pop()
/php-src/ext/spl/tests/
H A Dfixedarray_018.phpt2 SPL: FixedArray: overridden count()
6 var_dump(count($obj));
8 public function count(): int {
9 return -parent::count();
13 var_dump(count($obj));
H A Darray_012.phpt2 SPL: ArrayIterator::count
11 var_dump($it->count());
15 var_dump($it->count());
17 var_dump($it->count());
33 var_dump($it->count());
37 var_dump($it->count());
39 var_dump($it->count());
H A Darray_024.phpt2 SPL: ArrayObject with overridden count()
6 var_dump(count($obj));
8 public function count(): int {
9 return -parent::count();
13 var_dump(count($obj));
H A Ddllist_008.phpt2 SPL: SplDoublyLinkedList with overridden count()
8 var_dump(count($obj));
10 public function count(): int {
11 return -parent::count();
17 var_dump(count($obj));
H A Dheap_010.phpt2 SPL: SplHeap with overridden count()
8 var_dump(count($obj));
10 public function count(): int {
11 return -parent::count();
17 var_dump(count($obj));
/php-src/ext/standard/tests/strings/
H A Dstr_replace_variation3.phpt18 "aaabb", $count
21 var_dump($count);
28 var_dump($count);
61 var_dump($count);
66 var_dump($count);
73 var_dump($count);
81 var_dump($count);
90 var_dump($count);
93 var_dump($count);
125 var_dump( $count );
[all …]
H A Dchunk_split_variation13.phpt18 for($count = 0; $count < count($values); $count++) {
19 echo "-- Iteration $count --\n";
20 var_dump( chunk_split($values[$count]) );
/php-src/ext/ldap/tests/
H A Dldap_search_variation3.phpt43 ["count"]=>
49 ["count"]=>
54 ["count"]=>
63 ["count"]=>
68 ["count"]=>
77 ["count"]=>
82 ["count"]=>
93 ["count"]=>
99 ["count"]=>
104 ["count"]=>
H A Dldap_search_sort_controls.phpt85 ["count"]=>
91 ["count"]=>
98 ["count"]=>
107 ["count"]=>
114 ["count"]=>
123 ["count"]=>
130 ["count"]=>
154 ["count"]=>
160 ["count"]=>
167 ["count"]=>
[all …]
H A Dldap_search_variation2.phpt36 ["count"]=>
42 ["count"]=>
47 ["count"]=>
56 ["count"]=>
61 ["count"]=>
70 ["count"]=>
75 ["count"]=>
H A Dldap_search_variation5.phpt47 ["count"]=>
53 ["count"]=>
58 ["count"]=>
69 ["count"]=>
75 ["count"]=>
80 ["count"]=>
91 ["count"]=>
97 ["count"]=>
102 ["count"]=>
/php-src/ext/bcmath/libbcmath/src/
H A Ddoaddsub.c129 size_t borrow, count; in _bc_do_sub() local
151 for (count = n1->n_scale - min_scale; count > 0; count--) { in _bc_do_sub()
156 for (count = n2->n_scale - min_scale; count > 0; count--) { in _bc_do_sub()
169 for (count = 0; count < min_len + min_scale; count++) { in _bc_do_sub()
182 for (count = diff_len - min_len; count > 0; count--) { in _bc_do_sub()
/php-src/ext/standard/tests/array/
H A Dcount_symbol_table.phpt2 Test count() function : count on symbol table
10 $c1 = count($GLOBALS);
13 $c2 = count($GLOBALS);
17 $c1 = count($GLOBALS);
H A Darray_walk_variation3.phpt10 function print_value($value, $key, $count)
12 echo $count." : ".$key." ".$value."\n";
45 for($count = 0; $count < count($input_values); $count++) {
46 echo "\n-- Iteration ".($count + 1)." --\n";
47 var_dump( array_walk($input_values[$count], "print_value", $count+1));
H A Darray_walk_recursive_variation3.phpt10 function print_value($value, $key, $count)
12 echo $count." : ".$key." ".$value."\n";
45 for($count = 0; $count < count($input_values); $count++) {
46 echo "\n-- Iteration ".($count + 1)." --\n";
47 var_dump( array_walk_recursive($input_values[$count], "print_value", $count+1));
/php-src/ext/opcache/tests/jit/
H A Dgh12512_2.phpt11 $count = count($a);
12 if ($count == 0) {
20 $count = $a2[5];
22 for ($i = 0; $i < $count; $i++) {
24 for ($k = $i + 1; $k < $count; $k++) {
/php-src/ext/gd/libgd/
H A Dgd_color_match.c16 int count; in gdImageColorMatch() local
48 count = *(bp++); in gdImageColorMatch()
49 if( count > 0 ) { in gdImageColorMatch()
50 im2->red[color] = *(bp++) / count; in gdImageColorMatch()
51 im2->green[color] = *(bp++) / count; in gdImageColorMatch()
52 im2->blue[color] = *(bp++) / count; in gdImageColorMatch()
53 im2->alpha[color] = *(bp++) / count; in gdImageColorMatch()
/php-src/ext/dom/tests/
H A Dbug43364.phpt9 $count = 0;
12 $count++;
14 $count += loopElements($node->childNodes);
18 return $count;
37 $count = loopElements(array($doc->documentElement));
39 var_dump($count == 13 || $count == 11);
/php-src/ext/pdo_mysql/tests/
H A Dbug53551.phpt18 `count` BIGINT(20) UNSIGNED NOT NULL DEFAULT '0'
22 $db->exec("INSERT INTO bug53551 SET `count` = 1 ");
24 $sql = 'UPDATE bug53551 SET `count` = :count';
28 'count' => null,
50 …:execute(): SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'count' cannot be null in…
57 string(29) "Column 'count' cannot be null"
61 …:execute(): SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'count' cannot be null in…
68 string(29) "Column 'count' cannot be null"
/php-src/ext/intl/tests/
H A Dtimezone_createEnumeration_basic.phpt10 $count = count(iterator_to_array($tz));
11 var_dump($count > 300);
15 $count2 = count(iterator_to_array($tz));
16 var_dump($count == $count2);
/php-src/ext/random/tests/03_randomizer/methods/
H A DgetBytesFromString_fast_path.phpt36 $count = [];
39 $count[ord($b)] ??= 0;
40 $count[ord($b)]++;
45 var_dump(count($count));
62 $count = [];
66 $count[ord($b)]++;
71 var_dump(count($count));
85 $count = [];
88 $count[ord($b)] ??= 0;
89 $count[ord($b)]++;
[all …]
/php-src/Zend/tests/
H A D017.phpt12 var_dump(count(get_loaded_extensions()));
14 var_dump(count(get_loaded_extensions(true)));
20 var_dump(count(get_defined_constants()));
26 var_dump(count(get_defined_functions()));
29 var_dump(count(get_declared_interfaces()));
33 var_dump(count(get_extension_funcs("standard")));
35 var_dump(count(get_extension_funcs("zend")));
/php-src/ext/pcre/
H A Dphp_pcre.stub.php111 * @param int $count
115 …ern, string|array $replacement, string|array $subject, int $limit = -1, &$count = null): string|ar… argument
118 * @param int $count
121 …ern, string|array $replacement, string|array $subject, int $limit = -1, &$count = null): string|ar… argument
124 * @param int $count
127 …y $pattern, callable $callback, string|array $subject, int $limit = -1, &$count = null, int $flags… argument
129 /** @param int $count */
130 …_callback_array(array $pattern, string|array $subject, int $limit = -1, &$count = null, int $flags… argument
/php-src/ext/hash/
H A Dhash_ripemd.c89 context->count[0] = context->count[1] = 0; in PHP_RIPEMD128Init()
104 context->count[0] = context->count[1] = 0; in PHP_RIPEMD256Init()
123 context->count[0] = context->count[1] = 0; in PHP_RIPEMD160Init()
139 context->count[0] = context->count[1] = 0; in PHP_RIPEMD320Init()
282 context->count[1]++; in PHP_RIPEMD128Update()
284 context->count[1] += (uint32_t) (inputLen >> 29); in PHP_RIPEMD128Update()
381 context->count[1]++; in PHP_RIPEMD256Update()
383 context->count[1] += (uint32_t) (inputLen >> 29); in PHP_RIPEMD256Update()
481 context->count[1]++; in PHP_RIPEMD160Update()
483 context->count[1] += (uint32_t) (inputLen >> 29); in PHP_RIPEMD160Update()
[all …]

Completed in 32 milliseconds

12345678910>>...42