Lines Matching refs:apVal
12267 sqlite3_value **apVal /* Array of trailing arguments */
78656 sqlite3_value **apVal = 0; /* Function arguments */
78679 apVal = (sqlite3_value**)sqlite3DbMallocZero(db, sizeof(apVal[0]) * nVal);
78680 if( apVal==0 ){
78685 rc = sqlite3ValueFromExpr(db, pList->a[i].pExpr, enc, aff, &apVal[i]);
78686 if( apVal[i]==0 || rc!=SQLITE_OK ) goto value_from_function_out;
78700 pFunc->xSFunc(&ctx, nVal, apVal);
78719 if( apVal ){
78721 sqlite3ValueFree(apVal[i]);
78723 sqlite3DbFreeNN(db, apVal);
175937 sqlite3_value **apVal /* Arguments for the indexing scheme */
175964 if( eSearch!=FTS3_FULLSCAN_SEARCH ) pCons = apVal[iIdx++];
175965 if( idxNum & FTS3_HAVE_LANGID ) pLangid = apVal[iIdx++];
175966 if( idxNum & FTS3_HAVE_DOCID_GE ) pDocidGe = apVal[iIdx++];
175967 if( idxNum & FTS3_HAVE_DOCID_LE ) pDocidLe = apVal[iIdx++];
176142 sqlite3_value **apVal, /* Array of arguments */
176145 return sqlite3Fts3UpdateMethod(pVtab, nArg, apVal, pRowid);
176343 sqlite3_value **apVal /* Array of arguments */
176362 if( fts3FunctionArg(pContext, "snippet", apVal[0], &pCsr) ) return;
176365 case 6: nToken = sqlite3_value_int(apVal[5]);
176367 case 5: iCol = sqlite3_value_int(apVal[4]);
176369 case 4: zEllipsis = (const char*)sqlite3_value_text(apVal[3]);
176371 case 3: zEnd = (const char*)sqlite3_value_text(apVal[2]);
176373 case 2: zStart = (const char*)sqlite3_value_text(apVal[1]);
176390 sqlite3_value **apVal /* Array of arguments */
176397 if( fts3FunctionArg(pContext, "offsets", apVal[0], &pCsr) ) return;
176416 sqlite3_value **apVal /* Array of arguments */
176425 if( fts3FunctionArg(pContext, "optimize", apVal[0], &pCursor) ) return;
176450 sqlite3_value **apVal /* Array of arguments */
176454 if( SQLITE_OK==fts3FunctionArg(pContext, "matchinfo", apVal[0], &pCsr) ){
176457 zArg = (const char *)sqlite3_value_text(apVal[1]);
179114 sqlite3_value **apVal /* Arguments for the indexing scheme */
179164 const unsigned char *zStr = sqlite3_value_text(apVal[0]);
179174 pCsr->zStop = sqlite3_mprintf("%s", sqlite3_value_text(apVal[iLe]));
179180 iLangVal = sqlite3_value_int(apVal[iLangid]);
182748 sqlite3_value **apVal /* Arguments for the indexing scheme */
182758 const char *zByte = (const char *)sqlite3_value_text(apVal[0]);
182759 int nByte = sqlite3_value_bytes(apVal[0]);
183160 sqlite3_value **apVal /* Values to bind to statement */
183289 if( apVal ){
183293 rc = sqlite3_bind_value(pStmt, i+1, apVal[i]);
183367 sqlite3_value **apVal /* Parameters to bind */
183372 rc = fts3SqlStmt(p, eStmt, &pStmt, apVal);
183792 sqlite3_value **apVal,
183799 const char *zText = (const char *)sqlite3_value_text(apVal[i]);
183804 aSz[p->nColumn] += sqlite3_value_bytes(apVal[i]);
183826 sqlite3_value **apVal, /* Array of values to insert */
183833 sqlite3_value *pRowid = apVal[p->nColumn+3];
183835 pRowid = apVal[1];
183852 rc = fts3SqlStmt(p, SQL_CONTENT_INSERT, &pContentInsert, &apVal[1]);
183856 sqlite3_value_int(apVal[p->nColumn+4])
183871 if( SQLITE_NULL!=sqlite3_value_type(apVal[3+p->nColumn]) ){
183872 if( SQLITE_NULL==sqlite3_value_type(apVal[0])
183873 && SQLITE_NULL!=sqlite3_value_type(apVal[1])
183878 rc = sqlite3_bind_value(pContentInsert, 1, apVal[3+p->nColumn]);
188520 sqlite3_value **apVal, /* Array of arguments */
188545 && sqlite3_value_type(apVal[0])==SQLITE_NULL
188546 && sqlite3_value_type(apVal[p->nColumn+2])!=SQLITE_NULL
188548 rc = fts3SpecialInsert(p, apVal[p->nColumn+2]);
188552 if( nArg>1 && sqlite3_value_int(apVal[2 + p->nColumn + 2])<0 ){
188580 sqlite3_value *pNewRowid = apVal[3+p->nColumn];
188582 pNewRowid = apVal[1];
188586 sqlite3_value_type(apVal[0])==SQLITE_NULL
188587 || sqlite3_value_int64(apVal[0])!=sqlite3_value_int64(pNewRowid)
188609 rc = fts3InsertData(p, apVal, pRowid);
188619 if( sqlite3_value_type(apVal[0])!=SQLITE_NULL ){
188620 assert( sqlite3_value_type(apVal[0])==SQLITE_INTEGER );
188621 rc = fts3DeleteByRowid(p, apVal[0], &nChng, aSzDel);
188626 int iLangid = sqlite3_value_int(apVal[2 + p->nColumn + 2]);
188628 rc = fts3InsertData(p, apVal, pRowid);
188638 rc = fts3InsertTerms(p, iLangid, apVal, aSzIns);
203971 sqlite3_value **apVal
203977 assert( sqlite3_value_int(apVal[0])!=0
203981 if( sqlite3_value_int(apVal[0])!=0 ){
203986 rc = sqlite3_bind_value(p->objiter.pTmpInsert, i+1, apVal[i]);
205686 sqlite3_value **apVal
205698 "WHERE type='index' AND tbl_name = %Q", sqlite3_value_text(apVal[0]))
212008 sqlite3_value **apVal = 0; /* Space for values for UPDATE inversion */
212051 sqlite3_free(apVal);
212052 apVal = 0;
212076 if( 0==apVal ){
212077 apVal = (sqlite3_value **)sqlite3_malloc64(sizeof(apVal[0])*nCol*2);
212078 if( 0==apVal ){
212082 memset(apVal, 0, sizeof(apVal[0])*nCol*2);
212091 rc = sessionReadRecord(pInput, nCol, 0, &apVal[0], 0);
212093 rc = sessionReadRecord(pInput, nCol, 0, &apVal[nCol], 0);
212100 sqlite3_value *pVal = apVal[iCol + (abPK[iCol] ? 0 : nCol)];
212108 sqlite3_value *pVal = (abPK[iCol] ? 0 : apVal[iCol]);
212113 sqlite3ValueFree(apVal[iCol]);
212115 memset(apVal, 0, sizeof(apVal[0])*nCol*2);
212147 sqlite3_free(apVal);
214317 sqlite3_value **apVal /* Array of trailing arguments */
217408 sqlite3_value **apVal /* Array of trailing arguments */
217420 iCol = sqlite3_value_int(apVal[0]);
217422 ctx.zOpen = (const char*)sqlite3_value_text(apVal[1]);
217423 ctx.zClose = (const char*)sqlite3_value_text(apVal[2]);
217580 sqlite3_value **apVal /* Array of trailing arguments */
217606 iCol = sqlite3_value_int(apVal[0]);
217607 ctx.zOpen = fts5ValueToText(apVal[1]);
217608 ctx.zClose = fts5ValueToText(apVal[2]);
217609 zEllips = fts5ValueToText(apVal[3]);
217610 nToken = sqlite3_value_int(apVal[4]);
217839 sqlite3_value **apVal /* Array of trailing arguments */
217863 double w = (nVal > ic) ? sqlite3_value_double(apVal[ic]) : 1.0;
221930 sqlite3_value **apVal, /* Function arguments */
221957 zNearsetCmd = (const char*)sqlite3_value_text(apVal[1]);
221971 const char *z = (const char*)sqlite3_value_text(apVal[iArg]);
221975 zExpr = (const char*)sqlite3_value_text(apVal[0]);
222015 sqlite3_value **apVal /* Function arguments */
222017 fts5ExprFunction(pCtx, nArg, apVal, 0);
222022 sqlite3_value **apVal /* Function arguments */
222024 fts5ExprFunction(pCtx, nArg, apVal, 1);
222035 sqlite3_value **apVal /* Function arguments */
222049 iCode = sqlite3_value_int(apVal[0]);
222056 sqlite3_value **apVal /* Function arguments */
222065 iCode = sqlite3_value_int(apVal[0]);
222066 if( nArg==2 ) bRemoveDiacritics = sqlite3_value_int(apVal[1]);
229459 sqlite3_value **apVal /* Function arguments */
229473 iRowid = sqlite3_value_int64(apVal[0]);
229478 n = sqlite3_value_bytes(apVal[1]);
229479 aBlob = sqlite3_value_blob(apVal[1]);
229670 sqlite3_value **apVal /* Function arguments */
229676 zArg = (const char*)sqlite3_value_text(apVal[0]);
229685 segid = sqlite3_value_int(apVal[1]);
229686 pgno = sqlite3_value_int(apVal[2]);
230950 sqlite3_value **apVal /* Arguments for the indexing scheme */
230995 pRank = apVal[i];
230998 const char *zText = (const char*)sqlite3_value_text(apVal[i]);
231027 const char *zText = (const char*)sqlite3_value_text(apVal[i]);
231044 pRowidEq = apVal[i];
231047 pRowidLe = apVal[i];
231050 pRowidGe = apVal[i];
231315 sqlite3_value **apVal
231318 int eType1 = sqlite3_value_type(apVal[1]);
231320 sqlite3_int64 iDel = sqlite3_value_int64(apVal[1]);
231321 rc = sqlite3Fts5StorageDelete(pTab->pStorage, iDel, &apVal[2]);
231329 sqlite3_value **apVal,
231334 rc = sqlite3Fts5StorageContentInsert(pTab->pStorage, apVal, piRowid);
231337 rc = sqlite3Fts5StorageIndexInsert(pTab->pStorage, apVal, *piRowid);
231359 sqlite3_value **apVal, /* Array of arguments */
231372 assert( sqlite3_value_type(apVal[0])==SQLITE_INTEGER
231373 || sqlite3_value_type(apVal[0])==SQLITE_NULL
231381 eType0 = sqlite3_value_type(apVal[0]);
231383 && sqlite3_value_type(apVal[2+pConfig->nCol])!=SQLITE_NULL
231386 const char *z = (const char*)sqlite3_value_text(apVal[2+pConfig->nCol]);
231390 rc = fts5SpecialDelete(pTab, apVal);
231392 rc = fts5SpecialInsert(pTab, z, apVal[2 + pConfig->nCol + 1]);
231426 i64 iDel = sqlite3_value_int64(apVal[0]); /* Rowid to delete */
231432 int eType1 = sqlite3_value_numeric_type(apVal[1]);
231441 i64 iNew = sqlite3_value_int64(apVal[1]); /* Rowid to delete */
231444 fts5StorageInsert(&rc, pTab, apVal, pRowid);
231449 i64 iOld = sqlite3_value_int64(apVal[0]); /* Old rowid */
231450 i64 iNew = sqlite3_value_int64(apVal[1]); /* New rowid */
231457 fts5StorageInsert(&rc, pTab, apVal, pRowid);
231459 rc = sqlite3Fts5StorageContentInsert(pTab->pStorage, apVal, pRowid);
231464 rc = sqlite3Fts5StorageIndexInsert(pTab->pStorage, apVal,*pRowid);
231469 fts5StorageInsert(&rc, pTab, apVal, pRowid);
233062 sqlite3_value **apVal
233071 if( apVal==0 ){
233087 assert( pSeek==0 || apVal==0 );
233088 assert( pSeek!=0 || apVal!=0 );
233092 }else if( ALWAYS(apVal) ){
233093 zText = (const char*)sqlite3_value_text(apVal[iCol-1]);
233094 nText = sqlite3_value_bytes(apVal[iCol-1]);
233196 static int sqlite3Fts5StorageDelete(Fts5Storage *p, i64 iDel, sqlite3_value **apVal){
233201 assert( pConfig->eContent!=FTS5_CONTENT_NORMAL || apVal==0 );
233206 rc = fts5StorageDeleteFromIndex(p, iDel, apVal);
233367 sqlite3_value **apVal,
233375 if( sqlite3_value_type(apVal[1])==SQLITE_INTEGER ){
233376 *piRowid = sqlite3_value_int64(apVal[1]);
233385 rc = sqlite3_bind_value(pInsert, i, apVal[i]);
233402 sqlite3_value **apVal,
233420 const char *zText = (const char*)sqlite3_value_text(apVal[ctx.iCol+2]);
233421 int nText = sqlite3_value_bytes(apVal[ctx.iCol+2]);
236982 sqlite3_value **apVal /* Arguments for the indexing scheme */
237001 if( idxNum & FTS5_VOCAB_TERM_EQ ) pEq = apVal[iVal++];
237002 if( idxNum & FTS5_VOCAB_TERM_GE ) pGe = apVal[iVal++];
237003 if( idxNum & FTS5_VOCAB_TERM_LE ) pLe = apVal[iVal++];