Home
last modified time | relevance | path

Searched refs:nColumn (Results 1 – 24 of 24) sorted by relevance

/external/chromium_org/third_party/sqlite/src/src/
Dtable.c34 int nColumn; /* Number of columns in the result */ member
70 p->nColumn = nCol; in sqlite3_get_table_cb()
76 }else if( p->nColumn!=nCol ){ in sqlite3_get_table_cb()
135 res.nColumn = 0; in sqlite3_get_table()
176 if( pnColumn ) *pnColumn = res.nColumn; in sqlite3_get_table()
Dinsert.c70 pIdx->zColAff = (char *)sqlite3DbMallocRaw(0, pIdx->nColumn+2); in sqlite3IndexAffinityStr()
75 for(n=0; n<pIdx->nColumn; n++){ in sqlite3IndexAffinityStr()
448 int nColumn; /* Number of columns in the data */ in sqlite3Insert() local
617 nColumn = pSelect->pEList->nExpr; in sqlite3Insert()
618 assert( dest.nMem==nColumn ); in sqlite3Insert()
653 sqlite3VdbeAddOp2(v, OP_OpenEphemeral, srcTab, nColumn); in sqlite3Insert()
656 sqlite3VdbeAddOp3(v, OP_MakeRecord, regFromSelect, nColumn, regRec); in sqlite3Insert()
673 nColumn = pList ? pList->nExpr : 0; in sqlite3Insert()
674 for(i=0; i<nColumn; i++){ in sqlite3Insert()
689 if( pColumn==0 && nColumn && nColumn!=(pTab->nCol-nHidden) ){ in sqlite3Insert()
[all …]
Dselect.c531 int nColumn, /* Number of columns in the source table */ in selectInnerLoop() argument
556 if( nColumn>0 ){ in selectInnerLoop()
557 nResultCol = nColumn; in selectInnerLoop()
569 if( nColumn>0 ){ in selectInnerLoop()
570 for(i=0; i<nColumn; i++){ in selectInnerLoop()
580 nColumn = nResultCol; in selectInnerLoop()
588 assert( pEList->nExpr==nColumn ); in selectInnerLoop()
589 codeDistinct(pParse, distinct, iContinue, nColumn, regResult); in selectInnerLoop()
603 sqlite3VdbeAddOp3(v, OP_MakeRecord, regResult, nColumn, r1); in selectInnerLoop()
614 sqlite3VdbeAddOp3(v, OP_IdxDelete, iParm, regResult, nColumn); in selectInnerLoop()
[all …]
Dwhere.c603 if( NEVER(j>=pIdx->nColumn) ) return 0; in findTerm()
1443 assert( pIdx->zName || (pIdx->nColumn==1 && pIdx->aiColumn[0]==-1) ); in isSortingIndex()
1453 for(i=j=0, pTerm=pOrderBy->a; j<nTerm && i<=pIdx->nColumn; i++){ in isSortingIndex()
1471 if( pIdx->zName && i<pIdx->nColumn ){ in isSortingIndex()
1490 }else if( i==pIdx->nColumn ){ in isSortingIndex()
1532 if( pIdx->onError!=OE_None && i==pIdx->nColumn in isSortingIndex()
1805 int nColumn; /* Number of columns in the constructed index */ in constructAutomaticIndex() local
1834 nColumn = 0; in constructAutomaticIndex()
1845 nColumn++; in constructAutomaticIndex()
1850 assert( nColumn>0 ); in constructAutomaticIndex()
[all …]
Dbuild.c1245 assert( pIdx->nColumn==1 ); in sqlite3AddCollateType()
2354 const int regRowid = regIdxKey + pIndex->nColumn; in sqlite3RefillIndex()
2613 pIndex->nColumn = pList->nExpr; in sqlite3CreateIndex()
2711 if( pIdx->nColumn!=pIndex->nColumn ) continue; in sqlite3CreateIndex()
2712 for(k=0; k<pIdx->nColumn; k++){ in sqlite3CreateIndex()
2720 if( k==pIdx->nColumn ){ in sqlite3CreateIndex()
2893 for(i=1; i<=pIdx->nColumn; i++){ in sqlite3DefaultRowEst()
2898 a[pIdx->nColumn] = 1; in sqlite3DefaultRowEst()
3604 for(i=0; i<pIndex->nColumn; i++){ in collationMatch()
3737 int nCol = pIdx->nColumn; in sqlite3IndexKeyinfo()
Ddelete.c597 sqlite3VdbeAddOp3(pParse->pVdbe, OP_IdxDelete, iCur+i, r1,pIdx->nColumn+1); in sqlite3GenerateRowIndexDelete()
625 nCol = pIdx->nColumn; in sqlite3GenerateIndexKey()
Danalyze.c170 nCol = pIdx->nColumn; in analyzeOneTable()
539 n = pIndex ? pIndex->nColumn : 0; in analysisLoader()
Dvdbeblob.c238 for(j=0; j<pIdx->nColumn; j++){ in sqlite3_blob_open()
Dfkey.c226 if( pIdx->nColumn==nCol && pIdx->onError!=OE_None ){ in locateFkeyIndex()
844 for(i=0; i<pIdx->nColumn; i++) mask |= COLUMN_MASK(pIdx->aiColumn[i]); in sqlite3FkOldmask()
Dpragma.c914 for(i=0; i<pIdx->nColumn; i++){ in sqlite3Pragma()
1177 jmp2 = sqlite3VdbeAddOp4Int(v, OP_Found, j+2, 0, r1, pIdx->nColumn+1); in sqlite3Pragma()
Dupdate.c250 for(i=0; i<pIdx->nColumn; i++){ in sqlite3Update()
Dexpr.c1488 && (!mustBeUnique || (pIdx->nColumn==1 && pIdx->onError!=OE_None)) in sqlite3FindInIndex()
3502 &pInfo->nColumn, in addAggInfoColumn()
3560 for(k=0; k<pAggInfo->nColumn; k++, pCol++){ in analyzeAggregate()
3566 if( (k>=pAggInfo->nColumn) in analyzeAggregate()
DsqliteInt.h1472 int nColumn; /* Number of columns in the table used by this index */ member
1543 int nColumn; /* Number of used entries in aCol[] */ member
/external/chromium_org/third_party/sqlite/src/ext/fts1/
Dfts1.c1089 int nColumn; /* number of columns in virtual table */ member
1140 appendList(&sb, v->nColumn, v->azContentColumn); in contentInsertStatement()
1142 for(i=0; i<v->nColumn; ++i) in contentInsertStatement()
1158 for(i=0; i<v->nColumn; ++i) { in contentUpdateStatement()
1255 for(i=0; i<v->nColumn; ++i){ in content_insert()
1272 for(i=0; i<v->nColumn; ++i){ in content_update()
1277 rc = sqlite3_bind_int64(s, 1+v->nColumn, iRowid); in content_update()
1316 values = (const char **) malloc(v->nColumn * sizeof(const char *)); in content_select()
1317 for(i=0; i<v->nColumn; ++i){ in content_select()
1333 freeStringArray(v->nColumn, values); in content_select()
[all …]
/external/chromium_org/third_party/sqlite/src/ext/fts3/
Dfts3_write.c633 for(i=2; i<p->nColumn+2; i++){ in fts3InsertTerms()
641 aSz[p->nColumn] += sqlite3_value_bytes(apVal[i]); in fts3InsertTerms()
690 if( SQLITE_NULL!=sqlite3_value_type(apVal[3+p->nColumn]) ){ in fts3InsertData()
697 rc = sqlite3_bind_value(pContentInsert, 1, apVal[3+p->nColumn]); in fts3InsertData()
755 for(i=1; i<=p->nColumn; i++){ in fts3DeleteTerms()
763 aSz[p->nColumn] += sqlite3_column_bytes(pSelect, i); in fts3DeleteTerms()
2341 pBlob = sqlite3_malloc( 10*p->nColumn ); in fts3InsertDocsize()
2346 fts3EncodeIntArray(p->nColumn, aSz, pBlob, &nBlob); in fts3InsertDocsize()
2388 const int nStat = p->nColumn+2; in fts3UpdateDocTotals()
2416 for(i=0; i<p->nColumn+1; i++){ in fts3UpdateDocTotals()
[all …]
Dfts3.c530 for(i=1; zCols && i<p->nColumn; i++){ in fts3DeclareVtab()
567 for(i=0; zContentCols && i<p->nColumn; i++){ in fts3CreateTables()
763 for(i=0; i<p->nColumn; i++){ in fts3ReadExprList()
802 for(i=0; i<p->nColumn; i++){ in fts3WriteExprList()
946 p->nColumn = nCol; in fts3InitVtab()
1069 && (pCons->iColumn<0 || pCons->iColumn==p->nColumn+1 ) in fts3BestIndexMethod()
1086 && pCons->iColumn>=0 && pCons->iColumn<=p->nColumn in fts3BestIndexMethod()
2264 | (iColumn<p->nColumn ? FTS3_SEGMENT_COLUMN_FILTER : 0); in fts3TermSelect()
3058 assert( idxNum>=0 && idxNum<=(FTS3_FULLTEXT_SEARCH+p->nColumn) ); in fts3FilterMethod()
3077 rc = sqlite3Fts3ExprParse(p->pTokenizer, p->azColumn, p->nColumn, in fts3FilterMethod()
[all …]
Dfts3Int.h124 int nColumn; /* number of named columns in virtual table */ member
Dfts3_snippet.c1245 sInfo.nCol = pTab->nColumn; in fts3GetMatchinfo()
1356 for(iRead=0; iRead<pTab->nColumn; iRead++){ in sqlite3Fts3Snippet()
1485 for(iCol=0; iCol<pTab->nColumn; iCol++){ in sqlite3Fts3Offsets()
/external/chromium_org/third_party/sqlite/src/ext/fts2/
Dfts2.c2024 int nColumn; /* number of columns in virtual table */ member
2090 appendList(&sb, v->nColumn, v->azContentColumn); in contentInsertStatement()
2092 for(i=0; i<v->nColumn; ++i) in contentInsertStatement()
2108 for(i=0; i<v->nColumn; ++i) { in contentUpdateStatement()
2195 for(i=0; i<v->nColumn; ++i){ in content_insert()
2212 for(i=0; i<v->nColumn; ++i){ in content_update()
2217 rc = sqlite3_bind_int64(s, 1+v->nColumn, iRowid); in content_update()
2256 values = (const char **) sqlite3_malloc(v->nColumn * sizeof(const char *)); in content_select()
2257 for(i=0; i<v->nColumn; ++i){ in content_select()
2273 freeStringArray(v->nColumn, values); in content_select()
[all …]
/external/chromium_org/chrome_frame/test/perf/
Dsilverlight.cc31 long nLine, long nColumn) PURE;
52 long nLine, long nColumn) {
/external/sqlite/dist/orig/
Dsqlite3.c10381 int nColumn; /* Number of columns in the table used by this index */ member
10454 int nColumn; /* Number of used entries in aCol[] */ member
71411 for(j=0; j<pIdx->nColumn; j++){
75901 && (!mustBeUnique || (pIdx->nColumn==1 && pIdx->onError!=OE_None))
78171 &pInfo->nColumn,
78226 for(k=0; k<pAggInfo->nColumn; k++, pCol++){
78232 if( (k>=pAggInfo->nColumn)
79764 nCol = pIdx->nColumn;
79857 sqlite3VdbeAddOp3(v, OP_Column, iIdxCur, pIdx->nColumn, regRowid);
80134 n = pIndex ? pIndex->nColumn : 0;
[all …]
/external/sqlite/dist/
Dsqlite3.c10381 int nColumn; /* Number of columns in the table used by this index */ member
10454 int nColumn; /* Number of used entries in aCol[] */ member
71439 for(j=0; j<pIdx->nColumn; j++){
75937 && (!mustBeUnique || (pIdx->nColumn==1 && pIdx->onError!=OE_None))
78207 &pInfo->nColumn,
78262 for(k=0; k<pAggInfo->nColumn; k++, pCol++){
78268 if( (k>=pAggInfo->nColumn)
79800 nCol = pIdx->nColumn;
79893 sqlite3VdbeAddOp3(v, OP_Column, iIdxCur, pIdx->nColumn, regRowid);
80170 n = pIndex ? pIndex->nColumn : 0;
[all …]
/external/chromium_org/third_party/sqlite/amalgamation/
Dsqlite3.c9832 int nColumn; /* Number of columns in the table used by this index */ member
9903 int nColumn; /* Number of used entries in aCol[] */ member
68845 for(j=0; j<pIdx->nColumn; j++){
72404 && (!mustBeUnique || (pIdx->nColumn==1 && pIdx->onError!=OE_None))
74418 &pInfo->nColumn,
74476 for(k=0; k<pAggInfo->nColumn; k++, pCol++){
74482 if( (k>=pAggInfo->nColumn)
75671 nCol = pIdx->nColumn;
76040 n = pIndex ? pIndex->nColumn : 0;
78261 assert( pIdx->nColumn==1 );
[all …]
/external/chromium_org/third_party/sqlite/
Dfts2.patch1684 if( iColumn==v->nColumn) iColumn = -1;