Home | History | Annotate | Download | only in amalgamation

Lines Matching defs:apVal

62515       sqlite3_value **apVal;
62811 sqlite3_value **apVal;
63672 sqlite3_value **apVal;
63677 u.ag.apVal = p->apArg;
63678 assert( u.ag.apVal || u.ag.n==0 );
63688 u.ag.apVal[u.ag.i] = u.ag.pArg;
63722 (*u.ag.ctx.pFunc->xFunc)(&u.ag.ctx, u.ag.n, u.ag.apVal); /* IMP: R-24505-23230 */
67585 sqlite3_value **apVal;
67591 u.cb.apVal = p->apArg;
67592 assert( u.cb.apVal || u.cb.n==0 );
67595 u.cb.apVal[u.cb.i] = u.cb.pRec;
67616 (u.cb.ctx.pFunc->xStep)(&u.cb.ctx, u.cb.n, u.cb.apVal); /* IMP: R-24505-23230 */
116104 int nVal, /* Number of elements in apVal */
116105 sqlite3_value **apVal /* Arguments for the indexing scheme */
116132 const char *zQuery = (const char *)sqlite3_value_text(apVal[0]);
116134 if( zQuery==0 && sqlite3_value_type(apVal[0])!=SQLITE_NULL ){
116173 rc = sqlite3_bind_value(pCsr->pStmt, 1, apVal[0]);
116256 sqlite3_value **apVal, /* Array of arguments */
116259 return sqlite3Fts3UpdateMethod(pVtab, nArg, apVal, pRowid);
116421 int nVal, /* Size of apVal[] array */
116422 sqlite3_value **apVal /* Array of arguments */
116424 Fts3Cursor *pCsr; /* Cursor handle passed through apVal[0] */
116441 if( fts3FunctionArg(pContext, "snippet", apVal[0], &pCsr) ) return;
116444 case 6: nToken = sqlite3_value_int(apVal[5]);
116445 case 5: iCol = sqlite3_value_int(apVal[4]);
116446 case 4: zEllipsis = (const char*)sqlite3_value_text(apVal[3]);
116447 case 3: zEnd = (const char*)sqlite3_value_text(apVal[2]);
116448 case 2: zStart = (const char*)sqlite3_value_text(apVal[1]);
116463 sqlite3_value **apVal /* Array of arguments */
116465 Fts3Cursor *pCsr; /* Cursor handle passed through apVal[0] */
116470 if( fts3FunctionArg(pContext, "offsets", apVal[0], &pCsr) ) return;
116489 sqlite3_value **apVal /* Array of arguments */
116493 Fts3Cursor *pCursor; /* Cursor handle passed through apVal[0] */
116498 if( fts3FunctionArg(pContext, "optimize", apVal[0], &pCursor) ) return;
116523 sqlite3_value **apVal /* Array of arguments */
116525 Fts3Cursor *pCsr; /* Cursor handle passed through apVal[0] */
116527 if( SQLITE_OK==fts3FunctionArg(pContext, "matchinfo", apVal[0], &pCsr) ){
116530 zArg = (const char *)sqlite3_value_text(apVal[1]);
117102 int nVal, /* Number of elements in apVal */
117103 sqlite3_value **apVal /* Arguments for the indexing scheme */
117130 const unsigned char *zStr = sqlite3_value_text(apVal[0]);
117133 pCsr->filter.nTerm = sqlite3_value_bytes(apVal[0]);
117139 pCsr->zStop = sqlite3_mprintf("%s", sqlite3_value_text(apVal[iIdx]));
117140 pCsr->nStop = sqlite3_value_bytes(apVal[iIdx]);
120113 ** If argument apVal is not NULL, then it must point to an array with
120122 sqlite3_value **apVal /* Values to bind to statement */
120181 if( apVal ){
120185 rc = sqlite3_bind_value(pStmt, i+1, apVal[i]);
120239 ** array apVal[] to the SQL statement identified by eStmt, the statement
120249 sqlite3_value **apVal /* Parameters to bind */
120254 rc = fts3SqlStmt(p, eStmt, &pStmt, apVal);
120545 ** Argument apVal is the same as the similarly named argument passed to
120548 static int fts3InsertTerms(Fts3Table *p, sqlite3_value **apVal, u32 *aSz){
120551 const char *zText = (const char *)sqlite3_value_text(apVal[i]);
120558 aSz[p->nColumn] += sqlite3_value_bytes(apVal[i]);
120565 ** The apVal parameter is passed a copy of the apVal argument passed by
120568 ** apVal[0] Not used for INSERT.
120569 ** apVal[1] rowid
120570 ** apVal[2] Left-most user-defined column
120572 ** apVal[p->nColumn+1] Right-most user-defined column
120573 ** apVal[p->nColumn+2] Hidden column with same name as table
120574 ** apVal[p->nColumn+3] Hidden "docid" column (alias for rowid)
120578 sqlite3_value **apVal, /* Array of values to insert */
120592 rc = fts3SqlStmt(p, SQL_CONTENT_INSERT, &pContentInsert, &apVal[1]);
120607 if( SQLITE_NULL!=sqlite3_value_type(apVal[3+p->nColumn]) ){
120608 if( SQLITE_NULL==sqlite3_value_type(apVal[0])
120609 && SQLITE_NULL!=sqlite3_value_type(apVal[1])
120614 rc = sqlite3_bind_value(pContentInsert, 1, apVal[3+p->nColumn]);
120654 ** The first element in the apVal[] array is assumed to contain the docid
120661 sqlite3_value **apVal, /* apVal[] contains the docid to be deleted */
120668 rc = fts3SqlStmt(p, SQL_SELECT_CONTENT_BY_ROWID, &pSelect, apVal);
121805 ** The first value in the apVal[] array is assumed to contain an integer.
121808 ** apVal[0] would mean the FTS3 table were empty.
121811 ** document apVal[0], or false otherwise, and SQLITE_OK is returned. If an
121814 static int fts3IsEmpty(Fts3Table *p, sqlite3_value **apVal, int *pisEmpty){
121817 rc = fts3SqlStmt(p, SQL_IS_EMPTY, &pStmt, apVal);
122549 sqlite3_value **apVal, /* Array of arguments */
122569 if( sqlite3_value_type(apVal[0])!=SQLITE_NULL ){
122571 rc = fts3IsEmpty(p, apVal, &isEmpty);
122581 iRemove = sqlite3_value_int64(apVal[0]);
122583 fts3DeleteTerms(&rc, p, apVal, aSzDel);
122584 fts3SqlExec(&rc, p, SQL_DELETE_CONTENT, apVal);
122586 fts3SqlExec(&rc, p, SQL_DELETE_DOCSIZE, apVal);
122591 }else if( sqlite3_value_type(apVal[p->nColumn+2])!=SQLITE_NULL ){
122593 return fts3SpecialInsert(p, apVal[p->nColumn+2]);
122598 rc = fts3InsertData(p, apVal, pRowid);
122603 rc = fts3InsertTerms(p, apVal, aSzIns);