Lines Matching refs:zIn
17298 #define SQLITE_SKIP_UTF8(zIn) { \ argument
17299 if( (*(zIn++))>=0xc0 ){ \
17300 while( (*zIn & 0xc0)==0x80 ){ zIn++; } \
28041 #define READ_UTF16LE(zIn, TERM, c){ \
28042 c = (*zIn++); \
28043 c += ((*zIn++)<<8); \
28045 int c2 = (*zIn++); \
28046 c2 += ((*zIn++)<<8); \
28051 #define READ_UTF16BE(zIn, TERM, c){ \
28052 c = ((*zIn++)<<8); \
28053 c += (*zIn++); \
28055 int c2 = ((*zIn++)<<8); \
28056 c2 += (*zIn++); \
28088 #define READ_UTF8(zIn, zTerm, c) \
28089 c = *(zIn++); \
28092 while( zIn!=zTerm && (*zIn & 0xc0)==0x80 ){ \
28093 c = (c<<6) + (0x3f & *(zIn++)); \
28138 unsigned char *zIn; /* Input iterator */
28169 zIn = (u8*)pMem->z;
28170 zTerm = &zIn[pMem->n&~1];
28171 while( zIn<zTerm ){
28172 temp = *zIn;
28173 *zIn = *(zIn+1);
28174 zIn++;
28175 *zIn++ = temp;
28205 zIn = (u8*)pMem->z;
28206 zTerm = &zIn[pMem->n];
28216 while( zIn<zTerm ){
28217 READ_UTF8(zIn, zTerm, c);
28223 while( zIn<zTerm ){
28224 READ_UTF8(zIn, zTerm, c);
28234 while( zIn<zTerm ){
28235 READ_UTF16LE(zIn, zIn<zTerm, c);
28240 while( zIn<zTerm ){
28241 READ_UTF16BE(zIn, zIn<zTerm, c);
28318 SQLITE_PRIVATE int sqlite3Utf8CharLen(const char *zIn, int nByte){
28320 const u8 *z = (const u8*)zIn;
28348 SQLITE_PRIVATE int sqlite3Utf8To8(unsigned char *zIn){
28349 unsigned char *zOut = zIn;
28350 unsigned char *zStart = zIn;
28353 while( zIn[0] && zOut<=zIn ){
28354 c = sqlite3Utf8Read((const u8**)&zIn);
28393 SQLITE_PRIVATE int sqlite3Utf16ByteLen(const void *zIn, int nChar){
28395 unsigned char const *z = zIn;
28409 return (int)(z-(unsigned char const *)zIn);
36916 const char *zIn = zPath; /* Input path for each iteration of loop */
36935 if( osLstat(zIn, &buf)!=0 ){
36937 rc = unixLogError(SQLITE_CANTOPEN_BKPT, "lstat", zIn);
36952 nByte = osReadlink(zIn, zDel, nOut-1);
36954 rc = unixLogError(SQLITE_CANTOPEN_BKPT, "readlink", zIn);
36958 for(n = sqlite3Strlen30(zIn); n>0 && zIn[n-1]!='/'; n--);
36963 memcpy(zDel, zIn, n);
36971 zIn = zDel;
36974 assert( rc!=SQLITE_OK || zIn!=zOut || zIn[0]=='/' );
36975 if( rc==SQLITE_OK && zIn!=zOut ){
36976 rc = mkFullPathname(zIn, zOut, nOut);
36979 zIn = zOut;
70695 const u8 *zIn = &zSrcData[iOff%nSrcPgsz];
70706 memcpy(zOut, zIn, nCopy);
91705 const char *zIn = "partial index WHERE clauses";
91706 if( pNC->ncFlags & NC_IdxExpr ) zIn = "index expressions";
91708 else if( pNC->ncFlags & NC_IsCheck ) zIn = "CHECK constraints";
91710 sqlite3ErrorMsg(pParse, "%s prohibited in %s", zMsg, zIn);
102786 SQLITE_PRIVATE char sqlite3AffinityType(const char *zIn, u8 *pszEst){
102791 assert( zIn!=0 );
102792 while( zIn[0] ){
102793 h = (h<<8) + sqlite3UpperToLower[(*zIn)&0xff];
102794 zIn++;
102797 zChar = zIn;
102805 if( zIn[0]=='(' ) zChar = zIn;
108801 const unsigned char *zIn; /* Input string */
108813 zIn = sqlite3_value_text(argv[0]);
108814 if( zIn==0 ) return;
108816 assert( zIn==sqlite3_value_text(argv[0]) );
108851 if( len<=nIn && memcmp(zIn, azChar[i], len)==0 ) break;
108854 zIn += len;
108863 if( len<=nIn && memcmp(&zIn[nIn-len],azChar[i],len)==0 ) break;
108873 sqlite3_result_text(context, (char*)zIn, nIn, SQLITE_TRANSIENT);
108914 const u8 *zIn;
108927 zIn = (u8*)sqlite3_value_text(argv[0]);
108928 if( zIn==0 ) zIn = (u8*)"";
108929 for(i=0; zIn[i] && !sqlite3Isalpha(zIn[i]); i++){}
108930 if( zIn[i] ){
108931 u8 prevcode = iCode[zIn[i]&0x7f];
108932 zResult[0] = sqlite3Toupper(zIn[i]);
108933 for(j=1; j<4 && zIn[i]; i++){
108934 int code = iCode[zIn[i]&0x7f];
155961 const char *zIn = z;
155969 rc = getNextNode(pParse, zIn, nIn, &p, &nByte);
156061 zIn += nByte;
157332 static void copy_stemmer(const char *zIn, int nIn, char *zOut, int *pnOut){
157336 char c = zIn[i];
157379 static void porter_stemmer(const char *zIn, int nIn, char *zOut, int *pnOut){
157386 copy_stemmer(zIn, nIn, zOut, pnOut);
157390 char c = zIn[i];
157398 copy_stemmer(zIn, nIn, zOut, pnOut);
166365 #define READ_UTF8(zIn, zTerm, c) \
166366 c = *(zIn++); \
166369 while( zIn!=zTerm && (*zIn & 0xc0)==0x80 ){ \
166370 c = (c<<6) + (0x3f & *(zIn++)); \
166453 const char *zIn, /* Array of characters to make exceptions */
166456 const unsigned char *z = (const unsigned char *)zIn;
166481 z = (const unsigned char *)zIn;
171423 #define SQLITE_ICU_READ_UTF8(zIn, c) \
171424 c = *(zIn++); \
171427 while( (*zIn & 0xc0)==0x80 ){ \
171428 c = (c<<6) + (0x3f & *(zIn++)); \
171432 #define SQLITE_ICU_SKIP_UTF8(zIn) \
171433 assert( *zIn ); \
171434 if( *(zIn++)>=0xc0 ){ \
171435 while( (*zIn & 0xc0)==0x80 ){zIn++;} \
173234 static unsigned int rbuDeltaChecksum(const char *zIn, size_t N){
173235 const unsigned char *z = (const unsigned char *)zIn;
173663 const char *zIn;
173666 zIn = (const char*)sqlite3_value_text(argv[0]);
173667 if( zIn ){
173670 sqlite3_result_text(pCtx, zIn, -1, SQLITE_STATIC);
173673 if( strlen(zIn)>4 && memcmp("data", zIn, 4)==0 ){
173675 for(i=4; zIn[i]>='0' && zIn[i]<='9'; i++);
173676 if( zIn[i]=='_' && zIn[i+1] ){
173677 sqlite3_result_text(pCtx, &zIn[i+1], -1, SQLITE_STATIC);
177134 char *zIn = *(char**)pArg;
177135 char *zOut = sqlite3_mprintf("rbu(%s)/%z", pRbuVfs->base.zName, zIn);
180730 const char *zIn = zStr;
180732 while( *zIn ){
180733 if( *zIn=='"' ) *zOut++ = '"';
180734 *zOut++ = *(zIn++);
183866 static void jsonAppendRaw(JsonString *p, const char *zIn, u32 N){
183868 memcpy(p->zBuf+p->nUsed, zIn, N);
183905 static void jsonAppendString(JsonString *p, const char *zIn, u32 N){
183910 unsigned char c = ((unsigned const char*)zIn)[i];
188953 const char *zIn; /* Input text */
189006 fts5HighlightAppend(&rc, p, &p->zIn[p->iOff], iStartOff - p->iOff);
189015 fts5HighlightAppend(&rc, p, &p->zIn[p->iOff], iEndOff - p->iOff);
189024 fts5HighlightAppend(&rc, p, &p->zIn[p->iOff], iEndOff - p->iOff);
189058 rc = pApi->xColumnText(pFts, iCol, &ctx.zIn, &ctx.nIn);
189060 if( ctx.zIn ){
189066 rc = pApi->xTokenize(pFts, ctx.zIn, ctx.nIn, (void*)&ctx,fts5HighlightCb);
189068 fts5HighlightAppend(&rc, &ctx, &ctx.zIn[ctx.iOff], ctx.nIn - ctx.iOff);
189316 rc = pApi->xColumnText(pFts, iBestCol, &ctx.zIn, &ctx.nIn);
189321 if( ctx.zIn ){
189340 rc = pApi->xTokenize(pFts, ctx.zIn, ctx.nIn, (void*)&ctx,fts5HighlightCb);
189343 fts5HighlightAppend(&rc, &ctx, &ctx.zIn[ctx.iOff], ctx.nIn - ctx.iOff);
190366 const char *zIn, /* Buffer to gobble string/bareword from */
190372 int nIn = (int)strlen(zIn);
190382 memcpy(zOut, zIn, nIn+1);
190385 zRet = &zIn[ii];
190388 zRet = fts5ConfigSkipBareword(zIn);
190390 zOut[zRet-zIn] = '\0';
190704 const char *zIn, /* Input string */
190708 const char *p = zIn;
190833 const char *zIn = (const char*)sqlite3_value_text(pVal);
190836 rc = sqlite3Fts5ConfigParseRank(zIn, &zRank, &zRankArgs);
193140 char *zIn = p->zTerm;
193142 while( *zIn ){
193143 if( *zIn=='"' ) zQuoted[i++] = '"';
193144 zQuoted[i++] = *zIn++;
204864 #define READ_UTF8(zIn, zTerm, c) \
204865 c = *(zIn++); \
204868 while( zIn!=zTerm && (*zIn & 0xc0)==0x80 ){ \
204869 c = (c<<6) + (0x3f & *(zIn++)); \