Lines Matching refs:zIn

1660   const char *zIn = (const char*)sqlite3_value_text(apVal[0]);  in shellAddSchemaName()  local
1665 if( zIn!=0 && cli_strncmp(zIn, "CREATE ", 7)==0 ){ in shellAddSchemaName()
1668 if( cli_strncmp(zIn+7, aPrefix[i], n)==0 && zIn[n+7]==' ' ){ in shellAddSchemaName()
1674 z = sqlite3_mprintf("%.*s \"%w\".%s", n+7, zIn, zSchema, zIn+n+8); in shellAddSchemaName()
1676 z = sqlite3_mprintf("%.*s %s.%s", n+7, zIn, zSchema, zIn+n+8); in shellAddSchemaName()
1684 z = sqlite3_mprintf("%s\n/* %s */", zIn, zFake); in shellAddSchemaName()
3762 static Decimal *decimalNewFromText(const char *zIn, int n){ in decimalNewFromText() argument
3777 for(i=0; IsSpace(zIn[i]); i++){} in decimalNewFromText()
3778 if( zIn[i]=='-' ){ in decimalNewFromText()
3781 }else if( zIn[i]=='+' ){ in decimalNewFromText()
3784 while( i<n && zIn[i]=='0' ) i++; in decimalNewFromText()
3786 char c = zIn[i]; in decimalNewFromText()
3795 if( zIn[j]=='-' ){ in decimalNewFromText()
3798 }else if( zIn[j]=='+' ){ in decimalNewFromText()
3802 if( zIn[j]>='0' && zIn[j]<='9' ){ in decimalNewFromText()
3803 iExp = iExp*10 + zIn[j] - '0'; in decimalNewFromText()
3890 const char *zIn = (const char*)sqlite3_value_text(pIn); in decimal_new() local
3892 p = decimalNewFromText(zIn, n); in decimal_new()
7274 static int re_match(ReCompiled *pRe, const unsigned char *zIn, int nIn){ in re_match() argument
7285 in.z = zIn; in re_match()
7287 in.mx = nIn>=0 ? nIn : (int)strlen((char const*)zIn); in re_match()
7293 && (zIn[in.i]!=x || in re_match()
7294 strncmp((const char*)zIn+in.i, (const char*)pRe->zInit, pRe->nInit)!=0) in re_match()
7498 const unsigned char *zIn = p->sIn.z + p->sIn.i; in re_esc_char() local
7499 if( re_hex(zIn[1],&v) in re_esc_char()
7500 && re_hex(zIn[2],&v) in re_esc_char()
7501 && re_hex(zIn[3],&v) in re_esc_char()
7502 && re_hex(zIn[4],&v) in re_esc_char()
7509 const unsigned char *zIn = p->sIn.z + p->sIn.i; in re_esc_char() local
7510 if( re_hex(zIn[1],&v) in re_esc_char()
7511 && re_hex(zIn[2],&v) in re_esc_char()
7723 static const char *re_compile(ReCompiled **ppRe, const char *zIn, int noCase){ in re_compile() argument
7739 if( zIn[0]=='^' ){ in re_compile()
7740 zIn++; in re_compile()
7744 pRe->sIn.z = (unsigned char*)zIn; in re_compile()
7746 pRe->sIn.mx = (int)strlen(zIn); in re_compile()
10536 static void zipfileDequote(char *zIn){ in zipfileDequote() argument
10537 char q = zIn[0]; in zipfileDequote()
10542 while( ALWAYS(zIn[iIn]) ){ in zipfileDequote()
10543 char c = zIn[iIn++]; in zipfileDequote()
10544 if( c==q && zIn[iIn++]!=q ) break; in zipfileDequote()
10545 zIn[iOut++] = c; in zipfileDequote()
10547 zIn[iOut] = '\0'; in zipfileDequote()
13135 static char *expertDequote(const char *zIn){ in expertDequote() argument
13136 int n = STRLEN(zIn); in expertDequote()
13139 assert( zIn[0]=='\'' ); in expertDequote()
13140 assert( zIn[n-1]=='\'' ); in expertDequote()
13146 if( zIn[iIn]=='\'' ){ in expertDequote()
13147 assert( zIn[iIn+1]=='\'' ); in expertDequote()
13150 zRet[iOut++] = zIn[iIn]; in expertDequote()
13545 static char *idxAppendText(int *pRc, char *zIn, const char *zFmt, ...){ in idxAppendText() argument
13549 int nIn = zIn ? STRLEN(zIn) : 0; in idxAppendText()
13559 if( nIn ) memcpy(zRet, zIn, nIn); in idxAppendText()
13567 sqlite3_free(zIn); in idxAppendText()
13601 char *zIn, /* Column defn accumulated so far */ in idxAppendColDefn() argument
13605 char *zRet = zIn; in idxAppendColDefn()
22395 unsigned char *zIn; in escapeOutput() local
22407 zIn = (unsigned char*)zInX; in escapeOutput()
22408 for(i=0; (c = zIn[i])!=0; i++){ in escapeOutput()
22412 && (c!='\r' || zIn[i+1]!='\n') in escapeOutput()
22424 for(i=j=0; (c = zIn[i])!=0; i++){ in escapeOutput()
22428 || (c=='\r' && zIn[i+1]=='\n') in escapeOutput()
22433 memcpy(&zOut[j], zIn, i); in escapeOutput()
22436 zIn += i+1; in escapeOutput()
22451 memcpy(&zOut[j], zIn, i); in escapeOutput()