Home
last modified time | relevance | path

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

12

/PHP-8.0/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.0/tests/classes/
H A Darray_access_003.phpt30 $this->cnt = $newval;
H A Darray_access_004.phpt28 $this->cnt = $newval;
/PHP-8.0/ext/intl/tests/
H A Dlocale_compose_locale.phpt106 $cnt = 0;
110 $res_str .= "\nInput Array name is : loc".(++$cnt) ;
/PHP-8.0/ext/iconv/
H A Diconv.c554 size_t cnt; in _php_iconv_strlen() local
573 for (in_p = str, in_left = nbytes, cnt = 0; more;) { in _php_iconv_strlen()
599 *pretval = cnt; in _php_iconv_strlen()
630 size_t cnt; in _php_iconv_substr() local
680 for (in_p = str, in_left = nbytes, cnt = 0; more; ++cnt) { in _php_iconv_substr()
691 if ((zend_long)cnt >= offset) { in _php_iconv_substr()
763 size_t cnt; in _php_iconv_strpos() local
802 for (in_p = haystk, in_left = haystk_nbytes, cnt = 0; more; ++cnt) { in _php_iconv_strpos()
830 if (cnt >= offset) { in _php_iconv_strpos()
833 match_ofs = cnt; in _php_iconv_strpos()
[all …]
/PHP-8.0/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.c1862 size_t cnt = me->max_count + ALLOC_CHUNK; in parse() local
1864 sizeof(*nm) * cnt))) == NULL) { in parse()
1865 file_oomem(ms, sizeof(*nm) * cnt); in parse()
1869 me->max_count = CAST(uint32_t, cnt); in parse()
2379 size_t len, cnt; in check_format_type() local
2422 for (len = cnt = 0; isdigit(CAST(unsigned char, *ptr)); ptr++, cnt++) \ in check_format_type()
2424 if (cnt > 5 || len > 1024) \ in check_format_type()
/PHP-8.0/ext/simplexml/
H A Dsimplexml.c117 …element_by_offset(php_sxe_object *sxe, zend_long offset, xmlNodePtr node, zend_long *cnt) /* {{{ */ in sxe_get_element_by_offset() argument
123 if (cnt) { in sxe_get_element_by_offset()
124 *cnt = 0; in sxe_get_element_by_offset()
146 if (cnt) { in sxe_get_element_by_offset()
147 *cnt = nodendx; in sxe_get_element_by_offset()
315 zend_long cnt = 0; in sxe_prop_dim_read() local
326 node = sxe_get_element_by_offset(sxe, Z_LVAL_P(member), node, &cnt); in sxe_prop_dim_read()
333 if (member && cnt < Z_LVAL_P(member)) { in sxe_prop_dim_read()
401 zend_long cnt = 0; in sxe_prop_dim_write() local
554 newnode = sxe_get_element_by_offset(sxe, Z_LVAL_P(member), node, &cnt); in sxe_prop_dim_write()
[all …]
/PHP-8.0/Zend/
H A Dzend_inheritance.c2142 …ai.afn[idx] && ai.afn[idx + 1] ? ", " : (ai.afn[idx] && ai.cnt > MAX_ABSTRACT_INFO_CNT ? ", ..." :…
2146 int cnt; member
2152 if (ai->cnt < MAX_ABSTRACT_INFO_CNT) { in zend_verify_abstract_class_function()
2153 ai->afn[ai->cnt] = fn; in zend_verify_abstract_class_function()
2157 ai->cnt++; in zend_verify_abstract_class_function()
2160 ai->afn[ai->cnt] = NULL; in zend_verify_abstract_class_function()
2163 ai->cnt++; in zend_verify_abstract_class_function()
2185 if (ai.cnt) { in zend_verify_abstract_class()
2189 ZSTR_VAL(ce->name), ai.cnt, in zend_verify_abstract_class()
2190 ai.cnt > 1 ? "s" : "", in zend_verify_abstract_class()
/PHP-8.0/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.c616 int cnt = 0; in stream_array_to_fd_set() local
645 cnt++; in stream_array_to_fd_set()
648 return cnt ? 1 : 0; in stream_array_to_fd_set()
H A Darray.c700 zend_long cnt = 0; in php_count_recursive() local
711 cnt = zend_array_count(ht); in php_count_recursive()
715 cnt += php_count_recursive(Z_ARRVAL_P(element)); in php_count_recursive()
720 return cnt; in php_count_recursive()
729 zend_long cnt; in PHP_FUNCTION() local
745 cnt = zend_array_count(Z_ARRVAL_P(array)); in PHP_FUNCTION()
747 cnt = php_count_recursive(Z_ARRVAL_P(array)); in PHP_FUNCTION()
749 RETURN_LONG(cnt); in PHP_FUNCTION()
/PHP-8.0/sapi/litespeed/
H A Dlsapilib.h395 int LSAPI_Inc_Req_Processed(int cnt);
H A Dlsapilib.c4346 int LSAPI_Inc_Req_Processed(int cnt) in LSAPI_Inc_Req_Processed() argument
4348 return __atomic_add_fetch(s_global_counter, cnt, __ATOMIC_SEQ_CST); in LSAPI_Inc_Req_Processed()
/PHP-8.0/ext/intl/locale/
H A Dlocale_methods.c993 int cnt = 0; in add_array_entry() local
1000 sprintf( cur_key_name , "%s%d", key_name , cnt++); in add_array_entry()
1004 sprintf( cur_key_name , "%s%d", key_name , cnt++); in add_array_entry()
/PHP-8.0/ext/mysqlnd/
H A Dmysqlnd_connection.c2461 unsigned int cnt = 0; local
2468 cnt++;
2472 if (cnt) {
2473 MYSQLND **ret_p = ret = ecalloc(cnt + 1, sizeof(MYSQLND *));
2500 unsigned int cnt = 0; local
2522 ++cnt;
2526 DBG_RETURN(cnt ? 1 : 0);
/PHP-8.0/main/
H A Dphp_variables.c287 uint64_t cnt; member
351 if (++vars->cnt > max_vars) { in add_post_vars()
/PHP-8.0/ext/date/lib/
H A Dparse_date.re304 unsigned int cnt = s->tok - s->bot;
305 if(cnt){
308 s->ptr -= cnt;
309 cursor -= cnt;
310 s->pos -= cnt;
311 s->lim -= cnt;
325 if((cnt = read(s->fd, (char*) s->lim, BSIZE)) != BSIZE){
326 s->eof = &s->lim[cnt]; *(s->eof)++ = '\n';
328 s->lim += cnt;
H A Dparse_date.c306 unsigned int cnt = s->tok - s->bot;
307 if(cnt){
310 s->ptr -= cnt;
311 cursor -= cnt;
312 s->pos -= cnt;
313 s->lim -= cnt;
327 if((cnt = read(s->fd, (char*) s->lim, BSIZE)) != BSIZE){
328 s->eof = &s->lim[cnt]; *(s->eof)++ = '\n';
330 s->lim += cnt;
/PHP-8.0/ext/spl/
H A Dspl_iterators.c1283 zend_long cnt = 0; in spl_cit_check_flags() local
1285 cnt += (flags & CIT_CALL_TOSTRING) ? 1 : 0; in spl_cit_check_flags()
1286 cnt += (flags & CIT_TOSTRING_USE_KEY) ? 1 : 0; in spl_cit_check_flags()
1287 cnt += (flags & CIT_TOSTRING_USE_CURRENT) ? 1 : 0; in spl_cit_check_flags()
1288 cnt += (flags & CIT_TOSTRING_USE_INNER) ? 1 : 0; in spl_cit_check_flags()
1290 return cnt <= 1 ? SUCCESS : FAILURE; in spl_cit_check_flags()
/PHP-8.0/ext/phar/
H A Dphar_object.c4143 size_t cnt = 0; in phar_extract_file() local
4146 if ('\\' == filename[cnt]) { in phar_extract_file()
4147 filename[cnt] = '/'; in phar_extract_file()
4149 } while (cnt++ < filename_len); in phar_extract_file()
/PHP-8.0/ext/fileinfo/
H A Dlibmagic.patch517 size_t cnt = me->max_count + ALLOC_CHUNK;
520 sizeof(*nm) * cnt))) == NULL) {
521 file_oomem(ms, sizeof(*nm) * cnt);
/PHP-8.0/ext/fileinfo/tests/
H A Dmagic私はガラスを食べられます13367 # Reference: http://cd.textfiles.com/ataricompendium/BOOK/HTML/APPENDC.HTM#cnt
31935 # start with colon or semicolon for comment line like Back2Life.cnt
31939 >>&0 use cnt-name
31943 # look for other keyword Title like in putty.cnt
31945 >>>&0 use cnt-name
31948 0 name cnt-name
31955 !:ext cnt
H A Dmagic13367 # Reference: http://cd.textfiles.com/ataricompendium/BOOK/HTML/APPENDC.HTM#cnt
31935 # start with colon or semicolon for comment line like Back2Life.cnt
31939 >>&0 use cnt-name
31943 # look for other keyword Title like in putty.cnt
31945 >>>&0 use cnt-name
31948 0 name cnt-name
31955 !:ext cnt

Completed in 300 milliseconds

12