Searched refs:cnt (Results 1 - 20 of 20) sorted by relevance

/PHP_TRUNK/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_TRUNK/ext/gd/libgd/
H A Dwbmp.c66 int cnt, l, accu; local
69 cnt = 0;
72 accu += i & 0x7f << 7 * cnt++;
75 for (l = cnt - 1; l > 0; l--)
/PHP_TRUNK/ext/standard/
H A Dcrypt_sha256.c355 size_t cnt; local
428 for (cnt = key_len; cnt > 32; cnt -= 32) {
431 sha256_process_bytes(alt_result, cnt, &ctx);
435 for (cnt = key_len; cnt > 0; cnt >>= 1) {
436 if ((cnt & 1) != 0) {
450 for (cnt
699 int cnt, i; local
[all...]
H A Dcrypt_sha512.c388 size_t cnt; local
462 for (cnt = key_len; cnt > 64; cnt -= 64) {
465 sha512_process_bytes(alt_result, cnt, &ctx);
469 for (cnt = key_len; cnt > 0; cnt >>= 1) {
470 if ((cnt & 1) != 0) {
484 for (cnt
763 int cnt; local
[all...]
H A Dproc_open.c85 uint string_length, cnt, l, sizeenv=0, el_len; local
96 cnt = zend_hash_num_elements(Z_ARRVAL_P(environment));
98 if (cnt < 1) {
144 ep = env.envarray = (char **) pecalloc(cnt + 1, sizeof(char *), is_persistent);
H A Dstreamsfuncs.c610 int cnt = 0; local
637 cnt++;
640 return cnt ? 1 : 0;
H A Dstring.c1413 size_t inc_len, cnt; local
1417 cnt = len;
1419 while (cnt > 0) {
1420 inc_len = (*c == '\0' ? 1: php_mblen(c, cnt));
1468 cnt -= inc_len;
H A Darray.c276 long cnt = 0; local
285 cnt = zend_hash_num_elements(Z_ARRVAL_P(array));
294 cnt += php_count_recursive(*element, COUNT_RECURSIVE TSRMLS_CC);
300 return cnt;
/PHP_TRUNK/ext/fileinfo/libmagic/
H A Dcompress.c192 ssize_t cnt; local
193 for (cnt = 0;; cnt++) {
209 } else if (selrv == 0 && cnt >= 5) {
H A Dapprentice.c1542 size_t cnt = me->max_count + ALLOC_CHUNK; local
1544 sizeof(*nm) * cnt))) == NULL) {
1545 file_oomem(ms, sizeof(*nm) * cnt);
1549 me->max_count = CAST(uint32_t, cnt);
/PHP_TRUNK/ext/iconv/
H A Diconv.c721 unsigned int cnt; local
741 for (in_p = str, in_left = nbytes, cnt = 0; in_left > 0; cnt+=2) {
756 cnt -= out_left / GENERIC_SUPERSET_NBYTES;
771 *pretval = cnt;
779 *pretval = cnt;
805 unsigned int cnt; local
862 for (in_p = str, in_left = nbytes, cnt = 0; in_left > 0 && len > 0; ++cnt) {
875 if (cnt >
953 unsigned int cnt; local
[all...]
/PHP_TRUNK/ext/sqlite3/libsqlite/
H A Dsqlite3.c9030 u32 cnt; /* Number of times this instruction was executed */ member in struct:VdbeOp
14498 int cnt = 0; local
14519 cnt++;
14523 return cnt;
18418 int cnt; /* Number of entries without a matching leave */ member in struct:sqlite3_debug_mutex
18427 return p==0 || p->cnt>0;
18431 return p==0 || p->cnt==0;
18454 pNew->cnt = 0;
18474 assert( p->cnt==0 );
18493 p->cnt
20151 et_getdigit(LONGDOUBLE_TYPE *val, int *cnt) argument
26790 seekAndRead(unixFile *id, sqlite3_int64 offset, void *pBuf, int cnt) argument
26949 seekAndWrite(unixFile *id, i64 offset, const void *pBuf, int cnt) argument
33695 int rc, cnt = 0; local
33717 int cnt = 0; local
34238 int cnt = 3; local
35760 int cnt = 0; local
35800 int cnt = 0; local
36077 int cnt = 0; local
36202 int cnt = 0; local
36578 ULONGLONG cnt = osGetTickCount64(); local
36584 DWORD cnt = osGetTickCount(); local
48838 walTryBeginRead(Wal *pWal, int *pChanged, int useWal, int cnt) argument
49029 int cnt = 0; /* Number of TryBeginRead attempts */ local
49354 int cnt; local
49503 { int cnt; for(cnt=0, p=pList; p; p=p->pDirty, cnt++){} local
58723 int i, rc, depth, d2, pgno, cnt; local
63489 int cnt = 0; local
65854 int cnt = 0; /* Counter to prevent infinite loop of reprepares */ local
68108 int cnt; local
70951 int cnt; /* Counter to limit the number of searches */ local
75864 int cnt = 0; /* Number of matching column names */ local
81072 struct SrcCount cnt; local
91687 i64 cnt; /* Number of elements summed */ member in struct:SumCtx
98679 int cnt = 0; local
101507 int cnt; /* Index added to make the name unique */ local
110035 int cnt; /* Number of non-wildcard prefix characters */ local
117739 int cnt = 0, mxSelect; local
120575 setupLookaside(sqlite3 *db, void *pBuf, int sz, int cnt) argument
120667 int cnt = va_arg(ap, int); /* IMP: R-04460-53386 */ local
[all...]
/PHP_TRUNK/main/
H A Dphp_variables.c239 uint64_t cnt; member in struct:post_var_data
296 if (++vars->cnt > max_vars) {
/PHP_TRUNK/ext/simplexml/
H A Dsimplexml.c143 static xmlNodePtr sxe_get_element_by_offset(php_sxe_object *sxe, long offset, xmlNodePtr node, long *cnt) /* {{{ */ argument
149 if (cnt) {
150 *cnt = 0;
172 if (cnt) {
173 *cnt = nodendx;
335 long cnt = 0; local
346 node = sxe_get_element_by_offset(sxe, Z_LVAL_P(member), node, &cnt);
353 if (member && cnt < Z_LVAL_P(member)) {
354 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Cannot add element %s number %ld when only %ld such elements exist", mynode->name, Z_LVAL_P(member), cnt);
465 long cnt local
[all...]
/PHP_TRUNK/ext/date/lib/
H A Dparse_date.re309 unsigned int cnt = s->tok - s->bot;
310 if(cnt){
313 s->ptr -= cnt;
314 cursor -= cnt;
315 s->pos -= cnt;
316 s->lim -= cnt;
330 if((cnt = read(s->fd, (char*) s->lim, BSIZE)) != BSIZE){
331 s->eof = &s->lim[cnt]; *(s->eof)++ = '\n';
333 s->lim += cnt;
H A Dparse_date.c311 unsigned int cnt = s->tok - s->bot;
312 if(cnt){
315 s->ptr -= cnt;
316 cursor -= cnt;
317 s->pos -= cnt;
318 s->lim -= cnt;
332 if((cnt = read(s->fd, (char*) s->lim, BSIZE)) != BSIZE){
333 s->eof = &s->lim[cnt]; *(s->eof)++ = '\n';
335 s->lim += cnt;
/PHP_TRUNK/Zend/
H A Dzend_execute_API.c1512 ai.afn[idx] && ai.afn[idx + 1] ? ", " : (ai.afn[idx] && ai.cnt > MAX_ABSTRACT_INFO_CNT ? ", ..." : "")
1516 int cnt;
1523 if (ai->cnt < MAX_ABSTRACT_INFO_CNT) {
1524 ai->afn[ai->cnt] = fn;
1528 ai->cnt++;
1531 ai->afn[ai->cnt] = NULL;
1534 ai->cnt++;
1550 if (ai.cnt) {
1552 ce->name, ai.cnt,
1553 ai.cnt >
[all...]
/PHP_TRUNK/ext/intl/locale/
H A Dlocale_methods.c1038 int cnt = 0; local
1056 sprintf( cur_key_name , "%s%d", key_name , cnt++);
1060 sprintf( cur_key_name , "%s%d", key_name , cnt++);
/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd.c1261 int cnt = 0; local
1267 cnt++;
1271 if (cnt) {
1272 MYSQLND **ret_p = ret = ecalloc(cnt + 1, sizeof(MYSQLND *));
1297 unsigned int cnt = 0; local
1317 cnt++;
1321 DBG_RETURN(cnt ? 1 : 0);
/PHP_TRUNK/ext/spl/
H A Dspl_iterators.c1427 int cnt = 0; local
1429 cnt += (flags & CIT_CALL_TOSTRING) ? 1 : 0;
1430 cnt += (flags & CIT_TOSTRING_USE_KEY) ? 1 : 0;
1431 cnt += (flags & CIT_TOSTRING_USE_CURRENT) ? 1 : 0;
1432 cnt += (flags & CIT_TOSTRING_USE_INNER) ? 1 : 0;
1434 return cnt <= 1 ? SUCCESS : FAILURE;

Completed in 185 milliseconds