Lines Matching refs:zIn

2132   const char *zIn = (const char*)sqlite3_value_text(apVal[0]);  in shellAddSchemaName()  local
2137 if( zIn!=0 && cli_strncmp(zIn, "CREATE ", 7)==0 ){ in shellAddSchemaName()
2140 if( cli_strncmp(zIn+7, aPrefix[i], n)==0 && zIn[n+7]==' ' ){ in shellAddSchemaName()
2146 z = sqlite3_mprintf("%.*s \"%w\".%s", n+7, zIn, zSchema, zIn+n+8); in shellAddSchemaName()
2148 z = sqlite3_mprintf("%.*s %s.%s", n+7, zIn, zSchema, zIn+n+8); in shellAddSchemaName()
2156 z = sqlite3_mprintf("%s\n/* %s */", zIn, zFake); in shellAddSchemaName()
3720 static Decimal *decimalNewFromText(const char *zIn, int n){ in decimalNewFromText() argument
3735 for(i=0; isspace(zIn[i]); i++){} in decimalNewFromText()
3736 if( zIn[i]=='-' ){ in decimalNewFromText()
3739 }else if( zIn[i]=='+' ){ in decimalNewFromText()
3742 while( i<n && zIn[i]=='0' ) i++; in decimalNewFromText()
3744 char c = zIn[i]; in decimalNewFromText()
3753 if( zIn[j]=='-' ){ in decimalNewFromText()
3756 }else if( zIn[j]=='+' ){ in decimalNewFromText()
3760 if( zIn[j]>='0' && zIn[j]<='9' ){ in decimalNewFromText()
3761 iExp = iExp*10 + zIn[j] - '0'; in decimalNewFromText()
3848 const char *zIn = (const char*)sqlite3_value_text(pIn); in decimal_new() local
3850 p = decimalNewFromText(zIn, n); in decimal_new()
6492 static int re_match(ReCompiled *pRe, const unsigned char *zIn, int nIn){ in re_match() argument
6503 in.z = zIn; in re_match()
6505 in.mx = nIn>=0 ? nIn : (int)strlen((char const*)zIn); in re_match()
6511 && (zIn[in.i]!=x || in re_match()
6512 strncmp((const char*)zIn+in.i, (const char*)pRe->zInit, pRe->nInit)!=0) in re_match()
6716 const unsigned char *zIn = p->sIn.z + p->sIn.i; in re_esc_char() local
6717 if( re_hex(zIn[1],&v) in re_esc_char()
6718 && re_hex(zIn[2],&v) in re_esc_char()
6719 && re_hex(zIn[3],&v) in re_esc_char()
6720 && re_hex(zIn[4],&v) in re_esc_char()
6727 const unsigned char *zIn = p->sIn.z + p->sIn.i; in re_esc_char() local
6728 if( re_hex(zIn[1],&v) in re_esc_char()
6729 && re_hex(zIn[2],&v) in re_esc_char()
6940 static const char *re_compile(ReCompiled **ppRe, const char *zIn, int noCase){ in re_compile() argument
6956 if( zIn[0]=='^' ){ in re_compile()
6957 zIn++; in re_compile()
6961 pRe->sIn.z = (unsigned char*)zIn; in re_compile()
6963 pRe->sIn.mx = (int)strlen(zIn); in re_compile()
9697 static void zipfileDequote(char *zIn){ in zipfileDequote() argument
9698 char q = zIn[0]; in zipfileDequote()
9703 while( ALWAYS(zIn[iIn]) ){ in zipfileDequote()
9704 char c = zIn[iIn++]; in zipfileDequote()
9705 if( c==q && zIn[iIn++]!=q ) break; in zipfileDequote()
9706 zIn[iOut++] = c; in zipfileDequote()
9708 zIn[iOut] = '\0'; in zipfileDequote()
12296 static char *expertDequote(const char *zIn){ in expertDequote() argument
12297 int n = STRLEN(zIn); in expertDequote()
12300 assert( zIn[0]=='\'' ); in expertDequote()
12301 assert( zIn[n-1]=='\'' ); in expertDequote()
12307 if( zIn[iIn]=='\'' ){ in expertDequote()
12308 assert( zIn[iIn+1]=='\'' ); in expertDequote()
12311 zRet[iOut++] = zIn[iIn]; in expertDequote()
12706 static char *idxAppendText(int *pRc, char *zIn, const char *zFmt, ...){ in idxAppendText() argument
12710 int nIn = zIn ? STRLEN(zIn) : 0; in idxAppendText()
12720 if( nIn ) memcpy(zRet, zIn, nIn); in idxAppendText()
12728 sqlite3_free(zIn); in idxAppendText()
12762 char *zIn, /* Column defn accumulated so far */ in idxAppendColDefn() argument
12766 char *zRet = zIn; in idxAppendColDefn()