Lines Matching refs:zOut

1744   int (*xFullPathname)(sqlite3_vfs*, const char *zName, int nOut, char *zOut);
1749 int (*xRandomness)(sqlite3_vfs*, int nByte, char *zOut);
29149 char *zOut; /* Rendering buffer */
29376 zOut = buf;
29381 zOut = zExtra = printfTempBuf(pAccum, n);
29382 if( zOut==0 ) return;
29385 bufpt = &zOut[nOut-1];
29403 length = (int)(&zOut[nOut-1]-bufpt);
29429 length = (int)(&zOut[nOut-1]-bufpt);
29524 zOut = bufpt;
29556 assert( bufpt>zOut );
29585 length = (int)(bufpt-zOut);
29586 bufpt = zOut;
31552 #define WRITE_UTF8(zOut, c) { \
31554 *zOut++ = (u8)(c&0xFF); \
31557 *zOut++ = 0xC0 + (u8)((c>>6)&0x1F); \
31558 *zOut++ = 0x80 + (u8)(c & 0x3F); \
31561 *zOut++ = 0xE0 + (u8)((c>>12)&0x0F); \
31562 *zOut++ = 0x80 + (u8)((c>>6) & 0x3F); \
31563 *zOut++ = 0x80 + (u8)(c & 0x3F); \
31565 *zOut++ = 0xF0 + (u8)((c>>18) & 0x07); \
31566 *zOut++ = 0x80 + (u8)((c>>12) & 0x3F); \
31567 *zOut++ = 0x80 + (u8)((c>>6) & 0x3F); \
31568 *zOut++ = 0x80 + (u8)(c & 0x3F); \
31572 #define WRITE_UTF16LE(zOut, c) { \
31574 *zOut++ = (u8)(c&0x00FF); \
31575 *zOut++ = (u8)((c>>8)&0x00FF); \
31577 *zOut++ = (u8)(((c>>10)&0x003F) + (((c-0x10000)>>10)&0x00C0)); \
31578 *zOut++ = (u8)(0x00D8 + (((c-0x10000)>>18)&0x03)); \
31579 *zOut++ = (u8)(c&0x00FF); \
31580 *zOut++ = (u8)(0x00DC + ((c>>8)&0x03)); \
31584 #define WRITE_UTF16BE(zOut, c) { \
31586 *zOut++ = (u8)((c>>8)&0x00FF); \
31587 *zOut++ = (u8)(c&0x00FF); \
31589 *zOut++ = (u8)(0x00D8 + (((c-0x10000)>>18)&0x03)); \
31590 *zOut++ = (u8)(((c>>10)&0x003F) + (((c-0x10000)>>10)&0x00C0)); \
31591 *zOut++ = (u8)(0x00DC + ((c>>8)&0x03)); \
31592 *zOut++ = (u8)(c&0x00FF); \
31672 unsigned char *zOut; /* Output buffer */
31744 zOut = sqlite3DbMallocRaw(pMem->db, len);
31745 if( !zOut ){
31748 z = zOut;
31765 pMem->n = (int)(z - zOut);
31828 pMem->n = (int)(z - zOut);
31837 pMem->z = (char*)zOut;
31934 unsigned char *zOut = zIn;
31938 while( zIn[0] && zOut<=zIn ){
31941 WRITE_UTF8(zOut, c);
31944 *zOut = 0;
31945 return (int)(zOut - zStart);
32668 SQLITE_PRIVATE void sqlite3Int64ToText(i64 v, char *zOut){
32684 memcpy(zOut, &zTemp[i+1], sizeof(zTemp)-1-i);
40677 char *zOut, /* Output buffer */
40684 if( osGetcwd(zOut, nOut-2)==0 ){
40687 iOff = sqlite3Strlen30(zOut);
40688 zOut[iOff++] = '/';
40693 zOut[iOff] = '\0';
40696 sqlite3_snprintf(nOut-iOff, &zOut[iOff], "%s", zPath);
40700 for(i=j=1; zOut[i]; i++){
40701 zOut[j++] = zOut[i];
40702 while( zOut[i]=='/' && zOut[i+1]=='/' ) i++;
40704 zOut[j] = 0;
40706 assert( zOut[0]=='/' );
40707 for(i=j=0; zOut[i]; i++){
40708 if( zOut[i]=='/' ){
40710 if( zOut[i+1]=='.' && zOut[i+2]=='/' ){
40718 if( zOut[i+1]=='.'
40719 && zOut[i+2]=='.'
40720 && zOut[i+3]=='/'
40721 && unixBackupDir(zOut, &j)
40727 if( ALWAYS(j>=0) ) zOut[j] = zOut[i];
40730 if( NEVER(j==0) ) zOut[j++] = '/';
40731 zOut[j] = 0;
40748 char *zOut /* Output buffer */
40751 return mkFullPathname(zPath, zOut, nOut);
40815 assert( rc!=SQLITE_OK || zIn!=zOut || zIn[0]=='/' );
40816 if( rc==SQLITE_OK && zIn!=zOut ){
40817 rc = mkFullPathname(zIn, zOut, nOut);
40820 zIn = zOut;
44361 char *zOut = 0;
44389 zOut = winUnicodeToUtf8(zTempWide);
44412 zOut = winMbcsToUtf8(zTemp, osAreFileApisANSI());
44423 sqlite3_snprintf(nBuf, zBuf, "%s", zOut);
44425 sqlite3_free(zOut);
47931 char *zOut;
47953 char *zOut = sqlite3MallocZero( pVfs->mxPathname+1 );
47954 if( !zOut ){
47959 CCP_RELATIVE, zRelative, zOut, pVfs->mxPathname+1)<0 ){
47960 sqlite3_free(zOut);
47964 char *zUtf8 = winConvertToUtf8Filename(zOut);
47966 sqlite3_free(zOut);
47972 sqlite3_free(zOut);
47975 char *zOut = sqlite3MallocZero( pVfs->mxPathname+1 );
47976 if( !zOut ){
47981 zRelative, zOut, pVfs->mxPathname+1)<0 ){
47982 sqlite3_free(zOut);
47986 char *zUtf8 = winConvertToUtf8Filename(zOut);
47988 sqlite3_free(zOut);
47993 sqlite3_free(zOut);
48062 zOut = winUnicodeToUtf8(zTemp);
48088 zOut = winMbcsToUtf8(zTemp, osAreFileApisANSI());
48092 if( zOut ){
48093 sqlite3_snprintf(MIN(nFull, pVfs->mxPathname), zFull, "%s", zOut);
48094 sqlite3_free(zOut);
48650 static int memdbFullPathname(sqlite3_vfs*, const char *zName, int, char *zOut);
48655 static int memdbRandomness(sqlite3_vfs*, int nByte, char *zOut);
49143 char *zOut
49146 sqlite3_snprintf(nOut, zOut, "%s", zPath);
76720 u8 *zOut = &zDestData[iOff%nDestPgsz];
76729 memcpy(zOut, zIn, nCopy);
76732 sqlite3Put4byte(&zOut[28], sqlite3BtreeLastPage(p->pSrc));
98981 u8 *zOut = zBuf;
99007 memcpy(zOut, (u8*)pChunk->zChunk + iChunkOffset, nCopy);
99008 zOut += nCopy;
109180 char *zOut;
109199 zOut = sqlite3DbMallocZero(db, nSql + pRename->nList*nQuot + 1);
109201 zOut = (char*)sqlite3DbMallocZero(db, (nSql*2+1) * 3);
109202 if( zOut ){
109203 zBuf1 = &zOut[nSql*2+1];
109204 zBuf2 = &zOut[nSql*4+2];
109212 if( zOut ){
109214 memcpy(zOut, zSql, nSql);
109249 memmove(&zOut[iOff + nReplace], &zOut[iOff + pBest->t.n],
109253 zOut[nOut] = '\0';
109255 memcpy(&zOut[iOff], zReplace, nReplace);
109259 sqlite3_result_text(pCtx, zOut, -1, SQLITE_TRANSIENT);
109260 sqlite3DbFree(db, zOut);
121311 unsigned char *z, *zOut;
121313 zOut = z = sqlite3_malloc64( argc*4+1 );
121325 *zOut++ = (u8)(c&0xFF);
121327 *zOut++ = 0xC0 + (u8)((c>>6)&0x1F);
121328 *zOut++ = 0x80 + (u8)(c & 0x3F);
121330 *zOut++ = 0xE0 + (u8)((c>>12)&0x0F);
121331 *zOut++ = 0x80 + (u8)((c>>6) & 0x3F);
121332 *zOut++ = 0x80 + (u8)(c & 0x3F);
121334 *zOut++ = 0xF0 + (u8)((c>>18) & 0x07);
121335 *zOut++ = 0x80 + (u8)((c>>12) & 0x3F);
121336 *zOut++ = 0x80 + (u8)((c>>6) & 0x3F);
121337 *zOut++ = 0x80 + (u8)(c & 0x3F);
121340 sqlite3_result_text64(context, (char*)z, zOut-z, sqlite3_free, SQLITE_UTF8);
121406 unsigned char *zOut; /* The output */
121441 zOut = contextMalloc(context, (i64)nOut);
121442 if( zOut==0 ){
121449 zOut[j++] = zStr[i];
121457 sqlite3_free(zOut);
121465 zOld = zOut;
121466 zOut = sqlite3Realloc(zOut, (int)nOut + (nOut - nStr - 1));
121467 if( zOut==0 ){
121474 memcpy(&zOut[j], zRep, nRep);
121480 memcpy(&zOut[j], &zStr[i], nStr-i);
121483 zOut[j] = 0;
121484 sqlite3_result_text(context, (char*)zOut, j, sqlite3_free);
144228 const char *zOut; /* Name of output file */
144244 zOut = (const char*)sqlite3_value_text(pOut);
144248 zOut = "";
144284 rc = execSqlF(db, pzErrMsg, "ATTACH %Q AS vacuum_db", zOut);
181279 static void copy_stemmer(const char *zIn, int nIn, char *zOut, int *pnOut){
181285 zOut[i] = c - 'A' + 'a';
181288 zOut[i] = c;
181294 zOut[j] = zOut[i];
181298 zOut[i] = 0;
181326 static void porter_stemmer(const char *zIn, int nIn, char *zOut, int *pnOut){
181333 copy_stemmer(zIn, nIn, zOut, pnOut);
181345 copy_stemmer(zIn, nIn, zOut, pnOut);
181553 zOut[i] = 0;
181555 zOut[--i] = *(z++);
190493 #define WRITE_UTF8(zOut, c) { \
190495 *zOut++ = (u8)(c&0xFF); \
190498 *zOut++ = 0xC0 + (u8)((c>>6)&0x1F); \
190499 *zOut++ = 0x80 + (u8)(c & 0x3F); \
190502 *zOut++ = 0xE0 + (u8)((c>>12)&0x0F); \
190503 *zOut++ = 0x80 + (u8)((c>>6) & 0x3F); \
190504 *zOut++ = 0x80 + (u8)(c & 0x3F); \
190506 *zOut++ = 0xF0 + (u8)((c>>18) & 0x07); \
190507 *zOut++ = 0x80 + (u8)((c>>12) & 0x3F); \
190508 *zOut++ = 0x80 + (u8)((c>>6) & 0x3F); \
190509 *zOut++ = 0x80 + (u8)(c & 0x3F); \
190761 char *zOut;
190777 zOut = pCsr->zToken;
190782 if( (zOut-pCsr->zToken)>=(pCsr->nAlloc-4) ){
190785 zOut = &zNew[zOut - pCsr->zToken];
190794 WRITE_UTF8(zOut, iOut);
190807 *pnToken = (int)(zOut - pCsr->zToken);
191903 char *zOut;
191907 zOut = sqlite3_malloc( n+1 );
191908 if( zOut==0 ){
191915 zOut[j++] = c;
191923 zOut[j++] = (char)v;
191925 zOut[j++] = (char)(0xc0 | (v>>6));
191926 zOut[j++] = 0x80 | (v&0x3f);
191938 zOut[j++] = 0xf0 | (v>>18);
191939 zOut[j++] = 0x80 | ((v>>12)&0x3f);
191940 zOut[j++] = 0x80 | ((v>>6)&0x3f);
191941 zOut[j++] = 0x80 | (v&0x3f);
191943 zOut[j++] = 0xe0 | (v>>12);
191944 zOut[j++] = 0x80 | ((v>>6)&0x3f);
191945 zOut[j++] = 0x80 | (v&0x3f);
191960 zOut[j++] = c;
191964 zOut[j] = 0;
191965 sqlite3_result_text(pCtx, zOut, j, sqlite3_free);
202353 char *zOut /* Write the output into this preallocated buffer */
202358 char *zOrigOut = zOut;
202388 memcpy(zOut, &zSrc[ofst], cnt);
202389 zOut += cnt;
202403 memcpy(zOut, zDelta, cnt);
202404 zOut += cnt;
202411 zOut[0] = 0;
206630 char *zOut = sqlite3_mprintf("rbu(%s)/%z", pRbuVfs->base.zName, zIn);
206631 *(char**)pArg = zOut;
206632 if( zOut==0 ) rc = SQLITE_NOMEM;
206939 char *zOut
206942 return pRealVfs->xFullPathname(pRealVfs, zPath, nOut, zOut);
210607 char *zOut = (char *)&p->aBuf[p->nBuf];
210609 *zOut++ = '"';
210611 if( *zIn=='"' ) *zOut++ = '"';
210612 *zOut++ = *(zIn++);
210614 *zOut++ = '"';
210615 p->nBuf = (int)((u8 *)zOut - p->aBuf);
217322 char *zOut; /* Output value */
217341 p->zOut = sqlite3_mprintf("%z%.*s", p->zOut, n, z);
217342 if( p->zOut==0 ) *pRc = SQLITE_NOMEM;
217437 sqlite3_result_text(pCtx, (const char*)ctx.zOut, -1, SQLITE_TRANSIENT);
217439 sqlite3_free(ctx.zOut);
217718 sqlite3_result_text(pCtx, (const char*)ctx.zOut, -1, SQLITE_TRANSIENT);
217722 sqlite3_free(ctx.zOut);
218751 char *zOut = sqlite3_malloc64(nIn+1);
218757 if( zOut==0 ){
218760 memcpy(zOut, zIn, (size_t)(nIn+1));
218761 if( fts5_isopenquote(zOut[0]) ){
218762 int ii = fts5Dequote(zOut);
218768 zOut[zRet-zIn] = '\0';
218774 sqlite3_free(zOut);
218776 *pzOut = zOut;
234046 #define WRITE_UTF8(zOut, c) { \
234048 *zOut++ = (unsigned char)(c&0xFF); \
234051 *zOut++ = 0xC0 + (unsigned char)((c>>6)&0x1F); \
234052 *zOut++ = 0x80 + (unsigned char)(c & 0x3F); \
234055 *zOut++ = 0xE0 + (unsigned char)((c>>12)&0x0F); \
234056 *zOut++ = 0x80 + (unsigned char)((c>>6) & 0x3F); \
234057 *zOut++ = 0x80 + (unsigned char)(c & 0x3F); \
234059 *zOut++ = 0xF0 + (unsigned char)((c>>18) & 0x07); \
234060 *zOut++ = 0x80 + (unsigned char)((c>>12) & 0x3F); \
234061 *zOut++ = 0x80 + (unsigned char)((c>>6) & 0x3F); \
234062 *zOut++ = 0x80 + (unsigned char)(c & 0x3F); \
234299 char *zOut = aFold;
234329 if( zOut>pEnd ){
234335 zOut = &aFold[zOut - p->aFold];
234350 if( iCode ) WRITE_UTF8(zOut, iCode);
234360 *zOut++ = *zCsr + 32;
234362 *zOut++ = *zCsr;
234370 rc = xToken(pCtx, 0, aFold, zOut-aFold, is, ie);
235169 char *zOut = aBuf;
235178 WRITE_UTF8(zOut, iCode);
235186 WRITE_UTF8(zOut, iCode);
235190 WRITE_UTF8(zOut, iCode);
235194 rc = xToken(pCtx, 0, aBuf, zOut-aBuf, iStart, iStart + zOut-aBuf);