Lines Matching defs:pOut
7912 ** the "pOut" parameter.
7916 ** the statement - a non-zero value is returned and the variable that pOut
7922 ** that pOut points to unchanged.
7930 void *pOut /* Result written here */
14879 Mem *pOut; /* The return value is stored here */
23158 void *pOut; /* Result returned by the thread */
23190 p->pOut = xTask(pIn);
23203 *ppOut = p->pOut;
24510 SQLITE_PRIVATE int sqlite3DecOrHexToI64(const char *z, i64 *pOut){
24522 memcpy(pOut, &u, 8);
24527 return sqlite3Atoi64(z, pOut, sqlite3Strlen30(z), SQLITE_UTF8);
52074 ** Read the contents of frame iRead from the wal file into buffer pOut
52081 int nOut, /* Size of buffer pOut in bytes */
52082 u8 *pOut /* Buffer to write page data to */
52092 return sqlite3OsRead(pWal->pWalFd, pOut, (nOut>sz ? sz : nOut), iOffset);
60504 u8 *pOut = &pSpace[4];
60549 while( ((*(pOut++) = *(pCell++))&0x80) && pCell<pStop );
60552 insertCell(pParent, pParent->nCell, pSpace, (int)(pOut-pSpace),
62692 static int btreeHeapPull(u32 *aHeap, u32 *pOut){
62695 *pOut = aHeap[1];
64512 ctx.pOut = &t;
65399 ctx.pOut = pVal;
66496 VdbeOp *pOut = &p->aOp[i+addr];
66497 pOut->opcode = pIn->opcode;
66498 pOut->p1 = pIn->p1;
66500 assert( sqlite3OpcodeProperty[pOut->opcode] & OPFLG_JUMP );
66501 pOut->p2 = addr + ADDR(p2);
66503 pOut->p2 = p2;
66505 pOut->p3 = pIn->p3;
66506 pOut->p4type = P4_NOTUSED;
66507 pOut->p4.p = 0;
66508 pOut->p5 = 0;
66510 pOut->zComment = 0;
66513 pOut->iSrcLine = iLineno+i;
67170 SQLITE_PRIVATE void sqlite3VdbePrintOp(FILE *pOut, int pc, Op *pOp){
67175 if( pOut==0 ) pOut = stdout;
67185 fprintf(pOut, zFormat1, pc,
67189 fflush(pOut);
70439 if( sqlite3VdbeMemSetStr(pCtx->pOut, z, n, enc, xDel)==SQLITE_TOOBIG ){
70466 assert( sqlite3_mutex_held(pCtx->pOut->db->mutex) );
70475 assert( sqlite3_mutex_held(pCtx->pOut->db->mutex) );
70484 assert( sqlite3_mutex_held(pCtx->pOut->db->mutex) );
70485 sqlite3VdbeMemSetDouble(pCtx->pOut, rVal);
70488 assert( sqlite3_mutex_held(pCtx->pOut->db->mutex) );
70491 sqlite3VdbeMemSetStr(pCtx->pOut, z, n, SQLITE_UTF8, SQLITE_TRANSIENT);
70495 assert( sqlite3_mutex_held(pCtx->pOut->db->mutex) );
70498 sqlite3VdbeMemSetStr(pCtx->pOut, z, n, SQLITE_UTF16NATIVE, SQLITE_TRANSIENT);
70502 assert( sqlite3_mutex_held(pCtx->pOut->db->mutex) );
70503 sqlite3VdbeMemSetInt64(pCtx->pOut, (i64)iVal);
70506 assert( sqlite3_mutex_held(pCtx->pOut->db->mutex) );
70507 sqlite3VdbeMemSetInt64(pCtx->pOut, iVal);
70510 assert( sqlite3_mutex_held(pCtx->pOut->db->mutex) );
70511 sqlite3VdbeMemSetNull(pCtx->pOut);
70519 assert( sqlite3_mutex_held(pCtx->pOut->db->mutex) );
70529 assert( sqlite3_mutex_held(pCtx->pOut->db->mutex) );
70545 assert( sqlite3_mutex_held(pCtx->pOut->db->mutex) );
70554 assert( sqlite3_mutex_held(pCtx->pOut->db->mutex) );
70563 assert( sqlite3_mutex_held(pCtx->pOut->db->mutex) );
70568 assert( sqlite3_mutex_held(pCtx->pOut->db->mutex) );
70569 sqlite3VdbeMemCopy(pCtx->pOut, pValue);
70572 assert( sqlite3_mutex_held(pCtx->pOut->db->mutex) );
70573 sqlite3VdbeMemSetZeroBlob(pCtx->pOut, n);
70576 Mem *pOut = pCtx->pOut;
70577 assert( sqlite3_mutex_held(pOut->db->mutex) );
70578 if( n>(u64)pOut->db->aLimit[SQLITE_LIMIT_LENGTH] ){
70581 sqlite3VdbeMemSetZeroBlob(pCtx->pOut, (int)n);
70590 if( pCtx->pOut->flags & MEM_Null ){
70591 sqlite3VdbeMemSetStr(pCtx->pOut, sqlite3ErrStr(errCode), -1,
70598 assert( sqlite3_mutex_held(pCtx->pOut->db->mutex) );
70601 sqlite3VdbeMemSetStr(pCtx->pOut, "string or blob too big", -1,
70607 assert( sqlite3_mutex_held(pCtx->pOut->db->mutex) );
70608 sqlite3VdbeMemSetNull(pCtx->pOut);
70611 pCtx->pOut->db->mallocFailed = 1;
70845 return p->pOut->db;
70865 rc = sqlite3OsCurrentTimeInt64(p->pOut->db->pVfs, piTime);
70921 assert( sqlite3_mutex_held(p->pOut->db->mutex) );
70937 assert( sqlite3_mutex_held(pCtx->pOut->db->mutex) );
70964 assert( sqlite3_mutex_held(pCtx->pOut->db->mutex) );
71078 Mem *pOut;
71083 pOut = &pVm->pResultSet[i];
71089 pOut = (Mem*)columnNullValue();
71091 return pOut;
71171 Mem *pOut = columnMem(pStmt, i);
71172 if( pOut->flags&MEM_Static ){
71173 pOut->flags &= ~MEM_Static;
71174 pOut->flags |= MEM_Ephem;
71177 return (sqlite3_value *)pOut;
71746 void *pOut /* OUT: Write the answer here */
71754 *(sqlite3_int64*)pOut = p->anExec[pScan->addrLoop];
71758 *(sqlite3_int64*)pOut = p->anExec[pScan->addrVisit];
71768 *(double*)pOut = r*sqlite3LogEstToInt(x);
71772 *(const char**)pOut = pScan->zName;
71777 *(const char**)pOut = p->aOp[ pScan->addrExplain ].p4.z;
71779 *(const char**)pOut = 0;
71785 *(int*)pOut = p->aOp[ pScan->addrExplain ].p1;
71787 *(int*)pOut = -1;
72611 Mem *pOut;
72614 pOut = &p->aMem[pOp->p2];
72615 memAboutToChange(p, pOut);
72616 if( VdbeMemDynamic(pOut) ) sqlite3VdbeMemSetNull(pOut);
72617 pOut->flags = MEM_Int;
72618 return pOut;
72647 Mem *pOut = 0; /* Output operand */
72910 pOut = &aMem[pOp->p1];
72911 assert( !VdbeMemDynamic(pOut) );
72912 pOut->u.i = pOp->p3 - 1;
72913 pOut->flags = MEM_Int;
73081 pOut = out2Prerelease(p, pOp);
73082 pOut->u.i = pOp->p1;
73093 pOut = out2Prerelease(p, pOp);
73095 pOut->u.i = *pOp->p4.pI64;
73107 pOut = out2Prerelease(p, pOp);
73108 pOut->flags = MEM_Real;
73110 pOut->u.r = *pOp->p4.pReal;
73125 pOut = out2Prerelease(p, pOp);
73131 rc = sqlite3VdbeMemSetStr(pOut, pOp->p4.z, -1, SQLITE_UTF8, SQLITE_STATIC);
73133 if( SQLITE_OK!=sqlite3VdbeChangeEncoding(pOut, encoding) ) goto no_mem;
73134 assert( pOut->szMalloc>0 && pOut->zMalloc==pOut->z );
73135 assert( VdbeMemDynamic(pOut)==0 );
73136 pOut->szMalloc = 0;
73137 pOut->flags |= MEM_Static;
73142 pOp->p4.z = pOut->z;
73143 pOp->p1 = pOut->n;
73164 pOut = out2Prerelease(p, pOp);
73165 pOut->flags = MEM_Str|MEM_Static|MEM_Term;
73166 pOut->z = pOp->p4.z;
73167 pOut->n = pOp->p1;
73168 pOut->enc = encoding;
73169 UPDATE_MAX_BLOBSIZE(pOut);
73175 if( pIn3->u.i ) pOut->flags = MEM_Blob|MEM_Static|MEM_Term;
73195 pOut = out2Prerelease(p, pOp);
73198 pOut->flags = nullFlag = pOp->p1 ? (MEM_Null|MEM_Cleared) : MEM_Null;
73200 pOut++;
73201 memAboutToChange(p, pOut);
73202 sqlite3VdbeMemSetNull(pOut);
73203 pOut->flags = nullFlag;
73219 pOut = &aMem[pOp->p1];
73220 pOut->flags = (pOut->flags|MEM_Null)&~MEM_Undefined;
73232 pOut = out2Prerelease(p, pOp);
73233 sqlite3VdbeMemSetStr(pOut, pOp->p4.z, pOp->p1, 0, 0);
73234 pOut->enc = encoding;
73235 UPDATE_MAX_BLOBSIZE(pOut);
73256 pOut = out2Prerelease(p, pOp);
73257 sqlite3VdbeMemShallowCopy(pOut, pVar, MEM_Static);
73258 UPDATE_MAX_BLOBSIZE(pOut);
73283 pOut = &aMem[p2];
73285 assert( pOut<=&aMem[(p->nMem-p->nCursor)] );
73288 memAboutToChange(p, pOut);
73289 sqlite3VdbeMemMove(pOut, pIn1);
73291 if( pOut->pScopyFrom>=&aMem[p1] && pOut->pScopyFrom<pOut ){
73292 pOut->pScopyFrom += pOp->p2 - p1;
73295 Deephemeralize(pOut);
73296 REGISTER_TRACE(p2++, pOut);
73298 pOut++;
73316 pOut = &aMem[pOp->p2];
73317 assert( pOut!=pIn1 );
73319 sqlite3VdbeMemShallowCopy(pOut, pIn1, MEM_Ephem);
73320 Deephemeralize(pOut);
73322 pOut->pScopyFrom = 0;
73324 REGISTER_TRACE(pOp->p2+pOp->p3-n, pOut);
73326 pOut++;
73347 pOut = &aMem[pOp->p2];
73348 assert( pOut!=pIn1 );
73349 sqlite3VdbeMemShallowCopy(pOut, pIn1, MEM_Ephem);
73351 if( pOut->pScopyFrom==0 ) pOut->pScopyFrom = pIn1;
73457 pOut = &aMem[pOp->p3];
73458 assert( pIn1!=pOut );
73460 sqlite3VdbeMemSetNull(pOut);
73470 if( sqlite3VdbeMemGrow(pOut, (int)nByte+2, pOut==pIn2) ){
73473 MemSetTypeFlag(pOut, MEM_Str);
73474 if( pOut!=pIn2 ){
73475 memcpy(pOut->z, pIn2->z, pIn2->n);
73477 memcpy(&pOut->z[pIn2->n], pIn1->z, pIn1->n);
73478 pOut->z[nByte]=0;
73479 pOut->z[nByte+1] = 0;
73480 pOut->flags |= MEM_Term;
73481 pOut->n = (int)nByte;
73482 pOut->enc = encoding;
73483 UPDATE_MAX_BLOBSIZE(pOut);
73543 pOut = &aMem[pOp->p3];
73567 pOut->u.i = iB;
73568 MemSetTypeFlag(pOut, MEM_Int);
73594 pOut->u.i = rB;
73595 MemSetTypeFlag(pOut, MEM_Int);
73600 pOut->u.r = rB;
73601 MemSetTypeFlag(pOut, MEM_Real);
73603 sqlite3VdbeIntegerAffinity(pOut);
73610 sqlite3VdbeMemSetNull(pOut);
73689 pCtx->pOut = 0;
73710 pOut = &aMem[pOp->p3];
73711 if( pCtx->pOut != pOut ){
73712 pCtx->pOut = pOut;
73716 memAboutToChange(p, pCtx->pOut);
73723 MemSetTypeFlag(pCtx->pOut, MEM_Null);
73732 sqlite3VdbeError(p, "%s", sqlite3_value_text(pCtx->pOut));
73739 if( pOut->flags & (MEM_Str|MEM_Blob) ){
73740 sqlite3VdbeChangeEncoding(pCtx->pOut, encoding);
73741 if( sqlite3VdbeMemTooBig(pCtx->pOut) ) goto too_big;
73744 REGISTER_TRACE(pOp->p3, pCtx->pOut);
73745 UPDATE_MAX_BLOBSIZE(pCtx->pOut);
73790 pOut = &aMem[pOp->p3];
73792 sqlite3VdbeMemSetNull(pOut);
73826 pOut->u.i = iA;
73827 MemSetTypeFlag(pOut, MEM_Int);
74044 pOut = &aMem[pOp->p2];
74045 MemSetTypeFlag(pOut, MEM_Null);
74046 REGISTER_TRACE(pOp->p2, pOut);
74109 pOut = &aMem[pOp->p2];
74110 memAboutToChange(p, pOut);
74111 MemSetTypeFlag(pOut, MEM_Int);
74112 pOut->u.i = res;
74113 REGISTER_TRACE(pOp->p2, pOut);
74267 pOut = &aMem[pOp->p3];
74269 MemSetTypeFlag(pOut, MEM_Null);
74271 pOut->u.i = v1;
74272 MemSetTypeFlag(pOut, MEM_Int);
74286 pOut = &aMem[pOp->p2];
74287 sqlite3VdbeMemSetNull(pOut);
74289 pOut->flags = MEM_Int;
74290 pOut->u.i = !sqlite3VdbeIntValue(pIn1);
74304 pOut = &aMem[pOp->p2];
74305 sqlite3VdbeMemSetNull(pOut);
74307 pOut->flags = MEM_Int;
74308 pOut->u.i = ~sqlite3VdbeIntValue(pIn1);
74769 pOut = &aMem[pOp->p3];
74770 memAboutToChange(p, pOut);
74830 if( sqlite3VdbeMemClearAndResize(pOut, (int)nByte) ){
74833 zNewRecord = (u8 *)pOut->z;
74853 pOut->n = (int)nByte;
74854 pOut->flags = MEM_Blob;
74856 pOut->u.nZero = nZero;
74857 pOut->flags |= MEM_Zero;
74859 pOut->enc = SQLITE_UTF8; /* In case the blob is ever converted to text */
74860 REGISTER_TRACE(pOp->p3, pOut);
74861 UPDATE_MAX_BLOBSIZE(pOut);
74880 pOut = out2Prerelease(p, pOp);
74881 pOut->u.i = nEntry;
75270 pOut = out2Prerelease(p, pOp);
75271 pOut->u.i = iMeta;
76112 pOut = out2Prerelease(p, pOp);
76113 pOut->u.i = p->apCsr[pOp->p1]->seqCount++;
76143 pOut = out2Prerelease(p, pOp);
76247 pOut->u.i = v;
76475 pOut = &aMem[pOp->p2];
76478 rc = sqlite3VdbeSorterRowkey(pC, pOut);
76479 assert( rc!=SQLITE_OK || (pOut->flags & MEM_Blob) );
76514 pOut = &aMem[pOp->p2];
76515 memAboutToChange(p, pOut);
76559 if( sqlite3VdbeMemClearAndResize(pOut, MAX(n,32)) ){
76562 pOut->n = n;
76563 MemSetTypeFlag(pOut, MEM_Blob);
76565 rc = sqlite3BtreeKey(pCrsr, 0, n, pOut->z);
76567 rc = sqlite3BtreeData(pCrsr, 0, n, pOut->z);
76569 pOut->enc = SQLITE_UTF8; /* In case the blob is ever cast to text */
76570 UPDATE_MAX_BLOBSIZE(pOut);
76571 REGISTER_TRACE(pOp->p2, pOut);
76591 pOut = out2Prerelease(p, pOp);
76597 pOut->flags = MEM_Null;
76614 pOut->flags = MEM_Null;
76620 pOut->u.i = v;
76967 pOut = out2Prerelease(p, pOp);
76973 pOut->flags = MEM_Null;
76990 pOut->u.i = rowid;
76991 pOut->flags = MEM_Int;
77109 pOut = out2Prerelease(p, pOp);
77110 pOut->flags = MEM_Null;
77119 pOut->flags = MEM_Int;
77120 pOut->u.i = iMoved;
77224 pOut = out2Prerelease(p, pOp);
77238 pOut->u.i = pgno;
77660 pOut = out2Prerelease(p, pOp);
77663 sqlite3VdbeMemShallowCopy(pOut, pIn, MEM_Ephem);
77903 pCtx->pOut = &t;
78012 pOut = out2Prerelease(p, pOp);
78088 pOut->flags = MEM_Str|MEM_Static|MEM_Term;
78089 pOut->z = (char *)sqlite3JournalModename(eNew);
78090 pOut->n = sqlite3Strlen30(pOut->z);
78091 pOut->enc = SQLITE_UTF8;
78092 sqlite3VdbeChangeEncoding(pOut, encoding);
78384 sContext.pOut = pDest;
78563 pOut = out2Prerelease(p, pOp);
78564 pOut->u.i = sqlite3BtreeLastPage(db->aDb[pOp->p1].pBt);
78583 pOut = out2Prerelease(p, pOp);
78590 pOut->u.i = sqlite3BtreeMaxPageCount(pBt, newMax);
81103 SorterFile *pOut = &pIncr->aFile[1];
81111 vdbePmaWriterInit(pOut->pFd, &writer, pTask->pSorter->pgsz, iStart);
81130 rc2 = vdbePmaWriterFinish(&writer, &pOut->iEof);
81902 ** Copy the current sorter key into the memory cell pOut.
81904 SQLITE_PRIVATE int sqlite3VdbeSorterRowkey(const VdbeCursor *pCsr, Mem *pOut){
81906 void *pKey; int nKey; /* Sorter key to copy into pOut */
81909 if( sqlite3VdbeMemClearAndResize(pOut, nKey) ){
81912 pOut->n = nKey;
81913 MemSetTypeFlag(pOut, MEM_Blob);
81914 memcpy(pOut->z, pKey, nKey);
124750 ** ExprSpan.zEnd values of pOut so that the span covers the complete
124753 static void spanSet(ExprSpan *pOut, Token *pStart, Token *pEnd){
124754 pOut->zStart = pStart->z;
124755 pOut->zEnd = &pEnd->z[pEnd->n];
124759 ** new Expr to populate pOut. Set the span of pOut to be the identifier
124762 static void spanExpr(ExprSpan *pOut, Parse *pParse, int op, Token *pValue){
124763 pOut->pExpr = sqlite3PExpr(pParse, op, 0, 0, pValue);
124764 pOut->zStart = pValue->z;
124765 pOut->zEnd = &pValue->z[pValue->n];
124772 ExprSpan *pOut, /* Write the result here */
124778 pOut->pExpr = sqlite3PExpr(pParse, op, pLeft->pExpr, pRight->pExpr, 0);
124779 pOut->zStart = pLeft->zStart;
124780 pOut->zEnd = pRight->zEnd;
124786 ExprSpan *pOut, /* Write the new expression node here */
124792 pOut->pExpr = sqlite3PExpr(pParse, op, pOperand->pExpr, 0, 0);
124793 pOut->zStart = pOperand->zStart;
124794 pOut->zEnd = &pPostOp->z[pPostOp->n];
124811 ExprSpan *pOut, /* Write the new expression node here */
124817 pOut->pExpr = sqlite3PExpr(pParse, op, pOperand->pExpr, 0, 0);
124818 pOut->zStart = pPreOp->z;
124819 pOut->zEnd = pOperand->zEnd;
137055 ** to the output buffer pOut, followed by a position list consisting only
137057 ** The value returned is the number of bytes written to pOut (if any).
137060 sqlite3_int64 iDelta, /* Varint that may be written to pOut */
137063 char *pOut /* Write output here */
137072 nOut += sqlite3Fts3PutVarint(&pOut[nOut], iDelta);
137073 pOut[nOut++] = 0x02;
137085 nOut += sqlite3Fts3PutVarint(&pOut[nOut], iDelta);
137088 pOut[nOut++] = 0x01;
137089 nOut += sqlite3Fts3PutVarint(&pOut[nOut], iCol);
137090 pOut[nOut++] = 0x02;
137095 pOut[nOut++] = 0x00;
139014 char *pOut = aDoclist;
139016 int res = fts3PoslistPhraseMerge(&pOut, nDist, 0, 1, &pL, &pR);
139018 nList = (int)(pOut - aDoclist);
139478 char *pOut;
139483 p2 = pOut = pPhrase->doclist.pList;
139485 &pOut, aTmp, nParam1, nParam2, paPoslist, &p2
139488 nNew = (int)(pOut - pPhrase->doclist.pList) - 1;
150827 ** append it to string buffer pOut.
150838 StrBuffer *pOut /* Write output here */
150894 rc = fts3StringAppend(pOut, &zDoc[iEnd], -1);
150913 rc = fts3StringAppend(pOut, zEllipsis, -1);
150915 rc = fts3StringAppend(pOut, zDoc, iBegin);
150923 rc = fts3StringAppend(pOut, zEllipsis, -1);
150931 if( iCurrent>iPos ) rc = fts3StringAppend(pOut, &zDoc[iEnd], iBegin-iEnd);
150932 if( rc==SQLITE_OK && isHighlight ) rc = fts3StringAppend(pOut, zOpen, -1);
150933 if( rc==SQLITE_OK ) rc = fts3StringAppend(pOut, &zDoc[iBegin], iFin-iBegin);
150934 if( rc==SQLITE_OK && isHighlight ) rc = fts3StringAppend(pOut, zClose, -1);