Home
last modified time | relevance | path

Searched refs:aiCol (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/third_party/sqlite/src/src/
Dfkey.c189 int *aiCol = 0; /* Value to return via *paiCol */ in locateFkeyIndex() local
220 aiCol = (int *)sqlite3DbMallocRaw(pParse->db, nCol*sizeof(int)); in locateFkeyIndex()
221 if( !aiCol ) return 1; in locateFkeyIndex()
222 *paiCol = aiCol; in locateFkeyIndex()
236 if( aiCol ){ in locateFkeyIndex()
238 for(i=0; i<nCol; i++) aiCol[i] = pFKey->aCol[i].iFrom; in locateFkeyIndex()
265 if( aiCol ) aiCol[i] = pFKey->aCol[j].iFrom; in locateFkeyIndex()
280 sqlite3DbFree(pParse->db, aiCol); in locateFkeyIndex()
320 int *aiCol, /* Map from parent key columns to child table columns */ in fkLookupParent() argument
341 int iReg = aiCol[i] + regData + 1; in fkLookupParent()
[all …]
/external/chromium_org/third_party/sqlite/amalgamation/
Dsqlite3.c83481 int *aiCol = 0; /* Value to return via *paiCol */
83512 aiCol = (int *)sqlite3DbMallocRaw(pParse->db, nCol*sizeof(int));
83513 if( !aiCol ) return 1;
83514 *paiCol = aiCol;
83528 if( aiCol ){
83530 for(i=0; i<nCol; i++) aiCol[i] = pFKey->aCol[i].iFrom;
83557 if( aiCol ) aiCol[i] = pFKey->aCol[j].iFrom;
83572 sqlite3DbFree(pParse->db, aiCol);
83612 int *aiCol, /* Map from parent key columns to child table columns */
83633 int iReg = aiCol[i] + regData + 1;
[all …]
/external/sqlite/dist/
Dsqlite3.c87751 static int hasColumn(const i16 *aiCol, int nCol, int x){
87752 while( nCol-- > 0 ) if( x==*(aiCol++) ) return 1;
93659 int *aiCol = 0; /* Value to return via *paiCol */
93690 aiCol = (int *)sqlite3DbMallocRaw(pParse->db, nCol*sizeof(int));
93691 if( !aiCol ) return 1;
93692 *paiCol = aiCol;
93706 if( aiCol ){
93708 for(i=0; i<nCol; i++) aiCol[i] = pFKey->aCol[i].iFrom;
93735 if( aiCol ) aiCol[i] = pFKey->aCol[j].iFrom;
93752 sqlite3DbFree(pParse->db, aiCol);
[all …]
/external/sqlite/dist/orig/
Dsqlite3.c87731 static int hasColumn(const i16 *aiCol, int nCol, int x){
87732 while( nCol-- > 0 ) if( x==*(aiCol++) ) return 1;
93639 int *aiCol = 0; /* Value to return via *paiCol */
93670 aiCol = (int *)sqlite3DbMallocRaw(pParse->db, nCol*sizeof(int));
93671 if( !aiCol ) return 1;
93672 *paiCol = aiCol;
93686 if( aiCol ){
93688 for(i=0; i<nCol; i++) aiCol[i] = pFKey->aCol[i].iFrom;
93715 if( aiCol ) aiCol[i] = pFKey->aCol[j].iFrom;
93732 sqlite3DbFree(pParse->db, aiCol);
[all …]