Home | History | Annotate | Download | only in orig

Lines Matching defs:keyinfo

12207 typedef struct KeyInfo KeyInfo;
12480 struct KeyInfo*, /* First argument to compare function */
12685 KeyInfo *pKeyInfo; /* Used when p4type is P4_KEYINFO */
12741 #define P4_KEYINFO (-5) /* P4 is a pointer to a KeyInfo structure */
13074 SQLITE_PRIVATE void sqlite3VdbeRecordUnpack(KeyInfo*,int,const void*,UnpackedRecord*);
13077 SQLITE_PRIVATE UnpackedRecord *sqlite3VdbeAllocUnpackedRecord(KeyInfo*);
14858 struct KeyInfo {
14859 u32 nRef; /* Number of references to this KeyInfo object */
14904 KeyInfo *pKeyInfo; /* Collation and sort-order information */
15522 ** the P4_KEYINFO and P2 parameters later. Neither the KeyInfo nor
15526 ** The KeyInfo for addrOpenTran[0] and [1] contains collating sequences
15527 ** for the result set. The KeyInfo for addrOpenEphm[2] contains collating
16886 SQLITE_PRIVATE KeyInfo *sqlite3KeyInfoAlloc(sqlite3*,int,int);
16887 SQLITE_PRIVATE void sqlite3KeyInfoUnref(KeyInfo*);
16888 SQLITE_PRIVATE KeyInfo *sqlite3KeyInfoRef(KeyInfo*);
16889 SQLITE_PRIVATE KeyInfo *sqlite3KeyInfoOfIndex(Parse*, Index*);
16891 SQLITE_PRIVATE int sqlite3KeyInfoIsWriteable(KeyInfo*);
18106 KeyInfo *pKeyInfo; /* Info about index keys needed by index cursors */
18424 KeyInfo keyinfo;
58729 struct KeyInfo *pKeyInfo; /* Arg passed to comparison function */
63378 struct KeyInfo *pKeyInfo, /* First arg to comparison function */
63438 struct KeyInfo *pKeyInfo, /* First arg to xCompare() */
64110 ** specify a KeyInfo structure the flags byte is set to 0x05 or 0x0D,
64111 ** indicating a table b-tree, or if the caller did specify a KeyInfo
72436 if( db->pnBytesFreed==0 ) sqlite3KeyInfoUnref((KeyInfo*)p4);
72615 ** Set the P4 on the most recently added opcode to the KeyInfo for the
72620 KeyInfo *pKeyInfo;
72886 KeyInfo *pKeyInfo = pOp->p4.pKeyInfo;
75098 ** the first argument is a pointer to KeyInfo structure pKeyInfo.
75110 KeyInfo *pKeyInfo /* Description of the record */
75130 KeyInfo *pKeyInfo, /* Information about the record format */
75187 KeyInfo *pKeyInfo;
75278 ** that the KeyInfo.nField or KeyInfo.nXField values were computed
75283 const KeyInfo *pKeyInfo /* Compare size with this KeyInfo */
75578 KeyInfo *pKeyInfo = pPKey2->pKeyInfo;
76241 preupdate.keyinfo.db = db;
76242 preupdate.keyinfo.enc = ENC(db);
76243 preupdate.keyinfo.nField = pTab->nCol;
76244 preupdate.keyinfo.aSortOrder = (u8*)&fakeSortOrder;
76253 vdbeFreeUnpacked(db, preupdate.keyinfo.nField+1, preupdate.pUnpacked);
76254 vdbeFreeUnpacked(db, preupdate.keyinfo.nField+1, preupdate.pNewUnpacked);
77925 KeyInfo *pKeyInfo,
77972 p->pUnpacked = vdbeUnpackRecord(&p->keyinfo, nRec, aRec);
78006 return (p ? p->keyinfo.nField : 0);
78058 pUnpack = vdbeUnpackRecord(&p->keyinfo, pData->n, pData->z);
80625 ** P4 is a KeyInfo structure that defines collating sequences and sort
80627 ** only. The KeyInfo elements are used sequentially.
80638 const KeyInfo *pKeyInfo;
81858 ** a KeyInfo structure (P4_KEYINFO). If it is a pointer to a KeyInfo
81887 ** a KeyInfo structure (P4_KEYINFO). If it is a pointer to a KeyInfo
81901 KeyInfo *pKeyInfo;
82045 ** if P4 is not 0. If P4 is not NULL, it points to a KeyInfo structure
82064 KeyInfo *pKeyInfo;
86509 KeyInfo *pKeyInfo; /* How to compare records */
87118 KeyInfo *pKeyInfo; /* Copy of pCsr->pKeyInfo with db==0 */
87147 szKeyInfo = sizeof(KeyInfo) + (pCsr->pKeyInfo->nField-1)*sizeof(CollSeq*);
87155 pSorter->pKeyInfo = pKeyInfo = (KeyInfo*)((u8*)pSorter + sz);
88906 KeyInfo *pKeyInfo;
93629 KeyInfo *pKeyInfo = 0; /* Key information */
101561 ** columns are part of KeyInfo.nXField and are not used for
102658 KeyInfo *pKey; /* KeyInfo for index */
104229 ** Return a KeyInfo structure that is appropriate for the given Index.
104234 SQLITE_PRIVATE KeyInfo *sqlite3KeyInfoOfIndex(Parse *pParse, Index *pIdx){
104238 KeyInfo *pKey;
117199 static KeyInfo *keyInfoFromExprList(
117201 ExprList *pList, /* Form the KeyInfo object from this ExprList */
117256 KeyInfo *pKI; /* Original KeyInfo on the sorter table */
117737 ** Allocate a KeyInfo object sufficient for an index of N key columns and
117740 SQLITE_PRIVATE KeyInfo *sqlite3KeyInfoAlloc(sqlite3 *db, int N, int X){
117742 KeyInfo *p = sqlite3DbMallocRawNN(db, sizeof(KeyInfo) + nExtra);
117758 ** Deallocate a KeyInfo object
117760 SQLITE_PRIVATE void sqlite3KeyInfoUnref(KeyInfo *p){
117769 ** Make a new pointer to a KeyInfo object
117771 SQLITE_PRIVATE KeyInfo *sqlite3KeyInfoRef(KeyInfo *p){
117781 ** Return TRUE if a KeyInfo object can be change. The KeyInfo object
117786 SQLITE_PRIVATE int sqlite3KeyInfoIsWriteable(KeyInfo *p){ return p->nRef==1; }
117790 ** Given an expression list, generate a KeyInfo structure that records
117794 ** KeyInfo structure is appropriate for initializing a virtual index to
117796 ** then the KeyInfo structure is appropriate for initializing a virtual
117799 ** Space to hold the KeyInfo structure is obtained from malloc. The calling
117803 static KeyInfo *keyInfoFromExprList(
117805 ExprList *pList, /* Form the KeyInfo object from this ExprList */
117810 KeyInfo *pInfo;
118646 ** with an ORDER BY clause. This function allocates and returns a KeyInfo
118649 ** Space to hold the KeyInfo structure is obtained from malloc. The calling
118653 static KeyInfo *multiSelectOrderByKeyInfo(Parse *pParse, Select *p, int nExtra){
118657 KeyInfo *pRet = sqlite3KeyInfoAlloc(db, nOrderBy+nExtra, 1);
118781 KeyInfo *pKeyInfo = multiSelectOrderByKeyInfo(pParse, p, 1);
119225 ** Attach the KeyInfo structure to all temporary tables.
119234 KeyInfo *pKeyInfo; /* Collating sequence for the result set */
119319 KeyInfo *pKeyInfo, /* For comparing with previous entry */
119554 KeyInfo *pKeyDup = 0; /* Comparison information for duplicate removal */
119555 KeyInfo *pKeyMerge; /* Comparison information for merging rows */
119605 /* Compute the comparison permutation and keyinfo that is used with
119631 /* Allocate a range of temporary registers and the KeyInfo needed
121436 KeyInfo *pKeyInfo = keyInfoFromExprList(pParse, pE->x.pList, 0, 0);
122019 KeyInfo *pKeyInfo;
122189 KeyInfo *pKeyInfo; /* Keying information for the group by clause */
122433 KeyInfo *pKeyInfo = 0; /* Keyinfo for scanned index */
122446 ** In practice the KeyInfo structure will not be used. It is only