/external/chromium_org/third_party/sqlite/src/src/ |
auth.c | 141 Table *pTab = 0; /* The table being read */ 157 pTab = pParse->pTriggerTab; 162 pTab = pTabList->a[iSrc].pTab; 168 if( NEVER(pTab==0) ) return; 171 assert( iCol<pTab->nCol ); 172 zCol = pTab->aCol[iCol].zName; 173 }else if( pTab->iPKey>=0 ){ 174 assert( pTab->iPKey<pTab->nCol ) [all...] |
callback.c | 424 Table *pTab = sqliteHashData(pElem); 425 sqlite3DeleteTable(0, pTab);
|
vdbeblob.c | 155 Table *pTab; 176 pTab = sqlite3LocateTable(pParse, 0, zTable, zDb); 177 if( pTab && IsVirtual(pTab) ){ 178 pTab = 0; 182 if( pTab && pTab->pSelect ){ 183 pTab = 0; 187 if( !pTab ){ 198 /* Now search pTab for the exact column. * [all...] |
alter.c | 278 ** tables that have foreign key constraints that refer to table pTab (i.e. 279 ** constraints for which pTab is the parent table) from the sqlite_master 282 static char *whereForeignKeys(Parse *pParse, Table *pTab){ 285 for(p=sqlite3FkReferences(pTab); p; p=p->pNextTo){ 294 ** temporary triggers on table pTab from the sqlite_temp_master table. If 295 ** table pTab has no temporary triggers, or is itself stored in the 298 static char *whereTempTriggers(Parse *pParse, Table *pTab){ 308 if( pTab->pSchema!=pTempSchema ){ 310 for(pTrig=sqlite3TriggerList(pParse, pTab); pTrig; pTrig=pTrig->pNext){ 326 ** pTab from the database, including triggers and temporary triggers [all...] |
delete.c | 27 ** pSrc->a[0].pTab Pointer to the Table object 33 Table *pTab; 35 pTab = sqlite3LocateTable(pParse, 0, pItem->zName, pItem->zDatabase); 36 sqlite3DeleteTable(pParse->db, pItem->pTab); 37 pItem->pTab = pTab; 38 if( pTab ){ 39 pTab->nRef++; 42 pTab = 0; 44 return pTab; [all...] |
prepare.c | 138 Table *pTab; 203 pTab = sqlite3FindTable(db, zMasterName, db->aDb[iDb].zName); 204 if( ALWAYS(pTab) ){ 205 pTab->tabFlags |= TF_Readonly;
|
update.c | 22 Table *pTab, /* The virtual table */ 25 int *aXRef, /* Mapping from columns of pTab to entries in pChanges */ 32 ** i-th column of table pTab. This routine sets the P4 parameter of the 60 void sqlite3ColumnDefault(Vdbe *v, Table *pTab, int i, int iReg){ 61 assert( pTab!=0 ); 62 if( !pTab->pSelect ){ 65 Column *pCol = &pTab->aCol[i]; 66 VdbeComment((v, "%s.%s", pTab->zName, pCol->zName)); 67 assert( i<pTab->nCol ); 74 if( iReg>=0 && pTab->aCol[i].affinity==SQLITE_AFF_REAL ) [all...] |
analyze.c | 106 Table *pTab, /* Table whose indices are to be analyzed */ 119 int iDb; /* Index of database containing pTab */ 138 if( v==0 || NEVER(pTab==0) ){ 141 if( pTab->tnum==0 ){ 145 if( sqlite3_strnicmp(pTab->zName, "sqlite_", 7)==0 ){ 150 iDb = sqlite3SchemaToIndex(db, pTab->pSchema); 154 if( sqlite3AuthCheck(pParse, SQLITE_ANALYZE, pTab->zName, 0, 161 sqlite3TableLock(pParse, iDb, pTab->tnum, 0, pTab->zName); 164 sqlite3VdbeAddOp4(v, OP_String8, 0, regTabname, 0, pTab->zName, 0) [all...] |
resolve.c | 111 ** pExpr->pTab Points to the Table structure of X.Y (even if 152 pExpr->pTab = 0; 162 Table *pTab; 166 pTab = pItem->pTab; 167 assert( pTab!=0 && pTab->zName!=0 ); 168 iDb = sqlite3SchemaToIndex(db, pTab->pSchema); 169 assert( pTab->nCol>0 ); 175 char *zTabName = pTab->zName [all...] |
test_stat.c | 148 StatTable *pTab; 150 pTab = (StatTable *)sqlite3_malloc(sizeof(StatTable)); 151 memset(pTab, 0, sizeof(StatTable)); 152 pTab->db = db; 155 *ppVtab = &pTab->base; 199 StatTable *pTab = (StatTable *)pVTab; 207 rc = sqlite3_prepare_v2(pTab->db, 369 StatTable *pTab = (StatTable *)pCursor->pVtab; 370 Btree *pBt = pTab->db->aDb[0].pBt;
|
trigger.c | 34 ** Given table pTab, return a list of all the triggers attached to 37 ** All of the triggers on pTab that are in the same database as pTab 38 ** are already attached to pTab->pTrigger. But there might be additional 39 ** triggers on pTab in the TEMP schema. This routine prepends all 40 ** TEMP triggers on pTab to the beginning of the pTab->pTrigger list 44 ** that fire off of pTab. The list will include any TEMP triggers on 45 ** pTab as well as the triggers lised in pTab->pTrigger [all...] |
vtab.c | 100 ** pTab is a pointer to a Table structure representing a virtual-table. 104 VTable *sqlite3GetVTable(sqlite3 *db, Table *pTab){ 106 assert( IsVirtual(pTab) ); 107 for(pVtab=pTab->pVTable; pVtab && pVtab->db!=db; pVtab=pVtab->pNext); 323 Table *pTab = pParse->pNewTable; /* The table being constructed */ 326 if( pTab==0 ) return; 329 if( pTab->nModuleArg<1 ) return; 357 iDb = sqlite3SchemaToIndex(db, pTab->pSchema); 363 pTab->zName, 364 pTab->zName [all...] |
insert.c | 24 Table *pTab, /* The table to be opened */ 28 if( IsVirtual(pTab) ) return; 31 sqlite3TableLock(p, iDb, pTab->tnum, (opcode==OP_OpenWrite)?1:0, pTab->zName); 32 sqlite3VdbeAddOp3(v, opcode, iCur, pTab->tnum, iDb); 33 sqlite3VdbeChangeP4(v, -1, SQLITE_INT_TO_PTR(pTab->nCol), P4_INT32); 34 VdbeComment((v, "%s", pTab->zName)); 68 Table *pTab = pIdx->pTable; 76 pIdx->zColAff[n] = pTab->aCol[pIdx->aiColumn[n]].affinity; 87 ** string for table pTab. A column affinity string has one characte [all...] |
pragma.c | 864 Table *pTab; 866 pTab = sqlite3FindTable(db, zRight, zDb); 867 if( pTab ){ 879 sqlite3ViewGetColumnNames(pParse, pTab); 880 for(i=0, pCol=pTab->aCol; i<pTab->nCol; i++, pCol++){ 903 Table *pTab; 908 pTab = pIdx->pTable; 918 assert( pTab->nCol>cnum ); 919 sqlite3VdbeAddOp4(v, OP_String8, 0, 3, 0, pTab->aCol[cnum].zName, 0) [all...] |
main.c | [all...] |
build.c | [all...] |
expr.c | 46 && pExpr->pTab!=0 48 /* op==TK_REGISTER && pExpr->pTab!=0 happens when pExpr was originally 52 assert( pExpr->pTab && j<pExpr->pTab->nCol ); 53 return pExpr->pTab->aCol[j].affinity; 100 if( p->pTab!=0 && ( 103 /* op==TK_REGISTER && p->pTab!=0 happens when pExpr was originally 109 zColl = p->pTab->aCol[j].zColl; 898 Table *pTab; 908 pTab = pNewItem->pTab = pOldItem->pTab [all...] |
select.c | 184 static int columnIndex(Table *pTab, const char *zCol){ 186 for(i=0; i<pTab->nCol; i++){ 187 if( sqlite3StrICmp(pTab->aCol[i].zName, zCol)==0 ) return i; 206 int *piCol /* Write index of pSrc->a[*piTab].pTab->aCol[] here */ 213 iCol = columnIndex(pSrc->a[i].pTab, zCol); 253 assert( pSrc->a[iLeft].pTab ); 254 assert( pSrc->a[iRight].pTab ); 330 Table *pLeftTab = pLeft->pTab; 331 Table *pRightTab = pRight->pTab; [all...] |
where.c | [all...] |
sqliteInt.h | [all...] |
/external/aac/libAACenc/src/ |
channel_map.cpp | 180 const CHANNEL_ASSIGNMENT_INFO_TAB *pTab; 184 pTab = assignmentInfoTabMpeg; 186 pTab = assignmentInfoTabWav; 189 if (encMode== pTab[i].encoderMode) { 193 return (pTab[i].channel_assignment);
|
/external/chromium_org/third_party/sqlite/src/ext/fts3/ |
fts3_snippet.c | 585 Fts3Table *pTab, /* FTS3 table snippet comes from */ 616 pMod = (sqlite3_tokenizer_module *)pTab->pTokenizer->pModule; 621 rc = pMod->xOpen(pTab->pTokenizer, zDoc, nDoc, &pC); 625 pC->pTokenizer = pTab->pTokenizer; 659 Fts3Table *pTab = (Fts3Table *)pCsr->base.pVtab; 684 pMod = (sqlite3_tokenizer_module *)pTab->pTokenizer->pModule; 685 rc = pMod->xOpen(pTab->pTokenizer, zDoc, nDoc, &pC); 689 pC->pTokenizer = pTab->pTokenizer; 711 rc = fts3SnippetShift(pTab, nSnippet, &zDoc[iBegin], n, &iPos, &hlmask); 901 Fts3Table *pTab, [all...] |
/external/chromium_org/third_party/sqlite/amalgamation/ |
sqlite3.c | [all...] |
/external/sqlite/dist/orig/ |
sqlite3.c | [all...] |
/external/sqlite/dist/ |
sqlite3.c | [all...] |