Lines Matching refs:zIn

843 /* zIn is either a pointer to a NULL-terminated string in memory obtained
845 ** added to zIn, and the result returned in memory obtained from malloc().
846 ** zIn, if it was not NULL, is freed.
1008 const char *zIn = (const char*)sqlite3_value_text(apVal[0]);
1013 if( zIn!=0 && cli_strncmp(zIn, "CREATE ", 7)==0 ){
1016 if( cli_strncmp(zIn+7, aPrefix[i], n)==0 && zIn[n+7]==' ' ){
1022 z = sqlite3_mprintf("%.*s \"%w\".%s", n+7, zIn, zSchema, zIn+n+8);
1024 z = sqlite3_mprintf("%.*s %s.%s", n+7, zIn, zSchema, zIn+n+8);
1032 z = sqlite3_mprintf("%s\n/* %s */", zIn, zFake);
2421 const unsigned char *zIn;
2433 zIn = zAlt;
2441 zIn = sqlite3_value_text(pIn);
2445 for(i=0; isspace(zIn[i]); i++){}
2446 if( zIn[i]=='-' ){
2449 }else if( zIn[i]=='+' ){
2452 while( i<n && zIn[i]=='0' ) i++;
2454 char c = zIn[i];
2463 if( zIn[j]=='-' ){
2466 }else if( zIn[j]=='+' ){
2470 if( zIn[j]>='0' && zIn[j]<='9' ){
2471 iExp = iExp*10 + zIn[j] - '0';
3968 ** string zIn[]. Return true on a match and false if there is no match.
3970 static int re_match(ReCompiled *pRe, const unsigned char *zIn, int nIn){
3981 in.z = zIn;
3983 in.mx = nIn>=0 ? nIn : (int)strlen((char const*)zIn);
3989 && (zIn[in.i]!=x ||
3990 strncmp((const char*)zIn+in.i, (const char*)pRe->zInit, pRe->nInit)!=0)
4194 const unsigned char *zIn = p->sIn.z + p->sIn.i;
4195 if( re_hex(zIn[1],&v)
4196 && re_hex(zIn[2],&v)
4197 && re_hex(zIn[3],&v)
4198 && re_hex(zIn[4],&v)
4205 const unsigned char *zIn = p->sIn.z + p->sIn.i;
4206 if( re_hex(zIn[1],&v)
4207 && re_hex(zIn[2],&v)
4413 ** Compile a textual regular expression in zIn[] into a compiled regular
4418 static const char *re_compile(ReCompiled **ppRe, const char *zIn, int noCase){
4434 if( zIn[0]=='^' ){
4435 zIn++;
4439 pRe->sIn.z = (unsigned char*)zIn;
4441 pRe->sIn.mx = (int)strlen(zIn);
7160 ** If string zIn is quoted, dequote it in place. Otherwise, if the string
7163 static void zipfileDequote(char *zIn){
7164 char q = zIn[0];
7169 while( ALWAYS(zIn[iIn]) ){
7170 char c = zIn[iIn++];
7171 if( c==q && zIn[iIn++]!=q ) break;
7172 zIn[iOut++] = c;
7174 zIn[iOut] = '\0';
9737 static char *expertDequote(const char *zIn){
9738 int n = STRLEN(zIn);
9741 assert( zIn[0]=='\'' );
9742 assert( zIn[n-1]=='\'' );
9748 if( zIn[iIn]=='\'' ){
9749 assert( zIn[iIn+1]=='\'' );
9752 zRet[iOut++] = zIn[iIn];
10142 ** the printf() style arguments is appended to zIn and the result returned
10144 ** zIn before returning.
10146 static char *idxAppendText(int *pRc, char *zIn, const char *zFmt, ...){
10150 int nIn = zIn ? STRLEN(zIn) : 0;
10160 if( nIn ) memcpy(zRet, zIn, nIn);
10168 sqlite3_free(zIn);
10198 ** pCons to the string passed as zIn and returns the result.
10202 char *zIn, /* Column defn accumulated so far */
10206 char *zRet = zIn;