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

12

/PHP_5_3/ext/sqlite/libsqlite/src/
H A Ddate.c100 int cnt = 0; local
111 return cnt;
117 return cnt;
121 cnt++;
123 return cnt;
H A Dencode.c126 int cnt[256]; local
134 memset(cnt, 0, sizeof(cnt));
135 for(i=n-1; i>=0; i--){ cnt[in[i]]++; }
140 sum = cnt[i] + cnt[(i+1)&0xff] + cnt[(i+'\'')&0xff];
H A Dexpr.c422 int cnt = 0; /* Number of matching column names */ local
473 cnt++;
487 if( zDb==0 && zTab!=0 && cnt==0 && pParse->trigStack!=0 ){
508 cnt++;
520 if( cnt==0 && cntTab==1 && sqliteIsRowid(zCol) ){
521 cnt = 1;
538 if( cnt==0 && pEList!=0 ){
560 if( cnt==0 && zTab==0 && pColumnToken->z[0]=='"' ){
566 ** cnt==0 means there was not match. cnt>
[all...]
H A Dmain.c704 int rc, cnt = 1; local
707 && db->xBusyCallback(db->pBusyArg, "", cnt++)!=0 ){}
H A Dos.c158 ** a reference count (so we will know when to delete it) and a "cnt"
159 ** field that tells us its internal lock status. cnt==0 means the
160 ** file is unlocked. cnt==-1 means the file has an exclusive lock.
161 ** cnt>0 means there are cnt shared locks on the file.
226 int cnt; /* 0: unlocked. -1: write lock. 1...: read lock. */ member in struct:lockInfo
319 pLock->cnt = 0;
1324 if( id->pLock->cnt>0 ){
1326 id->pLock->cnt++;
1331 }else if( id->locked || id->pLock->cnt
1361 int cnt = 100; local
1397 int cnt = 5; local
1471 int cnt = 100; local
1505 int cnt = 5; local
[all...]
H A Dpager.c293 static int cnt = 0; local
299 cnt++; /* Something to set a breakpoint on */
896 int cnt = 8; local
899 cnt--;
902 }while( cnt>0 && rc!=SQLITE_OK );
H A Dprintf.c146 ** The counter *cnt is incremented each time. After counter exceeds
150 static int et_getdigit(LONGDOUBLE_TYPE *val, int *cnt){ argument
153 if( (*cnt)++ >= 16 ) return '0';
H A Dvdbe.c1779 int i, cnt; local
1781 cnt = pOp->p1;
1782 if( cnt<0 ) cnt = -cnt;
1783 pTerm = &pTos[1-cnt];
1785 for(i=0; i<cnt; i++, pTerm++){
1791 if( pOp->p1>0 ) popStack(&pTos, cnt);
1802 int i, cnt; local
1803 cnt
2835 int res, rx, cnt, x; local
[all...]
H A Dvdbe.h43 int cnt; /* Number of times this instruction was executed */ member in struct:VdbeOp
H A DvdbeInt.h159 int cnt; /* Number of times that the step function has been called */ member in struct:sqlite_func
H A Dvdbeaux.c503 return p->cnt;
648 p->aOp[i].cnt = 0;
691 ctx.cnt = pMem->i;
902 p->aOp[i].cnt,
904 p->aOp[i].cnt>0 ? p->aOp[i].cycles/p->aOp[i].cnt : 0
H A Dwhere.c67 int cnt = 0; local
75 cnt = 1 + exprSplit(nSlot-1, &aSlot[1], pExpr->pRight);
77 cnt = exprSplit(nSlot, aSlot, pExpr->pLeft);
78 cnt += exprSplit(nSlot-cnt, &aSlot[cnt], pExpr->pRight);
80 return cnt;
/PHP_5_3/ext/standard/
H A Dcrypt_sha256.c361 size_t cnt; local
434 for (cnt = key_len; cnt > 32; cnt -= 32) {
437 sha256_process_bytes(alt_result, cnt, &ctx);
441 for (cnt = key_len; cnt > 0; cnt >>= 1) {
442 if ((cnt & 1) != 0) {
456 for (cnt
705 int cnt, i; local
[all...]
H A Dcrypt_sha512.c394 size_t cnt; local
468 for (cnt = key_len; cnt > 64; cnt -= 64) {
471 sha512_process_bytes(alt_result, cnt, &ctx);
475 for (cnt = key_len; cnt > 0; cnt >>= 1) {
476 if ((cnt & 1) != 0) {
490 for (cnt
769 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) {
135 ep = env.envarray = (char **) pecalloc(cnt + 1, sizeof(char *), is_persistent);
H A Dstreamsfuncs.c614 int cnt = 0; local
646 cnt++;
649 return cnt ? 1 : 0;
/PHP_5_3/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_5_3/ext/fileinfo/libmagic/
H A Dcompress.c193 int cnt; local
194 for (cnt = 0;; cnt++) {
210 } else if (selrv == 0 && cnt >= 5) {
/PHP_5_3/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_5_3/ext/iconv/
H A Diconv.c588 unsigned int cnt; local
608 for (in_p = str, in_left = nbytes, cnt = 0; in_left > 0; cnt+=2) {
623 cnt -= out_left / GENERIC_SUPERSET_NBYTES;
638 *pretval = cnt;
646 *pretval = cnt;
672 unsigned int cnt; local
729 for (in_p = str, in_left = nbytes, cnt = 0; in_left > 0 && len > 0; ++cnt) {
742 if (cnt >
820 unsigned int cnt; local
[all...]
/PHP_5_3/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_5_3/ext/mysqlnd/
H A Dmysqlnd.c1106 int cnt = 0; local
1112 cnt++;
1116 if (cnt) {
1117 MYSQLND **ret_p = ret = ecalloc(cnt + 1, sizeof(MYSQLND *));
1140 int cnt = 0; local
1157 cnt++;
1161 return cnt ? 1 : 0;
/PHP_5_3/Zend/
H A Dzend_execute_API.c1588 ai.afn[idx] && ai.afn[idx + 1] ? ", " : (ai.afn[idx] && ai.cnt > MAX_ABSTRACT_INFO_CNT ? ", ..." : "")
1592 int cnt;
1599 if (ai->cnt < MAX_ABSTRACT_INFO_CNT) {
1600 ai->afn[ai->cnt] = fn;
1604 ai->cnt++;
1607 ai->afn[ai->cnt] = NULL;
1610 ai->cnt++;
1626 if (ai.cnt) {
1628 ce->name, ai.cnt,
1629 ai.cnt >
[all...]
/PHP_5_3/ext/date/lib/
H A Dparse_date.re311 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_5_3/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++);

Completed in 151 milliseconds

12