Home | History | Annotate | Download | only in dist

Lines Matching defs: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 */
48961 struct KeyInfo *pKeyInfo; /* Argument passed to comparison function */
52853 struct KeyInfo *pKeyInfo, /* First arg to comparison function */
52902 struct KeyInfo *pKeyInfo, /* First arg to xCompare() */
53647 ** specify a KeyInfo structure the flags byte is set to 0x05 or 0x0D,
53648 ** indicating a table b-tree, or if the caller did specify a KeyInfo
60232 ** If n==P4_KEYINFO it means that zP4 is a pointer to a KeyInfo structure.
60233 ** A copy is made of the KeyInfo structure into memory obtained from
60235 ** n==P4_KEYINFO_HANDOFF indicates that zP4 points to a KeyInfo structure
60275 KeyInfo *pKeyInfo;
60278 nField = ((KeyInfo*)zP4)->nField;
60401 KeyInfo *pKeyInfo = pOp->p4.pKeyInfo;
60402 sqlite3_snprintf(nTemp, zTemp, "keyinfo(%d", pKeyInfo->nField);
62381 ** the first argument is a pointer to KeyInfo structure pKeyInfo.
62393 KeyInfo *pKeyInfo, /* Description of the record */
62429 KeyInfo *pKeyInfo, /* Information about the record format */
62490 KeyInfo *pKeyInfo;
65086 const KeyInfo *pKeyInfo;
65181 KeyInfo *pKeyInfo;
66775 ** P4 is a KeyInfo structure that defines collating sequences and sort
66777 ** only. The KeyInfo elements are used sequentially.
66789 const KeyInfo *pKeyInfo;
67983 ** a KeyInfo structure (P4_KEYINFO). If it is a pointer to a KeyInfo
67997 ** a KeyInfo structure (P4_KEYINFO). If it is a pointer to a KeyInfo
68013 KeyInfo *pKeyInfo;
68099 ** if P4 is not 0. If P4 is not NULL, it points to a KeyInfo structure
68154 (KeyInfo*)pOp->p4.z, u.ay.pCx->pCursor);
71983 KeyInfo *pKeyInfo = pCsr->pKeyInfo;
76059 KeyInfo keyInfo; /* Keyinfo for the generated table */
76085 memset(&keyInfo, 0, sizeof(keyInfo));
76086 keyInfo.nField = 1;
76107 keyInfo.aColl[0] = sqlite3BinaryCompareCollSeq(pParse, pExpr->pLeft,
76126 keyInfo.aColl[0] = sqlite3ExprCollSeq(pParse, pExpr->pLeft);
76166 sqlite3VdbeChangeP4(v, addr, (void *)&keyInfo, P4_KEYINFO);
79794 KeyInfo *pKey;
83578 KeyInfo *pKey; /* KeyInfo for index */
85012 ** Return a dynamicly allocated KeyInfo structure that can be used
85021 SQLITE_PRIVATE KeyInfo *sqlite3IndexKeyinfo(Parse *pParse, Index *pIdx){
85024 int nBytes = sizeof(KeyInfo) + (nCol-1)*sizeof(CollSeq*) + nCol;
85026 KeyInfo *pKey = (KeyInfo *)sqlite3DbMallocZero(db, nBytes);
88155 KeyInfo *pKey = sqlite3IndexKeyinfo(pParse, pIdx);
90500 KeyInfo *pKey = sqlite3IndexKeyinfo(pParse, pIdx);
90618 KeyInfo *pKey; /* Key information for an index */
95281 ** Given an expression list, generate a KeyInfo structure that records
95285 ** KeyInfo structure is appropriate for initializing a virtual index to
95287 ** then the KeyInfo structure is appropriate for initializing a virtual
95290 ** Space to hold the KeyInfo structure is obtain from malloc. The calling
95292 ** freed. Add the KeyInfo structure to the P4 field of an opcode using
95295 static KeyInfo *keyInfoFromExprList(Parse *pParse, ExprList *pList){
95298 KeyInfo *pInfo;
96392 ** Attach the KeyInfo structure to all temporary tables.
96401 KeyInfo *pKeyInfo; /* Collating sequence for the result set */
96477 KeyInfo *pKeyInfo, /* For comparing with previous entry */
96727 KeyInfo *pKeyDup = 0; /* Comparison information for duplicate removal */
96728 KeyInfo *pKeyMerge; /* Comparison information for merging rows */
96778 /* Compute the comparison permutation and keyinfo that is used with
96821 /* Allocate a range of temporary registers and the KeyInfo needed
98105 KeyInfo *pKeyInfo = keyInfoFromExprList(pParse, pE->x.pList);
98507 KeyInfo *pKeyInfo;
98537 KeyInfo *pKeyInfo;
98678 KeyInfo *pKeyInfo; /* Keying information for the group by clause */
98909 KeyInfo *pKeyInfo = 0; /* Keyinfo for scanned index */
98921 ** and pKeyInfo to the KeyInfo structure required to navigate the
98926 ** In practice the KeyInfo structure will not be used. It is only
100837 KeyInfo *pKey = sqlite3IndexKeyinfo(pParse, pIdx);
104578 KeyInfo *pKeyinfo; /* Key information for the index */
107609 KeyInfo *pKey = sqlite3IndexKeyinfo(pParse, pIx);