/PHP-7.2/ext/standard/ |
H A D | proc_open.c | 80 size_t cnt, l, sizeenv = 0; in _php_array_to_envp() local 89 cnt = zend_hash_num_elements(Z_ARRVAL_P(environment)); in _php_array_to_envp() 91 if (cnt < 1) { in _php_array_to_envp() 100 zend_hash_init(env_hash, cnt, NULL, NULL, 0); in _php_array_to_envp() 122 ep = env.envarray = (char **) pecalloc(cnt + 1, sizeof(char *), is_persistent); in _php_array_to_envp()
|
H A D | streamsfuncs.c | 622 int cnt = 0; in stream_array_to_fd_set() local 651 cnt++; in stream_array_to_fd_set() 654 return cnt ? 1 : 0; in stream_array_to_fd_set()
|
H A D | array.c | 748 zend_long cnt = 0; in php_count_recursive() local 757 cnt = zend_array_count(Z_ARRVAL_P(array)); in php_count_recursive() 764 cnt += php_count_recursive(element, COUNT_RECURSIVE); in php_count_recursive() 772 return cnt; in php_count_recursive() 782 zend_long cnt; in PHP_FUNCTION() local 797 cnt = zend_array_count(Z_ARRVAL_P(array)); in PHP_FUNCTION() 801 cnt += php_count_recursive(element, COUNT_RECURSIVE); in PHP_FUNCTION() 804 RETURN_LONG(cnt); in PHP_FUNCTION()
|
H A D | string.c | 1536 size_t inc_len, cnt; local 1541 cnt = len; 1543 while (cnt > 0) { 1544 inc_len = (*c == '\0' ? 1 : php_mblen(c, cnt)); 1592 cnt -= inc_len;
|
/PHP-7.2/ext/simplexml/ |
H A D | simplexml.c | 128 …element_by_offset(php_sxe_object *sxe, zend_long offset, xmlNodePtr node, zend_long *cnt) /* {{{ */ in sxe_get_element_by_offset() argument 134 if (cnt) { in sxe_get_element_by_offset() 135 *cnt = 0; in sxe_get_element_by_offset() 157 if (cnt) { in sxe_get_element_by_offset() 158 *cnt = nodendx; in sxe_get_element_by_offset() 323 zend_long cnt = 0; in sxe_prop_dim_read() local 334 node = sxe_get_element_by_offset(sxe, Z_LVAL_P(member), node, &cnt); in sxe_prop_dim_read() 341 if (member && cnt < Z_LVAL_P(member)) { in sxe_prop_dim_read() 444 zend_long cnt = 0; in sxe_prop_dim_write() local 594 newnode = sxe_get_element_by_offset(sxe, Z_LVAL_P(member), node, &cnt); in sxe_prop_dim_write() [all …]
|
/PHP-7.2/ext/exif/ |
H A D | test.txt | 62 $cnt = 0; 89 if ( ($cnt=count($possible)) % 100 == 0) { 90 error_log("exif test page - counting files: $cnt",0);
|
/PHP-7.2/sapi/litespeed/ |
H A D | lsapilib.h | 396 int LSAPI_Inc_Req_Processed(int cnt);
|
H A D | lsapilib.c | 4107 int LSAPI_Inc_Req_Processed(int cnt) in LSAPI_Inc_Req_Processed() argument 4109 return __sync_add_and_fetch(s_global_counter, cnt); in LSAPI_Inc_Req_Processed()
|
/PHP-7.2/ext/fileinfo/libmagic/ |
H A D | apprentice.c | 1764 size_t cnt = me->max_count + ALLOC_CHUNK; in parse() local 1766 sizeof(*nm) * cnt))) == NULL) { in parse() 1767 file_oomem(ms, sizeof(*nm) * cnt); in parse() 1771 me->max_count = CAST(uint32_t, cnt); in parse() 2259 size_t len, cnt; in check_format_type() local 2302 for (len = cnt = 0; isdigit((unsigned char)*ptr); ptr++, cnt++) \ in check_format_type() 2304 if (cnt > 5 || len > 1024) \ in check_format_type()
|
/PHP-7.2/ext/intl/locale/ |
H A D | locale_methods.c | 1051 int cnt = 0; in add_array_entry() local 1069 sprintf( cur_key_name , "%s%d", key_name , cnt++); in add_array_entry() 1073 sprintf( cur_key_name , "%s%d", key_name , cnt++); in add_array_entry()
|
/PHP-7.2/ext/mysqlnd/ |
H A D | mysqlnd_connection.c | 2515 unsigned int cnt = 0; local 2522 cnt++; 2526 if (cnt) { 2527 MYSQLND **ret_p = ret = ecalloc(cnt + 1, sizeof(MYSQLND *)); 2554 unsigned int cnt = 0; local 2576 ++cnt; 2580 DBG_RETURN(cnt ? 1 : 0);
|
/PHP-7.2/ext/date/lib/ |
H A D | parse_date.re | 305 unsigned int cnt = s->tok - s->bot; 306 if(cnt){ 309 s->ptr -= cnt; 310 cursor -= cnt; 311 s->pos -= cnt; 312 s->lim -= cnt; 326 if((cnt = read(s->fd, (char*) s->lim, BSIZE)) != BSIZE){ 327 s->eof = &s->lim[cnt]; *(s->eof)++ = '\n'; 329 s->lim += cnt;
|
H A D | parse_date.c | 307 unsigned int cnt = s->tok - s->bot; 308 if(cnt){ 311 s->ptr -= cnt; 312 cursor -= cnt; 313 s->pos -= cnt; 314 s->lim -= cnt; 328 if((cnt = read(s->fd, (char*) s->lim, BSIZE)) != BSIZE){ 329 s->eof = &s->lim[cnt]; *(s->eof)++ = '\n'; 331 s->lim += cnt;
|
/PHP-7.2/main/ |
H A D | php_variables.c | 269 uint64_t cnt; member 333 if (++vars->cnt > max_vars) { in add_post_vars()
|
/PHP-7.2/ext/spl/ |
H A D | spl_iterators.c | 1443 zend_long cnt = 0; in spl_cit_check_flags() local 1445 cnt += (flags & CIT_CALL_TOSTRING) ? 1 : 0; in spl_cit_check_flags() 1446 cnt += (flags & CIT_TOSTRING_USE_KEY) ? 1 : 0; in spl_cit_check_flags() 1447 cnt += (flags & CIT_TOSTRING_USE_CURRENT) ? 1 : 0; in spl_cit_check_flags() 1448 cnt += (flags & CIT_TOSTRING_USE_INNER) ? 1 : 0; in spl_cit_check_flags() 1450 return cnt <= 1 ? SUCCESS : FAILURE; in spl_cit_check_flags()
|
/PHP-7.2/ext/sqlite3/libsqlite/ |
H A D | sqlite3.c | 20714 cnt++; in countLookasideSlots() 21057 cnt++; in getDigits() 35781 assert( cnt==(cnt&0x1ffff) ); 60793 if( cnt>=10 ) nDelay = (cnt-9)*(cnt-9)*39; 61651 { int cnt; for(cnt=0, p=pList; p; p=p->pDirty, cnt++){} 102054 return cnt.nThis>0 || cnt.nOther==0; 126623 if( cnt>3 ) sqlite3_randomness(sizeof(cnt), &cnt); 138665 if( c==wc[3] && z[cnt]!=0 ) cnt++; 138676 if( cnt!=0 && 255!=(u8)z[cnt-1] && (cnt>1 || z[0]!=wc[3]) ){ 155317 if( cnt<0 ) cnt = 0; [all …]
|
/PHP-7.2/ext/phar/ |
H A D | phar_object.c | 4235 int cnt = filename_len; in phar_extract_file() local 4238 if ('\\' == filename[cnt]) { in phar_extract_file() 4239 filename[cnt] = '/'; in phar_extract_file() 4241 } while (cnt-- >= 0); in phar_extract_file()
|
/PHP-7.2/ext/fileinfo/ |
H A D | libmagic.patch | 545 size_t cnt = me->max_count + ALLOC_CHUNK; 548 sizeof(*nm) * cnt))) == NULL) { 549 file_oomem(ms, sizeof(*nm) * cnt);
|
/PHP-7.2/ext/fileinfo/tests/ |
H A D | magic | 24854 # start with colon or semicolon for comment line like Back2Life.cnt 24858 >>&0 use cnt-name 24862 # look for other keyword Title like in putty.cnt 24864 >>>&0 use cnt-name 24867 0 name cnt-name 24874 !:ext cnt
|
H A D | magic私はガラスを食べられます | 24854 # start with colon or semicolon for comment line like Back2Life.cnt 24858 >>&0 use cnt-name 24862 # look for other keyword Title like in putty.cnt 24864 >>>&0 use cnt-name 24867 0 name cnt-name 24874 !:ext cnt
|