Lines Matching defs:zOut
1547 ** of good-quality randomness into zOut. The return value is
1586 int (*xFullPathname)(sqlite3_vfs*, const char *zName, int nOut, char *zOut);
1591 int (*xRandomness)(sqlite3_vfs*, int nByte, char *zOut);
19553 char *zOut; /* Rendering buffer */
19721 zOut = buf;
19724 zOut = zExtra = sqlite3Malloc( nOut );
19725 if( zOut==0 ){
19730 bufpt = &zOut[nOut-1];
19750 length = (int)(&zOut[nOut-1]-bufpt);
19761 length = (int)(&zOut[nOut-1]-bufpt);
19845 zOut = bufpt;
19877 assert( bufpt>zOut );
19906 length = (int)(bufpt-zOut);
19907 bufpt = zOut;
20547 #define WRITE_UTF8(zOut, c) { \
20549 *zOut++ = (u8)(c&0xFF); \
20552 *zOut++ = 0xC0 + (u8)((c>>6)&0x1F); \
20553 *zOut++ = 0x80 + (u8)(c & 0x3F); \
20556 *zOut++ = 0xE0 + (u8)((c>>12)&0x0F); \
20557 *zOut++ = 0x80 + (u8)((c>>6) & 0x3F); \
20558 *zOut++ = 0x80 + (u8)(c & 0x3F); \
20560 *zOut++ = 0xF0 + (u8)((c>>18) & 0x07); \
20561 *zOut++ = 0x80 + (u8)((c>>12) & 0x3F); \
20562 *zOut++ = 0x80 + (u8)((c>>6) & 0x3F); \
20563 *zOut++ = 0x80 + (u8)(c & 0x3F); \
20567 #define WRITE_UTF16LE(zOut, c) { \
20569 *zOut++ = (u8)(c&0x00FF); \
20570 *zOut++ = (u8)((c>>8)&0x00FF); \
20572 *zOut++ = (u8)(((c>>10)&0x003F) + (((c-0x10000)>>10)&0x00C0)); \
20573 *zOut++ = (u8)(0x00D8 + (((c-0x10000)>>18)&0x03)); \
20574 *zOut++ = (u8)(c&0x00FF); \
20575 *zOut++ = (u8)(0x00DC + ((c>>8)&0x03)); \
20579 #define WRITE_UTF16BE(zOut, c) { \
20581 *zOut++ = (u8)((c>>8)&0x00FF); \
20582 *zOut++ = (u8)(c&0x00FF); \
20584 *zOut++ = (u8)(0x00D8 + (((c-0x10000)>>18)&0x03)); \
20585 *zOut++ = (u8)(((c>>10)&0x003F) + (((c-0x10000)>>10)&0x00C0)); \
20586 *zOut++ = (u8)(0x00DC + ((c>>8)&0x03)); \
20587 *zOut++ = (u8)(c&0x00FF); \
20689 unsigned char *zOut; /* Output buffer */
20754 ** Variable zOut is set to point at the output buffer, space obtained
20759 zOut = sqlite3DbMallocRaw(pMem->db, len);
20760 if( !zOut ){
20763 z = zOut;
20782 pMem->n = (int)(z - zOut);
20799 pMem->n = (int)(z - zOut);
20808 pMem->z = (char*)zOut;
20900 unsigned char *zOut = zIn;
20904 while( zIn[0] && zOut<=zIn ){
20907 WRITE_UTF8(zOut, c);
20910 *zOut = 0;
20911 return (int)(zOut - zStart);
30368 ** zOut points to a buffer of at least sqlite3_vfs.mxPathname bytes
30376 char *zOut /* Output buffer */
30389 zOut[nOut-1] = '\0';
30391 sqlite3_snprintf(nOut, zOut, "%s", zPath);
30394 if( osGetcwd(zOut, nOut-1)==0 ){
30397 nCwd = (int)strlen(zOut);
30398 sqlite3_snprintf(nOut-nCwd, &zOut[nCwd], "/%s", zPath);
33177 char *zOut = 0;
33193 zOut = unicodeToUtf8(zTempWide);
33217 zOut = sqlite3_win32_mbcs_to_utf8(zTemp);
33228 sqlite3_snprintf(nBuf, zBuf, "%s", zOut);
33230 sqlite3_free(zOut);
35471 ** pathname into zOut[]. zOut[] will be at least pVfs->mxPathname
35499 char *zOut;
35529 zOut = unicodeToUtf8(zTemp);
35546 zOut = sqlite3_win32_mbcs_to_utf8(zTemp);
35550 if( zOut ){
35551 sqlite3_snprintf(pVfs->mxPathname, zFull, "%s", zOut);
35552 sqlite3_free(zOut);
57909 u8 *zOut = &zDestData[iOff%nDestPgsz];
57918 memcpy(zOut, zIn, nCopy);
72846 u8 *zOut = zBuf;
72870 memcpy(zOut, &pChunk->zChunk[iChunkOffset], nCopy);
72871 zOut += nCopy;
78563 char *zOut = sqlite3MPrintf(db, "%s%.*s\"%w\"",
78567 zOutput = zOut;
87111 unsigned char *zOut; /* The output */
87115 i64 nOut; /* Maximum size of zOut */
87144 zOut = contextMalloc(context, (i64)nOut);
87145 if( zOut==0 ){
87151 zOut[j++] = zStr[i];
87160 sqlite3_free(zOut);
87163 zOld = zOut;
87164 zOut = sqlite3_realloc(zOut, (int)nOut);
87165 if( zOut==0 ){
87170 memcpy(&zOut[j], zRep, nRep);
87176 memcpy(&zOut[j], &zStr[i], nStr-i);
87179 zOut[j] = 0;
87180 sqlite3_result_text(context, (char*)zOut, j, sqlite3_free);
123978 static void copy_stemmer(const char *zIn, int nIn, char *zOut, int *pnOut){
123984 zOut[i] = c - 'A' + 'a';
123987 zOut[i] = c;
123993 zOut[j] = zOut[i];
123997 zOut[i] = 0;
124003 ** Stem the input word zIn[0..nIn-1]. Store the output in zOut.
124004 ** zOut is at least big enough to hold nIn bytes. Write the actual
124023 ** no chance of overflowing the zOut buffer.
124025 static void porter_stemmer(const char *zIn, int nIn, char *zOut, int *pnOut){
124032 copy_stemmer(zIn, nIn, zOut, pnOut);
124044 copy_stemmer(zIn, nIn, zOut, pnOut);
124236 zOut[i] = 0;
124238 zOut[--i] = *(z++);