Lines Matching refs:zOut
1522 int (*xFullPathname)(sqlite3_vfs*, const char *zName, int nOut, char *zOut);
1527 int (*xRandomness)(sqlite3_vfs*, int nByte, char *zOut);
20117 #define WRITE_UTF8(zOut, c) { \ argument
20119 *zOut++ = (u8)(c&0xFF); \
20122 *zOut++ = 0xC0 + (u8)((c>>6)&0x1F); \
20123 *zOut++ = 0x80 + (u8)(c & 0x3F); \
20126 *zOut++ = 0xE0 + (u8)((c>>12)&0x0F); \
20127 *zOut++ = 0x80 + (u8)((c>>6) & 0x3F); \
20128 *zOut++ = 0x80 + (u8)(c & 0x3F); \
20130 *zOut++ = 0xF0 + (u8)((c>>18) & 0x07); \
20131 *zOut++ = 0x80 + (u8)((c>>12) & 0x3F); \
20132 *zOut++ = 0x80 + (u8)((c>>6) & 0x3F); \
20133 *zOut++ = 0x80 + (u8)(c & 0x3F); \
20137 #define WRITE_UTF16LE(zOut, c) { \ argument
20139 *zOut++ = (u8)(c&0x00FF); \
20140 *zOut++ = (u8)((c>>8)&0x00FF); \
20142 *zOut++ = (u8)(((c>>10)&0x003F) + (((c-0x10000)>>10)&0x00C0)); \
20143 *zOut++ = (u8)(0x00D8 + (((c-0x10000)>>18)&0x03)); \
20144 *zOut++ = (u8)(c&0x00FF); \
20145 *zOut++ = (u8)(0x00DC + ((c>>8)&0x03)); \
20149 #define WRITE_UTF16BE(zOut, c) { \ argument
20151 *zOut++ = (u8)((c>>8)&0x00FF); \
20152 *zOut++ = (u8)(c&0x00FF); \
20154 *zOut++ = (u8)(0x00D8 + (((c-0x10000)>>18)&0x03)); \
20155 *zOut++ = (u8)(((c>>10)&0x003F) + (((c-0x10000)>>10)&0x00C0)); \
20156 *zOut++ = (u8)(0x00DC + ((c>>8)&0x03)); \
20157 *zOut++ = (u8)(c&0x00FF); \
20259 unsigned char *zOut; /* Output buffer */ in sqlite3VdbeMemTranslate() local
20329 zOut = sqlite3DbMallocRaw(pMem->db, len); in sqlite3VdbeMemTranslate()
20330 if( !zOut ){ in sqlite3VdbeMemTranslate()
20333 z = zOut; in sqlite3VdbeMemTranslate()
20352 pMem->n = (int)(z - zOut); in sqlite3VdbeMemTranslate()
20369 pMem->n = (int)(z - zOut); in sqlite3VdbeMemTranslate()
20378 pMem->z = (char*)zOut; in sqlite3VdbeMemTranslate()
20470 unsigned char *zOut = zIn; in sqlite3Utf8To8() local
20474 while( zIn[0] && zOut<=zIn ){ in sqlite3Utf8To8()
20477 WRITE_UTF8(zOut, c); in sqlite3Utf8To8()
20480 *zOut = 0; in sqlite3Utf8To8()
20481 return (int)(zOut - zStart); in sqlite3Utf8To8()
29827 char *zOut /* Output buffer */
29840 zOut[nOut-1] = '\0';
29842 sqlite3_snprintf(nOut, zOut, "%s", zPath);
29845 if( osGetcwd(zOut, nOut-1)==0 ){
29848 nCwd = (int)strlen(zOut);
29849 sqlite3_snprintf(nOut-nCwd, &zOut[nCwd], "/%s", zPath);
32128 char *zOut = 0;
32141 zOut = unicodeToUtf8(zTempWide);
32161 zOut = sqlite3_win32_mbcs_to_utf8(zTemp);
32171 sqlite3_snprintf(nBuf, zBuf, "%s", zOut);
32173 free(zOut);
34382 char *zOut;
34409 zOut = unicodeToUtf8(zTemp);
34426 zOut = sqlite3_win32_mbcs_to_utf8(zTemp);
34430 if( zOut ){
34431 sqlite3_snprintf(pVfs->mxPathname, zFull, "%s", zOut);
34432 free(zOut);
56720 u8 *zOut = &zDestData[iOff%nDestPgsz];
56729 memcpy(zOut, zIn, nCopy);
71480 u8 *zOut = zBuf;
71504 memcpy(zOut, &pChunk->zChunk[iChunkOffset], nCopy);
71505 zOut += nCopy;
76909 char *zOut = sqlite3MPrintf(db, "%s%.*s\"%w\"",
76913 zOutput = zOut;
85033 unsigned char *zOut; /* The output */
85066 zOut = contextMalloc(context, (i64)nOut);
85067 if( zOut==0 ){
85073 zOut[j++] = zStr[i];
85082 sqlite3_free(zOut);
85085 zOld = zOut;
85086 zOut = sqlite3_realloc(zOut, (int)nOut);
85087 if( zOut==0 ){
85092 memcpy(&zOut[j], zRep, nRep);
85098 memcpy(&zOut[j], &zStr[i], nStr-i);
85101 zOut[j] = 0;
85102 sqlite3_result_text(context, (char*)zOut, j, sqlite3_free);
121181 static void copy_stemmer(const char *zIn, int nIn, char *zOut, int *pnOut){
121187 zOut[i] = c - 'A' + 'a';
121190 zOut[i] = c;
121196 zOut[j] = zOut[i];
121200 zOut[i] = 0;
121228 static void porter_stemmer(const char *zIn, int nIn, char *zOut, int *pnOut){
121235 copy_stemmer(zIn, nIn, zOut, pnOut);
121247 copy_stemmer(zIn, nIn, zOut, pnOut);
121439 zOut[i] = 0;
121441 zOut[--i] = *(z++);