Lines Matching refs:apVal
12676 sqlite3_value **apVal /* Array of trailing arguments */
77021 sqlite3_value **apVal = 0; /* Function arguments */
77042 apVal = (sqlite3_value**)sqlite3DbMallocZero(db, sizeof(apVal[0]) * nVal);
77043 if( apVal==0 ){
77048 rc = sqlite3ValueFromExpr(db, pList->a[i].pExpr, enc, aff, &apVal[i]);
77049 if( apVal[i]==0 || rc!=SQLITE_OK ) goto value_from_function_out;
77063 pFunc->xSFunc(&ctx, nVal, apVal);
77082 if( apVal ){
77084 sqlite3ValueFree(apVal[i]);
77086 sqlite3DbFreeNN(db, apVal);
169334 sqlite3_value **apVal /* Arguments for the indexing scheme */
169361 if( eSearch!=FTS3_FULLSCAN_SEARCH ) pCons = apVal[iIdx++];
169362 if( idxNum & FTS3_HAVE_LANGID ) pLangid = apVal[iIdx++];
169363 if( idxNum & FTS3_HAVE_DOCID_GE ) pDocidGe = apVal[iIdx++];
169364 if( idxNum & FTS3_HAVE_DOCID_LE ) pDocidLe = apVal[iIdx++];
169539 sqlite3_value **apVal, /* Array of arguments */
169542 return sqlite3Fts3UpdateMethod(pVtab, nArg, apVal, pRowid);
169734 sqlite3_value **apVal /* Array of arguments */
169753 if( fts3FunctionArg(pContext, "snippet", apVal[0], &pCsr) ) return;
169756 case 6: nToken = sqlite3_value_int(apVal[5]);
169757 case 5: iCol = sqlite3_value_int(apVal[4]);
169758 case 4: zEllipsis = (const char*)sqlite3_value_text(apVal[3]);
169759 case 3: zEnd = (const char*)sqlite3_value_text(apVal[2]);
169760 case 2: zStart = (const char*)sqlite3_value_text(apVal[1]);
169777 sqlite3_value **apVal /* Array of arguments */
169784 if( fts3FunctionArg(pContext, "offsets", apVal[0], &pCsr) ) return;
169803 sqlite3_value **apVal /* Array of arguments */
169812 if( fts3FunctionArg(pContext, "optimize", apVal[0], &pCursor) ) return;
169837 sqlite3_value **apVal /* Array of arguments */
169841 if( SQLITE_OK==fts3FunctionArg(pContext, "matchinfo", apVal[0], &pCsr) ){
169844 zArg = (const char *)sqlite3_value_text(apVal[1]);
172489 sqlite3_value **apVal /* Arguments for the indexing scheme */
172538 const unsigned char *zStr = sqlite3_value_text(apVal[0]);
172548 pCsr->zStop = sqlite3_mprintf("%s", sqlite3_value_text(apVal[iLe]));
172554 iLangVal = sqlite3_value_int(apVal[iLangid]);
176116 sqlite3_value **apVal /* Arguments for the indexing scheme */
176126 const char *zByte = (const char *)sqlite3_value_text(apVal[0]);
176127 int nByte = sqlite3_value_bytes(apVal[0]);
176528 sqlite3_value **apVal /* Values to bind to statement */
176655 if( apVal ){
176659 rc = sqlite3_bind_value(pStmt, i+1, apVal[i]);
176733 sqlite3_value **apVal /* Parameters to bind */
176738 rc = fts3SqlStmt(p, eStmt, &pStmt, apVal);
177158 sqlite3_value **apVal,
177165 const char *zText = (const char *)sqlite3_value_text(apVal[i]);
177170 aSz[p->nColumn] += sqlite3_value_bytes(apVal[i]);
177192 sqlite3_value **apVal, /* Array of values to insert */
177199 sqlite3_value *pRowid = apVal[p->nColumn+3];
177201 pRowid = apVal[1];
177218 rc = fts3SqlStmt(p, SQL_CONTENT_INSERT, &pContentInsert, &apVal[1]);
177222 sqlite3_value_int(apVal[p->nColumn+4])
177237 if( SQLITE_NULL!=sqlite3_value_type(apVal[3+p->nColumn]) ){
177238 if( SQLITE_NULL==sqlite3_value_type(apVal[0])
177239 && SQLITE_NULL!=sqlite3_value_type(apVal[1])
177244 rc = sqlite3_bind_value(pContentInsert, 1, apVal[3+p->nColumn]);
181861 sqlite3_value **apVal, /* Array of arguments */
181886 && sqlite3_value_type(apVal[0])==SQLITE_NULL
181887 && sqlite3_value_type(apVal[p->nColumn+2])!=SQLITE_NULL
181889 rc = fts3SpecialInsert(p, apVal[p->nColumn+2]);
181893 if( nArg>1 && sqlite3_value_int(apVal[2 + p->nColumn + 2])<0 ){
181921 sqlite3_value *pNewRowid = apVal[3+p->nColumn];
181923 pNewRowid = apVal[1];
181927 sqlite3_value_type(apVal[0])==SQLITE_NULL
181928 || sqlite3_value_int64(apVal[0])!=sqlite3_value_int64(pNewRowid)
181950 rc = fts3InsertData(p, apVal, pRowid);
181960 if( sqlite3_value_type(apVal[0])!=SQLITE_NULL ){
181961 assert( sqlite3_value_type(apVal[0])==SQLITE_INTEGER );
181962 rc = fts3DeleteByRowid(p, apVal[0], &nChng, aSzDel);
181967 int iLangid = sqlite3_value_int(apVal[2 + p->nColumn + 2]);
181969 rc = fts3InsertData(p, apVal, pRowid);
181979 rc = fts3InsertTerms(p, iLangid, apVal, aSzIns);
197138 sqlite3_value **apVal
197144 assert( sqlite3_value_int(apVal[0])!=0
197148 if( sqlite3_value_int(apVal[0])!=0 ){
197153 rc = sqlite3_bind_value(p->objiter.pTmpInsert, i+1, apVal[i]);
198817 sqlite3_value **apVal
198829 "WHERE type='index' AND tbl_name = %Q", sqlite3_value_text(apVal[0]))
204826 sqlite3_value **apVal = 0; /* Space for values for UPDATE inversion */
204869 sqlite3_free(apVal);
204870 apVal = 0;
204894 if( 0==apVal ){
204895 apVal = (sqlite3_value **)sqlite3_malloc64(sizeof(apVal[0])*nCol*2);
204896 if( 0==apVal ){
204900 memset(apVal, 0, sizeof(apVal[0])*nCol*2);
204909 rc = sessionReadRecord(pInput, nCol, 0, &apVal[0]);
204911 rc = sessionReadRecord(pInput, nCol, 0, &apVal[nCol]);
204918 sqlite3_value *pVal = apVal[iCol + (abPK[iCol] ? 0 : nCol)];
204926 sqlite3_value *pVal = (abPK[iCol] ? 0 : apVal[iCol]);
204931 sqlite3ValueFree(apVal[iCol]);
204933 memset(apVal, 0, sizeof(apVal[0])*nCol*2);
204965 sqlite3_free(apVal);
207072 sqlite3_value **apVal /* Array of trailing arguments */
210123 sqlite3_value **apVal /* Array of trailing arguments */
210135 iCol = sqlite3_value_int(apVal[0]);
210137 ctx.zOpen = (const char*)sqlite3_value_text(apVal[1]);
210138 ctx.zClose = (const char*)sqlite3_value_text(apVal[2]);
210295 sqlite3_value **apVal /* Array of trailing arguments */
210321 iCol = sqlite3_value_int(apVal[0]);
210322 ctx.zOpen = fts5ValueToText(apVal[1]);
210323 ctx.zClose = fts5ValueToText(apVal[2]);
210324 zEllips = fts5ValueToText(apVal[3]);
210325 nToken = sqlite3_value_int(apVal[4]);
210554 sqlite3_value **apVal /* Array of trailing arguments */
210578 double w = (nVal > ic) ? sqlite3_value_double(apVal[ic]) : 1.0;
214477 sqlite3_value **apVal, /* Function arguments */
214504 zNearsetCmd = (const char*)sqlite3_value_text(apVal[1]);
214518 const char *z = (const char*)sqlite3_value_text(apVal[iArg]);
214522 zExpr = (const char*)sqlite3_value_text(apVal[0]);
214562 sqlite3_value **apVal /* Function arguments */
214564 fts5ExprFunction(pCtx, nArg, apVal, 0);
214569 sqlite3_value **apVal /* Function arguments */
214571 fts5ExprFunction(pCtx, nArg, apVal, 1);
214582 sqlite3_value **apVal /* Function arguments */
214596 iCode = sqlite3_value_int(apVal[0]);
214603 sqlite3_value **apVal /* Function arguments */
214612 iCode = sqlite3_value_int(apVal[0]);
214613 if( nArg==2 ) bRemoveDiacritics = sqlite3_value_int(apVal[1]);
221809 sqlite3_value **apVal /* Function arguments */
221823 iRowid = sqlite3_value_int64(apVal[0]);
221828 n = sqlite3_value_bytes(apVal[1]);
221829 aBlob = sqlite3_value_blob(apVal[1]);
222018 sqlite3_value **apVal /* Function arguments */
222024 zArg = (const char*)sqlite3_value_text(apVal[0]);
222033 segid = sqlite3_value_int(apVal[1]);
222034 pgno = sqlite3_value_int(apVal[2]);
223267 sqlite3_value **apVal /* Arguments for the indexing scheme */
223312 pRank = apVal[i];
223315 const char *zText = (const char*)sqlite3_value_text(apVal[i]);
223347 pRowidEq = apVal[i];
223350 pRowidLe = apVal[i];
223353 pRowidGe = apVal[i];
223616 sqlite3_value **apVal
223619 int eType1 = sqlite3_value_type(apVal[1]);
223621 sqlite3_int64 iDel = sqlite3_value_int64(apVal[1]);
223622 rc = sqlite3Fts5StorageDelete(pTab->pStorage, iDel, &apVal[2]);
223630 sqlite3_value **apVal,
223635 rc = sqlite3Fts5StorageContentInsert(pTab->pStorage, apVal, piRowid);
223638 rc = sqlite3Fts5StorageIndexInsert(pTab->pStorage, apVal, *piRowid);
223660 sqlite3_value **apVal, /* Array of arguments */
223673 assert( sqlite3_value_type(apVal[0])==SQLITE_INTEGER
223674 || sqlite3_value_type(apVal[0])==SQLITE_NULL
223682 eType0 = sqlite3_value_type(apVal[0]);
223684 && sqlite3_value_type(apVal[2+pConfig->nCol])!=SQLITE_NULL
223687 const char *z = (const char*)sqlite3_value_text(apVal[2+pConfig->nCol]);
223691 rc = fts5SpecialDelete(pTab, apVal);
223693 rc = fts5SpecialInsert(pTab, z, apVal[2 + pConfig->nCol + 1]);
223727 i64 iDel = sqlite3_value_int64(apVal[0]); /* Rowid to delete */
223733 int eType1 = sqlite3_value_numeric_type(apVal[1]);
223742 i64 iNew = sqlite3_value_int64(apVal[1]); /* Rowid to delete */
223745 fts5StorageInsert(&rc, pTab, apVal, pRowid);
223750 i64 iOld = sqlite3_value_int64(apVal[0]); /* Old rowid */
223751 i64 iNew = sqlite3_value_int64(apVal[1]); /* New rowid */
223758 fts5StorageInsert(&rc, pTab, apVal, pRowid);
223760 rc = sqlite3Fts5StorageContentInsert(pTab->pStorage, apVal, pRowid);
223765 rc = sqlite3Fts5StorageIndexInsert(pTab->pStorage, apVal,*pRowid);
223770 fts5StorageInsert(&rc, pTab, apVal, pRowid);
225353 sqlite3_value **apVal
225362 if( apVal==0 ){
225382 zText = (const char*)sqlite3_value_text(apVal[iCol-1]);
225383 nText = sqlite3_value_bytes(apVal[iCol-1]);
225476 static int sqlite3Fts5StorageDelete(Fts5Storage *p, i64 iDel, sqlite3_value **apVal){
225481 assert( pConfig->eContent!=FTS5_CONTENT_NORMAL || apVal==0 );
225486 rc = fts5StorageDeleteFromIndex(p, iDel, apVal);
225647 sqlite3_value **apVal,
225655 if( sqlite3_value_type(apVal[1])==SQLITE_INTEGER ){
225656 *piRowid = sqlite3_value_int64(apVal[1]);
225665 rc = sqlite3_bind_value(pInsert, i, apVal[i]);
225682 sqlite3_value **apVal,
225700 const char *zText = (const char*)sqlite3_value_text(apVal[ctx.iCol+2]);
225701 int nText = sqlite3_value_bytes(apVal[ctx.iCol+2]);
229118 sqlite3_value **apVal /* Arguments for the indexing scheme */
229137 if( idxNum & FTS5_VOCAB_TERM_EQ ) pEq = apVal[iVal++];
229138 if( idxNum & FTS5_VOCAB_TERM_GE ) pGe = apVal[iVal++];
229139 if( idxNum & FTS5_VOCAB_TERM_LE ) pLe = apVal[iVal++];