Lines Matching refs:zOut

1791   int (*xFullPathname)(sqlite3_vfs*, const char *zName, int nOut, char *zOut);
1796 int (*xRandomness)(sqlite3_vfs*, int nByte, char *zOut);
31339 char *zOut; /* Rendering buffer */ in sqlite3_str_vappendf() local
31563 zOut = buf; in sqlite3_str_vappendf()
31568 zOut = zExtra = printfTempBuf(pAccum, n); in sqlite3_str_vappendf()
31569 if( zOut==0 ) return; in sqlite3_str_vappendf()
31572 bufpt = &zOut[nOut-1]; in sqlite3_str_vappendf()
31590 length = (int)(&zOut[nOut-1]-bufpt); in sqlite3_str_vappendf()
31616 length = (int)(&zOut[nOut-1]-bufpt); in sqlite3_str_vappendf()
31708 zOut = bufpt; in sqlite3_str_vappendf()
31740 assert( bufpt>zOut ); in sqlite3_str_vappendf()
31770 length = (int)(bufpt-zOut); in sqlite3_str_vappendf()
31771 bufpt = zOut; in sqlite3_str_vappendf()
34404 #define WRITE_UTF8(zOut, c) { \ argument
34406 *zOut++ = (u8)(c&0xFF); \
34409 *zOut++ = 0xC0 + (u8)((c>>6)&0x1F); \
34410 *zOut++ = 0x80 + (u8)(c & 0x3F); \
34413 *zOut++ = 0xE0 + (u8)((c>>12)&0x0F); \
34414 *zOut++ = 0x80 + (u8)((c>>6) & 0x3F); \
34415 *zOut++ = 0x80 + (u8)(c & 0x3F); \
34417 *zOut++ = 0xF0 + (u8)((c>>18) & 0x07); \
34418 *zOut++ = 0x80 + (u8)((c>>12) & 0x3F); \
34419 *zOut++ = 0x80 + (u8)((c>>6) & 0x3F); \
34420 *zOut++ = 0x80 + (u8)(c & 0x3F); \
34424 #define WRITE_UTF16LE(zOut, c) { \ argument
34426 *zOut++ = (u8)(c&0x00FF); \
34427 *zOut++ = (u8)((c>>8)&0x00FF); \
34429 *zOut++ = (u8)(((c>>10)&0x003F) + (((c-0x10000)>>10)&0x00C0)); \
34430 *zOut++ = (u8)(0x00D8 + (((c-0x10000)>>18)&0x03)); \
34431 *zOut++ = (u8)(c&0x00FF); \
34432 *zOut++ = (u8)(0x00DC + ((c>>8)&0x03)); \
34436 #define WRITE_UTF16BE(zOut, c) { \ argument
34438 *zOut++ = (u8)((c>>8)&0x00FF); \
34439 *zOut++ = (u8)(c&0x00FF); \
34441 *zOut++ = (u8)(0x00D8 + (((c-0x10000)>>18)&0x03)); \
34442 *zOut++ = (u8)(((c>>10)&0x003F) + (((c-0x10000)>>10)&0x00C0)); \
34443 *zOut++ = (u8)(0x00DC + ((c>>8)&0x03)); \
34444 *zOut++ = (u8)(c&0x00FF); \
34555 unsigned char *zOut; /* Output buffer */ in sqlite3VdbeMemTranslate() local
34627 zOut = sqlite3DbMallocRaw(pMem->db, len); in sqlite3VdbeMemTranslate()
34628 if( !zOut ){ in sqlite3VdbeMemTranslate()
34631 z = zOut; in sqlite3VdbeMemTranslate()
34648 pMem->n = (int)(z - zOut); in sqlite3VdbeMemTranslate()
34711 pMem->n = (int)(z - zOut); in sqlite3VdbeMemTranslate()
34720 pMem->z = (char*)zOut; in sqlite3VdbeMemTranslate()
34817 unsigned char *zOut = zIn; in sqlite3Utf8To8() local
34821 while( zIn[0] && zOut<=zIn ){ in sqlite3Utf8To8()
34824 WRITE_UTF8(zOut, c); in sqlite3Utf8To8()
34827 *zOut = 0; in sqlite3Utf8To8()
34828 return (int)(zOut - zStart); in sqlite3Utf8To8()
35652 SQLITE_PRIVATE int sqlite3Int64ToText(i64 v, char *zOut){ in sqlite3Int64ToText() argument
35670 memcpy(zOut, &zTemp[i], sizeof(zTemp)-i); in sqlite3Int64ToText()
37463 static int kvvfsFullPathname(sqlite3_vfs*, const char *zName, int, char *zOut);
37465 static int kvvfsRandomness(sqlite3_vfs*, int nByte, char *zOut);
38066 char *zOut;
38071 zOut = sqlite3_malloc64( pFile->nJrnl*2 + 50 );
38072 if( zOut==0 ){
38078 zOut[i++] = 'a' + (n%26);
38081 zOut[i++] = ' ';
38082 kvvfsEncode(pFile->aJrnl, pFile->nJrnl, &zOut[i]);
38083 i = sqlite3KvvfsMethods.xWrite(pFile->zClass, "jrnl", zOut);
38084 sqlite3_free(zOut);
38281 char *zOut
38290 memcpy(zOut, zPath, nPath);
38291 zOut[nPath] = 0;
44977 char *zOut; /* Write the pathname here */
44999 assert( pPath->zOut[0]=='/' );
45000 while( pPath->zOut[--pPath->nUsed]!='/' ){}
45009 pPath->zOut[pPath->nUsed++] = '/';
45010 memcpy(&pPath->zOut[pPath->nUsed], zName, nName);
45016 pPath->zOut[pPath->nUsed] = 0;
45017 zIn = pPath->zOut;
45077 char *zOut /* Output buffer */
45085 path.zOut = zOut;
45094 zOut[path.nUsed] = 0;
48651 char *zOut = 0;
48679 zOut = winUnicodeToUtf8(zTempWide);
48702 zOut = winMbcsToUtf8(zTemp, osAreFileApisANSI());
48713 sqlite3_snprintf(nBuf, zBuf, "%s", zOut);
48715 sqlite3_free(zOut);
52257 char *zOut;
52279 char *zOut = sqlite3MallocZero( pVfs->mxPathname+1 );
52280 if( !zOut ){
52285 CCP_RELATIVE, zRelative, zOut, pVfs->mxPathname+1)<0 ){
52286 sqlite3_free(zOut);
52290 char *zUtf8 = winConvertToUtf8Filename(zOut);
52292 sqlite3_free(zOut);
52298 sqlite3_free(zOut);
52301 char *zOut = sqlite3MallocZero( pVfs->mxPathname+1 );
52302 if( !zOut ){
52307 zRelative, zOut, pVfs->mxPathname+1)<0 ){
52308 sqlite3_free(zOut);
52312 char *zUtf8 = winConvertToUtf8Filename(zOut);
52314 sqlite3_free(zOut);
52319 sqlite3_free(zOut);
52388 zOut = winUnicodeToUtf8(zTemp);
52414 zOut = winMbcsToUtf8(zTemp, osAreFileApisANSI());
52418 if( zOut ){
52419 sqlite3_snprintf(MIN(nFull, pVfs->mxPathname), zFull, "%s", zOut);
52420 sqlite3_free(zOut);
52991 static int memdbFullPathname(sqlite3_vfs*, const char *zName, int, char *zOut);
52996 static int memdbRandomness(sqlite3_vfs*, int nByte, char *zOut);
53526 char *zOut
53529 sqlite3_snprintf(nOut, zOut, "%s", zPath);
82272 u8 *zOut = &zDestData[iOff%nDestPgsz];
82281 memcpy(zOut, zIn, nCopy);
82284 sqlite3Put4byte(&zOut[28], sqlite3BtreeLastPage(p->pSrc));
106112 u8 *zOut = zBuf;
106138 memcpy(zOut, (u8*)pChunk->zChunk + iChunkOffset, nCopy);
106139 zOut += nCopy;
117340 char *zOut;
117359 zOut = sqlite3DbMallocZero(db, nSql + pRename->nList*nQuot + 1);
117361 zOut = (char*)sqlite3DbMallocZero(db, (nSql*2+1) * 3);
117362 if( zOut ){
117363 zBuf1 = &zOut[nSql*2+1];
117364 zBuf2 = &zOut[nSql*4+2];
117372 if( zOut ){
117374 memcpy(zOut, zSql, nSql);
117409 memmove(&zOut[iOff + nReplace], &zOut[iOff + pBest->t.n],
117413 zOut[nOut] = '\0';
117415 memcpy(&zOut[iOff], zReplace, nReplace);
117419 sqlite3_result_text(pCtx, zOut, -1, SQLITE_TRANSIENT);
117420 sqlite3DbFree(db, zOut);
129849 unsigned char *z, *zOut;
129851 zOut = z = sqlite3_malloc64( argc*4+1 );
129863 *zOut++ = (u8)(c&0xFF);
129865 *zOut++ = 0xC0 + (u8)((c>>6)&0x1F);
129866 *zOut++ = 0x80 + (u8)(c & 0x3F);
129868 *zOut++ = 0xE0 + (u8)((c>>12)&0x0F);
129869 *zOut++ = 0x80 + (u8)((c>>6) & 0x3F);
129870 *zOut++ = 0x80 + (u8)(c & 0x3F);
129872 *zOut++ = 0xF0 + (u8)((c>>18) & 0x07);
129873 *zOut++ = 0x80 + (u8)((c>>12) & 0x3F);
129874 *zOut++ = 0x80 + (u8)((c>>6) & 0x3F);
129875 *zOut++ = 0x80 + (u8)(c & 0x3F);
129878 *zOut = 0;
129879 sqlite3_result_text64(context, (char*)z, zOut-z, sqlite3_free, SQLITE_UTF8);
130036 unsigned char *zOut; /* The output */
130071 zOut = contextMalloc(context, (i64)nOut);
130072 if( zOut==0 ){
130079 zOut[j++] = zStr[i];
130087 sqlite3_free(zOut);
130095 zOld = zOut;
130096 zOut = sqlite3Realloc(zOut, (int)nOut + (nOut - nStr - 1));
130097 if( zOut==0 ){
130104 memcpy(&zOut[j], zRep, nRep);
130110 memcpy(&zOut[j], &zStr[i], nStr-i);
130113 zOut[j] = 0;
130114 sqlite3_result_text(context, (char*)zOut, j, sqlite3_free);
155139 const char *zOut; /* Name of output file */
155156 zOut = (const char*)sqlite3_value_text(pOut);
155160 zOut = "";
155196 rc = execSqlF(db, pzErrMsg, "ATTACH %Q AS vacuum_db", zOut);
194878 static void copy_stemmer(const char *zIn, int nIn, char *zOut, int *pnOut){
194884 zOut[i] = c - 'A' + 'a';
194887 zOut[i] = c;
194893 zOut[j] = zOut[i];
194897 zOut[i] = 0;
194925 static void porter_stemmer(const char *zIn, int nIn, char *zOut, int *pnOut){
194932 copy_stemmer(zIn, nIn, zOut, pnOut);
194944 copy_stemmer(zIn, nIn, zOut, pnOut);
195152 zOut[i] = 0;
195154 zOut[--i] = *(z++);
204124 #define WRITE_UTF8(zOut, c) { \
204126 *zOut++ = (u8)(c&0xFF); \
204129 *zOut++ = 0xC0 + (u8)((c>>6)&0x1F); \
204130 *zOut++ = 0x80 + (u8)(c & 0x3F); \
204133 *zOut++ = 0xE0 + (u8)((c>>12)&0x0F); \
204134 *zOut++ = 0x80 + (u8)((c>>6) & 0x3F); \
204135 *zOut++ = 0x80 + (u8)(c & 0x3F); \
204137 *zOut++ = 0xF0 + (u8)((c>>18) & 0x07); \
204138 *zOut++ = 0x80 + (u8)((c>>12) & 0x3F); \
204139 *zOut++ = 0x80 + (u8)((c>>6) & 0x3F); \
204140 *zOut++ = 0x80 + (u8)(c & 0x3F); \
204392 char *zOut;
204408 zOut = pCsr->zToken;
204413 if( (zOut-pCsr->zToken)>=(pCsr->nAlloc-4) ){
204416 zOut = &zNew[zOut - pCsr->zToken];
204425 WRITE_UTF8(zOut, iOut);
204438 *pnToken = (int)(zOut - pCsr->zToken);
207966 char *zOut;
207969 zOut = sqlite3DbMallocRaw(db, nOut+1);
207970 if( zOut==0 ) goto returnfromblob_oom;
207977 zOut[iOut++] = (char)v;
207980 zOut[iOut++] = (char)(0xc0 | (v>>6));
207981 zOut[iOut++] = 0x80 | (v&0x3f);
207984 zOut[iOut++] = 0xe0 | (v>>12);
207985 zOut[iOut++] = 0x80 | ((v>>6)&0x3f);
207986 zOut[iOut++] = 0x80 | (v&0x3f);
207991 zOut[iOut++] = 0xf0 | (v>>18);
207992 zOut[iOut++] = 0x80 | ((v>>12)&0x3f);
207993 zOut[iOut++] = 0x80 | ((v>>6)&0x3f);
207994 zOut[iOut++] = 0x80 | (v&0x3f);
207998 zOut[iOut++] = c;
208002 zOut[iOut] = 0;
208003 sqlite3_result_text(pCtx, zOut, iOut, SQLITE_DYNAMIC);
218692 char *zOut /* Write the output into this preallocated buffer */
218697 char *zOrigOut = zOut;
218727 memcpy(zOut, &zSrc[ofst], cnt);
218728 zOut += cnt;
218742 memcpy(zOut, zDelta, cnt);
218743 zOut += cnt;
218750 zOut[0] = 0;
223014 char *zOut = sqlite3_mprintf("rbu(%s)/%z", pRbuVfs->base.zName, zIn);
223015 *(char**)pArg = zOut;
223016 if( zOut==0 ) rc = SQLITE_NOMEM;
223347 char *zOut
223350 return pRealVfs->xFullPathname(pRealVfs, zPath, nOut, zOut);
227409 char *zOut = (char *)&p->aBuf[p->nBuf];
227411 *zOut++ = '"';
227413 if( *zIn=='"' ) *zOut++ = '"';
227414 *zOut++ = *(zIn++);
227416 *zOut++ = '"';
227417 p->nBuf = (int)((u8 *)zOut - p->aBuf);
234589 char *zOut; /* Output value */
234608 p->zOut = sqlite3_mprintf("%z%.*s", p->zOut, n, z);
234609 if( p->zOut==0 ) *pRc = SQLITE_NOMEM;
234735 sqlite3_result_text(pCtx, (const char*)ctx.zOut, -1, SQLITE_TRANSIENT);
234737 sqlite3_free(ctx.zOut);
235020 sqlite3_result_text(pCtx, (const char*)ctx.zOut, -1, SQLITE_TRANSIENT);
235024 sqlite3_free(ctx.zOut);
236078 char *zOut = sqlite3_malloc64(nIn+1);
236084 if( zOut==0 ){
236087 memcpy(zOut, zIn, (size_t)(nIn+1));
236088 if( fts5_isopenquote(zOut[0]) ){
236089 int ii = fts5Dequote(zOut);
236095 zOut[zRet-zIn] = '\0';
236101 sqlite3_free(zOut);
236103 *pzOut = zOut;
254154 #define WRITE_UTF8(zOut, c) { \
254156 *zOut++ = (unsigned char)(c&0xFF); \
254159 *zOut++ = 0xC0 + (unsigned char)((c>>6)&0x1F); \
254160 *zOut++ = 0x80 + (unsigned char)(c & 0x3F); \
254163 *zOut++ = 0xE0 + (unsigned char)((c>>12)&0x0F); \
254164 *zOut++ = 0x80 + (unsigned char)((c>>6) & 0x3F); \
254165 *zOut++ = 0x80 + (unsigned char)(c & 0x3F); \
254167 *zOut++ = 0xF0 + (unsigned char)((c>>18) & 0x07); \
254168 *zOut++ = 0x80 + (unsigned char)((c>>12) & 0x3F); \
254169 *zOut++ = 0x80 + (unsigned char)((c>>6) & 0x3F); \
254170 *zOut++ = 0x80 + (unsigned char)(c & 0x3F); \
254413 char *zOut = aFold;
254443 if( zOut>pEnd ){
254449 zOut = &aFold[zOut - p->aFold];
254464 if( iCode ) WRITE_UTF8(zOut, iCode);
254474 *zOut++ = *zCsr + 32;
254476 *zOut++ = *zCsr;
254484 rc = xToken(pCtx, 0, aFold, zOut-aFold, is, ie);
255291 char *zOut = aBuf;
255308 WRITE_UTF8(zOut, iCode);
255332 rc = xToken(pCtx, 0, aBuf, zOut-aBuf, aStart[0], iNext);
255339 memmove(aBuf, z1, zOut - z1);
255340 zOut -= (z1 - aBuf);
255341 WRITE_UTF8(zOut, iCode);