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);
36900 const char *zIn = zPath; /* Input path for each iteration of loop */
36919 if( osLstat(zIn, &buf)!=0 ){
36921 rc = unixLogError(SQLITE_CANTOPEN_BKPT, "lstat", zIn);
36936 nByte = osReadlink(zIn, zDel, nOut-1);
36938 rc = unixLogError(SQLITE_CANTOPEN_BKPT, "readlink", zIn);
36942 for(n = sqlite3Strlen30(zIn); n>0 && zIn[n-1]!='/'; n--);
36947 memcpy(zDel, zIn, n);
36955 zIn = zDel;
36958 assert( rc!=SQLITE_OK || zIn!=zOut || zIn[0]=='/' );
36959 if( rc==SQLITE_OK && zIn!=zOut ){
36960 rc = mkFullPathname(zIn, zOut, nOut);
36963 zIn = zOut;
70679 const u8 *zIn = &zSrcData[iOff%nSrcPgsz];
70690 memcpy(zOut, zIn, nCopy);
91689 const char *zIn = "partial index WHERE clauses";
91690 if( pNC->ncFlags & NC_IdxExpr ) zIn = "index expressions";
91692 else if( pNC->ncFlags & NC_IsCheck ) zIn = "CHECK constraints";
91694 sqlite3ErrorMsg(pParse, "%s prohibited in %s", zMsg, zIn);
102770 SQLITE_PRIVATE char sqlite3AffinityType(const char *zIn, u8 *pszEst){
102775 assert( zIn!=0 );
102776 while( zIn[0] ){
102777 h = (h<<8) + sqlite3UpperToLower[(*zIn)&0xff];
102778 zIn++;
102781 zChar = zIn;
102789 if( zIn[0]=='(' ) zChar = zIn;
108785 const unsigned char *zIn; /* Input string */
108797 zIn = sqlite3_value_text(argv[0]);
108798 if( zIn==0 ) return;
108800 assert( zIn==sqlite3_value_text(argv[0]) );
108835 if( len<=nIn && memcmp(zIn, azChar[i], len)==0 ) break;
108838 zIn += len;
108847 if( len<=nIn && memcmp(&zIn[nIn-len],azChar[i],len)==0 ) break;
108857 sqlite3_result_text(context, (char*)zIn, nIn, SQLITE_TRANSIENT);
108898 const u8 *zIn;
108911 zIn = (u8*)sqlite3_value_text(argv[0]);
108912 if( zIn==0 ) zIn = (u8*)"";
108913 for(i=0; zIn[i] && !sqlite3Isalpha(zIn[i]); i++){}
108914 if( zIn[i] ){
108915 u8 prevcode = iCode[zIn[i]&0x7f];
108916 zResult[0] = sqlite3Toupper(zIn[i]);
108917 for(j=1; j<4 && zIn[i]; i++){
108918 int code = iCode[zIn[i]&0x7f];
155933 const char *zIn = z;
155941 rc = getNextNode(pParse, zIn, nIn, &p, &nByte);
156033 zIn += nByte;
157304 static void copy_stemmer(const char *zIn, int nIn, char *zOut, int *pnOut){
157308 char c = zIn[i];
157351 static void porter_stemmer(const char *zIn, int nIn, char *zOut, int *pnOut){
157358 copy_stemmer(zIn, nIn, zOut, pnOut);
157362 char c = zIn[i];
157370 copy_stemmer(zIn, nIn, zOut, pnOut);
166337 #define READ_UTF8(zIn, zTerm, c) \
166338 c = *(zIn++); \
166341 while( zIn!=zTerm && (*zIn & 0xc0)==0x80 ){ \
166342 c = (c<<6) + (0x3f & *(zIn++)); \
166425 const char *zIn, /* Array of characters to make exceptions */
166428 const unsigned char *z = (const unsigned char *)zIn;
166453 z = (const unsigned char *)zIn;
171395 #define SQLITE_ICU_READ_UTF8(zIn, c) \
171396 c = *(zIn++); \
171399 while( (*zIn & 0xc0)==0x80 ){ \
171400 c = (c<<6) + (0x3f & *(zIn++)); \
171404 #define SQLITE_ICU_SKIP_UTF8(zIn) \
171405 assert( *zIn ); \
171406 if( *(zIn++)>=0xc0 ){ \
171407 while( (*zIn & 0xc0)==0x80 ){zIn++;} \
173206 static unsigned int rbuDeltaChecksum(const char *zIn, size_t N){
173207 const unsigned char *z = (const unsigned char *)zIn;
173635 const char *zIn;
173638 zIn = (const char*)sqlite3_value_text(argv[0]);
173639 if( zIn ){
173642 sqlite3_result_text(pCtx, zIn, -1, SQLITE_STATIC);
173645 if( strlen(zIn)>4 && memcmp("data", zIn, 4)==0 ){
173647 for(i=4; zIn[i]>='0' && zIn[i]<='9'; i++);
173648 if( zIn[i]=='_' && zIn[i+1] ){
173649 sqlite3_result_text(pCtx, &zIn[i+1], -1, SQLITE_STATIC);
177106 char *zIn = *(char**)pArg;
177107 char *zOut = sqlite3_mprintf("rbu(%s)/%z", pRbuVfs->base.zName, zIn);
180702 const char *zIn = zStr;
180704 while( *zIn ){
180705 if( *zIn=='"' ) *zOut++ = '"';
180706 *zOut++ = *(zIn++);
183838 static void jsonAppendRaw(JsonString *p, const char *zIn, u32 N){
183840 memcpy(p->zBuf+p->nUsed, zIn, N);
183877 static void jsonAppendString(JsonString *p, const char *zIn, u32 N){
183882 unsigned char c = ((unsigned const char*)zIn)[i];
188925 const char *zIn; /* Input text */
188978 fts5HighlightAppend(&rc, p, &p->zIn[p->iOff], iStartOff - p->iOff);
188987 fts5HighlightAppend(&rc, p, &p->zIn[p->iOff], iEndOff - p->iOff);
188996 fts5HighlightAppend(&rc, p, &p->zIn[p->iOff], iEndOff - p->iOff);
189030 rc = pApi->xColumnText(pFts, iCol, &ctx.zIn, &ctx.nIn);
189032 if( ctx.zIn ){
189038 rc = pApi->xTokenize(pFts, ctx.zIn, ctx.nIn, (void*)&ctx,fts5HighlightCb);
189040 fts5HighlightAppend(&rc, &ctx, &ctx.zIn[ctx.iOff], ctx.nIn - ctx.iOff);
189288 rc = pApi->xColumnText(pFts, iBestCol, &ctx.zIn, &ctx.nIn);
189293 if( ctx.zIn ){
189312 rc = pApi->xTokenize(pFts, ctx.zIn, ctx.nIn, (void*)&ctx,fts5HighlightCb);
189315 fts5HighlightAppend(&rc, &ctx, &ctx.zIn[ctx.iOff], ctx.nIn - ctx.iOff);
190338 const char *zIn, /* Buffer to gobble string/bareword from */
190344 int nIn = (int)strlen(zIn);
190354 memcpy(zOut, zIn, nIn+1);
190357 zRet = &zIn[ii];
190360 zRet = fts5ConfigSkipBareword(zIn);
190362 zOut[zRet-zIn] = '\0';
190676 const char *zIn, /* Input string */
190680 const char *p = zIn;
190805 const char *zIn = (const char*)sqlite3_value_text(pVal);
190808 rc = sqlite3Fts5ConfigParseRank(zIn, &zRank, &zRankArgs);
193112 char *zIn = p->zTerm;
193114 while( *zIn ){
193115 if( *zIn=='"' ) zQuoted[i++] = '"';
193116 zQuoted[i++] = *zIn++;
204836 #define READ_UTF8(zIn, zTerm, c) \
204837 c = *(zIn++); \
204840 while( zIn!=zTerm && (*zIn & 0xc0)==0x80 ){ \
204841 c = (c<<6) + (0x3f & *(zIn++)); \