HomeSort by relevance Sort by last modified time
    Searched defs:nCol (Results 1 - 16 of 16) sorted by null

  /external/chromium_org/third_party/sqlite/src/src/
legacy.c 50 int nCol;
66 nCol = sqlite3_column_count(pStmt);
77 azCols = sqlite3DbMallocZero(db, 2*nCol*sizeof(const char*) + 1);
81 for(i=0; i<nCol; i++){
90 azVals = &azCols[nCol];
91 for(i=0; i<nCol; i++){
99 if( xCallback(pArg, nCol, azVals, azCols) ){
delete.c 513 pParse->nMem += (1 + pTab->nCol);
518 for(iCol=0; iCol<pTab->nCol; iCol++){
623 int nCol;
625 nCol = pIdx->nColumn;
626 regBase = sqlite3GetTempRange(pParse, nCol+1);
627 sqlite3VdbeAddOp2(v, OP_Rowid, iCur, regBase+nCol);
628 for(j=0; j<nCol; j++){
631 sqlite3VdbeAddOp2(v, OP_SCopy, regBase+nCol, regBase+j);
638 sqlite3VdbeAddOp3(v, OP_MakeRecord, regBase, nCol+1, regOut);
641 sqlite3ReleaseTempRange(pParse, regBase, nCol+1)
    [all...]
analyze.c 166 int nCol;
170 nCol = pIdx->nColumn;
172 if( iMem+1+(nCol*2)>pParse->nMem ){
173 pParse->nMem = iMem+1+(nCol*2);
216 ** iMem+1 .. iMem+nCol:
218 ** left-most N columns only, where N is between 1 and nCol,
221 ** iMem+nCol+1 .. Mem+2*nCol:
224 ** Cells iMem through iMem+nCol are initialized to 0. The others are
227 for(i=0; i<=nCol; i++)
    [all...]
fkey.c 190 int nCol = pFKey->nCol; /* Number of columns in parent key */
206 if( nCol==1 ){
219 assert( nCol>1 );
220 aiCol = (int *)sqlite3DbMallocRaw(pParse->db, nCol*sizeof(int));
226 if( pIdx->nColumn==nCol && pIdx->onError!=OE_None ){
238 for(i=0; i<nCol; i++) aiCol[i] = pFKey->aCol[i].iFrom;
248 for(i=0; i<nCol; i++){
263 for(j=0; j<nCol; j++){
269 if( j==nCol ) break
    [all...]
insert.c 33 sqlite3VdbeChangeP4(v, -1, SQLITE_INT_TO_PTR(pTab->nCol), P4_INT32);
112 zColAff = (char *)sqlite3DbMallocRaw(0, pTab->nCol+1);
118 for(i=0; i<pTab->nCol; i++){
121 zColAff[pTab->nCol] = '\0';
685 for(i=0; i<pTab->nCol; i++){
689 if( pColumn==0 && nColumn && nColumn!=(pTab->nCol-nHidden) ){
692 pTabList, 0, pTab->nCol-nHidden, nColumn);
716 for(j=0; j<pTab->nCol; j++){
725 if( j>=pTab->nCol ){
799 pParse->nMem += pTab->nCol + 1
    [all...]
test8.c 82 int nCol; /* Number of columns in the real table */
83 int *aIndex; /* Array of size nCol. True if column has an index */
84 char **aCol; /* Array of size nCol. Column names */
152 ** nCol column names. The caller is responsible for calling sqlite3_free
165 int nCol = 0;
183 nCol = sqlite3_column_count(pStmt);
188 nBytes = sizeof(char *) * nCol;
189 for(ii=0; ii<nCol; ii++){
206 zSpace = (char *)(&aCol[nCol]);
207 for(ii=0; ii<nCol; ii++)
    [all...]
build.c 488 for(i=0; i<pTable->nCol; i++, pCol++){
954 if( p->nCol+1>db->aLimit[SQLITE_LIMIT_COLUMN] ){
961 for(i=0; i<p->nCol; i++){
968 if( (p->nCol & 0x7)==0 ){
970 aNew = sqlite3DbRealloc(db,p->aCol,(p->nCol+8)*sizeof(p->aCol[0]));
977 pCol = &p->aCol[p->nCol];
986 p->nCol++;
998 if( p==0 || NEVER(p->nCol<1) ) return
    [all...]
shell.c 1113 int nCol = sqlite3_column_count(pStmt);
1114 void *pData = sqlite3_malloc(3*nCol*sizeof(const char*) + 1);
    [all...]
select.c 186 for(i=0; i<pTab->nCol; i++){
346 for(j=0; j<pRightTab->nCol; j++){
    [all...]
tclsqlite.c     [all...]
test1.c 584 int nRow, nCol;
604 rc = sqlite3_get_table(db, zSql, &aResult, &nRow, &nCol, &zErr);
605 resCount = (nRow+1)*nCol;
614 sprintf(zBuf, "%d", nCol);
    [all...]
sqliteInt.h     [all...]
  /external/chromium_org/third_party/sqlite/src/ext/fts3/
fts3_expr.c 88 int nCol; /* Number of entries in azCol[] */
453 for(ii=0; ii<pParse->nCol; ii++){
693 ** array, which is assumed to contain nCol entries, should contain the names
706 int nCol, /* Number of entries in azCol[] */
716 sParse.nCol = nCol;
862 int nCol;
895 nCol = argc-2;
896 azCol = (char **)sqlite3_malloc(nCol*sizeof(char *));
901 for(ii=0; ii<nCol; ii++)
    [all...]
fts3_snippet.c 26 #define FTS3_MATCHINFO_AVGLENGTH 'a' /* nCol values */
27 #define FTS3_MATCHINFO_LENGTH 'l' /* nCol values */
28 #define FTS3_MATCHINFO_LCS 's' /* nCol values */
29 #define FTS3_MATCHINFO_HITS 'x' /* 3*nCol*nPhrase values */
88 int nCol; /* Number of columns in table */
807 ** for(iCol=0; iCol<nCol; iCol++){
808 ** aMatchinfo[3*iPhrase*nCol + 3*iCol + 1] = X;
809 ** aMatchinfo[3*iPhrase*nCol + 3*iCol + 2] = Y;
832 u32 *aOut = &p->aMatchinfo[3*iPhrase*p->nCol];
851 for(iCol=0; iCol<p->nCol; iCol++)
    [all...]
fts3.c 836 int nCol = 0; /* Number of columns in the FTS table */
914 aCol[nCol++] = z;
919 if( nCol==0 ){
923 nCol = 1;
935 nCol * sizeof(char *) + /* azColumn */
946 p->nColumn = nCol;
    [all...]
  /external/chromium_org/third_party/sqlite/amalgamation/
sqlite3.c     [all...]

Completed in 890 milliseconds