Lines Matching refs:KeyInfo
8143 typedef struct KeyInfo KeyInfo;
8316 struct KeyInfo*, /* First argument to compare function */
8480 KeyInfo *pKeyInfo; /* Used when p4type is P4_KEYINFO */
8529 #define P4_KEYINFO (-6) /* P4 is a pointer to a KeyInfo structure */
8542 /* When adding a P4 argument using P4_KEYINFO, a copy of the KeyInfo structure
8547 ** function should *not* try to free the KeyInfo.
8824 SQLITE_PRIVATE void sqlite3VdbeRecordUnpack(KeyInfo*,int,const void*,UnpackedRecord*);
8826 SQLITE_PRIVATE UnpackedRecord *sqlite3VdbeAllocUnpackedRecord(KeyInfo *, char *, int, char **);
10308 struct KeyInfo {
10331 KeyInfo *pKeyInfo; /* Collation and sort-order information */
10935 ** the P4_KEYINFO and P2 parameters later. Neither the KeyInfo nor
10939 ** The KeyInfo for addrOpenTran[0] and [1] contains collating sequences
10940 ** for the result set. The KeyInfo for addrOpenTran[2] contains collating
11945 SQLITE_PRIVATE KeyInfo *sqlite3IndexKeyinfo(Parse *, Index *);
12879 KeyInfo *pKeyInfo; /* Info about index keys needed by index cursors */
48933 struct KeyInfo *pKeyInfo; /* Argument passed to comparison function */
52825 struct KeyInfo *pKeyInfo, /* First arg to comparison function */
52874 struct KeyInfo *pKeyInfo, /* First arg to xCompare() */
53619 ** specify a KeyInfo structure the flags byte is set to 0x05 or 0x0D,
53620 ** indicating a table b-tree, or if the caller did specify a KeyInfo
60204 ** If n==P4_KEYINFO it means that zP4 is a pointer to a KeyInfo structure.
60205 ** A copy is made of the KeyInfo structure into memory obtained from
60207 ** n==P4_KEYINFO_HANDOFF indicates that zP4 points to a KeyInfo structure
60247 KeyInfo *pKeyInfo;
60250 nField = ((KeyInfo*)zP4)->nField;
60373 KeyInfo *pKeyInfo = pOp->p4.pKeyInfo;
62353 ** the first argument is a pointer to KeyInfo structure pKeyInfo.
62365 KeyInfo *pKeyInfo, /* Description of the record */
62401 KeyInfo *pKeyInfo, /* Information about the record format */
62462 KeyInfo *pKeyInfo;
65058 const KeyInfo *pKeyInfo;
65153 KeyInfo *pKeyInfo;
66747 ** P4 is a KeyInfo structure that defines collating sequences and sort
66749 ** only. The KeyInfo elements are used sequentially.
66761 const KeyInfo *pKeyInfo;
67955 ** a KeyInfo structure (P4_KEYINFO). If it is a pointer to a KeyInfo
67969 ** a KeyInfo structure (P4_KEYINFO). If it is a pointer to a KeyInfo
67985 KeyInfo *pKeyInfo;
68071 ** if P4 is not 0. If P4 is not NULL, it points to a KeyInfo structure
68126 (KeyInfo*)pOp->p4.z, u.ay.pCx->pCursor);
71955 KeyInfo *pKeyInfo = pCsr->pKeyInfo;
76023 KeyInfo keyInfo; /* Keyinfo for the generated table */
79758 KeyInfo *pKey;
83542 KeyInfo *pKey; /* KeyInfo for index */
84976 ** Return a dynamicly allocated KeyInfo structure that can be used
84985 SQLITE_PRIVATE KeyInfo *sqlite3IndexKeyinfo(Parse *pParse, Index *pIdx){
84988 int nBytes = sizeof(KeyInfo) + (nCol-1)*sizeof(CollSeq*) + nCol;
84990 KeyInfo *pKey = (KeyInfo *)sqlite3DbMallocZero(db, nBytes);
88119 KeyInfo *pKey = sqlite3IndexKeyinfo(pParse, pIdx);
90464 KeyInfo *pKey = sqlite3IndexKeyinfo(pParse, pIdx);
90582 KeyInfo *pKey; /* Key information for an index */
95245 ** Given an expression list, generate a KeyInfo structure that records
95249 ** KeyInfo structure is appropriate for initializing a virtual index to
95251 ** then the KeyInfo structure is appropriate for initializing a virtual
95254 ** Space to hold the KeyInfo structure is obtain from malloc. The calling
95256 ** freed. Add the KeyInfo structure to the P4 field of an opcode using
95259 static KeyInfo *keyInfoFromExprList(Parse *pParse, ExprList *pList){
95262 KeyInfo *pInfo;
96356 ** Attach the KeyInfo structure to all temporary tables.
96365 KeyInfo *pKeyInfo; /* Collating sequence for the result set */
96441 KeyInfo *pKeyInfo, /* For comparing with previous entry */
96691 KeyInfo *pKeyDup = 0; /* Comparison information for duplicate removal */
96692 KeyInfo *pKeyMerge; /* Comparison information for merging rows */
96785 /* Allocate a range of temporary registers and the KeyInfo needed
98069 KeyInfo *pKeyInfo = keyInfoFromExprList(pParse, pE->x.pList);
98471 KeyInfo *pKeyInfo;
98501 KeyInfo *pKeyInfo;
98642 KeyInfo *pKeyInfo; /* Keying information for the group by clause */
98873 KeyInfo *pKeyInfo = 0; /* Keyinfo for scanned index */
98885 ** and pKeyInfo to the KeyInfo structure required to navigate the
98890 ** In practice the KeyInfo structure will not be used. It is only
100801 KeyInfo *pKey = sqlite3IndexKeyinfo(pParse, pIdx);
104542 KeyInfo *pKeyinfo; /* Key information for the index */
107573 KeyInfo *pKey = sqlite3IndexKeyinfo(pParse, pIx);