/external/chromium_org/third_party/sqlite/src/src/ |
H A D | fkey.c | 191 char *zKey = pFKey->aCol[0].zCol; /* Name of left-most parent key column */ 216 if( !sqlite3StrICmp(pParent->aCol[pParent->iPKey].zName, zKey) ) return 0; 238 for(i=0; i<nCol; i++) aiCol[i] = pFKey->aCol[i].iFrom; 256 zDfltColl = pParent->aCol[iCol].zColl; 262 zIdxCol = pParent->aCol[iCol].zName; 264 if( sqlite3StrICmp(pFKey->aCol[j].zCol, zIdxCol)==0 ){ 265 if( aiCol ) aiCol[i] = pFKey->aCol[j].iFrom; 503 pCol = &pTab->aCol[iCol]; 513 iCol = aiCol ? aiCol[i] : pFKey->aCol[0].iFrom; 515 zCol = pFKey->pFrom->aCol[iCo [all...] |
H A D | insert.c | 76 pIdx->zColAff[n] = pTab->aCol[pIdx->aiColumn[n]].affinity; 119 zColAff[i] = pTab->aCol[i].affinity; 686 nHidden += (IsHiddenColumn(&pTab->aCol[i]) ? 1 : 0); 717 if( sqlite3StrICmp(pColumn->a[i].zName, pTab->aCol[j].zName)==0 ){ 850 sqlite3ExprCode(pParse, pTab->aCol[i].pDflt, regCols+i+1); 941 if( IsHiddenColumn(&pTab->aCol[i]) ){ 954 sqlite3ExprCode(pParse, pTab->aCol[i].pDflt, iRegStore); 1173 onError = pTab->aCol[i].notNull; 1180 if( onError==OE_Replace && pTab->aCol[i].pDflt==0 ){ 1194 pTab->zName, pTab->aCol[ [all...] |
H A D | auth.c | 172 zCol = pTab->aCol[iCol].zName; 175 zCol = pTab->aCol[pTab->iPKey].zName;
|
H A D | build.c | 484 ** Table.aCol[] array). 490 if( (pCol = pTable->aCol)!=0 ){ 498 sqlite3DbFree(db, pTable->aCol); 965 if( STRICMP(z, p->aCol[i].zName) ){ 973 aNew = sqlite3DbRealloc(db,p->aCol,(p->nCol+8)*sizeof(p->aCol[0])); 978 p->aCol = aNew; 980 pCol = &p->aCol[p->nCol]; 981 memset(pCol, 0, sizeof(p->aCol[0])); 1002 p->aCol[ [all...] |
H A D | alter.c | 643 pCol = &pNew->aCol[pNew->nCol-1]; 797 pNew->aCol = (Column*)sqlite3DbMallocZero(db, sizeof(Column)*nAlloc); 799 if( !pNew->aCol || !pNew->zName ){ 803 memcpy(pNew->aCol, pTab->aCol, sizeof(Column)*pNew->nCol); 805 Column *pCol = &pNew->aCol[i];
|
H A D | test8.c | 69 ** Member variable aCol[] contains copies of the column names of the real 84 char **aCol; /* Array of size nCol. Column names */ member in struct:echo_vtab 161 char **aCol = 0; local 197 aCol = (char **)sqlite3MallocZero(nBytes); 198 if( !aCol ){ 204 ** pointers in the aCol[] array. 206 zSpace = (char *)(&aCol[nCol]); 208 aCol[ii] = zSpace; 212 assert( (zSpace-nBytes)==(char *)aCol ); 215 *paCol = aCol; [all...] |
H A D | update.c | 65 Column *pCol = &pTab->aCol[i]; 74 if( iReg>=0 && pTab->aCol[i].affinity==SQLITE_AFF_REAL ){ 199 if( sqlite3StrICmp(pTab->aCol[j].zName, pChanges->a[i].zName)==0 ){ 222 pTab->aCol[j].zName, db->aDb[iDb].zName); 627 pExpr = sqlite3Expr(db, TK_ID, pTab->aCol[i].zName);
|
H A D | select.c | 187 if( sqlite3StrICmp(pTab->aCol[i].zName, zCol)==0 ) return i; 206 int *piCol /* Write index of pSrc->a[*piTab].pTab->aCol[] here */ 351 zName = pRightTab->aCol[j].zName; 1061 zType = pTab->aCol[iCol].zType; 1062 zOriginCol = pTab->aCol[iCol].zName; 1187 zCol = pTab->aCol[iCol].zName; 1229 Column *aCol, *pCol; /* For looping over result columns */ local 1236 aCol = *paCol = sqlite3DbMallocZero(db, sizeof(aCol[0])*nCol); 1237 if( aCol 1311 selectAddColumnTypeAndCollation( Parse *pParse, int nCol, Column *aCol, Select *pSelect ) argument [all...] |
H A D | vtab.c | 493 char *zType = pTab->aCol[iCol].zType; 518 pTab->aCol[iCol].isHidden = 1; 667 if( !pTab->aCol ){ 668 pTab->aCol = pParse->pNewTable->aCol; 671 pParse->pNewTable->aCol = 0;
|
H A D | expr.c | 53 return pExpr->pTab->aCol[j].affinity; 109 zColl = p->pTab->aCol[j].zColl; 1483 int affinity_ok = (pTab->aCol[iCol].affinity==aff||aff==SQLITE_AFF_NONE); 1504 if( prNotFound && !pTab->aCol[iCol].notNull ){ 2283 struct AggInfo_col *pCol = &pAggInfo->aCol[pExpr->iAgg]; 2721 (pExpr->iColumn<0 ? "rowid" : pExpr->pTab->aCol[pExpr->iColumn].zName), 2729 && pTab->aCol[pExpr->iColumn].affinity==SQLITE_AFF_REAL 3492 ** Add a new element to the pAggInfo->aCol[] array. Return the index of 3497 pInfo->aCol = sqlite3ArrayAllocate( 3499 pInfo->aCol, [all...] |
H A D | vdbeblob.c | 200 if( sqlite3StrICmp(pTab->aCol[iCol].zName, zColumn)==0 ){ 229 if( pFKey->aCol[j].iFrom==iCol ){
|
H A D | pragma.c | 880 for(i=0, pCol=pTab->aCol; i<pTab->nCol; i++, pCol++){ 919 sqlite3VdbeAddOp4(v, OP_String8, 0, 3, 0, pTab->aCol[cnum].zName, 0); 1011 char *zCol = pFK->aCol[j].zCol; 1018 pTab->aCol[pFK->aCol[j].iFrom].zName, 0);
|
H A D | where.c | 591 idxaff = pIdx->pTable->aCol[iColumn].affinity; 1720 aff = pSrc->pTab->aCol[pTerm->u.leftColumn].affinity; 2445 int nEq, /* index into p->aCol[] of the range-compared column */ 2462 u8 aff = p->pTable->aCol[p->aiColumn[0]].affinity; 2551 aff = p->pTable->aCol[p->aiColumn[0]].affinity; 2614 aff = p->pTable->aCol[p->aiColumn[0]].affinity; 3475 Column *aCol = pTab->aCol; local 3486 explainAppendTerm(&txt, i, aCol[aiColumn[i]].zName, "="); 3491 explainAppendTerm(&txt, i++, aCol[aiColum [all...] |
H A D | resolve.c | 190 for(j=0, pCol=pTab->aCol; j<pTab->nCol; j++, pCol++){ 247 Column *pCol = &pTab->aCol[iCol];
|
H A D | sqliteInt.h | 1246 ** Table.nCol is the number of columns in this table. Table.aCol is a 1270 int iPKey; /* If not negative, use aCol[iPKey] as the primary key */ 1272 Column *aCol; /* Information about each column */ member in struct:Table 1306 #define TF_NeedMetadata 0x20 /* aCol[].zType and aCol[].pColl missing */ 1356 } aCol[1]; /* One entry for each of nCol column s */ member in struct:FKey 1459 ** first column to be indexed (c3) has an index of 2 in Ex1.aCol[]. 1461 ** Ex1.aCol[], hence Ex2.aiColumn[1]==0. 1520 ** AggInfo.aCol[] or AggInfo.aFunc[] of information needed to generate 1542 } *aCol; member in struct:AggInfo [all...] |
H A D | main.c | 2318 pCol = &pTab->aCol[iCol]; 2322 pCol = &pTab->aCol[iCol];
|
/external/chromium_org/third_party/sqlite/src/ext/fts3/ |
H A D | fts3.c | 842 const char **aCol; /* Array of column names */ local 856 aCol = (const char **)sqlite3_malloc(sizeof(const char *) * (argc-2) ); 857 if( !aCol ) return SQLITE_NOMEM; 858 memset((void *)aCol, 0, sizeof(const char *) * (argc-2)); 914 aCol[nCol++] = z; 921 aCol[0] = "content"; 969 z = (char *)sqlite3Fts3NextToken(aCol[iCol], &n); 1006 sqlite3_free((void *)aCol);
|
/external/sqlite/dist/orig/ |
H A D | sqlite3.c | 10152 ** Table.nCol is the number of columns in this table. Table.aCol is a 10176 int iPKey; /* If not negative, use aCol[iPKey] as the primary key */ 10178 Column *aCol; /* Information about each column */ member in struct:Table 10260 } aCol[1]; /* One entry for each of nCol column s */ member in struct:FKey 10360 ** first column to be indexed (c3) has an index of 2 in Ex1.aCol[]. 10362 ** Ex1.aCol[], hence Ex2.aiColumn[1]==0. 10430 ** AggInfo.aCol[] or AggInfo.aFunc[] of information needed to generate 10453 } *aCol; member in struct:AggInfo 10454 int nColumn; /* Number of used entries in aCol[] */ 10578 i16 iAgg; /* Which entry in pAggInfo->aCol[] o 95756 Column *aCol, *pCol; /* For looping over result columns */ local 95841 selectAddColumnTypeAndCollation( Parse *pParse, int nCol, Column *aCol, Select *pSelect ) argument 106217 Column *aCol = pTab->aCol; local 117695 const char **aCol; /* Array of column names */ local [all...] |
/external/sqlite/dist/ |
H A D | sqlite3.c | 10152 ** Table.nCol is the number of columns in this table. Table.aCol is a 10176 int iPKey; /* If not negative, use aCol[iPKey] as the primary key */ 10178 Column *aCol; /* Information about each column */ member in struct:Table 10260 } aCol[1]; /* One entry for each of nCol column s */ member in struct:FKey 10360 ** first column to be indexed (c3) has an index of 2 in Ex1.aCol[]. 10362 ** Ex1.aCol[], hence Ex2.aiColumn[1]==0. 10430 ** AggInfo.aCol[] or AggInfo.aFunc[] of information needed to generate 10453 } *aCol; member in struct:AggInfo 10454 int nColumn; /* Number of used entries in aCol[] */ 10578 i16 iAgg; /* Which entry in pAggInfo->aCol[] o 95792 Column *aCol, *pCol; /* For looping over result columns */ local 95877 selectAddColumnTypeAndCollation( Parse *pParse, int nCol, Column *aCol, Select *pSelect ) argument 106253 Column *aCol = pTab->aCol; local 117731 const char **aCol; /* Array of column names */ local [all...] |
/external/chromium_org/third_party/sqlite/amalgamation/ |
H A D | sqlite3.c | 9606 ** Table.nCol is the number of columns in this table. Table.aCol is a 9630 int iPKey; /* If not negative, use aCol[iPKey] as the primary key */ 9632 Column *aCol; /* Information about each column */ member in struct:Table 9666 #define TF_NeedMetadata 0x20 /* aCol[].zType and aCol[].pColl missing */ 9716 } aCol[1]; /* One entry for each of nCol column s */ member in struct:FKey 9819 ** first column to be indexed (c3) has an index of 2 in Ex1.aCol[]. 9821 ** Ex1.aCol[], hence Ex2.aiColumn[1]==0. 9880 ** AggInfo.aCol[] or AggInfo.aFunc[] of information needed to generate 9902 } *aCol; member in struct:AggInfo 91358 Column *aCol, *pCol; /* For looping over result columns */ local 91440 selectAddColumnTypeAndCollation( Parse *pParse, int nCol, Column *aCol, Select *pSelect ) argument 101336 Column *aCol = pTab->aCol; local 114094 const char **aCol; /* Array of column names */ local [all...] |