Home
last modified time | relevance | path

Searched refs:count (Results 101 – 125 of 1307) sorted by relevance

12345678910>>...53

/PHP-7.3/ext/standard/tests/array/
H A Darray_filter_variation3.phpt42 for($count = 0; $count < count($input_values); $count++)
44 echo "-- Iteration ".($count + 1). " --\n";
45 var_dump( array_filter($input_values[$count]) );
46 var_dump( array_filter($input_values[$count], 'always_true') );
47 var_dump( array_filter($input_values[$count], 'always_false') );
/PHP-7.3/ext/dba/libcdb/
H A Dcdb_make.c145 uint32 count; in cdb_make_finish() local
151 c->count[i] = 0; in cdb_make_finish()
156 ++c->count[255 & x->hp[i].h]; in cdb_make_finish()
161 u = c->count[i] * 2; in cdb_make_finish()
182 u += c->count[i]; /* bounded by numentries, so no overflow */ in cdb_make_finish()
193 count = c->count[i]; in cdb_make_finish()
195 len = count + count; /* no overflow possible */ in cdb_make_finish()
203 for (u = 0;u < count;++u) { in cdb_make_finish()
/PHP-7.3/ext/standard/tests/strings/
H A Dstrncasecmp_variation2.phpt21 $count = 1;
22 for($index1 = 0; $index1 < count($strings); $index1++) {
23 echo "-- Iteration $count --\n";
24 for($index2 = 0; $index2 < count($strings); $index2++) {
27 $count ++;
H A Dstrncmp_variation2.phpt21 $count = 1;
22 for($index1 = 0; $index1 < count($strings); $index1++) {
23 echo "-- Iteration $count --\n";
24 for($index2 = 0; $index2 < count($strings); $index2++) {
27 $count ++;
H A Dstr_ireplace.phpt12 var_dump(str_ireplace("tt", "a", "ttttTttttttttTT", $count));
13 var_dump($count);
16 var_dump(str_ireplace("tt", "aa", "ttttTttttttttTT", $count));
17 var_dump($count);
20 var_dump(str_ireplace("tt", "aaa", "ttttTttttttttTT", $count));
21 var_dump($count);
24 var_dump(str_ireplace("tt", "aaa", "ttttTttttttttTT", $count));
25 var_dump($count);
/PHP-7.3/ext/standard/tests/serialize/
H A Dbug37947.phpt8 function extend_zend_ptr_stack($count,$a,$b,$c,$d,$e) {
9 if ($count>0) $this->extend_zend_ptr_stack($count -
/PHP-7.3/ext/sysvsem/
H A Dsysvsem.c145 if (sem_ptr->count == -1 || !sem_ptr->auto_release) {
157 if (sem_ptr->count) {
160 sop[1].sem_op = sem_ptr->count;
203 int count; in PHP_FUNCTION() local
256 count = semctl(semid, SYSVSEM_USAGE, GETVAL, NULL); in PHP_FUNCTION()
257 if (count == -1) { in PHP_FUNCTION()
263 if (count == 1) { in PHP_FUNCTION()
299 sem_ptr->count = 0; in PHP_FUNCTION()
330 if (!acquire && sem_ptr->count == 0) { in php_sysvsem_semop()
348 sem_ptr->count -= acquire ? -1 : 1; in php_sysvsem_semop()
[all …]
/PHP-7.3/ext/intl/tests/
H A Dtimezone_createEnumeration_variation1.phpt12 $count = count(iterator_to_array($tz));
13 var_dump($count > 20);
H A Dtimezone_createEnumeration_variation2.phpt12 $count = count(iterator_to_array($tz));
13 var_dump($count >= 1);
H A Dtimezone_createTimeZoneIDEnumeration_variant2.phpt14 $countAny = count(iterator_to_array($enum));
17 $countCanonical = count(iterator_to_array($enum));
20 $countCanonicalLocation = count(iterator_to_array($enum));
27 $countAny2 = count(iterator_to_array($enum));
/PHP-7.3/tests/classes/
H A Dfactory_and_singleton_002.phpt45 static public function count() {
52 var_dump(test::count());
58 var_dump(test::count());
65 var_dump(test::count());
71 var_dump(test::count());
76 //var_dump(test::count());
/PHP-7.3/ext/spl/tests/
H A Dfixedarray_021.phpt6 /* empty count */
9 var_dump(count($a));
10 var_dump($a->count());
35 var_dump(count($a));
36 var_dump($a->count());
H A DSplFixedArray_toArray_with-params.phpt15 // Test count() returns correct error when parameters are passed.
16 $fixedArray->count(1);
19 Warning: SplFixedArray::count() expects exactly 0 parameters, %d given in %s on line %d
H A Dobserver_008.phpt21 var_dump($a->count());
24 var_dump($a->count());
27 var_dump($a->count());
/PHP-7.3/ext/ldap/tests/
H A Dldap_read_basic.phpt34 ["count"]=>
40 ["count"]=>
51 ["count"]=>
58 ["count"]=>
H A Dldap_rename_basic.phpt34 ["count"]=>
40 ["count"]=>
49 ["count"]=>
56 ["count"]=>
/PHP-7.3/ext/dom/
H A Dnamednodemap.c78 PHP_FALIAS(count, dom_namednodemap_count, arginfo_dom_namednodemap_count)
93 int count = 0; in dom_namednodemap_length_read() local
101 count = xmlHashSize(objmap->ht); in dom_namednodemap_length_read()
108 count++; in dom_namednodemap_length_read()
110 count++; in dom_namednodemap_length_read()
118 ZVAL_LONG(retval, count); in dom_namednodemap_length_read()
213 int count; in PHP_FUNCTION() local
242 count = 0; in PHP_FUNCTION()
243 while (count < index && curnode != NULL) { in PHP_FUNCTION()
244 count++; in PHP_FUNCTION()
/PHP-7.3/ext/opcache/tests/
H A Dbug79412.phpt12 $count = 0;
14 ++$count;
15 if ($count >= $limitPerRun) {
/PHP-7.3/ext/pcre/
H A Dphp_pcre.c1136 if (count >= 0) { in php_pcre_match_impl()
1140 count = num_subpats; in php_pcre_match_impl()
1346 if (count >= 0) { in php_pcre_match_impl()
1631 count = num_subpats; in php_pcre_replace_impl()
1668 if (backref < count) in php_pcre_replace_impl()
1887 count = num_subpats; in php_pcre_replace_func_impl()
2557 if (count >= 0) { in php_pcre_split_impl()
2561 count = num_subpats; in php_pcre_split_impl()
2617 if (count >= 0) { in php_pcre_split_impl()
2899 if (count >= 0) { in php_pcre_grep_impl()
[all …]
/PHP-7.3/ext/standard/tests/streams/
H A Dbug46024.phpt22 var_dump($ret === (count($r) + count($w)));
29 var_dump($ret === (count($r) + count($w)));
/PHP-7.3/Zend/tests/
H A Dforeach_003.phpt7 private $count = 0;
10 function __construct($count, $trap = null) {
11 $this->count = $count;
22 function valid() {$this->trap(__FUNCTION__); return $this->n < $this->count;}
/PHP-7.3/ext/simplexml/tests/
H A D029.phpt2 SimpleXML: foreach and count
24 var_dump(count($people));
25 var_dump(count($person));
/PHP-7.3/ext/dom/tests/
H A DDOMNamedNodeMap_count.phpt2 Test count nodes in DOMNamedNodeMap
21 var_dump($root->attributes->count());
22 var_dump(count($root->attributes));
H A DDomNodeList_count.phpt2 Test count nodes in DOMNodeList
21 var_dump($root->childNodes->count());
22 var_dump(count($root->childNodes));
/PHP-7.3/Zend/
H A Dzend_llist.c28 l->count = 0; in zend_llist_init()
48 ++l->count; in zend_llist_add_element()
66 ++l->count; in zend_llist_prepend_element()
85 --l->count;
115 l->count = 0; in zend_llist_destroy()
140 --l->count; in zend_llist_remove_tail()
201 if (l->count == 0) { in zend_llist_sort()
205 elements = (zend_llist_element **) emalloc(l->count * sizeof(zend_llist_element *)); in zend_llist_sort()
213 zend_sort(elements, l->count, sizeof(zend_llist_element *), in zend_llist_sort()
219 for (i = 1; i < l->count; i++) { in zend_llist_sort()
[all …]

Completed in 47 milliseconds

12345678910>>...53