Lines Matching refs:nOut
136 int nOut; /* Number of bytes of the string text to include in output */ in sqlite3VdbeExpandSql() local
150 nOut = pVar->n; in sqlite3VdbeExpandSql()
152 if( nOut>SQLITE_TRACE_SIZE_LIMIT ){ in sqlite3VdbeExpandSql()
153 nOut = SQLITE_TRACE_SIZE_LIMIT; in sqlite3VdbeExpandSql()
154 while( nOut<pVar->n && (pVar->z[nOut]&0xc0)==0x80 ){ nOut++; } in sqlite3VdbeExpandSql()
157 sqlite3_str_appendf(&out, "'%.*q'", nOut, pVar->z); in sqlite3VdbeExpandSql()
159 if( nOut<pVar->n ){ in sqlite3VdbeExpandSql()
160 sqlite3_str_appendf(&out, "/*+%d bytes*/", pVar->n-nOut); in sqlite3VdbeExpandSql()
169 int nOut; /* Number of bytes of the blob to include in output */ in sqlite3VdbeExpandSql() local
172 nOut = pVar->n; in sqlite3VdbeExpandSql()
174 if( nOut>SQLITE_TRACE_SIZE_LIMIT ) nOut = SQLITE_TRACE_SIZE_LIMIT; in sqlite3VdbeExpandSql()
176 for(i=0; i<nOut; i++){ in sqlite3VdbeExpandSql()
181 if( nOut<pVar->n ){ in sqlite3VdbeExpandSql()
182 sqlite3_str_appendf(&out, "/*+%d bytes*/", pVar->n-nOut); in sqlite3VdbeExpandSql()