Lines Matching defs:KeyInfo

15362 typedef struct KeyInfo KeyInfo;
16257 struct KeyInfo*, /* First argument to compare function */
16504 KeyInfo *pKeyInfo; /* Used when p4type is P4_KEYINFO */
16566 #define P4_KEYINFO (-8) /* P4 is a pointer to a KeyInfo structure */
16975 SQLITE_PRIVATE void sqlite3VdbeRecordUnpack(KeyInfo*,int,const void*,UnpackedRecord*);
16978 SQLITE_PRIVATE UnpackedRecord *sqlite3VdbeAllocUnpackedRecord(KeyInfo*);
18619 struct KeyInfo {
18620 u32 nRef; /* Number of references to this KeyInfo object */
18630 ** Allowed bit values for entries in the KeyInfo.aSortFlags[] array.
18671 KeyInfo *pKeyInfo; /* Collation and sort-order information */
19492 ** the P4_KEYINFO and P2 parameters later. Neither the KeyInfo nor
19496 ** The KeyInfo for addrOpenTran[0] and [1] contains collating sequences
19497 ** for the result set. The KeyInfo for addrOpenEphm[2] contains collating
21374 SQLITE_PRIVATE KeyInfo *sqlite3KeyInfoAlloc(sqlite3*,int,int);
21375 SQLITE_PRIVATE void sqlite3KeyInfoUnref(KeyInfo*);
21376 SQLITE_PRIVATE KeyInfo *sqlite3KeyInfoRef(KeyInfo*);
21377 SQLITE_PRIVATE KeyInfo *sqlite3KeyInfoOfIndex(Parse*, Index*);
21378 SQLITE_PRIVATE KeyInfo *sqlite3KeyInfoFromExprList(Parse*, ExprList*, int, int);
21383 SQLITE_PRIVATE int sqlite3KeyInfoIsWriteable(KeyInfo*);
23222 KeyInfo *pKeyInfo; /* Info about index keys needed by index cursors */
23637 KeyInfo keyinfo;
70060 struct KeyInfo *pKeyInfo; /* Arg passed to comparison function */
71414 KeyInfo *pKeyInfo = pCur->pKeyInfo;
75190 struct KeyInfo *pKeyInfo, /* First arg to comparison function */
75257 struct KeyInfo *pKeyInfo, /* First arg to comparison function */
75270 struct KeyInfo *pKeyInfo, /* First arg to xCompare() */
76019 ** specify a KeyInfo structure the flags byte is set to 0x05 or 0x0D,
76020 ** indicating a table b-tree, or if the caller did specify a KeyInfo
86224 if( db->pnBytesFreed==0 ) sqlite3KeyInfoUnref((KeyInfo*)p4);
86452 ** Set the P4 on the most recently added opcode to the KeyInfo for the
86457 KeyInfo *pKeyInfo;
86739 KeyInfo *pKeyInfo = pOp->p4.pKeyInfo;
89021 ** the first argument is a pointer to KeyInfo structure pKeyInfo.
89033 KeyInfo *pKeyInfo /* Description of the record */
89053 KeyInfo *pKeyInfo, /* Information about the record format */
89118 KeyInfo *pKeyInfo;
89225 ** that the KeyInfo.nKeyField or KeyInfo.nAllField values were computed
89230 const KeyInfo *pKeyInfo /* Compare size with this KeyInfo */
89551 KeyInfo *pKeyInfo;
92516 KeyInfo *pKeyInfo,
95534 ** P4 is a KeyInfo structure that defines collating sequences and sort
95536 ** only. The KeyInfo elements are used sequentially.
95549 const KeyInfo *pKeyInfo;
97325 ** a KeyInfo structure (P4_KEYINFO). If it is a pointer to a KeyInfo
97327 ** KeyInfo object defines the content and collating
97364 ** a KeyInfo structure (P4_KEYINFO). If it is a pointer to a KeyInfo
97366 ** KeyInfo object defines the content and collating
97392 KeyInfo *pKeyInfo;
97547 ** if P4 is not 0. If P4 is not NULL, it points to a KeyInfo structure
97570 KeyInfo *pKeyInfo;
103126 KeyInfo *pKeyInfo; /* How to compare records */
103737 KeyInfo *pKeyInfo; /* Copy of pCsr->pKeyInfo with db==0 */
103767 szKeyInfo = sizeof(KeyInfo) + (pCsr->pKeyInfo->nKeyField-1)*sizeof(CollSeq*);
103776 pSorter->pKeyInfo = pKeyInfo = (KeyInfo*)((u8*)pSorter + sz);
105541 KeyInfo *pKeyInfo;
112439 KeyInfo *pKeyInfo = 0; /* Key information */
123704 ** columns are part of KeyInfo.nAllField and are not used for
125131 KeyInfo *pKey; /* KeyInfo for index */
126912 ** Return a KeyInfo structure that is appropriate for the given Index.
126917 SQLITE_PRIVATE KeyInfo *sqlite3KeyInfoOfIndex(Parse *pParse, Index *pIdx){
126921 KeyInfo *pKey;
143651 KeyInfo *pKI; /* Original KeyInfo on the sorter table */
144396 ** Allocate a KeyInfo object sufficient for an index of N key columns and
144399 SQLITE_PRIVATE KeyInfo *sqlite3KeyInfoAlloc(sqlite3 *db, int N, int X){
144401 KeyInfo *p = sqlite3DbMallocRawNN(db, sizeof(KeyInfo) + nExtra);
144411 return (KeyInfo*)sqlite3OomFault(db);
144417 ** Deallocate a KeyInfo object
144419 SQLITE_PRIVATE void sqlite3KeyInfoUnref(KeyInfo *p){
144429 ** Make a new pointer to a KeyInfo object
144431 SQLITE_PRIVATE KeyInfo *sqlite3KeyInfoRef(KeyInfo *p){
144441 ** Return TRUE if a KeyInfo object can be change. The KeyInfo object
144446 SQLITE_PRIVATE int sqlite3KeyInfoIsWriteable(KeyInfo *p){ return p->nRef==1; }
144450 ** Given an expression list, generate a KeyInfo structure that records
144454 ** KeyInfo structure is appropriate for initializing a virtual index to
144456 ** then the KeyInfo structure is appropriate for initializing a virtual
144459 ** Space to hold the KeyInfo structure is obtained from malloc. The calling
144463 SQLITE_PRIVATE KeyInfo *sqlite3KeyInfoFromExprList(
144465 ExprList *pList, /* Form the KeyInfo object from this ExprList */
144470 KeyInfo *pInfo;
145441 ** with an ORDER BY clause. This function allocates and returns a KeyInfo
145444 ** Space to hold the KeyInfo structure is obtained from malloc. The calling
145448 static KeyInfo *multiSelectOrderByKeyInfo(Parse *pParse, Select *p, int nExtra){
145452 KeyInfo *pRet = sqlite3KeyInfoAlloc(db, nOrderBy+nExtra, 1);
145583 KeyInfo *pKeyInfo = multiSelectOrderByKeyInfo(pParse, p, 1);
146056 ** Attach the KeyInfo structure to all temporary tables.
146065 KeyInfo *pKeyInfo; /* Collating sequence for the result set */
146154 KeyInfo *pKeyInfo, /* For comparing with previous entry */
146390 KeyInfo *pKeyDup = 0; /* Comparison information for duplicate removal */
146391 KeyInfo *pKeyMerge; /* Comparison information for merging rows */
146459 /* Allocate a range of temporary registers and the KeyInfo needed
149578 KeyInfo *pKeyInfo = sqlite3KeyInfoFromExprList(pParse, pE->x.pList,0,0);
149587 KeyInfo *pKeyInfo;
150771 KeyInfo *pKeyInfo;
151025 KeyInfo *pKeyInfo; /* Keying information for the group by clause */
151324 KeyInfo *pKeyInfo = 0; /* Keyinfo for scanned index */
151337 ** In practice the KeyInfo structure will not be used. It is only
153966 KeyInfo *pKeyInfo = sqlite3KeyInfoOfIndex(pParse, pPk);
168905 KeyInfo *pInfo;
170782 KeyInfo *pKeyInfo;
171210 KeyInfo *pKeyInfo = 0;
171408 KeyInfo *pKeyInfo = sqlite3KeyInfoFromExprList(pParse, pOrderBy, 0, 0);
172261 KeyInfo *pKeyInfo = sqlite3KeyInfoFromExprList(pParse, pPart, 0, 0);