Lines Matching refs:pOut
9878 void *pOut /* Result written here */
12126 int (*xOutput)(void *pOut, const void *pData, int nData),
12127 void *pOut
12132 int (*xOutput)(void *pOut, const void *pData, int nData),
12133 void *pOut
12148 int (*xOutput)(void *pOut, const void *pData, int nData),
12149 void *pOut
12153 int (*xOutput)(void *pOut, const void *pData, int nData),
12154 void *pOut
12161 int (*xOutput)(void *pOut, const void *pData, int nData),
12162 void *pOut
12168 int (*xOutput)(void *pOut, const void *pData, int nData),
12169 void *pOut
22011 Mem *pOut; /* The return value is stored here */
31256 void *pOut; /* Result returned by the thread */
31292 p->pOut = xTask(pIn);
31305 *ppOut = p->pOut;
32837 SQLITE_PRIVATE int sqlite3DecOrHexToI64(const char *z, i64 *pOut){
32848 memcpy(pOut, &u, 8);
32853 return sqlite3Atoi64(z, pOut, sqlite3Strlen30(z), SQLITE_UTF8);
33711 VList *pOut = sqlite3DbRealloc(db, pIn, nAlloc*sizeof(int));
33712 if( pOut==0 ) return pIn;
33713 if( pIn==0 ) pOut[1] = 2;
33714 pIn = pOut;
49244 unsigned char *pOut;
49265 pOut = pStore->aData;
49267 pOut = sqlite3_malloc64( pStore->sz );
49268 if( pOut ) memcpy(pOut, pStore->aData, pStore->sz);
49270 return pOut;
49281 pOut = 0;
49286 pOut = 0;
49288 pOut = sqlite3_malloc64( sz );
49289 if( pOut ){
49295 unsigned char *pTo = pOut + szPage*(sqlite3_int64)(pgno-1);
49308 return pOut;
63615 u8 *pOut /* Buffer to write page data to */
63625 return sqlite3OsRead(pWal->pWalFd, pOut, (nOut>sz ? sz : nOut), iOffset);
73034 u8 *pOut = &pSpace[4];
73089 while( ((*(pOut++) = *(pCell++))&0x80) && pCell<pStop );
73093 insertCell(pParent, pParent->nCell, pSpace, (int)(pOut-pSpace),
75711 static int btreeHeapPull(u32 *aHeap, u32 *pOut){
75714 *pOut = aHeap[1];
77690 ctx.pOut = &t;
77709 SQLITE_PRIVATE int sqlite3VdbeMemAggValue(Mem *pAccum, Mem *pOut, FuncDef *pFunc){
77716 sqlite3VdbeMemSetNull(pOut);
77717 ctx.pOut = pOut;
78698 ctx.pOut = pVal;
79551 pCtx->pOut = 0;
80155 VdbeOp *pOut, *pFirst;
80161 pFirst = pOut = &p->aOp[p->nOp];
80162 for(i=0; i<nOp; i++, aOp++, pOut++){
80163 pOut->opcode = aOp->opcode;
80164 pOut->p1 = aOp->p1;
80165 pOut->p2 = aOp->p2;
80168 pOut->p2 += p->nOp;
80170 pOut->p3 = aOp->p3;
80171 pOut->p4type = P4_NOTUSED;
80172 pOut->p4.p = 0;
80173 pOut->p5 = 0;
80175 pOut->zComment = 0;
80178 pOut->iSrcLine = iLineno+i;
81011 SQLITE_PRIVATE void sqlite3VdbePrintOp(FILE *pOut, int pc, VdbeOp *pOp){
81016 if( pOut==0 ) pOut = stdout;
81028 fprintf(pOut, zFormat1, pc,
81033 fflush(pOut);
84816 int rc = sqlite3VdbeMemSetStr(pCtx->pOut, z, n, enc, xDel);
84851 assert( sqlite3_mutex_held(pCtx->pOut->db->mutex) );
84860 assert( sqlite3_mutex_held(pCtx->pOut->db->mutex) );
84869 assert( sqlite3_mutex_held(pCtx->pOut->db->mutex) );
84870 sqlite3VdbeMemSetDouble(pCtx->pOut, rVal);
84873 assert( sqlite3_mutex_held(pCtx->pOut->db->mutex) );
84875 sqlite3VdbeMemSetStr(pCtx->pOut, z, n, SQLITE_UTF8, SQLITE_TRANSIENT);
84879 assert( sqlite3_mutex_held(pCtx->pOut->db->mutex) );
84881 sqlite3VdbeMemSetStr(pCtx->pOut, z, n, SQLITE_UTF16NATIVE, SQLITE_TRANSIENT);
84885 assert( sqlite3_mutex_held(pCtx->pOut->db->mutex) );
84886 sqlite3VdbeMemSetInt64(pCtx->pOut, (i64)iVal);
84889 assert( sqlite3_mutex_held(pCtx->pOut->db->mutex) );
84890 sqlite3VdbeMemSetInt64(pCtx->pOut, iVal);
84893 assert( sqlite3_mutex_held(pCtx->pOut->db->mutex) );
84894 sqlite3VdbeMemSetNull(pCtx->pOut);
84902 Mem *pOut = pCtx->pOut;
84903 assert( sqlite3_mutex_held(pOut->db->mutex) );
84904 sqlite3VdbeMemRelease(pOut);
84905 pOut->flags = MEM_Null;
84906 sqlite3VdbeMemSetPointer(pOut, pPtr, zPType, xDestructor);
84909 Mem *pOut = pCtx->pOut;
84910 assert( sqlite3_mutex_held(pOut->db->mutex) );
84911 pOut->eSubtype = eSubtype & 0xff;
84912 pOut->flags |= MEM_Subtype;
84920 assert( sqlite3_mutex_held(pCtx->pOut->db->mutex) );
84930 assert( sqlite3_mutex_held(pCtx->pOut->db->mutex) );
84946 assert( sqlite3_mutex_held(pCtx->pOut->db->mutex) );
84955 assert( sqlite3_mutex_held(pCtx->pOut->db->mutex) );
84964 assert( sqlite3_mutex_held(pCtx->pOut->db->mutex) );
84969 assert( sqlite3_mutex_held(pCtx->pOut->db->mutex) );
84970 sqlite3VdbeMemCopy(pCtx->pOut, pValue);
84973 assert( sqlite3_mutex_held(pCtx->pOut->db->mutex) );
84974 sqlite3VdbeMemSetZeroBlob(pCtx->pOut, n);
84977 Mem *pOut = pCtx->pOut;
84978 assert( sqlite3_mutex_held(pOut->db->mutex) );
84979 if( n>(u64)pOut->db->aLimit[SQLITE_LIMIT_LENGTH] ){
84983 sqlite3VdbeMemSetZeroBlob(pCtx->pOut, (int)n);
84986 return sqlite3VdbeMemSetZeroBlob(pCtx->pOut, (int)n);
84994 if( pCtx->pOut->flags & MEM_Null ){
84995 sqlite3VdbeMemSetStr(pCtx->pOut, sqlite3ErrStr(errCode), -1,
85002 assert( sqlite3_mutex_held(pCtx->pOut->db->mutex) );
85004 sqlite3VdbeMemSetStr(pCtx->pOut, "string or blob too big", -1,
85010 assert( sqlite3_mutex_held(pCtx->pOut->db->mutex) );
85011 sqlite3VdbeMemSetNull(pCtx->pOut);
85013 sqlite3OomFault(pCtx->pOut->db);
85022 assert( sqlite3_mutex_held(pCtx->pOut->db->mutex) );
85023 if( pCtx->pOut->flags & MEM_Int ){
85024 pCtx->pOut->flags &= ~MEM_Int;
85025 pCtx->pOut->flags |= MEM_IntReal;
85264 assert( p && p->pOut );
85265 return p->pOut->db;
85284 return sqlite3_value_nochange(p->pOut);
85304 rc = sqlite3OsCurrentTimeInt64(p->pOut->db->pVfs, piTime);
85338 assert( sqlite3_mutex_held(p->pOut->db->mutex) );
85360 assert( sqlite3_mutex_held(pCtx->pOut->db->mutex) );
85394 assert( sqlite3_mutex_held(pCtx->pOut->db->mutex) );
85507 Mem *pOut;
85514 pOut = &pVm->pResultSet[i];
85517 pOut = (Mem*)columnNullValue();
85519 return pOut;
85601 Mem *pOut = columnMem(pStmt, i);
85602 if( pOut->flags&MEM_Static ){
85603 pOut->flags &= ~MEM_Static;
85604 pOut->flags |= MEM_Ephem;
85607 return (sqlite3_value *)pOut;
86450 void *pOut /* OUT: Write the answer here */
86458 *(sqlite3_int64*)pOut = p->anExec[pScan->addrLoop];
86462 *(sqlite3_int64*)pOut = p->anExec[pScan->addrVisit];
86472 *(double*)pOut = r*sqlite3LogEstToInt(x);
86476 *(const char**)pOut = pScan->zName;
86481 *(const char**)pOut = p->aOp[ pScan->addrExplain ].p4.z;
86483 *(const char**)pOut = 0;
86489 *(int*)pOut = p->aOp[ pScan->addrExplain ].p1;
86491 *(int*)pOut = -1;
87362 static SQLITE_NOINLINE Mem *out2PrereleaseWithClear(Mem *pOut){
87363 sqlite3VdbeMemSetNull(pOut);
87364 pOut->flags = MEM_Int;
87365 return pOut;
87368 Mem *pOut;
87371 pOut = &p->aMem[pOp->p2];
87372 memAboutToChange(p, pOut);
87373 if( VdbeMemDynamic(pOut) ){ /*OPTIMIZATION-IF-FALSE*/
87374 return out2PrereleaseWithClear(pOut);
87376 pOut->flags = MEM_Int;
87377 return pOut;
87423 Mem *pOut = 0; /* Output operand */
87708 pOut = &aMem[pOp->p1];
87709 assert( !VdbeMemDynamic(pOut) );
87710 pOut->u.i = pOp->p3 - 1;
87711 pOut->flags = MEM_Int;
87877 pOut = out2Prerelease(p, pOp);
87878 pOut->u.i = pOp->p1;
87889 pOut = out2Prerelease(p, pOp);
87891 pOut->u.i = *pOp->p4.pI64;
87903 pOut = out2Prerelease(p, pOp);
87904 pOut->flags = MEM_Real;
87906 pOut->u.r = *pOp->p4.pReal;
87921 pOut = out2Prerelease(p, pOp);
87926 rc = sqlite3VdbeMemSetStr(pOut, pOp->p4.z, -1, SQLITE_UTF8, SQLITE_STATIC);
87929 if( SQLITE_OK!=sqlite3VdbeChangeEncoding(pOut, encoding) ) goto no_mem;
87930 assert( pOut->szMalloc>0 && pOut->zMalloc==pOut->z );
87931 assert( VdbeMemDynamic(pOut)==0 );
87932 pOut->szMalloc = 0;
87933 pOut->flags |= MEM_Static;
87938 pOp->p4.z = pOut->z;
87939 pOp->p1 = pOut->n;
87965 pOut = out2Prerelease(p, pOp);
87966 pOut->flags = MEM_Str|MEM_Static|MEM_Term;
87967 pOut->z = pOp->p4.z;
87968 pOut->n = pOp->p1;
87969 pOut->enc = encoding;
87970 UPDATE_MAX_BLOBSIZE(pOut);
87976 if( pIn3->u.i==pOp->p5 ) pOut->flags = MEM_Blob|MEM_Static|MEM_Term;
87997 pOut = out2Prerelease(p, pOp);
88000 pOut->flags = nullFlag = pOp->p1 ? (MEM_Null|MEM_Cleared) : MEM_Null;
88001 pOut->n = 0;
88003 pOut->uTemp = 0;
88006 pOut++;
88007 memAboutToChange(p, pOut);
88008 sqlite3VdbeMemSetNull(pOut);
88009 pOut->flags = nullFlag;
88010 pOut->n = 0;
88026 pOut = &aMem[pOp->p1];
88027 pOut->flags = (pOut->flags&~(MEM_Undefined|MEM_AffMask))|MEM_Null;
88039 pOut = out2Prerelease(p, pOp);
88040 sqlite3VdbeMemSetStr(pOut, pOp->p4.z, pOp->p1, 0, 0);
88041 pOut->enc = encoding;
88042 UPDATE_MAX_BLOBSIZE(pOut);
88063 pOut = &aMem[pOp->p2];
88064 if( VdbeMemDynamic(pOut) ) sqlite3VdbeMemSetNull(pOut);
88065 memcpy(pOut, pVar, MEMCELLSIZE);
88066 pOut->flags &= ~(MEM_Dyn|MEM_Ephem);
88067 pOut->flags |= MEM_Static|MEM_FromBind;
88068 UPDATE_MAX_BLOBSIZE(pOut);
88093 pOut = &aMem[p2];
88095 assert( pOut<=&aMem[(p->nMem+1 - p->nCursor)] );
88098 memAboutToChange(p, pOut);
88099 sqlite3VdbeMemMove(pOut, pIn1);
88105 aMem[i].pScopyFrom = pOut;
88110 Deephemeralize(pOut);
88111 REGISTER_TRACE(p2++, pOut);
88113 pOut++;
88131 pOut = &aMem[pOp->p2];
88132 assert( pOut!=pIn1 );
88134 memAboutToChange(p, pOut);
88135 sqlite3VdbeMemShallowCopy(pOut, pIn1, MEM_Ephem);
88136 Deephemeralize(pOut);
88138 pOut->pScopyFrom = 0;
88140 REGISTER_TRACE(pOp->p2+pOp->p3-n, pOut);
88142 pOut++;
88163 pOut = &aMem[pOp->p2];
88164 assert( pOut!=pIn1 );
88165 sqlite3VdbeMemShallowCopy(pOut, pIn1, MEM_Ephem);
88167 pOut->pScopyFrom = pIn1;
88168 pOut->mScopyFlags = pIn1->flags;
88184 pOut = &aMem[pOp->p2];
88185 sqlite3VdbeMemSetInt64(pOut, pIn1->u.i);
88283 pOut = &aMem[pOp->p3];
88284 testcase( pOut==pIn2 );
88285 assert( pIn1!=pOut );
88290 sqlite3VdbeMemSetNull(pOut);
88312 if( sqlite3VdbeMemGrow(pOut, (int)nByte+3, pOut==pIn2) ){
88315 MemSetTypeFlag(pOut, MEM_Str);
88316 if( pOut!=pIn2 ){
88317 memcpy(pOut->z, pIn2->z, pIn2->n);
88321 memcpy(&pOut->z[pIn2->n], pIn1->z, pIn1->n);
88324 pOut->z[nByte]=0;
88325 pOut->z[nByte+1] = 0;
88326 pOut->z[nByte+2] = 0;
88327 pOut->flags |= MEM_Term;
88328 pOut->n = (int)nByte;
88329 pOut->enc = encoding;
88330 UPDATE_MAX_BLOBSIZE(pOut);
88389 pOut = &aMem[pOp->p3];
88411 pOut->u.i = iB;
88412 MemSetTypeFlag(pOut, MEM_Int);
88439 pOut->u.i = rB;
88440 MemSetTypeFlag(pOut, MEM_Int);
88445 pOut->u.r = rB;
88446 MemSetTypeFlag(pOut, MEM_Real);
88452 sqlite3VdbeMemSetNull(pOut);
88520 pOut = &aMem[pOp->p3];
88522 sqlite3VdbeMemSetNull(pOut);
88556 pOut->u.i = iA;
88557 MemSetTypeFlag(pOut, MEM_Int);
89070 pOut = &aMem[pOp->p3];
89072 MemSetTypeFlag(pOut, MEM_Null);
89074 pOut->u.i = v1;
89075 MemSetTypeFlag(pOut, MEM_Int);
89118 pOut = &aMem[pOp->p2];
89120 sqlite3VdbeMemSetInt64(pOut, !sqlite3VdbeBooleanValue(pIn1,0));
89122 sqlite3VdbeMemSetNull(pOut);
89136 pOut = &aMem[pOp->p2];
89137 sqlite3VdbeMemSetNull(pOut);
89139 pOut->flags = MEM_Int;
89140 pOut->u.i = ~sqlite3VdbeIntValue(pIn1);
89311 pOut = &p->aMem[pOp->p3];
89313 sqlite3VdbeMemSetNull(pOut);
89315 sqlite3VdbeMemSetInt64(pOut, sqlite3BtreeOffset(pC->uc.pCursor));
89830 pOut = &aMem[pOp->p3];
89831 memAboutToChange(p, pOut);
90008 if( nByte+nZero<=pOut->szMalloc ){
90011 pOut->z = pOut->zMalloc;
90018 if( sqlite3VdbeMemClearAndResize(pOut, (int)nByte) ){
90022 pOut->n = (int)nByte;
90023 pOut->flags = MEM_Blob;
90025 pOut->u.nZero = nZero;
90026 pOut->flags |= MEM_Zero;
90028 UPDATE_MAX_BLOBSIZE(pOut);
90029 zHdr = (u8 *)pOut->z;
90045 assert( nHdr==(int)(zHdr - (u8*)pOut->z) );
90046 assert( nByte==(int)(zPayload - (u8*)pOut->z) );
90049 REGISTER_TRACE(pOp->p3, pOut);
90077 pOut = out2Prerelease(p, pOp);
90078 pOut->u.i = nEntry;
90486 pOut = out2Prerelease(p, pOp);
90487 pOut->u.i = iMeta;
91769 pOut = out2Prerelease(p, pOp);
91770 pOut->u.i = p->apCsr[pOp->p1]->seqCount++;
91802 pOut = out2Prerelease(p, pOp);
91908 pOut->u.i = v;
92255 pOut = &aMem[pOp->p2];
92258 rc = sqlite3VdbeSorterRowkey(pC, pOut);
92259 assert( rc!=SQLITE_OK || (pOut->flags & MEM_Blob) );
92299 pOut = out2Prerelease(p, pOp);
92326 rc = sqlite3VdbeMemFromBtreeZeroOffset(pCrsr, n, pOut);
92328 if( !pOp->p3 ) Deephemeralize(pOut);
92329 UPDATE_MAX_BLOBSIZE(pOut);
92330 REGISTER_TRACE(pOp->p2, pOut);
92350 pOut = out2Prerelease(p, pOp);
92356 pOut->flags = MEM_Null;
92376 pOut->flags = MEM_Null;
92381 pOut->u.i = v;
92883 pOut = out2Prerelease(p, pOp);
92884 pOut->u.i = rowid;
93063 pOut = out2Prerelease(p, pOp);
93064 pOut->flags = MEM_Null;
93074 pOut->flags = MEM_Int;
93075 pOut->u.i = iMoved;
93165 pOut = out2Prerelease(p, pOp);
93175 pOut->u.i = pgno;
93651 pOut = out2Prerelease(p, pOp);
93654 sqlite3VdbeMemShallowCopy(pOut, pIn, MEM_Ephem);
93778 pOut = out2Prerelease(p, pOp);
93790 pOut->u.i = -1;
93792 pOut->u.i = x;
93885 pCtx->pOut = (Mem*)&(pCtx->argv[n]);
93886 sqlite3VdbeMemInit(pCtx->pOut, db, MEM_Null);
93940 assert( pCtx->pOut->flags==MEM_Null );
93952 sqlite3VdbeError(p, "%s", sqlite3_value_text(pCtx->pOut));
93961 sqlite3VdbeMemRelease(pCtx->pOut);
93962 pCtx->pOut->flags = MEM_Null;
93966 assert( pCtx->pOut->flags==MEM_Null );
94086 pOut = out2Prerelease(p, pOp);
94161 pOut->flags = MEM_Str|MEM_Static|MEM_Term;
94162 pOut->z = (char *)sqlite3JournalModename(eNew);
94163 pOut->n = sqlite3Strlen30(pOut->z);
94164 pOut->enc = SQLITE_UTF8;
94165 sqlite3VdbeChangeEncoding(pOut, encoding);
94515 sContext.pOut = pDest;
94709 pOut = out2Prerelease(p, pOp);
94710 pOut->u.i = sqlite3BtreeLastPage(db->aDb[pOp->p1].pBt);
94729 pOut = out2Prerelease(p, pOp);
94736 pOut->u.i = sqlite3BtreeMaxPageCount(pBt, newMax);
94799 pOut = &aMem[pOp->p3];
94800 if( pCtx->pOut != pOut ){
94802 pCtx->pOut = pOut;
94807 memAboutToChange(p, pOut);
94814 MemSetTypeFlag(pOut, MEM_Null);
94821 sqlite3VdbeError(p, "%s", sqlite3_value_text(pOut));
94830 if( pOut->flags & (MEM_Str|MEM_Blob) ){
94831 sqlite3VdbeChangeEncoding(pOut, encoding);
94832 if( sqlite3VdbeMemTooBig(pOut) ) goto too_big;
94835 REGISTER_TRACE(pOp->p3, pOut);
94836 UPDATE_MAX_BLOBSIZE(pOut);
97575 SorterFile *pOut = &pIncr->aFile[1];
97583 vdbePmaWriterInit(pOut->pFd, &writer, pTask->pSorter->pgsz, iStart);
97602 rc2 = vdbePmaWriterFinish(&writer, &pOut->iEof);
98391 SQLITE_PRIVATE int sqlite3VdbeSorterRowkey(const VdbeCursor *pCsr, Mem *pOut){
98398 if( sqlite3VdbeMemClearAndResize(pOut, nKey) ){
98401 pOut->n = nKey;
98402 MemSetTypeFlag(pOut, MEM_Blob);
98403 memcpy(pOut->z, pKey, nKey);
144212 sqlite3_value *pOut /* Write results here, if not NULL. VACUUM INTO */
144239 if( pOut ){
144240 if( sqlite3_value_type(pOut)!=SQLITE_TEXT ){
144244 zOut = (const char*)sqlite3_value_text(pOut);
144291 if( pOut ){
144313 rc = sqlite3BtreeBeginTrans(pMain, pOut==0 ? 2 : 0, 0);
144319 && pOut==0
144410 assert( pOut!=0 || SQLITE_TXN_WRITE==sqlite3BtreeTxnState(pMain) );
144421 if( pOut==0 ){
144428 if( pOut==0 ){
144435 if( pOut==0 ){
175400 char *pOut /* Write output here */
175409 nOut += sqlite3Fts3PutVarint(&pOut[nOut], iDelta);
175410 pOut[nOut++] = 0x02;
175422 nOut += sqlite3Fts3PutVarint(&pOut[nOut], iDelta);
175425 pOut[nOut++] = 0x01;
175426 nOut += sqlite3Fts3PutVarint(&pOut[nOut], iCol);
175427 pOut[nOut++] = 0x02;
175432 pOut[nOut++] = 0x00;
177381 char *pOut = aDoclist;
177383 int res = fts3PoslistPhraseMerge(&pOut, nDist, 0, 1, &pL, &pR);
177385 nList = (int)(pOut - aDoclist);
177844 char *pOut;
177849 p2 = pOut = pPhrase->doclist.pList;
177851 &pOut, aTmp, nParam1, nParam2, paPoslist, &p2
177854 nNew = (int)(pOut - pPhrase->doclist.pList) - 1;
189408 StrBuffer *pOut /* Write output here */
189464 rc = fts3StringAppend(pOut, &zDoc[iEnd], -1);
189483 rc = fts3StringAppend(pOut, zEllipsis, -1);
189485 rc = fts3StringAppend(pOut, zDoc, iBegin);
189493 rc = fts3StringAppend(pOut, zEllipsis, -1);
189501 if( iCurrent>iPos ) rc = fts3StringAppend(pOut, &zDoc[iEnd], iBegin-iEnd);
189502 if( rc==SQLITE_OK && isHighlight ) rc = fts3StringAppend(pOut, zOpen, -1);
189503 if( rc==SQLITE_OK ) rc = fts3StringAppend(pOut, &zDoc[iBegin], iFin-iBegin);
189504 if( rc==SQLITE_OK && isHighlight ) rc = fts3StringAppend(pOut, zClose, -1);
191687 JsonString *pOut, /* Write JSON here */
191694 jsonAppendValue(pOut, aReplace[pNode->u.iReplace]);
191703 jsonAppendRaw(pOut, "null", 4);
191707 jsonAppendRaw(pOut, "true", 4);
191711 jsonAppendRaw(pOut, "false", 5);
191717 jsonAppendString(pOut, pNode->u.zJContent, pNode->n);
191725 jsonAppendRaw(pOut, pNode->u.zJContent, pNode->n);
191730 jsonAppendChar(pOut, '[');
191734 jsonAppendSeparator(pOut);
191735 jsonRenderNode(&pNode[j], pOut, aReplace);
191744 jsonAppendChar(pOut, ']');
191749 jsonAppendChar(pOut, '{');
191753 jsonAppendSeparator(pOut);
191754 jsonRenderNode(&pNode[j], pOut, aReplace);
191755 jsonAppendChar(pOut, ':');
191756 jsonRenderNode(&pNode[j+1], pOut, aReplace);
191765 jsonAppendChar(pOut, '}');
197815 sqlite3_str *pOut;
197830 pOut = sqlite3_str_new(0);
197836 if( ii>0 ) sqlite3_str_append(pOut, " ", 1);
197837 sqlite3_str_appendf(pOut, "{%lld", cell.iRowid);
197840 sqlite3_str_appendf(pOut, " %g", (double)cell.aCoord[jj].f);
197842 sqlite3_str_appendf(pOut, " %d", cell.aCoord[jj].i);
197845 sqlite3_str_append(pOut, "}", 1);
197847 errCode = sqlite3_str_errcode(pOut);
197848 sqlite3_result_text(ctx, sqlite3_str_finish(pOut), -1, sqlite3_free);
198618 GeoPoly *pOut;
198621 pOut = sqlite3_malloc64( GEOPOLY_SZ((sqlite3_int64)s.nVertex) );
198623 if( pOut==0 ) goto parse_json_err;
198624 pOut->nVertex = s.nVertex;
198625 memcpy(pOut->a, s.a, s.nVertex*2*sizeof(GeoCoord));
198626 pOut->hdr[0] = *(unsigned char*)&x;
198627 pOut->hdr[1] = (s.nVertex>>16)&0xff;
198628 pOut->hdr[2] = (s.nVertex>>8)&0xff;
198629 pOut->hdr[3] = s.nVertex&0xff;
198632 return pOut;
198984 GeoPoly *pOut = 0;
199012 pOut = sqlite3_realloc64(p, GEOPOLY_SZ(4));
199013 if( pOut==0 ){
199019 pOut->nVertex = 4;
199021 pOut->hdr[0] = *(unsigned char*)ⅈ
199022 pOut->hdr[1] = 0;
199023 pOut->hdr[2] = 0;
199024 pOut->hdr[3] = 4;
199025 GeoX(pOut,0) = mnX;
199026 GeoY(pOut,0) = mnY;
199027 GeoX(pOut,1) = mxX;
199028 GeoY(pOut,1) = mnY;
199029 GeoX(pOut,2) = mxX;
199030 GeoY(pOut,2) = mxY;
199031 GeoX(pOut,3) = mnX;
199032 GeoY(pOut,3) = mxY;
199043 return pOut;
210996 int (*xOutput)(void *pOut, const void *pData, int nData),
210997 void *pOut, /* First argument for xOutput */
211083 rc = xOutput(pOut, (void*)buf.aBuf, buf.nBuf);
211105 rc = xOutput(pOut, (void*)buf.aBuf, buf.nBuf);
211142 int (*xOutput)(void *pOut, const void *pData, int nData),
211143 void *pOut
211146 return sessionGenerateChangeset(pSession, 0, xOutput, pOut, 0, 0);
211154 int (*xOutput)(void *pOut, const void *pData, int nData),
211155 void *pOut
211158 return sessionGenerateChangeset(pSession, 1, xOutput, pOut, 0, 0);
211999 int (*xOutput)(void *pOut, const void *pData, int nData),
212000 void *pOut,
212130 rc = xOutput(pOut, sOut.aBuf, sOut.nBuf);
212142 rc = xOutput(pOut, sOut.aBuf, sOut.nBuf);
212178 int (*xOutput)(void *pOut, const void *pData, int nData),
212179 void *pOut
212189 rc = sessionChangesetInvert(&sInput, xOutput, pOut, 0, 0);
213427 u8 *pOut = pNew->aRecord;
213431 *pOut++ = 0;
213433 *pOut++ = 0xFF;
213435 memcpy(pOut, pIn, nIn);
213436 pOut += nIn;
213440 pNew->nRecord = pOut - pNew->aRecord;
213454 u8 *pOut;
213459 pOut = pNew->aRecord = (u8*)&pNew[1];
213465 *pOut++ = 0xFF;
213467 memcpy(pOut, a1, n1);
213468 pOut += n1;
213470 memcpy(pOut, a2, n2);
213471 pOut += n2;
213476 pNew->nRecord = pOut - pNew->aRecord;
213705 int (*xOutput)(void *pOut, const void *pData, int nData),
213706 void *pOut,
213730 rc = xOutput(pOut, buf.aBuf, buf.nBuf);
213739 if( buf.nBuf>0 ) rc = xOutput(pOut, buf.aBuf, buf.nBuf);
213819 int (*xOutput)(void *pOut, const void *pData, int nData),
213820 void *pOut
213822 return sessionChangegroupOutput(pGrp, xOutput, pOut, 0, 0);
213872 int (*xOutput)(void *pOut, const void *pData, int nData),
213873 void *pOut
213886 rc = sqlite3changegroup_output_strm(pGrp, xOutput, pOut);
213916 u8 *pOut = &pBuf->aBuf[pBuf->nBuf];
213921 memcpy(pOut, a2, nn2);
213922 pOut += nn2;
213924 memcpy(pOut, a1, nn1);
213925 pOut += nn1;
213931 pBuf->nBuf = pOut-pBuf->aBuf;
213965 u8 *pOut = &pBuf->aBuf[pBuf->nBuf];
213970 *pOut++ = SQLITE_UPDATE;
213971 *pOut++ = pIter->bIndirect;
213977 memcpy(pOut, a1, n1);
213978 pOut += n1;
213981 memcpy(pOut, a2, n2);
213982 pOut += n2;
213984 *pOut++ = '\0';
213995 memcpy(pOut, a1, n1);
213996 pOut += n1;
213998 *pOut++ = '\0';
214003 pBuf->nBuf = (pOut - pBuf->aBuf);
214026 int (*xOutput)(void *pOut, const void *pData, int nData),
214027 void *pOut, /* Context for xOutput callback */
214126 rc = xOutput(pOut, sOut.aBuf, sOut.nBuf);
214140 rc = xOutput(pOut, sOut.aBuf, sOut.nBuf);
214212 int (*xOutput)(void *pOut, const void *pData, int nData),
214213 void *pOut
214219 rc = sessionRebase(p, pIter, xOutput, pOut, 0, 0);
219948 Fts5Buffer *pOut; /* Output poslist */
220004 a[i].pOut = pPoslist;
220034 if( a[i].pOut->n==0 || iPos!=pWriter->iPrev ){
220035 sqlite3Fts5PoslistWriterAppend(a[i].pOut, pWriter, iPos);
220051 int bRet = a[0].pOut->n>0;
224166 Fts5StructureLevel *pOut = &pStruct->aLevel[iPromote];
224168 if( pOut->nMerge==0 ){
224177 memcpy(pOut->aSeg, &pLvl->aSeg[is], sizeof(Fts5StructureSegment));
224178 pOut->nSeg++;