Lines Matching refs:apVal
13383 sqlite3_value **apVal /* Array of trailing arguments */
85344 sqlite3_value **apVal = 0; /* Function arguments */ local
85370 apVal = (sqlite3_value**)sqlite3DbMallocZero(db, sizeof(apVal[0]) * nVal);
85371 if( apVal==0 ){
85377 &apVal[i]);
85378 if( apVal[i]==0 || rc!=SQLITE_OK ) goto value_from_function_out;
85392 pFunc->xSFunc(&ctx, nVal, apVal);
85411 if( apVal ){
85413 sqlite3ValueFree(apVal[i]);
85415 sqlite3DbFreeNN(db, apVal);
192384 sqlite3_value **apVal /* Arguments for the indexing scheme */
192411 if( eSearch!=FTS3_FULLSCAN_SEARCH ) pCons = apVal[iIdx++];
192412 if( idxNum & FTS3_HAVE_LANGID ) pLangid = apVal[iIdx++];
192413 if( idxNum & FTS3_HAVE_DOCID_GE ) pDocidGe = apVal[iIdx++];
192414 if( idxNum & FTS3_HAVE_DOCID_LE ) pDocidLe = apVal[iIdx++];
192589 sqlite3_value **apVal, /* Array of arguments */
192592 return sqlite3Fts3UpdateMethod(pVtab, nArg, apVal, pRowid);
192790 sqlite3_value **apVal /* Array of arguments */
192809 if( fts3FunctionArg(pContext, "snippet", apVal[0], &pCsr) ) return;
192812 case 6: nToken = sqlite3_value_int(apVal[5]);
192814 case 5: iCol = sqlite3_value_int(apVal[4]);
192816 case 4: zEllipsis = (const char*)sqlite3_value_text(apVal[3]);
192818 case 3: zEnd = (const char*)sqlite3_value_text(apVal[2]);
192820 case 2: zStart = (const char*)sqlite3_value_text(apVal[1]);
192837 sqlite3_value **apVal /* Array of arguments */
192844 if( fts3FunctionArg(pContext, "offsets", apVal[0], &pCsr) ) return;
192863 sqlite3_value **apVal /* Array of arguments */
192872 if( fts3FunctionArg(pContext, "optimize", apVal[0], &pCursor) ) return;
192897 sqlite3_value **apVal /* Array of arguments */
192901 if( SQLITE_OK==fts3FunctionArg(pContext, "matchinfo", apVal[0], &pCsr) ){
192904 zArg = (const char *)sqlite3_value_text(apVal[1]);
195660 sqlite3_value **apVal /* Arguments for the indexing scheme */
195710 const unsigned char *zStr = sqlite3_value_text(apVal[0]);
195720 pCsr->zStop = sqlite3_mprintf("%s", sqlite3_value_text(apVal[iLe]));
195726 iLangVal = sqlite3_value_int(apVal[iLangid]);
199314 sqlite3_value **apVal /* Arguments for the indexing scheme */
199324 const char *zByte = (const char *)sqlite3_value_text(apVal[0]);
199325 sqlite3_int64 nByte = sqlite3_value_bytes(apVal[0]);
199729 sqlite3_value **apVal /* Values to bind to statement */
199858 if( apVal ){
199862 rc = sqlite3_bind_value(pStmt, i+1, apVal[i]);
199936 sqlite3_value **apVal /* Parameters to bind */
199941 rc = fts3SqlStmt(p, eStmt, &pStmt, apVal);
200361 sqlite3_value **apVal,
200368 const char *zText = (const char *)sqlite3_value_text(apVal[i]);
200373 aSz[p->nColumn] += sqlite3_value_bytes(apVal[i]);
200395 sqlite3_value **apVal, /* Array of values to insert */
200402 sqlite3_value *pRowid = apVal[p->nColumn+3];
200404 pRowid = apVal[1];
200421 rc = fts3SqlStmt(p, SQL_CONTENT_INSERT, &pContentInsert, &apVal[1]);
200425 sqlite3_value_int(apVal[p->nColumn+4])
200440 if( SQLITE_NULL!=sqlite3_value_type(apVal[3+p->nColumn]) ){
200441 if( SQLITE_NULL==sqlite3_value_type(apVal[0])
200442 && SQLITE_NULL!=sqlite3_value_type(apVal[1])
200447 rc = sqlite3_bind_value(pContentInsert, 1, apVal[3+p->nColumn]);
205114 sqlite3_value **apVal, /* Array of arguments */
205139 && sqlite3_value_type(apVal[0])==SQLITE_NULL
205140 && sqlite3_value_type(apVal[p->nColumn+2])!=SQLITE_NULL
205142 rc = fts3SpecialInsert(p, apVal[p->nColumn+2]);
205146 if( nArg>1 && sqlite3_value_int(apVal[2 + p->nColumn + 2])<0 ){
205174 sqlite3_value *pNewRowid = apVal[3+p->nColumn];
205176 pNewRowid = apVal[1];
205180 sqlite3_value_type(apVal[0])==SQLITE_NULL
205181 || sqlite3_value_int64(apVal[0])!=sqlite3_value_int64(pNewRowid)
205203 rc = fts3InsertData(p, apVal, pRowid);
205213 if( sqlite3_value_type(apVal[0])!=SQLITE_NULL ){
205214 assert( sqlite3_value_type(apVal[0])==SQLITE_INTEGER );
205215 rc = fts3DeleteByRowid(p, apVal[0], &nChng, aSzDel);
205220 int iLangid = sqlite3_value_int(apVal[2 + p->nColumn + 2]);
205222 rc = fts3InsertData(p, apVal, pRowid);
205232 rc = fts3InsertTerms(p, iLangid, apVal, aSzIns);
223488 sqlite3_value **apVal
223494 assert( sqlite3_value_int(apVal[0])!=0
223498 if( sqlite3_value_int(apVal[0])!=0 ){
223503 rc = sqlite3_bind_value(p->objiter.pTmpInsert, i+1, apVal[i]);
225197 sqlite3_value **apVal
225210 "WHERE type='index' AND tbl_name = %Q", sqlite3_value_text(apVal[0]))
232218 sqlite3_value **apVal = 0; /* Space for values for UPDATE inversion */
232261 sqlite3_free(apVal);
232262 apVal = 0;
232286 if( 0==apVal ){
232287 apVal = (sqlite3_value **)sqlite3_malloc64(sizeof(apVal[0])*nCol*2);
232288 if( 0==apVal ){
232292 memset(apVal, 0, sizeof(apVal[0])*nCol*2);
232301 rc = sessionReadRecord(pInput, nCol, 0, &apVal[0], 0);
232303 rc = sessionReadRecord(pInput, nCol, 0, &apVal[nCol], 0);
232310 sqlite3_value *pVal = apVal[iCol + (abPK[iCol] ? 0 : nCol)];
232318 sqlite3_value *pVal = (abPK[iCol] ? 0 : apVal[iCol]);
232323 sqlite3ValueFree(apVal[iCol]);
232325 memset(apVal, 0, sizeof(apVal[0])*nCol*2);
232357 sqlite3_free(apVal);
234834 sqlite3_value **apVal /* Array of trailing arguments */
238261 sqlite3_value **apVal /* Array of trailing arguments */
238273 iCol = sqlite3_value_int(apVal[0]);
238275 ctx.zOpen = (const char*)sqlite3_value_text(apVal[1]);
238276 ctx.zClose = (const char*)sqlite3_value_text(apVal[2]);
238446 sqlite3_value **apVal /* Array of trailing arguments */
238472 iCol = sqlite3_value_int(apVal[0]);
238473 ctx.zOpen = fts5ValueToText(apVal[1]);
238474 ctx.zClose = fts5ValueToText(apVal[2]);
238476 zEllips = fts5ValueToText(apVal[3]);
238477 nToken = sqlite3_value_int(apVal[4]);
238721 sqlite3_value **apVal /* Array of trailing arguments */
238745 double w = (nVal > ic) ? sqlite3_value_double(apVal[ic]) : 1.0;
238780 sqlite3_value **apVal /* Array of trailing arguments */
238797 eType = sqlite3_value_numeric_type(apVal[0]);
238804 iCol = sqlite3_value_int(apVal[0]);
243135 sqlite3_value **apVal, /* Function arguments */
243162 zNearsetCmd = (const char*)sqlite3_value_text(apVal[1]);
243176 const char *z = (const char*)sqlite3_value_text(apVal[iArg]);
243180 zExpr = (const char*)sqlite3_value_text(apVal[0]);
243220 sqlite3_value **apVal /* Function arguments */
243222 fts5ExprFunction(pCtx, nArg, apVal, 0);
243227 sqlite3_value **apVal /* Function arguments */
243229 fts5ExprFunction(pCtx, nArg, apVal, 1);
243240 sqlite3_value **apVal /* Function arguments */
243254 iCode = sqlite3_value_int(apVal[0]);
243261 sqlite3_value **apVal /* Function arguments */
243270 iCode = sqlite3_value_int(apVal[0]);
243271 if( nArg==2 ) bRemoveDiacritics = sqlite3_value_int(apVal[1]);
253165 sqlite3_value **apVal /* Function arguments */
253180 iRowid = sqlite3_value_int64(apVal[0]);
253185 n = sqlite3_value_bytes(apVal[1]);
253186 aBlob = sqlite3_value_blob(apVal[1]);
253400 sqlite3_value **apVal /* Function arguments */
253406 zArg = (const char*)sqlite3_value_text(apVal[0]);
253415 segid = sqlite3_value_int(apVal[1]);
253416 pgno = sqlite3_value_int(apVal[2]);
255139 sqlite3_value **apVal /* Arguments for the indexing scheme */
255179 pRank = apVal[i];
255186 rc = fts5ExtractExprText(pConfig, apVal[i], &zText, &bFreeAndReset);
255189 if( sqlite3_value_subtype(apVal[i])==FTS5_INSTTOKEN_SUBTYPE ){
255226 const char *zText = (const char*)sqlite3_value_text(apVal[i]);
255243 pRowidEq = apVal[i];
255246 pRowidLe = apVal[i];
255249 pRowidGe = apVal[i];
255523 sqlite3_value **apVal
255526 int eType1 = sqlite3_value_type(apVal[1]);
255528 sqlite3_int64 iDel = sqlite3_value_int64(apVal[1]);
255529 rc = sqlite3Fts5StorageDelete(pTab->pStorage, iDel, &apVal[2], 0);
255537 sqlite3_value **apVal,
255542 rc = sqlite3Fts5StorageContentInsert(pTab->pStorage, 0, apVal, piRowid);
255545 rc = sqlite3Fts5StorageIndexInsert(pTab->pStorage, apVal, *piRowid);
255575 sqlite3_value **apVal,
255586 if( sqlite3_value_nochange(apVal[ii]) ){
255628 sqlite3_value **apVal, /* Array of arguments */
255641 assert( sqlite3_value_type(apVal[0])==SQLITE_INTEGER
255642 || sqlite3_value_type(apVal[0])==SQLITE_NULL
255655 eType0 = sqlite3_value_type(apVal[0]);
255657 && sqlite3_value_type(apVal[2+pConfig->nCol])!=SQLITE_NULL
255660 const char *z = (const char*)sqlite3_value_text(apVal[2+pConfig->nCol]);
255670 rc = fts5SpecialDelete(pTab, apVal);
255673 rc = fts5SpecialInsert(pTab, z, apVal[2 + pConfig->nCol + 1]);
255705 i64 iDel = sqlite3_value_int64(apVal[0]); /* Rowid to delete */
255712 int eType1 = sqlite3_value_numeric_type(apVal[1]);
255719 sqlite3_value *pVal = apVal[ii+2];
255732 i64 iNew = sqlite3_value_int64(apVal[1]); /* Rowid to delete */
255735 fts5StorageInsert(&rc, pTab, apVal, pRowid);
255741 i64 iOld = sqlite3_value_int64(apVal[0]); /* Old rowid */
255742 i64 iNew = sqlite3_value_int64(apVal[1]); /* New rowid */
255748 rc = fts5ContentlessUpdate(pConfig, &apVal[2], iOld!=iNew, &bContent);
255761 fts5StorageInsert(&rc, pTab, apVal, pRowid);
255765 rc = sqlite3Fts5StorageContentInsert(pStorage, 0, apVal, pRowid);
255771 rc = sqlite3Fts5StorageIndexInsert(pStorage, apVal, *pRowid);
255781 rc = sqlite3Fts5StorageContentInsert(pStorage, 1, apVal, pRowid);
255785 fts5StorageInsert(&rc, pTab, apVal, pRowid);
258092 sqlite3_value **apVal,
258102 assert( bSaveRow==0 || apVal==0 );
258106 if( apVal==0 ){
258131 assert( pSeek==0 || apVal==0 );
258132 assert( pSeek!=0 || apVal!=0 );
258136 pVal = apVal[iCol-1];
258325 sqlite3_value **apVal, /* Optional - values to remove from index */
258332 assert( pConfig->eContent!=FTS5_CONTENT_NORMAL || apVal==0 );
258350 rc = fts5StorageDeleteFromIndex(p, iDel, apVal, bSaveRow);
258542 sqlite3_value **apVal,
258552 if( sqlite3_value_type(apVal[1])==SQLITE_INTEGER ){
258553 *piRowid = sqlite3_value_int64(apVal[1]);
258567 sqlite3_bind_value(pInsert, 1, apVal[1]);
258574 sqlite3_value *pVal = apVal[i];
258622 sqlite3_value **apVal,
258645 sqlite3_value *pVal = apVal[ctx.iCol+2];
258654 pVal = apVal[ctx.iCol+2];
262352 sqlite3_value **apVal /* Arguments for the indexing scheme */
262371 if( idxNum & FTS5_VOCAB_TERM_EQ ) pEq = apVal[iVal++];
262372 if( idxNum & FTS5_VOCAB_TERM_GE ) pGe = apVal[iVal++];
262373 if( idxNum & FTS5_VOCAB_TERM_LE ) pLe = apVal[iVal++];