Searched refs:nColumn (Results 1 - 22 of 22) sorted by relevance

/external/chromium_org/third_party/sqlite/src/src/
H A Dtable.c34 int nColumn; /* Number of columns in the result */ member in struct:TabResult
35 int nData; /* Slots used in azResult[]. (nRow+1)*nColumn */
70 p->nColumn = nCol;
76 }else if( p->nColumn!=nCol ){
135 res.nColumn = 0;
176 if( pnColumn ) *pnColumn = res.nColumn;
H A Dinsert.c70 pIdx->zColAff = (char *)sqlite3DbMallocRaw(0, pIdx->nColumn+2);
75 for(n=0; n<pIdx->nColumn; n++){
448 int nColumn; /* Number of columns in the data */ local
617 nColumn = pSelect->pEList->nExpr;
618 assert( dest.nMem==nColumn );
653 sqlite3VdbeAddOp2(v, OP_OpenEphemeral, srcTab, nColumn);
656 sqlite3VdbeAddOp3(v, OP_MakeRecord, regFromSelect, nColumn, regRec);
673 nColumn = pList ? pList->nExpr : 0;
674 for(i=0; i<nColumn; i++){
689 if( pColumn==0 && nColumn
[all...]
H A Dselect.c521 ** If srcTab and nColumn are both zero, then the pEList expressions
522 ** are evaluated in order to get the data for this row. If nColumn>0
531 int nColumn, /* Number of columns in the source table */
556 if( nColumn>0 ){
557 nResultCol = nColumn;
569 if( nColumn>0 ){
570 for(i=0; i<nColumn; i++){
580 nColumn = nResultCol;
588 assert( pEList->nExpr==nColumn );
589 codeDistinct(pParse, distinct, iContinue, nColumn, regResul
526 selectInnerLoop( Parse *pParse, Select *p, ExprList *pEList, int srcTab, int nColumn, ExprList *pOrderBy, int distinct, SelectDest *pDest, int iContinue, int iBreak ) argument
867 generateSortTail( Parse *pParse, Select *p, Vdbe *v, int nColumn, SelectDest *pDest ) argument
[all...]
H A Dwhere.c603 if( NEVER(j>=pIdx->nColumn) ) return 0;
1443 assert( pIdx->zName || (pIdx->nColumn==1 && pIdx->aiColumn[0]==-1) );
1448 ** Note that indices have pIdx->nColumn regular columns plus
1453 for(i=j=0, pTerm=pOrderBy->a; j<nTerm && i<=pIdx->nColumn; i++){
1471 if( pIdx->zName && i<pIdx->nColumn ){
1490 }else if( i==pIdx->nColumn ){
1532 if( pIdx->onError!=OE_None && i==pIdx->nColumn
1805 int nColumn; /* Number of columns in the constructed index */ local
1834 nColumn = 0;
1845 nColumn
[all...]
H A Ddelete.c597 sqlite3VdbeAddOp3(pParse->pVdbe, OP_IdxDelete, iCur+i, r1,pIdx->nColumn+1);
625 nCol = pIdx->nColumn;
H A Danalyze.c170 nCol = pIdx->nColumn;
539 n = pIndex ? pIndex->nColumn : 0;
H A Dbuild.c1242 assert( pIdx->nColumn==1 );
2351 const int regRowid = regIdxKey + pIndex->nColumn;
2610 pIndex->nColumn = pList->nExpr;
2708 if( pIdx->nColumn!=pIndex->nColumn ) continue;
2709 for(k=0; k<pIdx->nColumn; k++){
2717 if( k==pIdx->nColumn ){
2890 for(i=1; i<=pIdx->nColumn; i++){
2895 a[pIdx->nColumn] = 1;
3601 for(i=0; i<pIndex->nColumn;
[all...]
H A Dvdbeblob.c238 for(j=0; j<pIdx->nColumn; j++){
H A Dfkey.c226 if( pIdx->nColumn==nCol && pIdx->onError!=OE_None ){
844 for(i=0; i<pIdx->nColumn; i++) mask |= COLUMN_MASK(pIdx->aiColumn[i]);
H A Dexpr.c1488 && (!mustBeUnique || (pIdx->nColumn==1 && pIdx->onError!=OE_None))
3502 &pInfo->nColumn,
3560 for(k=0; k<pAggInfo->nColumn; k++, pCol++){
3566 if( (k>=pAggInfo->nColumn)
H A Dupdate.c250 for(i=0; i<pIdx->nColumn; i++){
H A Dpragma.c914 for(i=0; i<pIdx->nColumn; i++){
1177 jmp2 = sqlite3VdbeAddOp4Int(v, OP_Found, j+2, 0, r1, pIdx->nColumn+1);
H A DsqliteInt.h1457 ** Ex2, nColumn==2 since 2 of the 3 columns of Ex1 are indexed.
1472 int nColumn; /* Number of columns in the table used by this index */ member in struct:Index
1483 u8 *aSortOrder; /* Array of size Index.nColumn. True==DESC, False==ASC */
1543 int nColumn; /* Number of used entries in aCol[] */ member in struct:AggInfo
/external/chromium_org/third_party/sqlite/src/ext/fts1/
H A Dfts1.c1089 int nColumn; /* number of columns in virtual table */ member in struct:fulltext_vtab
1140 appendList(&sb, v->nColumn, v->azContentColumn);
1142 for(i=0; i<v->nColumn; ++i)
1158 for(i=0; i<v->nColumn; ++i) {
1255 for(i=0; i<v->nColumn; ++i){
1272 for(i=0; i<v->nColumn; ++i){
1277 rc = sqlite3_bind_int64(s, 1+v->nColumn, iRowid);
1316 values = (const char **) malloc(v->nColumn * sizeof(const char *));
1317 for(i=0; i<v->nColumn; ++i){
1333 freeStringArray(v->nColumn, value
1791 int nColumn; /* Number of columns to be indexed */ member in struct:TableSpec
1912 fulltextSchema( int nColumn, const char *const* azColumn, const char *zTableName ) argument
2222 int nColumn; /* Number of columns in the index */ local
2285 int nColumn; local
[all...]
/external/chromium_org/third_party/sqlite/src/ext/fts3/
H A Dfts3_write.c633 for(i=2; i<p->nColumn+2; i++){
641 aSz[p->nColumn] += sqlite3_value_bytes(apVal[i]);
655 ** apVal[p->nColumn+1] Right-most user-defined column
656 ** apVal[p->nColumn+2] Hidden column with same name as table
657 ** apVal[p->nColumn+3] Hidden "docid" column (alias for rowid)
690 if( SQLITE_NULL!=sqlite3_value_type(apVal[3+p->nColumn]) ){
697 rc = sqlite3_bind_value(pContentInsert, 1, apVal[3+p->nColumn]);
755 for(i=1; i<=p->nColumn; i++){
763 aSz[p->nColumn] += sqlite3_column_bytes(pSelect, i);
2341 pBlob = sqlite3_malloc( 10*p->nColumn );
[all...]
H A Dfts3Int.h124 int nColumn; /* number of named columns in virtual table */ member in struct:Fts3Table
H A Dfts3.c530 for(i=1; zCols && i<p->nColumn; i++){
567 for(i=0; zContentCols && i<p->nColumn; i++){
763 for(i=0; i<p->nColumn; i++){
802 for(i=0; i<p->nColumn; i++){
946 p->nColumn = nCol;
1069 && (pCons->iColumn<0 || pCons->iColumn==p->nColumn+1 )
1086 && pCons->iColumn>=0 && pCons->iColumn<=p->nColumn
2264 | (iColumn<p->nColumn ? FTS3_SEGMENT_COLUMN_FILTER : 0);
3058 assert( idxNum>=0 && idxNum<=(FTS3_FULLTEXT_SEARCH+p->nColumn) );
3077 rc = sqlite3Fts3ExprParse(p->pTokenizer, p->azColumn, p->nColumn,
[all...]
H A Dfts3_snippet.c1245 sInfo.nCol = pTab->nColumn;
1356 for(iRead=0; iRead<pTab->nColumn; iRead++){
1485 for(iCol=0; iCol<pTab->nColumn; iCol++){
/external/chromium_org/third_party/sqlite/src/ext/fts2/
H A Dfts2.c2024 int nColumn; /* number of columns in virtual table */ member in struct:fulltext_vtab
2090 appendList(&sb, v->nColumn, v->azContentColumn);
2092 for(i=0; i<v->nColumn; ++i)
2108 for(i=0; i<v->nColumn; ++i) {
2195 for(i=0; i<v->nColumn; ++i){
2212 for(i=0; i<v->nColumn; ++i){
2217 rc = sqlite3_bind_int64(s, 1+v->nColumn, iRowid);
2256 values = (const char **) sqlite3_malloc(v->nColumn * sizeof(const char *));
2257 for(i=0; i<v->nColumn; ++i){
2273 freeStringArray(v->nColumn, value
2836 int nColumn; /* Number of columns to be indexed */ member in struct:TableSpec
2957 fulltextSchema( int nColumn, const char *const* azColumn, const char *zTableName ) argument
3265 int nColumn; /* Number of columns in the index */ local
3330 int nColumn; local
[all...]
/external/chromium_org/third_party/sqlite/amalgamation/
H A Dsqlite3.c9802 ** Ex2, nColumn==2 since 2 of the 3 columns of Ex1 are indexed.
9817 int nColumn; /* Number of columns in the table used by this index */ member in struct:Index
9828 u8 *aSortOrder; /* Array of size Index.nColumn. True==DESC, False==ASC */
9888 int nColumn; /* Number of used entries in aCol[] */ member in struct:AggInfo
84931 int nColumn; /* Number of columns in the data */ local
90448 selectInnerLoop( Parse *pParse, Select *p, ExprList *pEList, int srcTab, int nColumn, ExprList *pOrderBy, int distinct, SelectDest *pDest, int iContinue, int iBreak ) argument
90789 generateSortTail( Parse *pParse, Select *p, Vdbe *v, int nColumn, SelectDest *pDest ) argument
94421 int nColumn; /* Number of columns in the result */ member in struct:TabResult
99459 int nColumn; /* Number of columns in the constructed index */ local
113104 int nColumn; /* number of named columns in virtual table */ member in struct:Fts3Table
[all...]
/external/sqlite/dist/orig/
H A Dsqlite3.c9309 #define OP_OpenAutoindex 55 /* synopsis: nColumn=P2 */
9310 #define OP_OpenEphemeral 56 /* synopsis: nColumn=P2 */
11144 ** Ex2, nColumn==2 since 2 of the 3 columns of Ex1 are indexed.
11172 u16 nColumn; /* Number of columns stored in the index */ member in struct:Index
11257 int nColumn; /* Number of used entries in aCol[] */ member in struct:AggInfo
23954 /* 55 */ "OpenAutoindex" OpHelp("nColumn=P2"),
23955 /* 56 */ "OpenEphemeral" OpHelp("nColumn=P2"),
95235 int nColumn; /* Number of columns in the data */ local
102563 generateSortTail( Parse *pParse, Select *p, SortCtx *pSort, int nColumn, SelectDest *pDest ) argument
106893 int nColumn; /* Number of columns in the result */ member in struct:TabResult
116032 u16 nColumn; /* Total number of ordered columns in the index */ local
126735 int nColumn; /* number of named columns in virtual table */ member in struct:Fts3Table
[all...]
/external/sqlite/dist/
H A Dsqlite3.c9309 #define OP_OpenAutoindex 55 /* synopsis: nColumn=P2 */
9310 #define OP_OpenEphemeral 56 /* synopsis: nColumn=P2 */
11144 ** Ex2, nColumn==2 since 2 of the 3 columns of Ex1 are indexed.
11172 u16 nColumn; /* Number of columns stored in the index */ member in struct:Index
11257 int nColumn; /* Number of used entries in aCol[] */ member in struct:AggInfo
23954 /* 55 */ "OpenAutoindex" OpHelp("nColumn=P2"),
23955 /* 56 */ "OpenEphemeral" OpHelp("nColumn=P2"),
95255 int nColumn; /* Number of columns in the data */ local
102583 generateSortTail( Parse *pParse, Select *p, SortCtx *pSort, int nColumn, SelectDest *pDest ) argument
106913 int nColumn; /* Number of columns in the result */ member in struct:TabResult
116052 u16 nColumn; /* Total number of ordered columns in the index */ local
126755 int nColumn; /* number of named columns in virtual table */ member in struct:Fts3Table
[all...]

Completed in 625 milliseconds