Lines Matching refs:zIn
16217 #define SQLITE_SKIP_UTF8(zIn) { \ argument
16218 if( (*(zIn++))>=0xc0 ){ \
16219 while( (*zIn & 0xc0)==0x80 ){ zIn++; } \
27295 #define READ_UTF16LE(zIn, TERM, c){ \
27296 c = (*zIn++); \
27297 c += ((*zIn++)<<8); \
27299 int c2 = (*zIn++); \
27300 c2 += ((*zIn++)<<8); \
27305 #define READ_UTF16BE(zIn, TERM, c){ \
27306 c = ((*zIn++)<<8); \
27307 c += (*zIn++); \
27309 int c2 = ((*zIn++)<<8); \
27310 c2 += (*zIn++); \
27342 #define READ_UTF8(zIn, zTerm, c) \
27343 c = *(zIn++); \
27346 while( zIn!=zTerm && (*zIn & 0xc0)==0x80 ){ \
27347 c = (c<<6) + (0x3f & *(zIn++)); \
27392 unsigned char *zIn; /* Input iterator */
27423 zIn = (u8*)pMem->z;
27424 zTerm = &zIn[pMem->n&~1];
27425 while( zIn<zTerm ){
27426 temp = *zIn;
27427 *zIn = *(zIn+1);
27428 zIn++;
27429 *zIn++ = temp;
27459 zIn = (u8*)pMem->z;
27460 zTerm = &zIn[pMem->n];
27470 while( zIn<zTerm ){
27471 READ_UTF8(zIn, zTerm, c);
27477 while( zIn<zTerm ){
27478 READ_UTF8(zIn, zTerm, c);
27488 while( zIn<zTerm ){
27489 READ_UTF16LE(zIn, zIn<zTerm, c);
27494 while( zIn<zTerm ){
27495 READ_UTF16BE(zIn, zIn<zTerm, c);
27570 SQLITE_PRIVATE int sqlite3Utf8CharLen(const char *zIn, int nByte){
27572 const u8 *z = (const u8*)zIn;
27600 SQLITE_PRIVATE int sqlite3Utf8To8(unsigned char *zIn){
27601 unsigned char *zOut = zIn;
27602 unsigned char *zStart = zIn;
27605 while( zIn[0] && zOut<=zIn ){
27606 c = sqlite3Utf8Read((const u8**)&zIn);
27645 SQLITE_PRIVATE int sqlite3Utf16ByteLen(const void *zIn, int nChar){
27647 unsigned char const *z = zIn;
27661 return (int)(z-(unsigned char const *)zIn);
36036 const char *zIn = zPath; /* Input path for each iteration of loop */
36055 if( osLstat(zIn, &buf)!=0 ){
36057 rc = unixLogError(SQLITE_CANTOPEN_BKPT, "lstat", zIn);
36072 nByte = osReadlink(zIn, zDel, nOut-1);
36074 rc = unixLogError(SQLITE_CANTOPEN_BKPT, "readlink", zIn);
36078 for(n = sqlite3Strlen30(zIn); n>0 && zIn[n-1]!='/'; n--);
36083 memcpy(zDel, zIn, n);
36091 zIn = zDel;
36094 assert( rc!=SQLITE_OK || zIn!=zOut || zIn[0]=='/' );
36095 if( rc==SQLITE_OK && zIn!=zOut ){
36096 rc = mkFullPathname(zIn, zOut, nOut);
36099 zIn = zOut;
69365 const u8 *zIn = &zSrcData[iOff%nSrcPgsz];
69376 memcpy(zOut, zIn, nCopy);
90089 const char *zIn = "partial index WHERE clauses";
90090 if( pNC->ncFlags & NC_IdxExpr ) zIn = "index expressions";
90092 else if( pNC->ncFlags & NC_IsCheck ) zIn = "CHECK constraints";
90094 sqlite3ErrorMsg(pParse, "%s prohibited in %s", zMsg, zIn);
101045 SQLITE_PRIVATE char sqlite3AffinityType(const char *zIn, u8 *pszEst){
101050 assert( zIn!=0 );
101051 while( zIn[0] ){
101052 h = (h<<8) + sqlite3UpperToLower[(*zIn)&0xff];
101053 zIn++;
101056 zChar = zIn;
101064 if( zIn[0]=='(' ) zChar = zIn;
107006 const unsigned char *zIn; /* Input string */
107018 zIn = sqlite3_value_text(argv[0]);
107019 if( zIn==0 ) return;
107021 assert( zIn==sqlite3_value_text(argv[0]) );
107056 if( len<=nIn && memcmp(zIn, azChar[i], len)==0 ) break;
107059 zIn += len;
107068 if( len<=nIn && memcmp(&zIn[nIn-len],azChar[i],len)==0 ) break;
107078 sqlite3_result_text(context, (char*)zIn, nIn, SQLITE_TRANSIENT);
107119 const u8 *zIn;
107132 zIn = (u8*)sqlite3_value_text(argv[0]);
107133 if( zIn==0 ) zIn = (u8*)"";
107134 for(i=0; zIn[i] && !sqlite3Isalpha(zIn[i]); i++){}
107135 if( zIn[i] ){
107136 u8 prevcode = iCode[zIn[i]&0x7f];
107137 zResult[0] = sqlite3Toupper(zIn[i]);
107138 for(j=1; j<4 && zIn[i]; i++){
107139 int code = iCode[zIn[i]&0x7f];
153093 const char *zIn = z;
153101 rc = getNextNode(pParse, zIn, nIn, &p, &nByte);
153193 zIn += nByte;
154464 static void copy_stemmer(const char *zIn, int nIn, char *zOut, int *pnOut){
154468 char c = zIn[i];
154511 static void porter_stemmer(const char *zIn, int nIn, char *zOut, int *pnOut){
154518 copy_stemmer(zIn, nIn, zOut, pnOut);
154522 char c = zIn[i];
154530 copy_stemmer(zIn, nIn, zOut, pnOut);
163496 #define READ_UTF8(zIn, zTerm, c) \
163497 c = *(zIn++); \
163500 while( zIn!=zTerm && (*zIn & 0xc0)==0x80 ){ \
163501 c = (c<<6) + (0x3f & *(zIn++)); \
163584 const char *zIn, /* Array of characters to make exceptions */
163587 const unsigned char *z = (const unsigned char *)zIn;
163612 z = (const unsigned char *)zIn;
168096 #define SQLITE_ICU_READ_UTF8(zIn, c) \
168097 c = *(zIn++); \
168100 while( (*zIn & 0xc0)==0x80 ){ \
168101 c = (c<<6) + (0x3f & *(zIn++)); \
168105 #define SQLITE_ICU_SKIP_UTF8(zIn) \
168106 assert( *zIn ); \
168107 if( *(zIn++)>=0xc0 ){ \
168108 while( (*zIn & 0xc0)==0x80 ){zIn++;} \
169878 static unsigned int rbuDeltaChecksum(const char *zIn, size_t N){
169879 const unsigned char *z = (const unsigned char *)zIn;
170306 const char *zIn;
170309 zIn = (const char*)sqlite3_value_text(argv[0]);
170310 if( zIn ){
170313 sqlite3_result_text(pCtx, zIn, -1, SQLITE_STATIC);
170316 if( strlen(zIn)>4 && memcmp("data", zIn, 4)==0 ){
170318 for(i=4; zIn[i]>='0' && zIn[i]<='9'; i++);
170319 if( zIn[i]=='_' && zIn[i+1] ){
170320 sqlite3_result_text(pCtx, &zIn[i+1], -1, SQLITE_STATIC);
173680 char *zIn = *(char**)pArg;
173681 char *zOut = sqlite3_mprintf("rbu(%s)/%z", pRbuVfs->base.zName, zIn);
176777 const char *zIn = zStr;
176779 while( *zIn ){
176780 if( *zIn=='"' ) *zOut++ = '"';
176781 *zOut++ = *(zIn++);
179835 static void jsonAppendRaw(JsonString *p, const char *zIn, u32 N){
179837 memcpy(p->zBuf+p->nUsed, zIn, N);
179874 static void jsonAppendString(JsonString *p, const char *zIn, u32 N){
179879 unsigned char c = ((unsigned const char*)zIn)[i];
184819 const char *zIn; /* Input text */
184872 fts5HighlightAppend(&rc, p, &p->zIn[p->iOff], iStartOff - p->iOff);
184881 fts5HighlightAppend(&rc, p, &p->zIn[p->iOff], iEndOff - p->iOff);
184890 fts5HighlightAppend(&rc, p, &p->zIn[p->iOff], iEndOff - p->iOff);
184924 rc = pApi->xColumnText(pFts, iCol, &ctx.zIn, &ctx.nIn);
184926 if( ctx.zIn ){
184932 rc = pApi->xTokenize(pFts, ctx.zIn, ctx.nIn, (void*)&ctx,fts5HighlightCb);
184934 fts5HighlightAppend(&rc, &ctx, &ctx.zIn[ctx.iOff], ctx.nIn - ctx.iOff);
185172 rc = pApi->xColumnText(pFts, iBestCol, &ctx.zIn, &ctx.nIn);
185177 if( ctx.zIn ){
185196 rc = pApi->xTokenize(pFts, ctx.zIn, ctx.nIn, (void*)&ctx,fts5HighlightCb);
185199 fts5HighlightAppend(&rc, &ctx, &ctx.zIn[ctx.iOff], ctx.nIn - ctx.iOff);
186222 const char *zIn, /* Buffer to gobble string/bareword from */
186228 int nIn = (int)strlen(zIn);
186238 memcpy(zOut, zIn, nIn+1);
186241 zRet = &zIn[ii];
186244 zRet = fts5ConfigSkipBareword(zIn);
186246 zOut[zRet-zIn] = '\0';
186560 const char *zIn, /* Input string */
186564 const char *p = zIn;
186689 const char *zIn = (const char*)sqlite3_value_text(pVal);
186692 rc = sqlite3Fts5ConfigParseRank(zIn, &zRank, &zRankArgs);
188970 char *zIn = p->zTerm;
188972 while( *zIn ){
188973 if( *zIn=='"' ) zQuoted[i++] = '"';
188974 zQuoted[i++] = *zIn++;
200682 #define READ_UTF8(zIn, zTerm, c) \
200683 c = *(zIn++); \
200686 while( zIn!=zTerm && (*zIn & 0xc0)==0x80 ){ \
200687 c = (c<<6) + (0x3f & *(zIn++)); \