/PHP-8.2/ext/dba/libcdb/ |
H A D | cdb_make.c | 143 uint32 count; in cdb_make_finish() local 149 c->count[i] = 0; in cdb_make_finish() 154 ++c->count[255 & x->hp[i].h]; in cdb_make_finish() 159 u = c->count[i] * 2; in cdb_make_finish() 180 u += c->count[i]; /* bounded by numentries, so no overflow */ in cdb_make_finish() 191 count = c->count[i]; in cdb_make_finish() 193 len = count + count; /* no overflow possible */ in cdb_make_finish() 201 for (u = 0;u < count;++u) { in cdb_make_finish()
|
/PHP-8.2/ext/ldap/tests/ |
H A D | ldap_read_basic.phpt | 35 ["count"]=> 41 ["count"]=> 52 ["count"]=> 59 ["count"]=>
|
H A D | ldap_rename_basic.phpt | 34 ["count"]=> 40 ["count"]=> 49 ["count"]=> 56 ["count"]=>
|
/PHP-8.2/ext/sysvsem/ |
H A D | sysvsem.c | 122 if (sem_ptr->count == -1 || !sem_ptr->auto_release) { in sysvsem_free_obj() 134 if (sem_ptr->count) { in sysvsem_free_obj() 137 sop[1].sem_op = sem_ptr->count; in sysvsem_free_obj() 189 int count; in PHP_FUNCTION() local 242 count = semctl(semid, SYSVSEM_USAGE, GETVAL, NULL); in PHP_FUNCTION() 243 if (count == -1) { in PHP_FUNCTION() 249 if (count == 1) { in PHP_FUNCTION() 287 sem_ptr->count = 0; in PHP_FUNCTION() 312 if (!acquire && sem_ptr->count == 0) { in php_sysvsem_semop() 330 sem_ptr->count -= acquire ? -1 : 1; in php_sysvsem_semop() [all …]
|
/PHP-8.2/ext/standard/tests/serialize/ |
H A D | bug37947.phpt | 8 function extend_zend_ptr_stack($count,$a,$b,$c,$d,$e) { 9 if ($count>0) $this->extend_zend_ptr_stack($count -
|
/PHP-8.2/ext/gettext/ |
H A D | gettext.c | 203 zend_long count; in PHP_FUNCTION() local 205 …arameters(ZEND_NUM_ARGS(), "ssl", &msgid1, &msgid1_len, &msgid2, &msgid2_len, &count) == FAILURE) { in PHP_FUNCTION() 212 msgstr = ngettext(msgid1, msgid2, count); in PHP_FUNCTION() 226 zend_long count; in PHP_FUNCTION() local 229 &msgid1, &msgid1_len, &msgid2, &msgid2_len, &count) == FAILURE) { in PHP_FUNCTION() 237 msgstr = dngettext(domain, msgid1, msgid2, count); in PHP_FUNCTION() 251 zend_long count, category; in PHP_FUNCTION() local 256 &msgid1, &msgid1_len, &msgid2, &msgid2_len, &count, &category) == FAILURE) { in PHP_FUNCTION() 264 msgstr = dcngettext(domain, msgid1, msgid2, count, category); in PHP_FUNCTION()
|
/PHP-8.2/ext/opcache/jit/ir/ |
H A D | gen_ir_fold_hash.c | 20 void print_hash(uint32_t *mask, uint32_t count) in print_hash() argument 24 printf("static const uint32_t _ir_fold_hash[%d] = {\n", count); in print_hash() 25 for (i = 0; i < count; i++) { in print_hash() 47 int find_hash(uint32_t *mask, uint32_t count) in find_hash() argument 52 for (n = (count | 1); n < MAX_SLOTS; n += 2) { in find_hash() 56 for (i = 0; i < count; i++) { in find_hash() 61 if (i == count) { in find_hash() 68 for (i = 0; i < count; i++) { in find_hash() 73 if (i == count) { in find_hash()
|
/PHP-8.2/tests/classes/ |
H A D | factory_and_singleton_002.phpt | 45 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-8.2/ext/standard/tests/strings/ |
H A D | str_split_variation7.phpt | 27 for($count = 0; $count < count($values); $count++) { 28 echo "-- Iteration ".($count + 1)." --\n"; 31 var_dump( str_split($str, $values[$count]) );
|
H A D | strtok_variation7.phpt | 18 for( $count = 1; $count <=6; $count++ ) { 19 echo "\n-- Token $count is --\n"; 28 for( $count = 1; $count <=10; $count++ ) { 29 echo "\n-- Token $count is --\n";
|
/PHP-8.2/ext/dom/tests/ |
H A D | domxpath.phpt | 10 $count = 0; 13 $count++; 17 return $val/$count; 37 $count = $xpath->evaluate("count(//def:child)"); 39 var_dump($count);
|
H A D | DOMNamedNodeMap_count.phpt | 2 Test count nodes in DOMNamedNodeMap 21 var_dump($root->attributes->count()); 22 var_dump(count($root->attributes));
|
H A D | DomNodeList_count.phpt | 2 Test count nodes in DOMNodeList 21 var_dump($root->childNodes->count()); 22 var_dump(count($root->childNodes));
|
/PHP-8.2/ext/spl/tests/ |
H A D | fixedarray_021.phpt | 6 /* empty count */ 9 var_dump(count($a)); 10 var_dump($a->count()); 35 var_dump(count($a)); 36 var_dump($a->count());
|
H A D | observer_008.phpt | 21 var_dump($a->count()); 24 var_dump($a->count()); 27 var_dump($a->count());
|
/PHP-8.2/ext/simplexml/tests/ |
H A D | 029.phpt | 2 SimpleXML: foreach and count 24 var_dump(count($people)); 25 var_dump(count($person));
|
/PHP-8.2/ext/spl/ |
H A D | spl_heap.c | 54 int count; member 262 heap->count = 0; in spl_ptr_heap_init() 285 heap->count++; in spl_ptr_heap_insert() 297 if (heap->count == 0) { in spl_ptr_heap_top() 310 if (heap->count == 0) { in spl_ptr_heap_delete_top() 359 heap->count = from->count; in spl_ptr_heap_clone() 392 return heap->count; in spl_ptr_heap_count() 498 *count = 0; in spl_heap_object_count_elements() 577 PHP_METHOD(SplHeap, count) in PHP_METHOD() argument 579 zend_long count; in PHP_METHOD() local [all …]
|
/PHP-8.2/ext/pcre/ |
H A D | php_pcre.c | 1260 if (count >= 0) { in php_pcre_match_impl() 1264 count = num_subpats; in php_pcre_match_impl() 1360 if (count >= 0) { in php_pcre_match_impl() 1665 count = num_subpats; in php_pcre_replace_impl() 1700 if (backref < count) in php_pcre_replace_impl() 1914 if (count >= 0 && limit) { in php_pcre_replace_func_impl() 1918 count = num_subpats; in php_pcre_replace_func_impl() 2623 if (count >= 0) { in php_pcre_split_impl() 2627 count = num_subpats; in php_pcre_split_impl() 2683 if (count >= 0) { in php_pcre_split_impl() [all …]
|
/PHP-8.2/ext/mbstring/tests/ |
H A D | bug43840.phpt | 2 Test mb_strpos() function : mb_strpos bounds check is byte count rather than a character count 8 * mb_strpos bounds check is byte count rather than a character count: 11 * byte count of the string. Should return error message when passed character count.
|
/PHP-8.2/ext/opcache/tests/ |
H A D | bug79412.phpt | 12 $count = 0; 14 ++$count; 15 if ($count >= $limitPerRun) {
|
/PHP-8.2/Zend/tests/ |
H A D | foreach_003.phpt | 7 private $count = 0; 10 function __construct($count, $trap = null) { 11 $this->count = $count; 22 function valid(): bool {$this->trap(__FUNCTION__); return $this->n < $this->count;}
|
/PHP-8.2/ext/sqlite3/tests/ |
H A D | sqlite3stmt_paramCount_basic.phpt | 30 echo 'Param count for query ' . ($key + 1) . ":\n"; 49 Param count for query 1: 51 Param count for query 2: 53 Param count for query 3: 55 Param count for query 4:
|
/PHP-8.2/ext/standard/tests/general_functions/ |
H A D | is_countable_with_variables.phpt | 14 var_dump(count($foo)); 20 count($bar); 31 count(): Argument #1 ($value) must be of type Countable|array, null given
|
/PHP-8.2/ext/pdo_sqlite/ |
H A D | pdo_sqlite.c | 136 static ssize_t php_pdosqlite3_stream_write(php_stream *stream, const char *buf, size_t count) in php_pdosqlite3_stream_write() argument 145 if (sqlite3_stream->position + count > sqlite3_stream->size) { in php_pdosqlite3_stream_write() 154 if (sqlite3_stream->position + count >= sqlite3_stream->size) { in php_pdosqlite3_stream_write() 159 sqlite3_stream->position += count; in php_pdosqlite3_stream_write() 162 return count; in php_pdosqlite3_stream_write() 165 static ssize_t php_pdosqlite3_stream_read(php_stream *stream, char *buf, size_t count) in php_pdosqlite3_stream_read() argument 169 if (sqlite3_stream->position + count >= sqlite3_stream->size) { in php_pdosqlite3_stream_read() 170 count = sqlite3_stream->size - sqlite3_stream->position; in php_pdosqlite3_stream_read() 173 if (count) { in php_pdosqlite3_stream_read() 177 sqlite3_stream->position += count; in php_pdosqlite3_stream_read() [all …]
|
/PHP-8.2/Zend/ |
H A D | zend_llist.c | 28 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; 117 l->count = 0; in zend_llist_destroy() 142 --l->count; in zend_llist_remove_tail() 203 if (l->count == 0) { in zend_llist_sort() 207 elements = (zend_llist_element **) emalloc(l->count * sizeof(zend_llist_element *)); in zend_llist_sort() 215 zend_sort(elements, l->count, sizeof(zend_llist_element *), in zend_llist_sort() 221 for (i = 1; i < l->count; i++) { in zend_llist_sort() [all …]
|