Lines Matching refs:zOut
1411 ** of good-quality randomness into zOut. The return value is
1437 int (*xFullPathname)(sqlite3_vfs*, const char *zName, int nOut, char *zOut);
1442 int (*xRandomness)(sqlite3_vfs*, int nByte, char *zOut);
19455 #define WRITE_UTF8(zOut, c) { \
19457 *zOut++ = (u8)(c&0xFF); \
19460 *zOut++ = 0xC0 + (u8)((c>>6)&0x1F); \
19461 *zOut++ = 0x80 + (u8)(c & 0x3F); \
19464 *zOut++ = 0xE0 + (u8)((c>>12)&0x0F); \
19465 *zOut++ = 0x80 + (u8)((c>>6) & 0x3F); \
19466 *zOut++ = 0x80 + (u8)(c & 0x3F); \
19468 *zOut++ = 0xF0 + (u8)((c>>18) & 0x07); \
19469 *zOut++ = 0x80 + (u8)((c>>12) & 0x3F); \
19470 *zOut++ = 0x80 + (u8)((c>>6) & 0x3F); \
19471 *zOut++ = 0x80 + (u8)(c & 0x3F); \
19475 #define WRITE_UTF16LE(zOut, c) { \
19477 *zOut++ = (u8)(c&0x00FF); \
19478 *zOut
19480 *zOut++ = (u8)(((c>>10)&0x003F) + (((c-0x10000)>>10)&0x00C0)); \
19481 *zOut++ = (u8)(0x00D8 + (((c-0x10000)>>18)&0x03)); \
19482 *zOut++ = (u8)(c&0x00FF); \
19483 *zOut++ = (u8)(0x00DC + ((c>>8)&0x03)); \
19487 #define WRITE_UTF16BE(zOut, c) { \
19489 *zOut++ = (u8)((c>>8)&0x00FF); \
19490 *zOut++ = (u8)(c&0x00FF); \
19492 *zOut++ = (u8)(0x00D8 + (((c-0x10000)>>18)&0x03)); \
19493 *zOut++ = (u8)(((c>>10)&0x003F) + (((c-0x10000)>>10)&0x00C0)); \
19494 *zOut++ = (u8)(0x00DC + ((c>>8)&0x03)); \
19495 *zOut++ = (u8)(c&0x00FF); \
19597 unsigned char *zOut; /* Output buffer */
19662 ** Variable zOut is set to point at the output buffer, space obtained
19667 zOut = sqlite3DbMallocRaw(pMem->db, len);
19668 if( !zOut ){
19671 z = zOut;
19690 pMem->n = (int)(z - zOut);
19707 pMem->n = (int)(z - zOut);
19716 pMem->z = (char*)zOut;
19808 unsigned char *zOut = zIn;
19815 WRITE_UTF8(zOut, c);
19818 *zOut = 0;
19819 return (int)(zOut - zStart);
27899 ** zOut points to a buffer of at least sqlite3_vfs.mxPathname bytes
27907 char *zOut /* Output buffer */
27920 zOut[nOut-1] = '\0';
27922 sqlite3_snprintf(nOut, zOut, "%s", zPath);
27925 if( getcwd(zOut, nOut-1)==0 ){
27928 nCwd = (int)strlen(zOut);
27929 sqlite3_snprintf(nOut-nCwd, &zOut[nCwd], "/%s", zPath);
31613 char *zOut = 0;
31626 zOut = unicodeToUtf8(zTempWide);
31646 zOut = sqlite3_win32_mbcs_to_utf8(zTemp);
31656 sqlite3_snprintf(nBuf, zBuf, "%s", zOut);
31658 free(zOut);
32011 ** pathname into zOut[]. zOut[] will be at least pVfs->mxPathname
32039 char *zOut;
32059 zOut = unicodeToUtf8(zTemp);
32076 zOut = sqlite3_win32_mbcs_to_utf8(zTemp);
32080 if( zOut ){
32081 sqlite3_snprintf(pVfs->mxPathname, zFull, "%s", zOut);
32082 free(zOut);
53747 u8 *zOut = &zDestData[iOff%nDestPgsz];
53756 memcpy(zOut, zIn, nCopy);
67278 u8 *zOut = zBuf;
67302 memcpy(zOut, &pChunk->zChunk[iChunkOffset], nCopy);
67303 zOut += nCopy;
72687 char *zOut = sqlite3MPrintf(db, "%s%.*s\"%w\"",
72691 zOutput = zOut;
80598 unsigned char *zOut; /* The output */
80602 i64 nOut; /* Maximum size of zOut */
80631 zOut = contextMalloc(context, (i64)nOut);
80632 if( zOut==0 ){
80638 zOut[j++] = zStr[i];
80647 sqlite3_free(zOut);
80650 zOld = zOut;
80651 zOut = sqlite3_realloc(zOut, (int)nOut);
80652 if( zOut==0 ){
80657 memcpy(&zOut[j], zRep, nRep);
80663 memcpy(&zOut[j], &zStr[i], nStr-i);
80666 zOut[j] = 0;
80667 sqlite3_result_text(context, (char*)zOut, j, sqlite3_free);
113483 static void copy_stemmer(const char *zIn, int nIn, char *zOut, int *pnOut){
113489 zOut[i] = c - 'A' + 'a';
113492 zOut[i] = c;
113498 zOut[j] = zOut[i];
113502 zOut[i] = 0;
113508 ** Stem the input word zIn[0..nIn-1]. Store the output in zOut.
113509 ** zOut is at least big enough to hold nIn bytes. Write the actual
113528 ** no chance of overflowing the zOut buffer.
113530 static void porter_stemmer(const char *zIn, int nIn, char *zOut, int *pnOut){
113537 copy_stemmer(zIn, nIn, zOut, pnOut);
113549 copy_stemmer(zIn, nIn, zOut, pnOut);
113741 zOut[i] = 0;
113743 zOut[--i] = *(z++);