Lines Matching defs:zOut
1644 ** of good-quality randomness into zOut. The return value is
1683 int (*xFullPathname)(sqlite3_vfs*, const char *zName, int nOut, char *zOut);
1688 int (*xRandomness)(sqlite3_vfs*, int nByte, char *zOut);
19738 char *zOut; /* Rendering buffer */
19906 zOut = buf;
19909 zOut = zExtra = sqlite3Malloc( nOut );
19910 if( zOut==0 ){
19915 bufpt = &zOut[nOut-1];
19935 length = (int)(&zOut[nOut-1]-bufpt);
19946 length = (int)(&zOut[nOut-1]-bufpt);
20033 zOut = bufpt;
20065 assert( bufpt>zOut );
20094 length = (int)(bufpt-zOut);
20095 bufpt = zOut;
20735 #define WRITE_UTF8(zOut, c) { \
20737 *zOut++ = (u8)(c&0xFF); \
20740 *zOut++ = 0xC0 + (u8)((c>>6)&0x1F); \
20741 *zOut++ = 0x80 + (u8)(c & 0x3F); \
20744 *zOut++ = 0xE0 + (u8)((c>>12)&0x0F); \
20745 *zOut++ = 0x80 + (u8)((c>>6) & 0x3F); \
20746 *zOut++ = 0x80 + (u8)(c & 0x3F); \
20748 *zOut++ = 0xF0 + (u8)((c>>18) & 0x07); \
20749 *zOut++ = 0x80 + (u8)((c>>12) & 0x3F); \
20750 *zOut++ = 0x80 + (u8)((c>>6) & 0x3F); \
20751 *zOut++ = 0x80 + (u8)(c & 0x3F); \
20755 #define WRITE_UTF16LE(zOut, c) { \
20757 *zOut++ = (u8)(c&0x00FF); \
20758 *zOut++ = (u8)((c>>8)&0x00FF); \
20760 *zOut++ = (u8)(((c>>10)&0x003F) + (((c-0x10000)>>10)&0x00C0)); \
20761 *zOut++ = (u8)(0x00D8 + (((c-0x10000)>>18)&0x03)); \
20762 *zOut++ = (u8)(c&0x00FF); \
20763 *zOut++ = (u8)(0x00DC + ((c>>8)&0x03)); \
20767 #define WRITE_UTF16BE(zOut, c) { \
20769 *zOut++ = (u8)((c>>8)&0x00FF); \
20770 *zOut++ = (u8)(c&0x00FF); \
20772 *zOut++ = (u8)(0x00D8 + (((c-0x10000)>>18)&0x03)); \
20773 *zOut++ = (u8)(((c>>10)&0x003F) + (((c-0x10000)>>10)&0x00C0)); \
20774 *zOut++ = (u8)(0x00DC + ((c>>8)&0x03)); \
20775 *zOut++ = (u8)(c&0x00FF); \
20875 unsigned char *zOut; /* Output buffer */
20940 ** Variable zOut is set to point at the output buffer, space obtained
20945 zOut = sqlite3DbMallocRaw(pMem->db, len);
20946 if( !zOut ){
20949 z = zOut;
20966 pMem->n = (int)(z - zOut);
20983 pMem->n = (int)(z - zOut);
20992 pMem->z = (char*)zOut;
21084 unsigned char *zOut = zIn;
21088 while( zIn[0] && zOut<=zIn ){
21091 WRITE_UTF8(zOut, c);
21094 *zOut = 0;
21095 return (int)(zOut - zStart);
28972 ** zOut points to a buffer of at least sqlite3_vfs.mxPathname bytes
28980 char *zOut /* Output buffer */
28993 zOut[nOut-1] = '\0';
28995 sqlite3_snprintf(nOut, zOut, "%s", zPath);
28998 if( osGetcwd(zOut, nOut-1)==0 ){
29001 nCwd = (int)strlen(zOut);
29002 sqlite3_snprintf(nOut-nCwd, &zOut[nCwd], "/%s", zPath);
32184 char *zOut = 0;
32212 zOut = unicodeToUtf8(zTempWide);
32235 zOut = sqlite3_win32_mbcs_to_utf8(zTemp);
32246 sqlite3_snprintf(nBuf, zBuf, "%s", zOut);
32248 sqlite3_free(zOut);
35207 ** pathname into zOut[]. zOut[] will be at least pVfs->mxPathname
35229 char zOut[MAX_PATH+1];
35230 memset(zOut, 0, MAX_PATH+1);
35231 cygwin_conv_path(CCP_POSIX_TO_WIN_A|CCP_RELATIVE, zRelative, zOut,
35234 sqlite3_data_directory, zOut);
35263 char *zOut;
35317 zOut = unicodeToUtf8(zTemp);
35345 zOut = sqlite3_win32_mbcs_to_utf8(zTemp);
35349 if( zOut ){
35350 sqlite3_snprintf(MIN(nFull, pVfs->mxPathname), zFull, "%s", zOut);
35351 sqlite3_free(zOut);
58314 u8 *zOut = &zDestData[iOff%nDestPgsz];
58323 memcpy(zOut, zIn, nCopy);
58326 sqlite3Put4byte(&zOut[28], sqlite3BtreeLastPage(p->pSrc));
73549 u8 *zOut = zBuf;
73573 memcpy(zOut, &pChunk->zChunk[iChunkOffset], nCopy);
73574 zOut += nCopy;
79547 char *zOut = sqlite3MPrintf(db, "%s%.*s\"%w\"",
79551 zOutput = zOut;
88148 unsigned char *z, *zOut;
88150 zOut = z = sqlite3_malloc( argc*4 );
88162 *zOut++ = (u8)(c&0xFF);
88164 *zOut++ = 0xC0 + (u8)((c>>6)&0x1F);
88165 *zOut++ = 0x80 + (u8)(c & 0x3F);
88167 *zOut++ = 0xE0 + (u8)((c>>12)&0x0F);
88168 *zOut++ = 0x80 + (u8)((c>>6) & 0x3F);
88169 *zOut++ = 0x80 + (u8)(c & 0x3F);
88171 *zOut++ = 0xF0 + (u8)((c>>18) & 0x07);
88172 *zOut++ = 0x80 + (u8)((c>>12) & 0x3F);
88173 *zOut++ = 0x80 + (u8)((c>>6) & 0x3F);
88174 *zOut++ = 0x80 + (u8)(c & 0x3F);
88177 sqlite3_result_text(context, (char*)z, (int)(zOut-z), sqlite3_free);
88245 unsigned char *zOut; /* The output */
88249 i64 nOut; /* Maximum size of zOut */
88278 zOut = contextMalloc(context, (i64)nOut);
88279 if( zOut==0 ){
88285 zOut[j++] = zStr[i];
88294 sqlite3_free(zOut);
88297 zOld = zOut;
88298 zOut = sqlite3_realloc(zOut, (int)nOut);
88299 if( zOut==0 ){
88304 memcpy(&zOut[j], zRep, nRep);
88310 memcpy(&zOut[j], &zStr[i], nStr-i);
88313 zOut[j] = 0;
88314 sqlite3_result_text(context, (char*)zOut, j, sqlite3_free);
127096 static void copy_stemmer(const char *zIn, int nIn, char *zOut, int *pnOut){
127102 zOut[i] = c - 'A' + 'a';
127105 zOut[i] = c;
127111 zOut[j] = zOut[i];
127115 zOut[i] = 0;
127121 ** Stem the input word zIn[0..nIn-1]. Store the output in zOut.
127122 ** zOut is at least big enough to hold nIn bytes. Write the actual
127141 ** no chance of overflowing the zOut buffer.
127143 static void porter_stemmer(const char *zIn, int nIn, char *zOut, int *pnOut){
127150 copy_stemmer(zIn, nIn, zOut, pnOut);
127162 copy_stemmer(zIn, nIn, zOut, pnOut);
127354 zOut[i] = 0;
127356 zOut[--i] = *(z++);
135622 #define WRITE_UTF8(zOut, c) { \
135624 *zOut++ = (u8)(c&0xFF); \
135627 *zOut++ = 0xC0 + (u8)((c>>6)&0x1F); \
135628 *zOut++ = 0x80 + (u8)(c & 0x3F); \
135631 *zOut++ = 0xE0 + (u8)((c>>12)&0x0F); \
135632 *zOut++ = 0x80 + (u8)((c>>6) & 0x3F); \
135633 *zOut++ = 0x80 + (u8)(c & 0x3F); \
135635 *zOut++ = 0xF0 + (u8)((c>>18) & 0x07); \
135636 *zOut++ = 0x80 + (u8)((c>>12) & 0x3F); \
135637 *zOut++ = 0x80 + (u8)((c>>6) & 0x3F); \
135638 *zOut++ = 0x80 + (u8)(c & 0x3F); \
135886 char *zOut;
135902 zOut = pCsr->zToken;
135907 if( (zOut-pCsr->zToken)>=(pCsr->nAlloc-4) ){
135910 zOut = &zNew[zOut - pCsr->zToken];
135919 WRITE_UTF8(zOut, iOut);
135932 *pnToken = zOut - pCsr->zToken;