Lines Matching refs:zOut
2416 int (*xFullPathname)(sqlite3_vfs*, const char *zName, int nOut, char *zOut);
2421 int (*xRandomness)(sqlite3_vfs*, int nByte, char *zOut);
28317 char *zOut; /* Rendering buffer */
28545 zOut = buf;
28550 zOut = zExtra = printfTempBuf(pAccum, n);
28551 if( zOut==0 ) return;
28554 bufpt = &zOut[nOut-1];
28572 length = (int)(&zOut[nOut-1]-bufpt);
28598 length = (int)(&zOut[nOut-1]-bufpt);
28693 zOut = bufpt;
28725 assert( bufpt>zOut );
28754 length = (int)(bufpt-zOut);
28755 bufpt = zOut;
30656 #define WRITE_UTF8(zOut, c) { \
30658 *zOut++ = (u8)(c&0xFF); \
30661 *zOut++ = 0xC0 + (u8)((c>>6)&0x1F); \
30662 *zOut++ = 0x80 + (u8)(c & 0x3F); \
30665 *zOut++ = 0xE0 + (u8)((c>>12)&0x0F); \
30666 *zOut++ = 0x80 + (u8)((c>>6) & 0x3F); \
30667 *zOut++ = 0x80 + (u8)(c & 0x3F); \
30669 *zOut++ = 0xF0 + (u8)((c>>18) & 0x07); \
30670 *zOut++ = 0x80 + (u8)((c>>12) & 0x3F); \
30671 *zOut++ = 0x80 + (u8)((c>>6) & 0x3F); \
30672 *zOut++ = 0x80 + (u8)(c & 0x3F); \
30676 #define WRITE_UTF16LE(zOut, c) { \
30678 *zOut++ = (u8)(c&0x00FF); \
30679 *zOut++ = (u8)((c>>8)&0x00FF); \
30681 *zOut++ = (u8)(((c>>10)&0x003F) + (((c-0x10000)>>10)&0x00C0)); \
30682 *zOut++ = (u8)(0x00D8 + (((c-0x10000)>>18)&0x03)); \
30683 *zOut++ = (u8)(c&0x00FF); \
30684 *zOut++ = (u8)(0x00DC + ((c>>8)&0x03)); \
30688 #define WRITE_UTF16BE(zOut, c) { \
30690 *zOut++ = (u8)((c>>8)&0x00FF); \
30691 *zOut++ = (u8)(c&0x00FF); \
30693 *zOut++ = (u8)(0x00D8 + (((c-0x10000)>>18)&0x03)); \
30694 *zOut++ = (u8)(((c>>10)&0x003F) + (((c-0x10000)>>10)&0x00C0)); \
30695 *zOut++ = (u8)(0x00DC + ((c>>8)&0x03)); \
30696 *zOut++ = (u8)(c&0x00FF); \
30776 unsigned char *zOut; /* Output buffer */
30848 zOut = sqlite3DbMallocRaw(pMem->db, len);
30849 if( !zOut ){
30852 z = zOut;
30869 pMem->n = (int)(z - zOut);
30932 pMem->n = (int)(z - zOut);
30941 pMem->z = (char*)zOut;
31038 unsigned char *zOut = zIn;
31042 while( zIn[0] && zOut<=zIn ){
31045 WRITE_UTF8(zOut, c);
31048 *zOut = 0;
31049 return (int)(zOut - zStart);
39755 char *zOut, /* Output buffer */
39761 if( osGetcwd(zOut, nOut-2)==0 ){
39764 iOff = sqlite3Strlen30(zOut);
39765 zOut[iOff++] = '/';
39770 zOut[iOff] = '\0';
39773 sqlite3_snprintf(nOut-iOff, &zOut[iOff], "%s", zPath);
39790 char *zOut /* Output buffer */
39793 return mkFullPathname(zPath, zOut, nOut);
39857 assert( rc!=SQLITE_OK || zIn!=zOut || zIn[0]=='/' );
39858 if( rc==SQLITE_OK && zIn!=zOut ){
39859 rc = mkFullPathname(zIn, zOut, nOut);
39862 zIn = zOut;
43578 char *zOut = 0;
43606 zOut = winUnicodeToUtf8(zTempWide);
43629 zOut = winMbcsToUtf8(zTemp, osAreFileApisANSI());
43640 sqlite3_snprintf(nBuf, zBuf, "%s", zOut);
43642 sqlite3_free(zOut);
47144 char *zOut;
47166 char *zOut = sqlite3MallocZero( pVfs->mxPathname+1 );
47167 if( !zOut ){
47172 CCP_RELATIVE, zRelative, zOut, pVfs->mxPathname+1)<0 ){
47173 sqlite3_free(zOut);
47177 char *zUtf8 = winConvertToUtf8Filename(zOut);
47179 sqlite3_free(zOut);
47185 sqlite3_free(zOut);
47188 char *zOut = sqlite3MallocZero( pVfs->mxPathname+1 );
47189 if( !zOut ){
47194 zRelative, zOut, pVfs->mxPathname+1)<0 ){
47195 sqlite3_free(zOut);
47199 char *zUtf8 = winConvertToUtf8Filename(zOut);
47201 sqlite3_free(zOut);
47206 sqlite3_free(zOut);
47275 zOut = winUnicodeToUtf8(zTemp);
47301 zOut = winMbcsToUtf8(zTemp, osAreFileApisANSI());
47305 if( zOut ){
47306 sqlite3_snprintf(MIN(nFull, pVfs->mxPathname), zFull, "%s", zOut);
47307 sqlite3_free(zOut);
47806 static int memdbFullPathname(sqlite3_vfs*, const char *zName, int, char *zOut);
47811 static int memdbRandomness(sqlite3_vfs*, int nByte, char *zOut);
48122 char *zOut
48124 sqlite3_snprintf(nOut, zOut, "%s", zPath);
75129 u8 *zOut = &zDestData[iOff%nDestPgsz];
75138 memcpy(zOut, zIn, nCopy);
75141 sqlite3Put4byte(&zOut[28], sqlite3BtreeLastPage(p->pSrc));
96941 u8 *zOut = zBuf;
96967 memcpy(zOut, (u8*)pChunk->zChunk + iChunkOffset, nCopy);
96968 zOut += nCopy;
106581 char *zOut;
106605 zOut = sqlite3DbMallocZero(db, nSql + pRename->nList*nQuot + 1);
106606 if( zOut ){
106608 memcpy(zOut, zSql, nSql);
106625 memmove(&zOut[iOff + nReplace], &zOut[iOff + pBest->t.n],
106629 zOut[nOut] = '\0';
106631 memcpy(&zOut[iOff], zReplace, nReplace);
106635 sqlite3_result_text(pCtx, zOut, -1, SQLITE_TRANSIENT);
106636 sqlite3DbFree(db, zOut);
117778 unsigned char *z, *zOut;
117780 zOut = z = sqlite3_malloc64( argc*4+1 );
117792 *zOut++ = (u8)(c&0xFF);
117794 *zOut++ = 0xC0 + (u8)((c>>6)&0x1F);
117795 *zOut++ = 0x80 + (u8)(c & 0x3F);
117797 *zOut++ = 0xE0 + (u8)((c>>12)&0x0F);
117798 *zOut++ = 0x80 + (u8)((c>>6) & 0x3F);
117799 *zOut++ = 0x80 + (u8)(c & 0x3F);
117801 *zOut++ = 0xF0 + (u8)((c>>18) & 0x07);
117802 *zOut++ = 0x80 + (u8)((c>>12) & 0x3F);
117803 *zOut++ = 0x80 + (u8)((c>>6) & 0x3F);
117804 *zOut++ = 0x80 + (u8)(c & 0x3F);
117807 sqlite3_result_text64(context, (char*)z, zOut-z, sqlite3_free, SQLITE_UTF8);
117873 unsigned char *zOut; /* The output */
117908 zOut = contextMalloc(context, (i64)nOut);
117909 if( zOut==0 ){
117916 zOut[j++] = zStr[i];
117924 sqlite3_free(zOut);
117932 zOld = zOut;
117933 zOut = sqlite3Realloc(zOut, (int)nOut + (nOut - nStr - 1));
117934 if( zOut==0 ){
117941 memcpy(&zOut[j], zRep, nRep);
117947 memcpy(&zOut[j], &zStr[i], nStr-i);
117950 zOut[j] = 0;
117951 sqlite3_result_text(context, (char*)zOut, j, sqlite3_free);
138545 const char *zOut; /* Name of output file */
138561 zOut = (const char*)sqlite3_value_text(pOut);
138565 zOut = "";
138601 rc = execSqlF(db, pzErrMsg, "ATTACH %Q AS vacuum_db", zOut);
174648 static void copy_stemmer(const char *zIn, int nIn, char *zOut, int *pnOut){
174654 zOut[i] = c - 'A' + 'a';
174657 zOut[i] = c;
174663 zOut[j] = zOut[i];
174667 zOut[i] = 0;
174695 static void porter_stemmer(const char *zIn, int nIn, char *zOut, int *pnOut){
174702 copy_stemmer(zIn, nIn, zOut, pnOut);
174714 copy_stemmer(zIn, nIn, zOut, pnOut);
174922 zOut[i] = 0;
174924 zOut[--i] = *(z++);
183831 #define WRITE_UTF8(zOut, c) { \
183833 *zOut++ = (u8)(c&0xFF); \
183836 *zOut++ = 0xC0 + (u8)((c>>6)&0x1F); \
183837 *zOut++ = 0x80 + (u8)(c & 0x3F); \
183840 *zOut++ = 0xE0 + (u8)((c>>12)&0x0F); \
183841 *zOut++ = 0x80 + (u8)((c>>6) & 0x3F); \
183842 *zOut++ = 0x80 + (u8)(c & 0x3F); \
183844 *zOut++ = 0xF0 + (u8)((c>>18) & 0x07); \
183845 *zOut++ = 0x80 + (u8)((c>>12) & 0x3F); \
183846 *zOut++ = 0x80 + (u8)((c>>6) & 0x3F); \
183847 *zOut++ = 0x80 + (u8)(c & 0x3F); \
184098 char *zOut;
184114 zOut = pCsr->zToken;
184119 if( (zOut-pCsr->zToken)>=(pCsr->nAlloc-4) ){
184122 zOut = &zNew[zOut - pCsr->zToken];
184131 WRITE_UTF8(zOut, iOut);
184144 *pnToken = (int)(zOut - pCsr->zToken);
185194 char *zOut;
185196 zOut = sqlite3_malloc( n+1 );
185197 if( zOut==0 ){
185204 zOut[j++] = c;
185212 zOut[j++] = (char)v;
185214 zOut[j++] = (char)(0xc0 | (v>>6));
185215 zOut[j++] = 0x80 | (v&0x3f);
185227 zOut[j++] = 0xf0 | (v>>18);
185228 zOut[j++] = 0x80 | ((v>>12)&0x3f);
185229 zOut[j++] = 0x80 | ((v>>6)&0x3f);
185230 zOut[j++] = 0x80 | (v&0x3f);
185232 zOut[j++] = 0xe0 | (v>>12);
185233 zOut[j++] = 0x80 | ((v>>6)&0x3f);
185234 zOut[j++] = 0x80 | (v&0x3f);
185249 zOut[j++] = c;
185253 zOut[j] = 0;
185254 sqlite3_result_text(pCtx, zOut, j, sqlite3_free);
195524 char *zOut /* Write the output into this preallocated buffer */
195529 char *zOrigOut = zOut;
195559 memcpy(zOut, &zSrc[ofst], cnt);
195560 zOut += cnt;
195574 memcpy(zOut, zDelta, cnt);
195575 zOut += cnt;
195582 zOut[0] = 0;
199754 char *zOut = sqlite3_mprintf("rbu(%s)/%z", pRbuVfs->base.zName, zIn);
199755 *(char**)pArg = zOut;
199756 if( zOut==0 ) rc = SQLITE_NOMEM;
200075 char *zOut
200078 return pRealVfs->xFullPathname(pRealVfs, zPath, nOut, zOut);
203517 char *zOut = (char *)&p->aBuf[p->nBuf];
203519 *zOut++ = '"';
203521 if( *zIn=='"' ) *zOut++ = '"';
203522 *zOut++ = *(zIn++);
203524 *zOut++ = '"';
203525 p->nBuf = (int)((u8 *)zOut - p->aBuf);
210037 char *zOut; /* Output value */
210056 p->zOut = sqlite3_mprintf("%z%.*s", p->zOut, n, z);
210057 if( p->zOut==0 ) *pRc = SQLITE_NOMEM;
210152 sqlite3_result_text(pCtx, (const char*)ctx.zOut, -1, SQLITE_TRANSIENT);
210154 sqlite3_free(ctx.zOut);
210433 sqlite3_result_text(pCtx, (const char*)ctx.zOut, -1, SQLITE_TRANSIENT);
210437 sqlite3_free(ctx.zOut);
211465 char *zOut = sqlite3_malloc64(nIn+1);
211471 if( zOut==0 ){
211474 memcpy(zOut, zIn, (size_t)(nIn+1));
211475 if( fts5_isopenquote(zOut[0]) ){
211476 int ii = fts5Dequote(zOut);
211482 zOut[zRet-zIn] = '\0';
211488 sqlite3_free(zOut);
211490 *pzOut = zOut;
226317 #define WRITE_UTF8(zOut, c) { \
226319 *zOut++ = (unsigned char)(c&0xFF); \
226322 *zOut++ = 0xC0 + (unsigned char)((c>>6)&0x1F); \
226323 *zOut++ = 0x80 + (unsigned char)(c & 0x3F); \
226326 *zOut++ = 0xE0 + (unsigned char)((c>>12)&0x0F); \
226327 *zOut++ = 0x80 + (unsigned char)((c>>6) & 0x3F); \
226328 *zOut++ = 0x80 + (unsigned char)(c & 0x3F); \
226330 *zOut++ = 0xF0 + (unsigned char)((c>>18) & 0x07); \
226331 *zOut++ = 0x80 + (unsigned char)((c>>12) & 0x3F); \
226332 *zOut++ = 0x80 + (unsigned char)((c>>6) & 0x3F); \
226333 *zOut++ = 0x80 + (unsigned char)(c & 0x3F); \
226570 char *zOut = aFold;
226600 if( zOut>pEnd ){
226606 zOut = &aFold[zOut - p->aFold];
226621 if( iCode ) WRITE_UTF8(zOut, iCode);
226631 *zOut++ = *zCsr + 32;
226633 *zOut++ = *zCsr;
226641 rc = xToken(pCtx, 0, aFold, zOut-aFold, is, ie);