Home
last modified time | relevance | path

Searched refs:cnt (Results 26 – 50 of 59) sorted by relevance

123

/PHP-8.1/ext/mbstring/tests/
H A Dmb_str_split_ru.phpt34 $cnt = count(mb_str_split($enc,$i,$cs));
35 if($ceil != $cnt){
36 echo "$cs WRONG CHUNKS NUMBER: expected/actual: $ceil/$cnt\n";
H A Dmb_str_split_jp.phpt34 $cnt = count(mb_str_split($enc,$i,$cs));
35 if($ceil != $cnt){
36 echo "$cs WRONG CHUNKS NUMBER: expected/actual: $ceil/$cnt\n";
/PHP-8.1/ext/mysqli/tests/
H A D067.phpt52 $cnt = 0;
56 $cnt += $a[0] + $a[1] + $a[2];
64 var_dump($cnt);
/PHP-8.1/ext/gd/libgd/
H A Dwbmp.c66 int cnt, l, accu; in putmbi() local
69 cnt = 0; in putmbi()
72 accu += i & 0x7f << 7 * cnt++; in putmbi()
75 for (l = cnt - 1; l > 0; l--) in putmbi()
/PHP-8.1/Zend/tests/
H A Dbug43201.phpt18 for($cnt=0;$cnt<6;$cnt++) {
20 $c->arr[$cnt]["k2"] = $ref;
/PHP-8.1/ext/hash/murmur/
H A DPMurHash.c106 #define dobytes(cnt, h1, c, n, ptr, len) \ argument
108 unsigned __cnt = cnt;\
H A DPMurHash128.c143 #define dobytes128x86(cnt, h1, h2, h3, h4, k1, k2, k3, k4, n, ptr, len)\ argument
145 unsigned __cnt = cnt;\
459 #define dobytes128x64(cnt, h1, h2, k1, k2, n, ptr, len) \ argument
461 unsigned __cnt = cnt;\
/PHP-8.1/ext/oci8/tests/
H A Drefcur_prefetch_2.phpt97 $cnt = (print_roundtrips($c) - $initial_rt);
98 echo "Number of roundtrips made with prefetch count 0 for 5 rows is $cnt\n";
106 $cnt = (print_roundtrips($c) - $initial_rt );
107 echo "Number of roundtrips made with prefetch count 5 for 5 rows is $cnt\n";
H A Drefcur_prefetch_3.phpt67 $cnt = (print_roundtrips($c) - $initial_rt);
68 echo "Number of roundtrips made with prefetch count 5 for 10 rows is $cnt\n";
/PHP-8.1/tests/classes/
H A Darray_access_003.phpt30 $this->cnt = $newval;
H A Darray_access_004.phpt28 $this->cnt = $newval;
/PHP-8.1/ext/iconv/
H A Diconv.c562 size_t cnt; in _php_iconv_strlen() local
581 for (in_p = str, in_left = nbytes, cnt = 0; more;) { in _php_iconv_strlen()
607 *pretval = cnt; in _php_iconv_strlen()
638 size_t cnt; in _php_iconv_substr() local
688 for (in_p = str, in_left = nbytes, cnt = 0; more; ++cnt) { in _php_iconv_substr()
699 if ((zend_long)cnt >= offset) { in _php_iconv_substr()
771 size_t cnt; in _php_iconv_strpos() local
810 for (in_p = haystk, in_left = haystk_nbytes, cnt = 0; more; ++cnt) { in _php_iconv_strpos()
838 if (cnt >= offset) { in _php_iconv_strpos()
841 match_ofs = cnt; in _php_iconv_strpos()
[all …]
/PHP-8.1/ext/intl/tests/
H A Dlocale_compose_locale.phpt106 $cnt = 0;
110 $res_str .= "\nInput Array name is : loc".(++$cnt) ;
/PHP-8.1/ext/fileinfo/libmagic/
H A Dcompress.c397 ssize_t cnt; in sread() local
398 for (cnt = 0;; cnt++) { in sread()
414 } else if (selrv == 0 && cnt >= 5) { in sread()
H A Dapprentice.c1865 size_t cnt = me->max_count + ALLOC_CHUNK; in parse() local
1867 sizeof(*nm) * cnt))) == NULL) { in parse()
1868 file_oomem(ms, sizeof(*nm) * cnt); in parse()
1872 me->max_count = CAST(uint32_t, cnt); in parse()
2389 size_t len, cnt; in check_format_type() local
2432 for (len = cnt = 0; isdigit(CAST(unsigned char, *ptr)); ptr++, cnt++) \ in check_format_type()
2434 if (cnt > 5 || len > 1024) \ in check_format_type()
/PHP-8.1/ext/simplexml/
H A Dsimplexml.c104 …element_by_offset(php_sxe_object *sxe, zend_long offset, xmlNodePtr node, zend_long *cnt) /* {{{ */ in sxe_get_element_by_offset() argument
110 if (cnt) { in sxe_get_element_by_offset()
111 *cnt = 0; in sxe_get_element_by_offset()
133 if (cnt) { in sxe_get_element_by_offset()
134 *cnt = nodendx; in sxe_get_element_by_offset()
302 zend_long cnt = 0; in sxe_prop_dim_read() local
313 node = sxe_get_element_by_offset(sxe, Z_LVAL_P(member), node, &cnt); in sxe_prop_dim_read()
320 if (member && cnt < Z_LVAL_P(member)) { in sxe_prop_dim_read()
388 zend_long cnt = 0; in sxe_prop_dim_write() local
541 newnode = sxe_get_element_by_offset(sxe, Z_LVAL_P(member), node, &cnt); in sxe_prop_dim_write()
[all …]
/PHP-8.1/ext/standard/
H A Dproc_open.c150 uint32_t cnt = zend_hash_num_elements(Z_ARRVAL_P(environment)); in _php_array_to_envp() local
152 if (cnt < 1) { in _php_array_to_envp()
161 zend_hash_init(env_hash, cnt, NULL, NULL, 0); in _php_array_to_envp()
183 ep = env.envarray = (char **) ecalloc(cnt + 1, sizeof(char *)); in _php_array_to_envp()
H A Dstreamsfuncs.c627 int cnt = 0; in stream_array_to_fd_set() local
656 cnt++; in stream_array_to_fd_set()
659 return cnt ? 1 : 0; in stream_array_to_fd_set()
/PHP-8.1/ext/mysqlnd/
H A Dmysqlnd_connection.c2104 unsigned int cnt = 0; local
2111 cnt++;
2115 if (cnt) {
2116 MYSQLND **ret_p = ret = ecalloc(cnt + 1, sizeof(MYSQLND *));
2143 unsigned int cnt = 0; local
2165 ++cnt;
2169 DBG_RETURN(cnt ? 1 : 0);
/PHP-8.1/sapi/litespeed/
H A Dlsapilib.h395 int LSAPI_Inc_Req_Processed(int cnt);
/PHP-8.1/ext/intl/locale/
H A Dlocale_methods.c992 int cnt = 0; in add_array_entry() local
999 sprintf( cur_key_name , "%s%d", key_name , cnt++); in add_array_entry()
1003 sprintf( cur_key_name , "%s%d", key_name , cnt++); in add_array_entry()
/PHP-8.1/Zend/
H A Dzend_inheritance.c2300 …ai.afn[idx] && ai.afn[idx + 1] ? ", " : (ai.afn[idx] && ai.cnt > MAX_ABSTRACT_INFO_CNT ? ", ..." :…
2304 int cnt; member
2309 if (ai->cnt < MAX_ABSTRACT_INFO_CNT) { in zend_verify_abstract_class_function()
2310 ai->afn[ai->cnt] = fn; in zend_verify_abstract_class_function()
2312 ai->cnt++; in zend_verify_abstract_class_function()
2333 if (ai.cnt) { in zend_verify_abstract_class()
2337 ZSTR_VAL(ce->name), ai.cnt, in zend_verify_abstract_class()
2338 ai.cnt > 1 ? "s" : "", in zend_verify_abstract_class()
/PHP-8.1/main/
H A Dphp_variables.c300 uint64_t cnt; member
364 if (++vars->cnt > max_vars) { in add_post_vars()
/PHP-8.1/ext/date/lib/
H A Dparse_date.re320 unsigned int cnt = s->tok - s->bot;
321 if(cnt){
324 s->ptr -= cnt;
325 cursor -= cnt;
326 s->pos -= cnt;
327 s->lim -= cnt;
341 if((cnt = read(s->fd, (char*) s->lim, BSIZE)) != BSIZE){
342 s->eof = &s->lim[cnt]; *(s->eof)++ = '\n';
344 s->lim += cnt;
/PHP-8.1/ext/spl/
H A Dspl_iterators.c1274 zend_long cnt = 0; in spl_cit_check_flags() local
1276 cnt += (flags & CIT_CALL_TOSTRING) ? 1 : 0; in spl_cit_check_flags()
1277 cnt += (flags & CIT_TOSTRING_USE_KEY) ? 1 : 0; in spl_cit_check_flags()
1278 cnt += (flags & CIT_TOSTRING_USE_CURRENT) ? 1 : 0; in spl_cit_check_flags()
1279 cnt += (flags & CIT_TOSTRING_USE_INNER) ? 1 : 0; in spl_cit_check_flags()
1281 return cnt <= 1 ? SUCCESS : FAILURE; in spl_cit_check_flags()

Completed in 115 milliseconds

123