/external/chromium_org/third_party/sqlite/src/src/ |
D | vdbeaux.c | 732 KeyInfo *pKeyInfo; in sqlite3VdbeChangeP4() local 736 nByte = sizeof(*pKeyInfo) + (nField-1)*sizeof(pKeyInfo->aColl[0]) + nField; in sqlite3VdbeChangeP4() 737 pKeyInfo = sqlite3DbMallocRaw(0, nByte); in sqlite3VdbeChangeP4() 738 pOp->p4.pKeyInfo = pKeyInfo; in sqlite3VdbeChangeP4() 739 if( pKeyInfo ){ in sqlite3VdbeChangeP4() 741 memcpy((char*)pKeyInfo, zP4, nByte - nField); in sqlite3VdbeChangeP4() 742 aSortOrder = pKeyInfo->aSortOrder; in sqlite3VdbeChangeP4() 744 pKeyInfo->aSortOrder = (unsigned char*)&pKeyInfo->aColl[nField]; in sqlite3VdbeChangeP4() 745 memcpy(pKeyInfo->aSortOrder, aSortOrder, nField); in sqlite3VdbeChangeP4() 859 KeyInfo *pKeyInfo = pOp->p4.pKeyInfo; in displayP4() local [all …]
|
D | vdbe.c | 1862 const KeyInfo *pKeyInfo; in sqlite3VdbeExec() local 1868 pKeyInfo = pOp->p4.pKeyInfo; in sqlite3VdbeExec() 1870 assert( pKeyInfo!=0 ); in sqlite3VdbeExec() 1890 assert( i<pKeyInfo->nField ); in sqlite3VdbeExec() 1891 pColl = pKeyInfo->aColl[i]; in sqlite3VdbeExec() 1892 bRev = pKeyInfo->aSortOrder[i]; in sqlite3VdbeExec() 3014 KeyInfo *pKeyInfo; in sqlite3VdbeExec() local 3028 pKeyInfo = 0; in sqlite3VdbeExec() 3063 pKeyInfo = pOp->p4.pKeyInfo; in sqlite3VdbeExec() 3064 pKeyInfo->enc = ENC(p->db); in sqlite3VdbeExec() [all …]
|
D | select.c | 1831 KeyInfo *pKeyInfo; /* Collating sequence for the result set */ in multiSelect() local 1838 pKeyInfo = sqlite3DbMallocZero(db, in multiSelect() 1839 sizeof(*pKeyInfo)+nCol*(sizeof(CollSeq*) + 1)); in multiSelect() 1840 if( !pKeyInfo ){ in multiSelect() 1845 pKeyInfo->enc = ENC(db); in multiSelect() 1846 pKeyInfo->nField = (u16)nCol; in multiSelect() 1848 for(i=0, apColl=pKeyInfo->aColl; i<nCol; i++, apColl++){ in multiSelect() 1865 sqlite3VdbeChangeP4(v, addr, (char*)pKeyInfo, P4_KEYINFO); in multiSelect() 1869 sqlite3DbFree(db, pKeyInfo); in multiSelect() 1907 KeyInfo *pKeyInfo, /* For comparing with previous entry */ in generateOutputSubroutine() argument [all …]
|
D | vdbe.h | 61 KeyInfo *pKeyInfo; /* Used when p4type is P4_KEYINFO */ member
|
D | btreeInt.h | 488 struct KeyInfo *pKeyInfo; /* Argument passed to comparison function */ member
|
D | vdbeInt.h | 46 KeyInfo *pKeyInfo; /* Info about index keys needed by index cursors */ member
|
D | btree.c | 662 pIdxKey = sqlite3VdbeRecordUnpack(pCur->pKeyInfo, (int)nKey, pKey, in btreeMoveto() 3439 struct KeyInfo *pKeyInfo, /* First arg to comparison function */ in btreeCursor() argument 3451 assert( hasSharedCacheTableLock(p, iTable, pKeyInfo!=0, wrFlag+1) ); in btreeCursor() 3470 pCur->pKeyInfo = pKeyInfo; in btreeCursor() 3487 struct KeyInfo *pKeyInfo, /* First arg to xCompare() */ in sqlite3BtreeCursor() argument 3492 rc = btreeCursor(p, iTable, wrFlag, pKeyInfo, pCur); in sqlite3BtreeCursor() 4230 if( (pCur->pKeyInfo==0)!=pCur->apPage[0]->intKey ){ in moveToRoot() 4243 assert( pRoot->isInit && (pCur->pKeyInfo==0)==pRoot->intKey ); in moveToRoot() 4417 assert( (pIdxKey==0)==(pCur->pKeyInfo==0) ); in sqlite3BtreeMovetoUnpacked() 6665 assert( hasSharedCacheTableLock(p, pCur->pgnoRoot, pCur->pKeyInfo!=0, 2) ); in sqlite3BtreeInsert() [all …]
|
D | sqliteInt.h | 1427 KeyInfo *pKeyInfo; /* Collation and sort-order information */ member
|
/external/sqlite/dist/orig/ |
D | sqlite3.c | 8480 KeyInfo *pKeyInfo; /* Used when p4type is P4_KEYINFO */ member 10331 KeyInfo *pKeyInfo; /* Collation and sort-order information */ member 12879 KeyInfo *pKeyInfo; /* Info about index keys needed by index cursors */ member 48933 struct KeyInfo *pKeyInfo; /* Argument passed to comparison function */ 50026 pCur->pKeyInfo, aSpace, sizeof(aSpace), &pFree 50029 sqlite3VdbeRecordUnpack(pCur->pKeyInfo, (int)nKey, pKey, pIdxKey); 50035 sqlite3DbFree(pCur->pKeyInfo->db, pFree); 52825 struct KeyInfo *pKeyInfo, /* First arg to comparison function */ 52837 assert( hasSharedCacheTableLock(p, iTable, pKeyInfo!=0, wrFlag+1) ); 52857 pCur->pKeyInfo = pKeyInfo; [all …]
|
/external/sqlite/dist/ |
D | sqlite3.c | 8480 KeyInfo *pKeyInfo; /* Used when p4type is P4_KEYINFO */ member 10331 KeyInfo *pKeyInfo; /* Collation and sort-order information */ member 12879 KeyInfo *pKeyInfo; /* Info about index keys needed by index cursors */ member 48961 struct KeyInfo *pKeyInfo; /* Argument passed to comparison function */ 50054 pCur->pKeyInfo, aSpace, sizeof(aSpace), &pFree 50057 sqlite3VdbeRecordUnpack(pCur->pKeyInfo, (int)nKey, pKey, pIdxKey); 50063 sqlite3DbFree(pCur->pKeyInfo->db, pFree); 52853 struct KeyInfo *pKeyInfo, /* First arg to comparison function */ 52865 assert( hasSharedCacheTableLock(p, iTable, pKeyInfo!=0, wrFlag+1) ); 52885 pCur->pKeyInfo = pKeyInfo; [all …]
|
/external/chromium_org/third_party/sqlite/amalgamation/ |
D | sqlite3.c | 7946 KeyInfo *pKeyInfo; /* Used when p4type is P4_KEYINFO */ member 9787 KeyInfo *pKeyInfo; /* Collation and sort-order information */ member 12275 KeyInfo *pKeyInfo; /* Info about index keys needed by index cursors */ member 46869 struct KeyInfo *pKeyInfo; /* Argument passed to comparison function */ 47960 pIdxKey = sqlite3VdbeRecordUnpack(pCur->pKeyInfo, (int)nKey, pKey, 50737 struct KeyInfo *pKeyInfo, /* First arg to comparison function */ 50749 assert( hasSharedCacheTableLock(p, iTable, pKeyInfo!=0, wrFlag+1) ); 50768 pCur->pKeyInfo = pKeyInfo; 50785 struct KeyInfo *pKeyInfo, /* First arg to xCompare() */ 50790 rc = btreeCursor(p, iTable, wrFlag, pKeyInfo, pCur); [all …]
|