Home
last modified time | relevance | path

Searched refs:cnt (Results 1 – 25 of 38) sorted by last modified time

12

/PHP-5.5/tests/classes/
H A Dfactory_and_singleton_001.phpt11 static private $cnt = 0;
23 test::$cnt++;
32 test::$cnt--;
48 return test::$cnt;
H A Dfactory_and_singleton_002.phpt11 static private $cnt = 0;
23 test::$cnt++;
32 test::$cnt--;
48 return test::$cnt;
H A Darray_access_003.phpt30 $this->cnt = $newval;
H A Darray_access_004.phpt28 $this->cnt = $newval;
/PHP-5.5/scripts/dev/
H A Dsearch_underscores.php71 $cnt = $cnt_modules + $cnt_classes + $cnt_methods; variable
78 printf("Names: %5d\n", $cnt);
79 printf("Errors: %5d (%.1f%%)\n", $err, round($err * 100 / $cnt, 1));
/PHP-5.5/ext/standard/tests/filters/
H A Dbug22538.phpt21 $cnt = $size;
22 while (($cnt -= $str_len) > 0) {
25 $cnt = $size - ($str_len + $cnt);
33 var_dump($cnt);
/PHP-5.5/ext/standard/tests/file/
H A Dproc_open01.phpt25 $cnt = '';
45 $cnt .= $buf;
48 var_dump($cnt);
/PHP-5.5/ext/standard/
H A Dstring.c1431 size_t inc_len, cnt; local
1435 cnt = len;
1437 while (cnt > 0) {
1438 inc_len = (*c == '\0' ? 1: php_mblen(c, cnt));
1486 cnt -= inc_len;
H A Dstreamsfuncs.c608 int cnt = 0; in stream_array_to_fd_set() local
640 cnt++; in stream_array_to_fd_set()
643 return cnt ? 1 : 0; in stream_array_to_fd_set()
H A Dproc_open.c84 uint string_length, cnt, l, sizeenv=0, el_len; in _php_array_to_envp() local
95 cnt = zend_hash_num_elements(Z_ARRVAL_P(environment)); in _php_array_to_envp()
97 if (cnt < 1) { in _php_array_to_envp()
143 ep = env.envarray = (char **) pecalloc(cnt + 1, sizeof(char *), is_persistent); in _php_array_to_envp()
H A Dcrypt_sha256.c361 size_t cnt; in php_sha256_crypt_r() local
434 for (cnt = key_len; cnt > 32; cnt -= 32) { in php_sha256_crypt_r()
441 for (cnt = key_len; cnt > 0; cnt >>= 1) { in php_sha256_crypt_r()
456 for (cnt = 0; cnt < key_len; ++cnt) { in php_sha256_crypt_r()
465 for (cnt = key_len; cnt >= 32; cnt -= 32) { in php_sha256_crypt_r()
474 for (cnt = 0; cnt < (size_t) (16 + alt_result[0]); ++cnt) { in php_sha256_crypt_r()
483 for (cnt = salt_len; cnt >= 32; cnt -= 32) { in php_sha256_crypt_r()
490 for (cnt = 0; cnt < rounds; ++cnt) { in php_sha256_crypt_r()
705 int cnt, i; in main() local
711 for (cnt = 0; cnt < (int) ntests; ++cnt) { in main()
[all …]
H A Dcrypt_sha512.c468 for (cnt = key_len; cnt > 64; cnt -= 64) { in php_sha512_crypt_r()
475 for (cnt = key_len; cnt > 0; cnt >>= 1) { in php_sha512_crypt_r()
490 for (cnt = 0; cnt < key_len; ++cnt) { in php_sha512_crypt_r()
499 for (cnt = key_len; cnt >= 64; cnt -= 64) { in php_sha512_crypt_r()
509 for (cnt = 0; cnt < (size_t) (16 + alt_result[0]); ++cnt) { in php_sha512_crypt_r()
518 for (cnt = salt_len; cnt >= 64; cnt -= 64) { in php_sha512_crypt_r()
525 for (cnt = 0; cnt < rounds; ++cnt) { in php_sha512_crypt_r()
769 int cnt; in main() local
778 for (cnt = 0; cnt < (int) ntests; ++cnt) { in main()
812 for (cnt = 0; cnt < ntests2; ++cnt) { in main()
[all …]
H A Darray.c276 long cnt = 0; in php_count_recursive() local
285 cnt = zend_hash_num_elements(Z_ARRVAL_P(array)); in php_count_recursive()
294 cnt += php_count_recursive(*element, COUNT_RECURSIVE TSRMLS_CC); in php_count_recursive()
300 return cnt; in php_count_recursive()
/PHP-5.5/ext/sqlite3/libsqlite/
H A Dsqlite3.c15437 cnt++; in getDigits()
28591 assert( cnt==(cnt&0x1ffff) );
38601 memcpy(&zBuf[n], &cnt, sizeof(cnt));
38607 memcpy(&zBuf[n], &cnt, sizeof(cnt));
51074 if( cnt>=10 ) nDelay = (cnt-9)*(cnt-9)*39;
51556 int cnt;
51693 { int cnt; for(cnt=0, p=pList; p; p=p->pDirty, cnt++){}
71942 int cnt;
86956 return cnt.nThis>0 || cnt.nOther==0;
116865 if( cnt!=0 && 255!=(u8)z[cnt-1] ){
[all …]
/PHP-5.5/ext/spl/
H A Dspl_iterators.c1361 int cnt = 0; in spl_cit_check_flags() local
1363 cnt += (flags & CIT_CALL_TOSTRING) ? 1 : 0; in spl_cit_check_flags()
1364 cnt += (flags & CIT_TOSTRING_USE_KEY) ? 1 : 0; in spl_cit_check_flags()
1365 cnt += (flags & CIT_TOSTRING_USE_CURRENT) ? 1 : 0; in spl_cit_check_flags()
1366 cnt += (flags & CIT_TOSTRING_USE_INNER) ? 1 : 0; in spl_cit_check_flags()
1368 return cnt <= 1 ? SUCCESS : FAILURE; in spl_cit_check_flags()
/PHP-5.5/ext/simplexml/
H A Dsimplexml.c143 …r sxe_get_element_by_offset(php_sxe_object *sxe, long offset, xmlNodePtr node, long *cnt) /* {{{ */ in sxe_get_element_by_offset() argument
149 if (cnt) { in sxe_get_element_by_offset()
150 *cnt = 0; in sxe_get_element_by_offset()
172 if (cnt) { in sxe_get_element_by_offset()
173 *cnt = nodendx; in sxe_get_element_by_offset()
335 long cnt = 0; in sxe_prop_dim_read() local
346 node = sxe_get_element_by_offset(sxe, Z_LVAL_P(member), node, &cnt); in sxe_prop_dim_read()
353 if (member && cnt < Z_LVAL_P(member)) { in sxe_prop_dim_read()
465 long cnt = 0; in sxe_prop_dim_write() local
606 newnode = sxe_get_element_by_offset(sxe, Z_LVAL_P(member), node, &cnt); in sxe_prop_dim_write()
[all …]
/PHP-5.5/ext/session/tests/
H A Dbug65475.phpt15 $_SESSION['cnt'] = 1;
21 $_SESSION['cnt']++;
26 var_dump($_SESSION['cnt']); // Should be int(2)
/PHP-5.5/ext/phar/
H A Dphar_object.c4154 int cnt = filename_len; in phar_extract_file() local
4157 if ('\\' == filename[cnt]) { in phar_extract_file()
4158 filename[cnt] = '/'; in phar_extract_file()
4160 } while (cnt-- >= 0); in phar_extract_file()
/PHP-5.5/ext/oci8/tests/
H A Drefcur_prefetch_2.phpt90 $cnt = (print_roundtrips($c) - $initial_rt);
91 echo "Number of roundtrips made with prefetch count 0 for 5 rows is $cnt\n";
99 $cnt = (print_roundtrips($c) - $initial_rt );
100 echo "Number of roundtrips made with prefetch count 5 for 5 rows is $cnt\n";
H A Drefcur_prefetch_3.phpt59 $cnt = (print_roundtrips($c) - $initial_rt);
60 echo "Number of roundtrips made with prefetch count 5 for 10 rows is $cnt\n";
/PHP-5.5/ext/mysqlnd/
H A Dmysqlnd.c1248 int cnt = 0; local
1254 cnt++;
1258 if (cnt) {
1259 MYSQLND **ret_p = ret = ecalloc(cnt + 1, sizeof(MYSQLND *));
1284 unsigned int cnt = 0; local
1304 cnt++;
1308 DBG_RETURN(cnt ? 1 : 0);
/PHP-5.5/ext/mysqli/tests/
H A D067.phpt53 $cnt = 0;
57 $cnt += $a[0] + $a[1] + $a[2];
65 var_dump($cnt);
/PHP-5.5/ext/mbstring/tests/
H A Dillformed_utf_sequences.phpt62 $cnt = 0;
66 $cnt++;
88 $cnt = 0;
92 $cnt++;
101 $cnt = 0;
105 $cnt++;
114 $cnt = 0;
118 $cnt++;
129 $cnt = 0;
134 $cnt++;
[all …]
/PHP-5.5/ext/intl/tests/
H A Dlocale_compose_locale.phpt106 $cnt = 0;
110 $res_str .= "\nInput Array name is : loc".(++$cnt) ;
H A Ddateformat_localtime.phpt61 $cnt =0;
66 $res_str .= "\nIntlDateFormatter : ".$fmt_desc_array[$cnt];
68 $cnt++;

Completed in 404 milliseconds

12