Home
last modified time | relevance | path

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

12

/PHP-7.4/ext/standard/
H A Dproc_open.c78 size_t cnt, sizeenv = 0; in _php_array_to_envp() local
87 cnt = zend_hash_num_elements(Z_ARRVAL_P(environment)); in _php_array_to_envp()
89 if (cnt < 1) { in _php_array_to_envp()
98 zend_hash_init(env_hash, cnt, NULL, NULL, 0); in _php_array_to_envp()
120 ep = env.envarray = (char **) pecalloc(cnt + 1, sizeof(char *), is_persistent); in _php_array_to_envp()
H A Dstreamsfuncs.c611 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 Darray.c735 zend_long cnt = 0; in php_count_recursive() local
746 cnt = zend_array_count(ht); in php_count_recursive()
750 cnt += php_count_recursive(Z_ARRVAL_P(element)); in php_count_recursive()
758 return cnt; in php_count_recursive()
768 zend_long cnt; in PHP_FUNCTION() local
783 cnt = zend_array_count(Z_ARRVAL_P(array)); in PHP_FUNCTION()
785 cnt = php_count_recursive(Z_ARRVAL_P(array)); in PHP_FUNCTION()
787 RETURN_LONG(cnt); in PHP_FUNCTION()
H A Dstring.c1526 size_t inc_len, cnt; local
1531 cnt = len;
1533 while (cnt > 0) {
1534 inc_len = (*c == '\0' ? 1 : php_mblen(c, cnt));
1582 cnt -= inc_len;
/PHP-7.4/Zend/
H A Dzend_inheritance.c2181 …ai.afn[idx] && ai.afn[idx + 1] ? ", " : (ai.afn[idx] && ai.cnt > MAX_ABSTRACT_INFO_CNT ? ", ..." :…
2185 int cnt; member
2192 if (ai->cnt < MAX_ABSTRACT_INFO_CNT) { in zend_verify_abstract_class_function()
2193 ai->afn[ai->cnt] = fn; in zend_verify_abstract_class_function()
2197 ai->cnt++; in zend_verify_abstract_class_function()
2200 ai->afn[ai->cnt] = NULL; in zend_verify_abstract_class_function()
2203 ai->cnt++; in zend_verify_abstract_class_function()
2221 if (ai.cnt) { in zend_verify_abstract_class()
2223 ZSTR_VAL(ce->name), ai.cnt, in zend_verify_abstract_class()
2224 ai.cnt > 1 ? "s" : "", in zend_verify_abstract_class()
/PHP-7.4/sapi/litespeed/
H A Dlsapilib.h397 int LSAPI_Inc_Req_Processed(int cnt);
H A Dlsapilib.c4340 int LSAPI_Inc_Req_Processed(int cnt) in LSAPI_Inc_Req_Processed() argument
4342 return __sync_add_and_fetch(s_global_counter, cnt); in LSAPI_Inc_Req_Processed()
/PHP-7.4/ext/fileinfo/libmagic/
H A Dapprentice.c1820 size_t cnt = me->max_count + ALLOC_CHUNK; in parse() local
1822 sizeof(*nm) * cnt))) == NULL) { in parse()
1823 file_oomem(ms, sizeof(*nm) * cnt); in parse()
1827 me->max_count = CAST(uint32_t, cnt); in parse()
2322 size_t len, cnt; in check_format_type() local
2365 for (len = cnt = 0; isdigit(CAST(unsigned char, *ptr)); ptr++, cnt++) \ in check_format_type()
2367 if (cnt > 5 || len > 1024) \ in check_format_type()
/PHP-7.4/ext/intl/locale/
H A Dlocale_methods.c1055 int cnt = 0; in add_array_entry() local
1062 sprintf( cur_key_name , "%s%d", key_name , cnt++); in add_array_entry()
1066 sprintf( cur_key_name , "%s%d", key_name , cnt++); in add_array_entry()
/PHP-7.4/ext/mysqlnd/
H A Dmysqlnd_connection.c2474 unsigned int cnt = 0; local
2481 cnt++;
2485 if (cnt) {
2486 MYSQLND **ret_p = ret = ecalloc(cnt + 1, sizeof(MYSQLND *));
2513 unsigned int cnt = 0; local
2535 ++cnt;
2539 DBG_RETURN(cnt ? 1 : 0);
/PHP-7.4/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-7.4/main/
H A Dphp_variables.c292 uint64_t cnt; member
356 if (++vars->cnt > max_vars) { in add_post_vars()
/PHP-7.4/ext/spl/
H A Dspl_iterators.c1420 zend_long cnt = 0; in spl_cit_check_flags() local
1422 cnt += (flags & CIT_CALL_TOSTRING) ? 1 : 0; in spl_cit_check_flags()
1423 cnt += (flags & CIT_TOSTRING_USE_KEY) ? 1 : 0; in spl_cit_check_flags()
1424 cnt += (flags & CIT_TOSTRING_USE_CURRENT) ? 1 : 0; in spl_cit_check_flags()
1425 cnt += (flags & CIT_TOSTRING_USE_INNER) ? 1 : 0; in spl_cit_check_flags()
1427 return cnt <= 1 ? SUCCESS : FAILURE; in spl_cit_check_flags()
/PHP-7.4/ext/phar/
H A Dphar_object.c4180 size_t cnt = 0; in phar_extract_file() local
4183 if ('\\' == filename[cnt]) { in phar_extract_file()
4184 filename[cnt] = '/'; in phar_extract_file()
4186 } while (cnt++ < filename_len); in phar_extract_file()
/PHP-7.4/ext/fileinfo/
H A Dlibmagic.patch548 size_t cnt = me->max_count + ALLOC_CHUNK;
551 sizeof(*nm) * cnt))) == NULL) {
552 file_oomem(ms, sizeof(*nm) * cnt);
/PHP-7.4/ext/fileinfo/tests/
H A Dmagic私はガラスを食べられます12676 # Reference: http://cd.textfiles.com/ataricompendium/BOOK/HTML/APPENDC.HTM#cnt
28886 # start with colon or semicolon for comment line like Back2Life.cnt
28890 >>&0 use cnt-name
28894 # look for other keyword Title like in putty.cnt
28896 >>>&0 use cnt-name
28899 0 name cnt-name
28906 !:ext cnt
H A Dmagic12676 # Reference: http://cd.textfiles.com/ataricompendium/BOOK/HTML/APPENDC.HTM#cnt
28886 # start with colon or semicolon for comment line like Back2Life.cnt
28890 >>&0 use cnt-name
28894 # look for other keyword Title like in putty.cnt
28896 >>>&0 use cnt-name
28899 0 name cnt-name
28906 !:ext cnt

Completed in 296 milliseconds

12