Lines Matching refs:apVal

13383   sqlite3_value **apVal           /* Array of trailing arguments */
85343 sqlite3_value **apVal = 0; /* Function arguments */ local
85369 apVal = (sqlite3_value**)sqlite3DbMallocZero(db, sizeof(apVal[0]) * nVal);
85370 if( apVal==0 ){
85376 &apVal[i]);
85377 if( apVal[i]==0 || rc!=SQLITE_OK ) goto value_from_function_out;
85391 pFunc->xSFunc(&ctx, nVal, apVal);
85410 if( apVal ){
85412 sqlite3ValueFree(apVal[i]);
85414 sqlite3DbFreeNN(db, apVal);
192343 sqlite3_value **apVal /* Arguments for the indexing scheme */
192370 if( eSearch!=FTS3_FULLSCAN_SEARCH ) pCons = apVal[iIdx++];
192371 if( idxNum & FTS3_HAVE_LANGID ) pLangid = apVal[iIdx++];
192372 if( idxNum & FTS3_HAVE_DOCID_GE ) pDocidGe = apVal[iIdx++];
192373 if( idxNum & FTS3_HAVE_DOCID_LE ) pDocidLe = apVal[iIdx++];
192548 sqlite3_value **apVal, /* Array of arguments */
192551 return sqlite3Fts3UpdateMethod(pVtab, nArg, apVal, pRowid);
192749 sqlite3_value **apVal /* Array of arguments */
192768 if( fts3FunctionArg(pContext, "snippet", apVal[0], &pCsr) ) return;
192771 case 6: nToken = sqlite3_value_int(apVal[5]);
192773 case 5: iCol = sqlite3_value_int(apVal[4]);
192775 case 4: zEllipsis = (const char*)sqlite3_value_text(apVal[3]);
192777 case 3: zEnd = (const char*)sqlite3_value_text(apVal[2]);
192779 case 2: zStart = (const char*)sqlite3_value_text(apVal[1]);
192796 sqlite3_value **apVal /* Array of arguments */
192803 if( fts3FunctionArg(pContext, "offsets", apVal[0], &pCsr) ) return;
192822 sqlite3_value **apVal /* Array of arguments */
192831 if( fts3FunctionArg(pContext, "optimize", apVal[0], &pCursor) ) return;
192856 sqlite3_value **apVal /* Array of arguments */
192860 if( SQLITE_OK==fts3FunctionArg(pContext, "matchinfo", apVal[0], &pCsr) ){
192863 zArg = (const char *)sqlite3_value_text(apVal[1]);
195619 sqlite3_value **apVal /* Arguments for the indexing scheme */
195669 const unsigned char *zStr = sqlite3_value_text(apVal[0]);
195679 pCsr->zStop = sqlite3_mprintf("%s", sqlite3_value_text(apVal[iLe]));
195685 iLangVal = sqlite3_value_int(apVal[iLangid]);
199273 sqlite3_value **apVal /* Arguments for the indexing scheme */
199283 const char *zByte = (const char *)sqlite3_value_text(apVal[0]);
199284 sqlite3_int64 nByte = sqlite3_value_bytes(apVal[0]);
199688 sqlite3_value **apVal /* Values to bind to statement */
199817 if( apVal ){
199821 rc = sqlite3_bind_value(pStmt, i+1, apVal[i]);
199895 sqlite3_value **apVal /* Parameters to bind */
199900 rc = fts3SqlStmt(p, eStmt, &pStmt, apVal);
200320 sqlite3_value **apVal,
200327 const char *zText = (const char *)sqlite3_value_text(apVal[i]);
200332 aSz[p->nColumn] += sqlite3_value_bytes(apVal[i]);
200354 sqlite3_value **apVal, /* Array of values to insert */
200361 sqlite3_value *pRowid = apVal[p->nColumn+3];
200363 pRowid = apVal[1];
200380 rc = fts3SqlStmt(p, SQL_CONTENT_INSERT, &pContentInsert, &apVal[1]);
200384 sqlite3_value_int(apVal[p->nColumn+4])
200399 if( SQLITE_NULL!=sqlite3_value_type(apVal[3+p->nColumn]) ){
200400 if( SQLITE_NULL==sqlite3_value_type(apVal[0])
200401 && SQLITE_NULL!=sqlite3_value_type(apVal[1])
200406 rc = sqlite3_bind_value(pContentInsert, 1, apVal[3+p->nColumn]);
205073 sqlite3_value **apVal, /* Array of arguments */
205098 && sqlite3_value_type(apVal[0])==SQLITE_NULL
205099 && sqlite3_value_type(apVal[p->nColumn+2])!=SQLITE_NULL
205101 rc = fts3SpecialInsert(p, apVal[p->nColumn+2]);
205105 if( nArg>1 && sqlite3_value_int(apVal[2 + p->nColumn + 2])<0 ){
205133 sqlite3_value *pNewRowid = apVal[3+p->nColumn];
205135 pNewRowid = apVal[1];
205139 sqlite3_value_type(apVal[0])==SQLITE_NULL
205140 || sqlite3_value_int64(apVal[0])!=sqlite3_value_int64(pNewRowid)
205162 rc = fts3InsertData(p, apVal, pRowid);
205172 if( sqlite3_value_type(apVal[0])!=SQLITE_NULL ){
205173 assert( sqlite3_value_type(apVal[0])==SQLITE_INTEGER );
205174 rc = fts3DeleteByRowid(p, apVal[0], &nChng, aSzDel);
205179 int iLangid = sqlite3_value_int(apVal[2 + p->nColumn + 2]);
205181 rc = fts3InsertData(p, apVal, pRowid);
205191 rc = fts3InsertTerms(p, iLangid, apVal, aSzIns);
223447 sqlite3_value **apVal
223453 assert( sqlite3_value_int(apVal[0])!=0
223457 if( sqlite3_value_int(apVal[0])!=0 ){
223462 rc = sqlite3_bind_value(p->objiter.pTmpInsert, i+1, apVal[i]);
225156 sqlite3_value **apVal
225169 "WHERE type='index' AND tbl_name = %Q", sqlite3_value_text(apVal[0]))
232177 sqlite3_value **apVal = 0; /* Space for values for UPDATE inversion */
232220 sqlite3_free(apVal);
232221 apVal = 0;
232245 if( 0==apVal ){
232246 apVal = (sqlite3_value **)sqlite3_malloc64(sizeof(apVal[0])*nCol*2);
232247 if( 0==apVal ){
232251 memset(apVal, 0, sizeof(apVal[0])*nCol*2);
232260 rc = sessionReadRecord(pInput, nCol, 0, &apVal[0], 0);
232262 rc = sessionReadRecord(pInput, nCol, 0, &apVal[nCol], 0);
232269 sqlite3_value *pVal = apVal[iCol + (abPK[iCol] ? 0 : nCol)];
232277 sqlite3_value *pVal = (abPK[iCol] ? 0 : apVal[iCol]);
232282 sqlite3ValueFree(apVal[iCol]);
232284 memset(apVal, 0, sizeof(apVal[0])*nCol*2);
232316 sqlite3_free(apVal);
234793 sqlite3_value **apVal /* Array of trailing arguments */
238220 sqlite3_value **apVal /* Array of trailing arguments */
238232 iCol = sqlite3_value_int(apVal[0]);
238234 ctx.zOpen = (const char*)sqlite3_value_text(apVal[1]);
238235 ctx.zClose = (const char*)sqlite3_value_text(apVal[2]);
238405 sqlite3_value **apVal /* Array of trailing arguments */
238431 iCol = sqlite3_value_int(apVal[0]);
238432 ctx.zOpen = fts5ValueToText(apVal[1]);
238433 ctx.zClose = fts5ValueToText(apVal[2]);
238435 zEllips = fts5ValueToText(apVal[3]);
238436 nToken = sqlite3_value_int(apVal[4]);
238680 sqlite3_value **apVal /* Array of trailing arguments */
238704 double w = (nVal > ic) ? sqlite3_value_double(apVal[ic]) : 1.0;
238739 sqlite3_value **apVal /* Array of trailing arguments */
238756 eType = sqlite3_value_numeric_type(apVal[0]);
238763 iCol = sqlite3_value_int(apVal[0]);
243094 sqlite3_value **apVal, /* Function arguments */
243121 zNearsetCmd = (const char*)sqlite3_value_text(apVal[1]);
243135 const char *z = (const char*)sqlite3_value_text(apVal[iArg]);
243139 zExpr = (const char*)sqlite3_value_text(apVal[0]);
243179 sqlite3_value **apVal /* Function arguments */
243181 fts5ExprFunction(pCtx, nArg, apVal, 0);
243186 sqlite3_value **apVal /* Function arguments */
243188 fts5ExprFunction(pCtx, nArg, apVal, 1);
243199 sqlite3_value **apVal /* Function arguments */
243213 iCode = sqlite3_value_int(apVal[0]);
243220 sqlite3_value **apVal /* Function arguments */
243229 iCode = sqlite3_value_int(apVal[0]);
243230 if( nArg==2 ) bRemoveDiacritics = sqlite3_value_int(apVal[1]);
253124 sqlite3_value **apVal /* Function arguments */
253139 iRowid = sqlite3_value_int64(apVal[0]);
253144 n = sqlite3_value_bytes(apVal[1]);
253145 aBlob = sqlite3_value_blob(apVal[1]);
253359 sqlite3_value **apVal /* Function arguments */
253365 zArg = (const char*)sqlite3_value_text(apVal[0]);
253374 segid = sqlite3_value_int(apVal[1]);
253375 pgno = sqlite3_value_int(apVal[2]);
255098 sqlite3_value **apVal /* Arguments for the indexing scheme */
255138 pRank = apVal[i];
255145 rc = fts5ExtractExprText(pConfig, apVal[i], &zText, &bFreeAndReset);
255148 if( sqlite3_value_subtype(apVal[i])==FTS5_INSTTOKEN_SUBTYPE ){
255185 const char *zText = (const char*)sqlite3_value_text(apVal[i]);
255202 pRowidEq = apVal[i];
255205 pRowidLe = apVal[i];
255208 pRowidGe = apVal[i];
255482 sqlite3_value **apVal
255485 int eType1 = sqlite3_value_type(apVal[1]);
255487 sqlite3_int64 iDel = sqlite3_value_int64(apVal[1]);
255488 rc = sqlite3Fts5StorageDelete(pTab->pStorage, iDel, &apVal[2], 0);
255496 sqlite3_value **apVal,
255501 rc = sqlite3Fts5StorageContentInsert(pTab->pStorage, 0, apVal, piRowid);
255504 rc = sqlite3Fts5StorageIndexInsert(pTab->pStorage, apVal, *piRowid);
255534 sqlite3_value **apVal,
255545 if( sqlite3_value_nochange(apVal[ii]) ){
255587 sqlite3_value **apVal, /* Array of arguments */
255600 assert( sqlite3_value_type(apVal[0])==SQLITE_INTEGER
255601 || sqlite3_value_type(apVal[0])==SQLITE_NULL
255614 eType0 = sqlite3_value_type(apVal[0]);
255616 && sqlite3_value_type(apVal[2+pConfig->nCol])!=SQLITE_NULL
255619 const char *z = (const char*)sqlite3_value_text(apVal[2+pConfig->nCol]);
255629 rc = fts5SpecialDelete(pTab, apVal);
255632 rc = fts5SpecialInsert(pTab, z, apVal[2 + pConfig->nCol + 1]);
255664 i64 iDel = sqlite3_value_int64(apVal[0]); /* Rowid to delete */
255671 int eType1 = sqlite3_value_numeric_type(apVal[1]);
255678 sqlite3_value *pVal = apVal[ii+2];
255691 i64 iNew = sqlite3_value_int64(apVal[1]); /* Rowid to delete */
255694 fts5StorageInsert(&rc, pTab, apVal, pRowid);
255700 i64 iOld = sqlite3_value_int64(apVal[0]); /* Old rowid */
255701 i64 iNew = sqlite3_value_int64(apVal[1]); /* New rowid */
255707 rc = fts5ContentlessUpdate(pConfig, &apVal[2], iOld!=iNew, &bContent);
255720 fts5StorageInsert(&rc, pTab, apVal, pRowid);
255724 rc = sqlite3Fts5StorageContentInsert(pStorage, 0, apVal, pRowid);
255730 rc = sqlite3Fts5StorageIndexInsert(pStorage, apVal, *pRowid);
255740 rc = sqlite3Fts5StorageContentInsert(pStorage, 1, apVal, pRowid);
255744 fts5StorageInsert(&rc, pTab, apVal, pRowid);
258051 sqlite3_value **apVal,
258061 assert( bSaveRow==0 || apVal==0 );
258065 if( apVal==0 ){
258090 assert( pSeek==0 || apVal==0 );
258091 assert( pSeek!=0 || apVal!=0 );
258095 pVal = apVal[iCol-1];
258284 sqlite3_value **apVal, /* Optional - values to remove from index */
258291 assert( pConfig->eContent!=FTS5_CONTENT_NORMAL || apVal==0 );
258309 rc = fts5StorageDeleteFromIndex(p, iDel, apVal, bSaveRow);
258501 sqlite3_value **apVal,
258511 if( sqlite3_value_type(apVal[1])==SQLITE_INTEGER ){
258512 *piRowid = sqlite3_value_int64(apVal[1]);
258526 sqlite3_bind_value(pInsert, 1, apVal[1]);
258533 sqlite3_value *pVal = apVal[i];
258581 sqlite3_value **apVal,
258604 sqlite3_value *pVal = apVal[ctx.iCol+2];
258613 pVal = apVal[ctx.iCol+2];
262311 sqlite3_value **apVal /* Arguments for the indexing scheme */
262330 if( idxNum & FTS5_VOCAB_TERM_EQ ) pEq = apVal[iVal++];
262331 if( idxNum & FTS5_VOCAB_TERM_GE ) pGe = apVal[iVal++];
262332 if( idxNum & FTS5_VOCAB_TERM_LE ) pLe = apVal[iVal++];