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

/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/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/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/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/standard/
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 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
698 int cnt, i; local
[all...]
H A Darray.c258 zend_long cnt = 0; local
267 cnt = zend_hash_num_elements(Z_ARRVAL_P(array));
274 cnt += php_count_recursive(element, COUNT_RECURSIVE TSRMLS_CC);
282 return cnt;
292 zend_long cnt; local
312 cnt = zend_hash_num_elements(Z_ARRVAL_P(array));
316 cnt += php_count_recursive(element, COUNT_RECURSIVE TSRMLS_CC);
319 RETURN_LONG(cnt);
H A Dproc_open.c85 size_t cnt, l, sizeenv=0; local
94 cnt = zend_hash_num_elements(Z_ARRVAL_P(environment));
96 if (cnt < 1) {
130 ep = env.envarray = (char **) pecalloc(cnt + 1, sizeof(char *), is_persistent);
H A Dstreamsfuncs.c582 int cnt = 0; local
610 cnt++;
613 return cnt ? 1 : 0;
H A Dstring.c1398 size_t inc_len, cnt; local
1403 cnt = len;
1405 while (cnt > 0) {
1406 inc_len = (*c == '\0' ? 1 : php_mblen(c, cnt));
1454 cnt -= inc_len;
/PHP_TRUNK/ext/intl/locale/
H A Dlocale_methods.c1047 int cnt = 0; local
1065 sprintf( cur_key_name , "%s%d", key_name , cnt++);
1069 sprintf( cur_key_name , "%s%d", key_name , cnt++);
/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd.c1260 int cnt = 0; local
1266 cnt++;
1270 if (cnt) {
1271 MYSQLND **ret_p = ret = ecalloc(cnt + 1, sizeof(MYSQLND *));
1296 unsigned int cnt = 0; local
1316 cnt++;
1320 DBG_RETURN(cnt ? 1 : 0);
/PHP_TRUNK/ext/simplexml/
H A Dsimplexml.c141 static xmlNodePtr sxe_get_element_by_offset(php_sxe_object *sxe, zend_long offset, xmlNodePtr node, zend_long *cnt) /* {{{ */ argument
147 if (cnt) {
148 *cnt = 0;
170 if (cnt) {
171 *cnt = nodendx;
329 zend_long cnt = 0; local
340 node = sxe_get_element_by_offset(sxe, Z_LVAL_P(member), node, &cnt);
347 if (member && cnt < Z_LVAL_P(member)) {
348 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Cannot add element %s number %pd when only %pd such elements exist", mynode->name, Z_LVAL_P(member), cnt);
457 zend_long cnt local
[all...]
/PHP_TRUNK/Zend/
H A Dzend_execute_API.c1442 ai.afn[idx] && ai.afn[idx + 1] ? ", " : (ai.afn[idx] && ai.cnt > MAX_ABSTRACT_INFO_CNT ? ", ..." : "")
1446 int cnt;
1453 if (ai->cnt < MAX_ABSTRACT_INFO_CNT) {
1454 ai->afn[ai->cnt] = fn;
1458 ai->cnt++;
1461 ai->afn[ai->cnt] = NULL;
1464 ai->cnt++;
1482 if (ai.cnt) {
1484 ce->name->val, ai.cnt,
1485 ai.cnt >
[all...]
/PHP_TRUNK/main/
H A Dphp_variables.c241 uint64_t cnt; member in struct:post_var_data
300 if (++vars->cnt > max_vars) {
/PHP_TRUNK/ext/iconv/
H A Diconv.c716 size_t cnt; local
737 for (in_p = str, in_left = nbytes, cnt = 0; in_left > 0; cnt+=2) {
752 cnt -= out_left / GENERIC_SUPERSET_NBYTES;
767 *pretval = cnt;
775 *pretval = cnt;
801 size_t cnt; local
858 for (in_p = str, in_left = nbytes, cnt = 0; in_left > 0 && len > 0; ++cnt) {
871 if ((zend_long)cnt >
949 size_t cnt; local
[all...]
/PHP_TRUNK/ext/spl/
H A Dspl_iterators.c1431 zend_long cnt = 0; local
1433 cnt += (flags & CIT_CALL_TOSTRING) ? 1 : 0;
1434 cnt += (flags & CIT_TOSTRING_USE_KEY) ? 1 : 0;
1435 cnt += (flags & CIT_TOSTRING_USE_CURRENT) ? 1 : 0;
1436 cnt += (flags & CIT_TOSTRING_USE_INNER) ? 1 : 0;
1438 return cnt <= 1 ? SUCCESS : FAILURE;
/PHP_TRUNK/ext/date/lib/
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;
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;

Completed in 211 milliseconds