Home
last modified time | relevance | path

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

123

/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 Darray.c671 zend_long cnt = 0; in php_count_recursive() local
682 cnt = zend_hash_num_elements(ht); in php_count_recursive()
686 cnt += php_count_recursive(Z_ARRVAL_P(element)); in php_count_recursive()
691 return cnt; in php_count_recursive()
700 zend_long cnt; in PHP_FUNCTION() local
716 cnt = zend_hash_num_elements(Z_ARRVAL_P(array)); in PHP_FUNCTION()
718 cnt = php_count_recursive(Z_ARRVAL_P(array)); in PHP_FUNCTION()
720 RETURN_LONG(cnt); in PHP_FUNCTION()
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()
H A Dcrypt_sha256.c339 size_t cnt; in php_sha256_crypt_r() local
416 for (cnt = key_len; cnt > 32; cnt -= 32) { in php_sha256_crypt_r()
423 for (cnt = key_len; cnt > 0; cnt >>= 1) { in php_sha256_crypt_r()
438 for (cnt = 0; cnt < key_len; ++cnt) { in php_sha256_crypt_r()
447 for (cnt = key_len; cnt >= 32; cnt -= 32) { in php_sha256_crypt_r()
456 for (cnt = 0; cnt < (size_t) (16 + alt_result[0]); ++cnt) { in php_sha256_crypt_r()
465 for (cnt = salt_len; cnt >= 32; cnt -= 32) { in php_sha256_crypt_r()
472 for (cnt = 0; cnt < rounds; ++cnt) { in php_sha256_crypt_r()
686 int cnt, i; in main() local
692 for (cnt = 0; cnt < (int) ntests; ++cnt) { in main()
[all …]
H A Dcrypt_sha512.c450 for (cnt = key_len; cnt > 64; cnt -= 64) { in php_sha512_crypt_r()
457 for (cnt = key_len; cnt > 0; cnt >>= 1) { in php_sha512_crypt_r()
472 for (cnt = 0; cnt < key_len; ++cnt) { in php_sha512_crypt_r()
481 for (cnt = key_len; cnt >= 64; cnt -= 64) { in php_sha512_crypt_r()
491 for (cnt = 0; cnt < (size_t) (16 + alt_result[0]); ++cnt) { in php_sha512_crypt_r()
500 for (cnt = salt_len; cnt >= 64; cnt -= 64) { in php_sha512_crypt_r()
507 for (cnt = 0; cnt < rounds; ++cnt) { in php_sha512_crypt_r()
751 int cnt; in main() local
760 for (cnt = 0; cnt < (int) ntests; ++cnt) { in main()
794 for (cnt = 0; cnt < ntests2; ++cnt) { in main()
[all …]
/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/opcache/jit/
H A Dzend_jit_x86.dasc2852 int cnt;
2859 arg->cfa[arg->cnt] = _Unwind_GetCFA(ctx);
2860 arg->cnt++;
2861 if (arg->cnt == 3) {
2873 if (arg.cnt == 3) {
H A Dzend_jit_arm64.dasc2757 int cnt;
2764 arg->cfa[arg->cnt] = _Unwind_GetCFA(ctx);
2765 arg->cnt++;
2766 if (arg->cnt == 3) {
2778 if (arg.cnt == 3) {
/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/fileinfo/tests/
H A Dmagic私はガラスを食べられます13882 # Reference: http://cd.textfiles.com/ataricompendium/BOOK/HTML/APPENDC.HTM#cnt
33860 # start with colon or semicolon for comment line like Back2Life.cnt
33864 >>&0 use cnt-name
33868 # look for other keyword Title like in putty.cnt
33870 >>>&0 use cnt-name
33873 0 name cnt-name
33880 !:ext cnt
H A Dmagic13882 # Reference: http://cd.textfiles.com/ataricompendium/BOOK/HTML/APPENDC.HTM#cnt
33860 # start with colon or semicolon for comment line like Back2Life.cnt
33864 >>&0 use cnt-name
33868 # look for other keyword Title like in putty.cnt
33870 >>>&0 use cnt-name
33873 0 name cnt-name
33880 !:ext cnt
/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/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/ext/phar/
H A Dphar_object.c4126 size_t cnt = 0; in phar_extract_file() local
4129 if ('\\' == filename[cnt]) { in phar_extract_file()
4130 filename[cnt] = '/'; in phar_extract_file()
4132 } while (cnt++ < filename_len); in phar_extract_file()
/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()
/PHP-8.1/ext/date/lib/
H A Dparse_date.c322 unsigned int cnt = s->tok - s->bot;
323 if(cnt){
326 s->ptr -= cnt;
327 cursor -= cnt;
328 s->pos -= cnt;
329 s->lim -= cnt;
343 if((cnt = read(s->fd, (char*) s->lim, BSIZE)) != BSIZE){
344 s->eof = &s->lim[cnt]; *(s->eof)++ = '\n';
346 s->lim += cnt;
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/mbstring/tests/
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";
H A Dillformed_utf_sequences.phpt59 $cnt = 0;
63 $cnt++;
68 var_dump($cnt);
85 $cnt = 0;
89 $cnt++;
94 var_dump($cnt);
98 $cnt = 0;
102 $cnt++;
111 $cnt = 0;
126 $cnt = 0;
[all …]
/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/sapi/litespeed/
H A Dlsapilib.c4394 int LSAPI_Inc_Req_Processed(int cnt) in LSAPI_Inc_Req_Processed() argument
4396 return __atomic_add_fetch(s_global_counter, cnt, __ATOMIC_SEQ_CST); in LSAPI_Inc_Req_Processed()
/PHP-8.1/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-8.1/ext/opcache/tests/jit/
H A Dassign_op_009.phpt12 for($cnt=0;$cnt<6;$cnt++) {
H A Dreg_alloc_016.phpt11 for($cnt = 0; $cnt < 6; $cnt++) {
/PHP-8.1/ext/mysqli/tests/
H A D067.phpt52 $cnt = 0;
56 $cnt += $a[0] + $a[1] + $a[2];
64 var_dump($cnt);

Completed in 480 milliseconds

123