• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/sqlite3/

Lines Matching refs:KeyInfo

14796 typedef struct KeyInfo KeyInfo;
15357 struct KeyInfo*, /* First argument to compare function */
15591 KeyInfo *pKeyInfo; /* Used when p4type is P4_KEYINFO */
15655 #define P4_KEYINFO (-9) /* P4 is a pointer to a KeyInfo structure */
16041 SQLITE_PRIVATE void sqlite3VdbeRecordUnpack(KeyInfo*,int,const void*,UnpackedRecord*);
16044 SQLITE_PRIVATE UnpackedRecord *sqlite3VdbeAllocUnpackedRecord(KeyInfo*);
17854 struct KeyInfo {
17855 u32 nRef; /* Number of references to this KeyInfo object */
17865 ** Allowed bit values for entries in the KeyInfo.aSortFlags[] array.
17906 KeyInfo *pKeyInfo; /* Collation and sort-order information */
18624 ** the P4_KEYINFO and P2 parameters later. Neither the KeyInfo nor
18628 ** The KeyInfo for addrOpenTran[0] and [1] contains collating sequences
18629 ** for the result set. The KeyInfo for addrOpenEphm[2] contains collating
20276 SQLITE_PRIVATE KeyInfo *sqlite3KeyInfoAlloc(sqlite3*,int,int);
20277 SQLITE_PRIVATE void sqlite3KeyInfoUnref(KeyInfo*);
20278 SQLITE_PRIVATE KeyInfo *sqlite3KeyInfoRef(KeyInfo*);
20279 SQLITE_PRIVATE KeyInfo *sqlite3KeyInfoOfIndex(Parse*, Index*);
20280 SQLITE_PRIVATE KeyInfo *sqlite3KeyInfoFromExprList(Parse*, ExprList*, int, int);
20285 SQLITE_PRIVATE int sqlite3KeyInfoIsWriteable(KeyInfo*);
21101 KeyInfo *pKeyInfo; /* Info about index keys needed by index cursors */
21457 KeyInfo keyinfo;
64477 struct KeyInfo *pKeyInfo; /* Arg passed to comparison function */
65779 KeyInfo *pKeyInfo = pCur->pKeyInfo;
69366 struct KeyInfo *pKeyInfo, /* First arg to comparison function */
69431 struct KeyInfo *pKeyInfo, /* First arg to comparison function */
69444 struct KeyInfo *pKeyInfo, /* First arg to xCompare() */
70176 ** specify a KeyInfo structure the flags byte is set to 0x05 or 0x0D,
70177 ** indicating a table b-tree, or if the caller did specify a KeyInfo
79514 if( db->pnBytesFreed==0 ) sqlite3KeyInfoUnref((KeyInfo*)p4);
79735 ** Set the P4 on the most recently added opcode to the KeyInfo for the
79740 KeyInfo *pKeyInfo;
80020 KeyInfo *pKeyInfo = pOp->p4.pKeyInfo;
82360 ** the first argument is a pointer to KeyInfo structure pKeyInfo.
82372 KeyInfo *pKeyInfo /* Description of the record */
82392 KeyInfo *pKeyInfo, /* Information about the record format */
82456 KeyInfo *pKeyInfo;
82553 ** that the KeyInfo.nKeyField or KeyInfo.nAllField values were computed
82558 const KeyInfo *pKeyInfo /* Compare size with this KeyInfo */
82867 KeyInfo *pKeyInfo;
85430 KeyInfo *pKeyInfo,
88195 ** P4 is a KeyInfo structure that defines collating sequences and sort
88197 ** only. The KeyInfo elements are used sequentially.
88208 const KeyInfo *pKeyInfo;
89655 ** a KeyInfo structure (P4_KEYINFO). If it is a pointer to a KeyInfo
89657 ** KeyInfo object defines the content and collating
89694 ** a KeyInfo structure (P4_KEYINFO). If it is a pointer to a KeyInfo
89696 ** KeyInfo object defines the content and collating
89722 KeyInfo *pKeyInfo;
89874 ** if P4 is not 0. If P4 is not NULL, it points to a KeyInfo structure
89897 KeyInfo *pKeyInfo;
95072 KeyInfo *pKeyInfo; /* How to compare records */
95683 KeyInfo *pKeyInfo; /* Copy of pCsr->pKeyInfo with db==0 */
95712 szKeyInfo = sizeof(KeyInfo) + (pCsr->pKeyInfo->nKeyField-1)*sizeof(CollSeq*);
95721 pSorter->pKeyInfo = pKeyInfo = (KeyInfo*)((u8*)pSorter + sz);
97484 KeyInfo *pKeyInfo;
103522 KeyInfo *pKeyInfo = 0; /* Key information */
113727 ** columns are part of KeyInfo.nAllField and are not used for
115020 KeyInfo *pKey; /* KeyInfo for index */
116756 ** Return a KeyInfo structure that is appropriate for the given Index.
116761 SQLITE_PRIVATE KeyInfo *sqlite3KeyInfoOfIndex(Parse *pParse, Index *pIdx){
116765 KeyInfo *pKey;
131809 KeyInfo *pKI; /* Original KeyInfo on the sorter table */
132458 ** Allocate a KeyInfo object sufficient for an index of N key columns and
132461 SQLITE_PRIVATE KeyInfo *sqlite3KeyInfoAlloc(sqlite3 *db, int N, int X){
132463 KeyInfo *p = sqlite3DbMallocRawNN(db, sizeof(KeyInfo) + nExtra);
132479 ** Deallocate a KeyInfo object
132481 SQLITE_PRIVATE void sqlite3KeyInfoUnref(KeyInfo *p){
132490 ** Make a new pointer to a KeyInfo object
132492 SQLITE_PRIVATE KeyInfo *sqlite3KeyInfoRef(KeyInfo *p){
132502 ** Return TRUE if a KeyInfo object can be change. The KeyInfo object
132507 SQLITE_PRIVATE int sqlite3KeyInfoIsWriteable(KeyInfo *p){ return p->nRef==1; }
132511 ** Given an expression list, generate a KeyInfo structure that records
132515 ** KeyInfo structure is appropriate for initializing a virtual index to
132517 ** then the KeyInfo structure is appropriate for initializing a virtual
132520 ** Space to hold the KeyInfo structure is obtained from malloc. The calling
132524 SQLITE_PRIVATE KeyInfo *sqlite3KeyInfoFromExprList(
132526 ExprList *pList, /* Form the KeyInfo object from this ExprList */
132531 KeyInfo *pInfo;
133426 ** with an ORDER BY clause. This function allocates and returns a KeyInfo
133429 ** Space to hold the KeyInfo structure is obtained from malloc. The calling
133433 static KeyInfo *multiSelectOrderByKeyInfo(Parse *pParse, Select *p, int nExtra){
133437 KeyInfo *pRet = sqlite3KeyInfoAlloc(db, nOrderBy+nExtra, 1);
133568 KeyInfo *pKeyInfo = multiSelectOrderByKeyInfo(pParse, p, 1);
134036 ** Attach the KeyInfo structure to all temporary tables.
134045 KeyInfo *pKeyInfo; /* Collating sequence for the result set */
134131 KeyInfo *pKeyInfo, /* For comparing with previous entry */
134365 KeyInfo *pKeyDup = 0; /* Comparison information for duplicate removal */
134366 KeyInfo *pKeyMerge; /* Comparison information for merging rows */
134438 /* Allocate a range of temporary registers and the KeyInfo needed
136805 KeyInfo *pKeyInfo = sqlite3KeyInfoFromExprList(pParse, pE->x.pList,0,0);
137651 KeyInfo *pKeyInfo;
137914 KeyInfo *pKeyInfo; /* Keying information for the group by clause */
138157 KeyInfo *pKeyInfo = 0; /* Keyinfo for scanned index */
138170 ** In practice the KeyInfo structure will not be used. It is only
140595 KeyInfo *pKeyInfo = sqlite3KeyInfoOfIndex(pParse, pPk);
155338 KeyInfo *pKeyInfo = sqlite3KeyInfoFromExprList(pParse, pList, 0, 0);
155757 KeyInfo *pKeyInfo = 0;
155954 KeyInfo *pKeyInfo = sqlite3KeyInfoFromExprList(pParse, pOrderBy, 0, 0);
156796 KeyInfo *pKeyInfo = sqlite3KeyInfoFromExprList(pParse, pPart, 0, 0);