| /sqlite-3.40.0/ext/misc/ |
| H A D | qpvtab.c | 296 sqlite3_str_appendf(pStr, "NULL"); in qpvtabStrAppendValue() 299 sqlite3_str_appendf(pStr, "%lld", sqlite3_value_int64(pVal)); in qpvtabStrAppendValue() 302 sqlite3_str_appendf(pStr, "%!f", sqlite3_value_double(pVal)); in qpvtabStrAppendValue() 324 sqlite3_str_appendf(pStr, "%02x", a[i]); in qpvtabStrAppendValue() 364 sqlite3_str_appendf(pStr,"aConstraint,%d,%s,%d,%d,", in qpvtabBestIndex() 392 sqlite3_str_appendf(pStr, "nOrderBy,%d,,,,\n", pIdxInfo->nOrderBy); in qpvtabBestIndex() 395 sqlite3_str_appendf(pStr, "aOrderBy,%d,%s,%d,,\n",i, in qpvtabBestIndex() 400 sqlite3_str_appendf(pStr, "sqlite3_vtab_distinct,%d,,,,\n", in qpvtabBestIndex() 402 sqlite3_str_appendf(pStr, "idxFlags,%d,,,,\n", pIdxInfo->idxFlags); in qpvtabBestIndex() 406 sqlite3_str_appendf(pStr, "idxNum,%d,,,,\n", pIdxInfo->idxNum); in qpvtabBestIndex() [all …]
|
| H A D | csv.c | 572 sqlite3_str_appendf(pStr, "CREATE TABLE x("); in csvtabConnect() 582 sqlite3_str_appendf(pStr, "%sc%d TEXT", zSep, iCol); in csvtabConnect() 589 sqlite3_str_appendf(pStr,"%s\"%w\" TEXT", zSep, z); in csvtabConnect() 598 sqlite3_str_appendf(pStr,"%sc%d TEXT", zSep, ++iCol); in csvtabConnect() 604 sqlite3_str_appendf(pStr, ")"); in csvtabConnect()
|
| H A D | regexp.c | 822 sqlite3_str_appendf(pStr, "INIT "); in re_bytecode_func() 824 sqlite3_str_appendf(pStr, "%02x", pRe->zInit[i]); in re_bytecode_func() 826 sqlite3_str_appendf(pStr, "\n"); in re_bytecode_func() 829 sqlite3_str_appendf(pStr, "%-8s %4d\n", in re_bytecode_func()
|
| /sqlite-3.40.0/src/ |
| H A D | vdbetrace.c | 132 sqlite3_str_appendf(&out, "%lld", pVar->u.i); in sqlite3VdbeExpandSql() 134 sqlite3_str_appendf(&out, "%!.15g", pVar->u.r); in sqlite3VdbeExpandSql() 157 sqlite3_str_appendf(&out, "'%.*q'", nOut, pVar->z); in sqlite3VdbeExpandSql() 160 sqlite3_str_appendf(&out, "/*+%d bytes*/", pVar->n-nOut); in sqlite3VdbeExpandSql() 167 sqlite3_str_appendf(&out, "zeroblob(%d)", pVar->u.nZero); in sqlite3VdbeExpandSql() 177 sqlite3_str_appendf(&out, "%02x", pVar->z[i]&0xff); in sqlite3VdbeExpandSql() 182 sqlite3_str_appendf(&out, "/*+%d bytes*/", pVar->n-nOut); in sqlite3VdbeExpandSql()
|
| H A D | treeview.c | 155 sqlite3_str_appendf(&x, "%s", pCte->zName); in sqlite3TreeViewWith() 163 sqlite3_str_appendf(&x, ")"); in sqlite3TreeViewWith() 203 sqlite3_str_appendf(&x, " LEFT-JOIN"); in sqlite3TreeViewSrcList() 205 sqlite3_str_appendf(&x, " RIGHT-JOIN"); in sqlite3TreeViewSrcList() 207 sqlite3_str_appendf(&x, " CROSS-JOIN"); in sqlite3TreeViewSrcList() 210 sqlite3_str_appendf(&x, " LTORJ"); in sqlite3TreeViewSrcList() 213 sqlite3_str_appendf(&x, " DDL"); in sqlite3TreeViewSrcList() 219 sqlite3_str_appendf(&x, " ON"); in sqlite3TreeViewSrcList() 493 sqlite3_str_appendf(&x, " fg.af=%x.%c", in sqlite3TreeViewExpr() 502 sqlite3_str_appendf(&x, " DDL"); in sqlite3TreeViewExpr() [all …]
|
| H A D | date.c | 1170 sqlite3_str_appendf(&sRes, "%02d", x.D); in strftimeFunc() 1176 sqlite3_str_appendf(&sRes, "%06.3f", s); in strftimeFunc() 1180 sqlite3_str_appendf(&sRes, "%02d", x.h); in strftimeFunc() 1195 sqlite3_str_appendf(&sRes,"%02d",(nDay+7-wd)/7); in strftimeFunc() 1197 sqlite3_str_appendf(&sRes,"%03d",nDay+1); in strftimeFunc() 1202 sqlite3_str_appendf(&sRes,"%.16g",x.iJD/86400000.0); in strftimeFunc() 1206 sqlite3_str_appendf(&sRes,"%02d",x.M); in strftimeFunc() 1210 sqlite3_str_appendf(&sRes,"%02d",x.m); in strftimeFunc() 1215 sqlite3_str_appendf(&sRes,"%lld",iS); in strftimeFunc() 1219 sqlite3_str_appendf(&sRes,"%02d",(int)x.s); in strftimeFunc() [all …]
|
| H A D | vdbeaux.c | 963 sqlite3_str_appendf(pErr, in sqlite3VdbeNoJumpsOutsideSubrtn() 1629 sqlite3_str_appendf(&x, "%d", v1); in sqlite3VdbeDisplayComment() 1636 sqlite3_str_appendf(&x, "%d", v1); in sqlite3VdbeDisplayComment() 1646 sqlite3_str_appendf(&x, "%d", v1); in sqlite3VdbeDisplayComment() 1685 sqlite3_str_appendf(p, "NULL"); in displayP4Expr() 1693 sqlite3_str_appendf(p, "rowid"); in displayP4Expr() 1727 sqlite3_str_appendf(p, "%s", "expr"); in displayP4Expr() 1732 sqlite3_str_appendf(p, "%s(", zOp); in displayP4Expr() 1764 sqlite3_str_appendf(&x, ",%s%s%s", in sqlite3VdbeDisplayP4() 1801 sqlite3_str_appendf(&x, "%d", pOp->p4.i); in sqlite3VdbeDisplayP4() [all …]
|
| H A D | wherecode.c | 98 sqlite3_str_appendf(pStr, i>=nSkip ? "%s=?" : "ANY(%s)", z); in explainIndexRange() 175 sqlite3_str_appendf(&str, zFmt, pIdx->zName); in sqlite3WhereExplainOneScan() 191 sqlite3_str_appendf(&str, ">? AND %s", zRowid); in sqlite3WhereExplainOneScan() 199 sqlite3_str_appendf(&str, "%c?)", cRangeOp); in sqlite3WhereExplainOneScan() 203 sqlite3_str_appendf(&str, " VIRTUAL TABLE INDEX %d:%s", in sqlite3WhereExplainOneScan() 208 sqlite3_str_appendf(&str, " LEFT-JOIN"); in sqlite3WhereExplainOneScan() 212 sqlite3_str_appendf(&str, " (~%llu rows)", in sqlite3WhereExplainOneScan() 253 sqlite3_str_appendf(&str, "BLOOM FILTER ON %S (", pItem); in sqlite3WhereExplainBloomFilter() 258 sqlite3_str_appendf(&str, "%s=?", pTab->aCol[pTab->iPKey].zCnName); in sqlite3WhereExplainBloomFilter() 260 sqlite3_str_appendf(&str, "rowid=?"); in sqlite3WhereExplainBloomFilter() [all …]
|
| H A D | dbstat.c | 771 sqlite3_str_appendf(pSql, in statFilter() 779 sqlite3_str_appendf(pSql, "WHERE name=%Q", zName); in statFilter() 782 sqlite3_str_appendf(pSql, " ORDER BY name"); in statFilter()
|
| H A D | func.c | 292 sqlite3_str_appendf(&str, zFormat, &x); in printfFunc() 1068 sqlite3_str_appendf(pStr, "%!.15g", r1); in sqlite3QuoteValue() 1074 sqlite3_str_appendf(pStr, "%!.20e", r1); in sqlite3QuoteValue() 1080 sqlite3_str_appendf(pStr, "%lld", sqlite3_value_int64(pValue)); in sqlite3QuoteValue() 1105 sqlite3_str_appendf(pStr, "%Q", zArg); in sqlite3QuoteValue()
|
| H A D | printf.c | 891 sqlite3_str_appendf(pAccum, "(join-%u)", pSel->selId); in sqlite3_str_vappendf() 893 sqlite3_str_appendf(pAccum, "(subquery-%u)", pSel->selId); in sqlite3_str_vappendf() 1384 void sqlite3_str_appendf(StrAccum *p, const char *zFormat, ...){ in sqlite3_str_appendf() function
|
| H A D | pragma.c | 2579 sqlite3_str_appendf(&acc, "%c\"%s\"", cSep, pragCName[j]); in pragmaVtabConnect() 2583 sqlite3_str_appendf(&acc, "(\"%s\"", pPragma->zName); in pragmaVtabConnect() 2749 sqlite3_str_appendf(&acc, "%Q.", pCsr->azArg[1]); in pragmaVtabFilter() 2753 sqlite3_str_appendf(&acc, "=%Q", pCsr->azArg[0]); in pragmaVtabFilter()
|
| H A D | analyze.c | 863 sqlite3_str_appendf(&sStat, "%llu", in statGet() 869 sqlite3_str_appendf(&sStat, " %llu", iVal); in statGet() 906 sqlite3_str_appendf(&sStat, "%llu ", (u64)aCnt[i]); in statGet()
|
| H A D | loadext.c | 445 sqlite3_str_appendf,
|
| H A D | tokenize.c | 821 sqlite3_str_appendf(pStr, "\"%w\"", zId);
|
| H A D | vdbe.c | 518 sqlite3_str_appendf(pStr, "%cx[", c); in sqlite3VdbeMemPrettyPrint() 520 sqlite3_str_appendf(pStr, "%02X", ((int)pMem->z[i] & 0xFF)); in sqlite3VdbeMemPrettyPrint() 522 sqlite3_str_appendf(pStr, "|"); in sqlite3VdbeMemPrettyPrint() 527 sqlite3_str_appendf(pStr,"]"); in sqlite3VdbeMemPrettyPrint() 529 sqlite3_str_appendf(pStr, "+%dz",pMem->u.nZero); in sqlite3VdbeMemPrettyPrint() 546 sqlite3_str_appendf(pStr, " %c%d[", c, pMem->n); in sqlite3VdbeMemPrettyPrint() 551 sqlite3_str_appendf(pStr, "]%s", encnames[pMem->enc]); in sqlite3VdbeMemPrettyPrint()
|
| H A D | sqlite3ext.h | 638 #define sqlite3_str_appendf sqlite3_api->str_appendf macro
|
| H A D | vdbemem.c | 123 sqlite3_str_appendf(&acc, "%!.15g", in vdbeMemRenderNum()
|
| H A D | build.c | 5349 sqlite3_str_appendf(&errMsg, "index '%q'", pIdx->zName); in sqlite3UniqueConstraint()
|
| H A D | shell.c.in | 2746 sqlite3_str_appendf(pStr, "%s, %s", zPhase, sqlite3_errmsg(db)); 2748 sqlite3_str_appendf(pStr, " (%d)", rc); 3407 sqlite3_str_appendf(pStr, "%02x", a[j]);
|
| /sqlite-3.40.0/test/ |
| H A D | atrc.c | 51 sqlite3_str_appendf(pConvert, in rename_all_columns_of_table() 56 sqlite3_str_appendf(pUndo, in rename_all_columns_of_table() 91 sqlite3_str_appendf(pUndo, in rename_all_tables() 97 sqlite3_str_appendf(pConvert, in rename_all_tables()
|
| H A D | fuzzinvariants.c | 264 sqlite3_str_appendf(pTest, "SELECT %s* FROM (", in fuzz_invariant_sql() 288 sqlite3_str_appendf(pTest, " %s \"%w\" ISNULL", zAnd, zColName); in fuzz_invariant_sql() 290 sqlite3_str_appendf(pTest, " %s \"%w\"=?%d", zAnd, zColName, in fuzz_invariant_sql() 297 sqlite3_str_appendf(pTest, " ORDER BY %d", iCnt>2 ? iCnt-1 : 1); in fuzz_invariant_sql()
|
| H A D | vt02.c | 602 sqlite3_str_appendf(pStr, in sqlite3BestIndexLog() 614 sqlite3_str_appendf(pStr,",1,?1"); in sqlite3BestIndexLog() 616 sqlite3_str_appendf(pStr,",0,NULL"); in sqlite3BestIndexLog() 618 sqlite3_str_appendf(pStr,",%Q,%d)", in sqlite3BestIndexLog()
|
| /sqlite-3.40.0/ext/rtree/ |
| H A D | geopoly.c | 390 sqlite3_str_appendf(x, "[%!g,%!g],", GeoX(p,i), GeoY(p,i)); in geopolyJsonFunc() 392 sqlite3_str_appendf(x, "[%!g,%!g]]", GeoX(p,0), GeoY(p,0)); in geopolyJsonFunc() 417 sqlite3_str_appendf(x, "<polyline points="); in geopolySvgFunc() 419 sqlite3_str_appendf(x, "%c%g,%g", cSep, GeoX(p,i), GeoY(p,i)); in geopolySvgFunc() 422 sqlite3_str_appendf(x, " %g,%g'", GeoX(p,0), GeoY(p,0)); in geopolySvgFunc() 426 sqlite3_str_appendf(x, " %s", z); in geopolySvgFunc() 429 sqlite3_str_appendf(x, "></polyline>"); in geopolySvgFunc() 1263 sqlite3_str_appendf(pSql, "CREATE TABLE x(_shape"); in geopolyInit() 1268 sqlite3_str_appendf(pSql, ",%s", argv[ii]); in geopolyInit() 1270 sqlite3_str_appendf(pSql, ");"); in geopolyInit()
|
| H A D | rtree.c | 3542 sqlite3_str_appendf(p, in rtreeSqlInit() 3546 sqlite3_str_appendf(p,",a%d",ii); in rtreeSqlInit() 3548 sqlite3_str_appendf(p, in rtreeSqlInit() 3551 sqlite3_str_appendf(p, in rtreeSqlInit() 3554 sqlite3_str_appendf(p, in rtreeSqlInit() 3616 sqlite3_str_appendf(p,"a%d=?%d",ii,ii+2); in rtreeSqlInit() 3619 sqlite3_str_appendf(p, " WHERE rowid=?1"); in rtreeSqlInit() 3783 sqlite3_str_appendf(pSql, "CREATE TABLE x(%.*s INT", in rtreeInit() 3795 sqlite3_str_appendf(pSql, azFormat[eCoordType], in rtreeInit() 3799 sqlite3_str_appendf(pSql, ");"); in rtreeInit() [all …]
|