Home | History | Annotate | Download | only in dist

Lines Matching refs:KeyInfo

9957 typedef struct KeyInfo KeyInfo;
10163 struct KeyInfo*, /* First argument to compare function */
10330 KeyInfo *pKeyInfo; /* Used when p4type is P4_KEYINFO */
10382 #define P4_KEYINFO (-6) /* P4 is a pointer to a KeyInfo structure */
10691 SQLITE_PRIVATE void sqlite3VdbeRecordUnpack(KeyInfo*,int,const void*,UnpackedRecord*);
10694 SQLITE_PRIVATE UnpackedRecord *sqlite3VdbeAllocUnpackedRecord(KeyInfo *, char *, int, char **);
12347 struct KeyInfo {
12348 u32 nRef; /* Number of references to this KeyInfo object */
12375 KeyInfo *pKeyInfo; /* Collation and sort-order information */
12974 ** the P4_KEYINFO and P2 parameters later. Neither the KeyInfo nor
12978 ** The KeyInfo for addrOpenTran[0] and [1] contains collating sequences
12979 ** for the result set. The KeyInfo for addrOpenEphm[2] contains collating
14226 SQLITE_PRIVATE KeyInfo *sqlite3KeyInfoAlloc(sqlite3*,int,int);
14227 SQLITE_PRIVATE void sqlite3KeyInfoUnref(KeyInfo*);
14228 SQLITE_PRIVATE KeyInfo *sqlite3KeyInfoRef(KeyInfo*);
14229 SQLITE_PRIVATE KeyInfo *sqlite3KeyInfoOfIndex(Parse*, Index*);
14231 SQLITE_PRIVATE int sqlite3KeyInfoIsWriteable(KeyInfo*);
15312 KeyInfo *pKeyInfo; /* Info about index keys needed by index cursors */
54049 struct KeyInfo *pKeyInfo; /* Argument passed to comparison function */
58572 struct KeyInfo *pKeyInfo, /* First arg to comparison function */
58630 struct KeyInfo *pKeyInfo, /* First arg to xCompare() */
59315 ** specify a KeyInfo structure the flags byte is set to 0x05 or 0x0D,
59316 ** indicating a table b-tree, or if the caller did specify a KeyInfo
67463 if( db->pnBytesFreed==0 ) sqlite3KeyInfoUnref((KeyInfo*)p4);
67614 ** Set the P4 on the most recently added opcode to the KeyInfo for the
67801 KeyInfo *pKeyInfo = pOp->p4.pKeyInfo;
69939 ** the first argument is a pointer to KeyInfo structure pKeyInfo.
69951 KeyInfo *pKeyInfo, /* Description of the record */
69988 KeyInfo *pKeyInfo, /* Information about the record format */
70044 KeyInfo *pKeyInfo;
70135 ** that the KeyInfo.nField or KeyInfo.nXField values were computed
70140 const KeyInfo *pKeyInfo /* Compare size with this KeyInfo */
70373 KeyInfo *pKeyInfo = pPKey2->pKeyInfo;
74980 ** P4 is a KeyInfo structure that defines collating sequences and sort
74982 ** only. The KeyInfo elements are used sequentially.
74993 const KeyInfo *pKeyInfo;
76170 ** a KeyInfo structure (P4_KEYINFO). If it is a pointer to a KeyInfo
76199 ** a KeyInfo structure (P4_KEYINFO). If it is a pointer to a KeyInfo
76213 KeyInfo *pKeyInfo;
76321 ** if P4 is not 0. If P4 is not NULL, it points to a KeyInfo structure
76340 KeyInfo *pKeyInfo;
80421 KeyInfo *pKeyInfo; /* How to compare records */
81032 KeyInfo *pKeyInfo; /* Copy of pCsr->pKeyInfo with db==0 */
81060 szKeyInfo = sizeof(KeyInfo) + (pCsr->pKeyInfo->nField-1)*sizeof(CollSeq*);
81068 pSorter->pKeyInfo = pKeyInfo = (KeyInfo*)((u8*)pSorter + sz);
82797 KeyInfo *pKeyInfo = pCsr->pKeyInfo;
86889 KeyInfo *pKeyInfo = 0; /* Key information */
94489 ** columns are part of KeyInfo.nXField and are not used for
95560 KeyInfo *pKey; /* KeyInfo for index */
97107 ** Return a KeyInfo structure that is appropriate for the given Index.
97109 ** The KeyInfo structure for an index is cached in the Index object.
97111 ** caller should not try to modify the KeyInfo object.
97116 SQLITE_PRIVATE KeyInfo *sqlite3KeyInfoOfIndex(Parse *pParse, Index *pIdx){
97120 KeyInfo *pKey;
109138 static KeyInfo *keyInfoFromExprList(
109140 ExprList *pList, /* Form the KeyInfo object from this ExprList */
109192 KeyInfo *pKI; /* Original KeyInfo on the sorter table */
109649 ** Allocate a KeyInfo object sufficient for an index of N key columns and
109652 SQLITE_PRIVATE KeyInfo *sqlite3KeyInfoAlloc(sqlite3 *db, int N, int X){
109653 KeyInfo *p = sqlite3DbMallocZero(0,
109654 sizeof(KeyInfo) + (N+X)*(sizeof(CollSeq*)+1));
109669 ** Deallocate a KeyInfo object
109671 SQLITE_PRIVATE void sqlite3KeyInfoUnref(KeyInfo *p){
109680 ** Make a new pointer to a KeyInfo object
109682 SQLITE_PRIVATE KeyInfo *sqlite3KeyInfoRef(KeyInfo *p){
109692 ** Return TRUE if a KeyInfo object can be change. The KeyInfo object
109697 SQLITE_PRIVATE int sqlite3KeyInfoIsWriteable(KeyInfo *p){ return p->nRef==1; }
109701 ** Given an expression list, generate a KeyInfo structure that records
109705 ** KeyInfo structure is appropriate for initializing a virtual index to
109707 ** then the KeyInfo structure is appropriate for initializing a virtual
109710 ** Space to hold the KeyInfo structure is obtained from malloc. The calling
109714 static KeyInfo *keyInfoFromExprList(
109716 ExprList *pList, /* Form the KeyInfo object from this ExprList */
109721 KeyInfo *pInfo;
110541 ** with an ORDER BY clause. This function allocates and returns a KeyInfo
110544 ** Space to hold the KeyInfo structure is obtained from malloc. The calling
110548 static KeyInfo *multiSelectOrderByKeyInfo(Parse *pParse, Select *p, int nExtra){
110552 KeyInfo *pRet = sqlite3KeyInfoAlloc(db, nOrderBy+nExtra, 1);
110675 KeyInfo *pKeyInfo = multiSelectOrderByKeyInfo(pParse, p, 1);
111129 ** Attach the KeyInfo structure to all temporary tables.
111138 KeyInfo *pKeyInfo; /* Collating sequence for the result set */
111223 KeyInfo *pKeyInfo, /* For comparing with previous entry */
111460 KeyInfo *pKeyDup = 0; /* Comparison information for duplicate removal */
111461 KeyInfo *pKeyMerge; /* Comparison information for merging rows */
111511 /* Compute the comparison permutation and keyinfo that is used with
111536 /* Allocate a range of temporary registers and the KeyInfo needed
113271 KeyInfo *pKeyInfo = keyInfoFromExprList(pParse, pE->x.pList, 0, 0);
113707 KeyInfo *pKeyInfo;
113865 KeyInfo *pKeyInfo; /* Keying information for the group by clause */
114114 KeyInfo *pKeyInfo = 0; /* Keyinfo for scanned index */
114127 ** In practice the KeyInfo structure will not be used. It is only