Lines Matching refs:zIn
2118 const char *zIn = (const char*)sqlite3_value_text(apVal[0]); in shellAddSchemaName() local
2123 if( zIn!=0 && cli_strncmp(zIn, "CREATE ", 7)==0 ){ in shellAddSchemaName()
2126 if( cli_strncmp(zIn+7, aPrefix[i], n)==0 && zIn[n+7]==' ' ){ in shellAddSchemaName()
2132 z = sqlite3_mprintf("%.*s \"%w\".%s", n+7, zIn, zSchema, zIn+n+8); in shellAddSchemaName()
2134 z = sqlite3_mprintf("%.*s %s.%s", n+7, zIn, zSchema, zIn+n+8); in shellAddSchemaName()
2142 z = sqlite3_mprintf("%s\n/* %s */", zIn, zFake); in shellAddSchemaName()
3706 static Decimal *decimalNewFromText(const char *zIn, int n){ in decimalNewFromText() argument
3721 for(i=0; isspace((unsigned char)zIn[i]); i++){} in decimalNewFromText()
3722 if( zIn[i]=='-' ){ in decimalNewFromText()
3725 }else if( zIn[i]=='+' ){ in decimalNewFromText()
3728 while( i<n && zIn[i]=='0' ) i++; in decimalNewFromText()
3730 char c = zIn[i]; in decimalNewFromText()
3739 if( zIn[j]=='-' ){ in decimalNewFromText()
3742 }else if( zIn[j]=='+' ){ in decimalNewFromText()
3746 if( zIn[j]>='0' && zIn[j]<='9' ){ in decimalNewFromText()
3747 iExp = iExp*10 + zIn[j] - '0'; in decimalNewFromText()
3834 const char *zIn = (const char*)sqlite3_value_text(pIn); in decimal_new() local
3836 p = decimalNewFromText(zIn, n); in decimal_new()
6422 static int re_match(ReCompiled *pRe, const unsigned char *zIn, int nIn){ in re_match() argument
6433 in.z = zIn; in re_match()
6435 in.mx = nIn>=0 ? nIn : (int)strlen((char const*)zIn); in re_match()
6441 && (zIn[in.i]!=x || in re_match()
6442 strncmp((const char*)zIn+in.i, (const char*)pRe->zInit, pRe->nInit)!=0) in re_match()
6646 const unsigned char *zIn = p->sIn.z + p->sIn.i; in re_esc_char() local
6647 if( re_hex(zIn[1],&v) in re_esc_char()
6648 && re_hex(zIn[2],&v) in re_esc_char()
6649 && re_hex(zIn[3],&v) in re_esc_char()
6650 && re_hex(zIn[4],&v) in re_esc_char()
6657 const unsigned char *zIn = p->sIn.z + p->sIn.i; in re_esc_char() local
6658 if( re_hex(zIn[1],&v) in re_esc_char()
6659 && re_hex(zIn[2],&v) in re_esc_char()
6870 static const char *re_compile(ReCompiled **ppRe, const char *zIn, int noCase){ in re_compile() argument
6886 if( zIn[0]=='^' ){ in re_compile()
6887 zIn++; in re_compile()
6891 pRe->sIn.z = (unsigned char*)zIn; in re_compile()
6893 pRe->sIn.mx = (int)strlen(zIn); in re_compile()
9619 static void zipfileDequote(char *zIn){ in zipfileDequote() argument
9620 char q = zIn[0]; in zipfileDequote()
9625 while( ALWAYS(zIn[iIn]) ){ in zipfileDequote()
9626 char c = zIn[iIn++]; in zipfileDequote()
9627 if( c==q && zIn[iIn++]!=q ) break; in zipfileDequote()
9628 zIn[iOut++] = c; in zipfileDequote()
9630 zIn[iOut] = '\0'; in zipfileDequote()
12217 static char *expertDequote(const char *zIn){ in expertDequote() argument
12218 int n = STRLEN(zIn); in expertDequote()
12221 assert( zIn[0]=='\'' ); in expertDequote()
12222 assert( zIn[n-1]=='\'' ); in expertDequote()
12228 if( zIn[iIn]=='\'' ){ in expertDequote()
12229 assert( zIn[iIn+1]=='\'' ); in expertDequote()
12232 zRet[iOut++] = zIn[iIn]; in expertDequote()
12627 static char *idxAppendText(int *pRc, char *zIn, const char *zFmt, ...){ in idxAppendText() argument
12631 int nIn = zIn ? STRLEN(zIn) : 0; in idxAppendText()
12641 if( nIn ) memcpy(zRet, zIn, nIn); in idxAppendText()
12649 sqlite3_free(zIn); in idxAppendText()
12683 char *zIn, /* Column defn accumulated so far */ in idxAppendColDefn() argument
12687 char *zRet = zIn; in idxAppendColDefn()