Home
last modified time | relevance | path

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

123

/php-src/tests/classes/
H A Dfactory_and_singleton_001.phpt9 static private $cnt = 0;
21 test::$cnt++;
30 test::$cnt--;
46 return test::$cnt;
H A Dfactory_and_singleton_002.phpt9 static private $cnt = 0;
21 test::$cnt++;
30 test::$cnt--;
46 return test::$cnt;
H A Darray_access_003.phpt30 $this->cnt = $newval;
H A Darray_access_004.phpt28 $this->cnt = $newval;
/php-src/ext/standard/tests/file/
H A Dproc_open01.phpt25 $cnt = '';
45 $cnt .= $buf;
48 var_dump($cnt);
/php-src/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.phpt41 $cnt = count(mb_str_split($enc,$i,$cs));
42 if ($ceil != $cnt){
43 echo "$cs WRONG CHUNKS NUMBER: expected/actual: $ceil/$cnt\n";
/php-src/ext/mysqli/tests/
H A D067.phpt51 $cnt = 0;
55 $cnt += $a[0] + $a[1] + $a[2];
63 var_dump($cnt);
/php-src/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-src/Zend/tests/
H A Dbug43201.phpt18 for($cnt=0;$cnt<6;$cnt++) {
20 $c->arr[$cnt]["k2"] = $ref;
/php-src/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-src/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-src/ext/intl/tests/
H A Dlocale_compose_locale.phpt106 $cnt = 0;
110 $res_str .= "\nInput Array name is : loc".(++$cnt) ;
/php-src/ext/simplexml/
H A Dsimplexml.c103 …element_by_offset(php_sxe_object *sxe, zend_long offset, xmlNodePtr node, zend_long *cnt) /* {{{ */ in sxe_get_element_by_offset() argument
109 if (cnt) { in sxe_get_element_by_offset()
110 *cnt = 0; in sxe_get_element_by_offset()
130 if (cnt) { in sxe_get_element_by_offset()
131 *cnt = nodendx; in sxe_get_element_by_offset()
283 zend_long cnt = 0; in sxe_prop_dim_read() local
294 node = sxe_get_element_by_offset(sxe, Z_LVAL_P(member), node, &cnt); in sxe_prop_dim_read()
301 if (member && cnt < Z_LVAL_P(member)) { in sxe_prop_dim_read()
369 zend_long cnt = 0; in sxe_prop_dim_write() local
524 newnode = sxe_get_element_by_offset(sxe, Z_LVAL_P(member), node, &cnt); in sxe_prop_dim_write()
[all …]
/php-src/ext/fileinfo/libmagic/
H A Dcompress.c425 ssize_t cnt; in sread() local
426 for (cnt = 0;; cnt++) { in sread()
442 } else if (selrv == 0 && cnt >= 5) { in sread()
H A Dapprentice.c2010 size_t cnt = me->max_count + ALLOC_CHUNK; in parse() local
2012 sizeof(*nm) * cnt))) == NULL) { in parse()
2013 file_oomem(ms, sizeof(*nm) * cnt); in parse()
2017 me->max_count = CAST(uint32_t, cnt); in parse()
2539 size_t len, cnt; in check_format_type() local
2579 for (len = cnt = 0; isdigit(CAST(unsigned char, *ptr)); ptr++, cnt++) \ in check_format_type()
2581 if (cnt > 5 || len > 1024) \ in check_format_type()
/php-src/ext/standard/
H A Dproc_open.c162 uint32_t cnt = zend_hash_num_elements(Z_ARRVAL_P(environment)); in _php_array_to_envp() local
164 if (cnt < 1) { in _php_array_to_envp()
173 zend_hash_init(env_hash, cnt, NULL, NULL, 0); in _php_array_to_envp()
195 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-src/ext/mysqlnd/
H A Dmysqlnd_connection.c2091 unsigned int cnt = 0; local
2098 cnt++;
2102 if (cnt) {
2103 MYSQLND **ret_p = ret = ecalloc(cnt + 1, sizeof(MYSQLND *));
2130 unsigned int cnt = 0; local
2152 ++cnt;
2156 DBG_RETURN(cnt ? 1 : 0);
/php-src/sapi/litespeed/
H A Dlsapilib.h395 int LSAPI_Inc_Req_Processed(int cnt);
/php-src/ext/intl/locale/
H A Dlocale_methods.c1086 int cnt = 0; in add_array_entry() local
1093 sprintf( cur_key_name , "%s%d", key_name , cnt++); in add_array_entry()
1097 sprintf( cur_key_name , "%s%d", key_name , cnt++); in add_array_entry()
/php-src/ext/date/lib/
H A Dparse_date.re321 unsigned int cnt = s->tok - s->bot;
322 if(cnt){
325 s->ptr -= cnt;
326 cursor -= cnt;
327 s->pos -= cnt;
328 s->lim -= cnt;
342 if((cnt = read(s->fd, (char*) s->lim, BSIZE)) != BSIZE){
343 s->eof = &s->lim[cnt]; *(s->eof)++ = '\n';
345 s->lim += cnt;
/php-src/main/
H A Dphp_variables.c336 uint64_t cnt; member
400 if (++vars->cnt > max_vars) { in add_post_vars()
/php-src/Zend/
H A Dzend_inheritance.c2599 …ai.afn[idx] && ai.afn[idx + 1] ? ", " : (ai.afn[idx] && ai.cnt > MAX_ABSTRACT_INFO_CNT ? ", ..." :…
2603 int cnt; member
2608 if (ai->cnt < MAX_ABSTRACT_INFO_CNT) { in zend_verify_abstract_class_function()
2609 ai->afn[ai->cnt] = fn; in zend_verify_abstract_class_function()
2611 ai->cnt++; in zend_verify_abstract_class_function()
2633 if (ai.cnt) { in zend_verify_abstract_class()
2638 ZSTR_VAL(ce->name), ai.cnt, in zend_verify_abstract_class()
2639 ai.cnt > 1 ? "s" : "", in zend_verify_abstract_class()

Completed in 90 milliseconds

123