Home | History | Annotate | Download | only in orig

Lines Matching defs:MatchInfo

126834   char *zMatchinfo;               /* Matchinfo specification */
126924 ** matchinfo data. If it is not NULL, it points to an array of size nCol*3,
128000 { "matchinfo", 9 }, /* 0 -> MATCHINFO */
128025 case 0: /* MATCHINFO */
128027 *pzErr = sqlite3_mprintf("unrecognized matchinfo: %s", zVal);
130379 ** Implementation of the matchinfo() function for FTS3
130388 if( SQLITE_OK==fts3FunctionArg(pContext, "matchinfo", apVal[0], &pCsr) ){
130415 { "matchinfo", fts3MatchinfoFunc },
130666 && SQLITE_OK==(rc = sqlite3_overload_function(db, "matchinfo", 1))
130667 && SQLITE_OK==(rc = sqlite3_overload_function(db, "matchinfo", 2))
132040 ** offsets() and matchinfo() functions are not supposed to recognize
132372 ** This function is used by the matchinfo() module to query a phrase
142382 ** Characters that may appear in the second argument to matchinfo().
142393 ** The default value for the second argument to matchinfo().
142444 ** accumulating the data returned by the matchinfo() function.
142446 typedef struct MatchInfo MatchInfo;
142447 struct MatchInfo {
143102 ** fts3ExprIterate() callback used to collect the "global" matchinfo stats
143106 ** FTS3_MATCHINFO_HITS matchinfo array. The global stats are those elements
143107 ** of the matchinfo array that are constant for all rows returned by the
143110 ** Argument pCtx is actually a pointer to a struct of type MatchInfo. This
143111 ** function populates Matchinfo.aMatchinfo[] as follows:
143131 void *pCtx /* Pointer to MatchInfo structure */
143133 MatchInfo *p = (MatchInfo *)pCtx;
143147 void *pCtx /* Pointer to MatchInfo structure */
143150 MatchInfo *p = (MatchInfo *)pCtx;
143182 *pzErr = sqlite3_mprintf("unrecognized matchinfo request: %c", cArg);
143186 static int fts3MatchinfoSize(MatchInfo *pInfo, char cArg){
143241 ** values for a matchinfo() FTS3_MATCHINFO_LCS request.
143260 void *pCtx /* Pointer to MatchInfo structure */
143290 ** This function implements the FTS3_MATCHINFO_LCS matchinfo() flag.
143300 static int fts3MatchinfoLcs(Fts3Cursor *pCsr, MatchInfo *pInfo){
143369 ** be returned by the matchinfo() function. Argument zArg contains the
143370 ** format string passed as the second argument to matchinfo (or the
143375 ** If bGlobal is true, then populate all fields of the matchinfo() output.
143387 MatchInfo *pInfo, /* Matchinfo context object */
143388 const char *zArg /* Matchinfo format string */
143485 ** 'matchinfo' data is an array of 32-bit unsigned integers (C type u32).
143489 const char *zArg /* Second argument to matchinfo() function */
143491 MatchInfo sInfo;
143496 memset(&sInfo, 0, sizeof(MatchInfo));
143500 /* If there is cached matchinfo() data, but the format string for the
143511 ** matchinfo function has been called for this query. In this case
143512 ** allocate the array used to accumulate the matchinfo data and
143839 ** Implementation of matchinfo() function.
143844 const char *zArg /* Second arg to matchinfo() function */
143870 /* Retrieve matchinfo() data. */