Lines Matching refs:sqlite3_str_appendf
9029 SQLITE_API void sqlite3_str_appendf(sqlite3_str*, const char *zFormat, ...);
26145 sqlite3_str_appendf(&sRes, cf=='d' ? "%02d" : "%2d", x.D); in strftimeFunc()
26151 sqlite3_str_appendf(&sRes, "%06.3f", s); in strftimeFunc()
26155 sqlite3_str_appendf(&sRes, "%04d-%02d-%02d", x.Y, x.M, x.D); in strftimeFunc()
26167 sqlite3_str_appendf(&sRes, "%02d", y.Y%100); in strftimeFunc()
26169 sqlite3_str_appendf(&sRes, "%04d", y.Y); in strftimeFunc()
26175 sqlite3_str_appendf(&sRes, cf=='H' ? "%02d" : "%2d", x.h); in strftimeFunc()
26183 sqlite3_str_appendf(&sRes, cf=='I' ? "%02d" : "%2d", h); in strftimeFunc()
26187 sqlite3_str_appendf(&sRes,"%03d",daysAfterJan01(&x)+1); in strftimeFunc()
26191 sqlite3_str_appendf(&sRes,"%.16g",x.iJD/86400000.0); in strftimeFunc()
26195 sqlite3_str_appendf(&sRes,"%02d",x.M); in strftimeFunc()
26199 sqlite3_str_appendf(&sRes,"%02d",x.m); in strftimeFunc()
26212 sqlite3_str_appendf(&sRes, "%02d:%02d", x.h, x.m); in strftimeFunc()
26217 sqlite3_str_appendf(&sRes,"%.3f", in strftimeFunc()
26221 sqlite3_str_appendf(&sRes,"%lld",iS); in strftimeFunc()
26226 sqlite3_str_appendf(&sRes,"%02d",(int)x.s); in strftimeFunc()
26230 sqlite3_str_appendf(&sRes,"%02d:%02d:%02d", x.h, x.m, (int)x.s); in strftimeFunc()
26241 sqlite3_str_appendf(&sRes,"%02d", in strftimeFunc()
26252 sqlite3_str_appendf(&sRes,"%02d", daysAfterJan01(&y)/7+1); in strftimeFunc()
26256 sqlite3_str_appendf(&sRes,"%02d", in strftimeFunc()
26261 sqlite3_str_appendf(&sRes,"%04d",x.Y); in strftimeFunc()
26409 sqlite3_str_appendf(&sRes, "%c%04d-%02d-%02d %02d:%02d:%06.3f", in timediffFunc()
32559 sqlite3_str_appendf(pAccum, "(join-%u)", pSel->selId); in sqlite3_str_vappendf()
32562 sqlite3_str_appendf(pAccum, "%u-ROW VALUES CLAUSE", in sqlite3_str_vappendf()
32565 sqlite3_str_appendf(pAccum, "(subquery-%u)", pSel->selId); in sqlite3_str_vappendf()
33076 SQLITE_API void sqlite3_str_appendf(StrAccum *p, const char *zFormat, ...){ in sqlite3_str_appendf() function
33308 sqlite3_str_appendf(&x, "%s", pCte->zName); in sqlite3TreeViewWith()
33313 sqlite3_str_appendf(&x, "%c%s", cSep, pCte->pCols->a[j].zEName); in sqlite3TreeViewWith()
33316 sqlite3_str_appendf(&x, ")"); in sqlite3TreeViewWith()
33319 sqlite3_str_appendf(&x, " %sMATERIALIZED", in sqlite3TreeViewWith()
33323 sqlite3_str_appendf(&x, " (pUse=0x%p, nUse=%d)", pCte->pUse, in sqlite3TreeViewWith()
33348 sqlite3_str_appendf(&x, "{%d:*} %!S", pItem->iCursor, pItem); in sqlite3TreeViewSrcList()
33350 sqlite3_str_appendf(&x, " tab=%Q nCol=%d ptr=%p used=%llx%s", in sqlite3TreeViewSrcList()
33356 sqlite3_str_appendf(&x, " FULL-OUTER-JOIN"); in sqlite3TreeViewSrcList()
33358 sqlite3_str_appendf(&x, " LEFT-JOIN"); in sqlite3TreeViewSrcList()
33360 sqlite3_str_appendf(&x, " RIGHT-JOIN"); in sqlite3TreeViewSrcList()
33362 sqlite3_str_appendf(&x, " CROSS-JOIN"); in sqlite3TreeViewSrcList()
33365 sqlite3_str_appendf(&x, " LTORJ"); in sqlite3TreeViewSrcList()
33368 sqlite3_str_appendf(&x, " DDL"); in sqlite3TreeViewSrcList()
33372 sqlite3_str_appendf(&x, " CteUse=%d%s", in sqlite3TreeViewSrcList()
33377 sqlite3_str_appendf(&x, " isOn"); in sqlite3TreeViewSrcList()
33379 if( pItem->fg.isTabFunc ) sqlite3_str_appendf(&x, " isTabFunc"); in sqlite3TreeViewSrcList()
33380 if( pItem->fg.isCorrelated ) sqlite3_str_appendf(&x, " isCorrelated"); in sqlite3TreeViewSrcList()
33381 if( pItem->fg.isMaterialized ) sqlite3_str_appendf(&x, " isMaterialized"); in sqlite3TreeViewSrcList()
33382 if( pItem->fg.viaCoroutine ) sqlite3_str_appendf(&x, " viaCoroutine"); in sqlite3TreeViewSrcList()
33383 if( pItem->fg.notCte ) sqlite3_str_appendf(&x, " notCte"); in sqlite3TreeViewSrcList()
33384 if( pItem->fg.isNestedFrom ) sqlite3_str_appendf(&x, " isNestedFrom"); in sqlite3TreeViewSrcList()
33385 if( pItem->fg.fixedSchema ) sqlite3_str_appendf(&x, " fixedSchema"); in sqlite3TreeViewSrcList()
33386 if( pItem->fg.hadSchema ) sqlite3_str_appendf(&x, " hadSchema"); in sqlite3TreeViewSrcList()
33387 if( pItem->fg.isSubquery ) sqlite3_str_appendf(&x, " isSubquery"); in sqlite3TreeViewSrcList()
33663 sqlite3_str_appendf(&x, " fg.af=%x.%c", in sqlite3TreeViewExpr()
33666 sqlite3_str_appendf(&x, " outer.iJoin=%d", pExpr->w.iJoin); in sqlite3TreeViewExpr()
33669 sqlite3_str_appendf(&x, " inner.iJoin=%d", pExpr->w.iJoin); in sqlite3TreeViewExpr()
33672 sqlite3_str_appendf(&x, " DDL"); in sqlite3TreeViewExpr()
33675 sqlite3_str_appendf(&x, " IMMUTABLE"); in sqlite3TreeViewExpr()
33678 sqlite3_str_appendf(&x, " agg-column[%d]", pExpr->iAgg); in sqlite3TreeViewExpr()
33909 sqlite3_str_appendf(pStr, "IN flags=0x%x", pExpr->flags); in sqlite3TreeViewExpr()
33910 if( pExpr->iTable ) sqlite3_str_appendf(pStr, " iTable=%d",pExpr->iTable); in sqlite3TreeViewExpr()
33912 sqlite3_str_appendf(pStr, " subrtn(%d,%d)", in sqlite3TreeViewExpr()
82112 sqlite3_str_appendf(&pCheck->errMsg, pCheck->zPfx,
83959 sqlite3_str_appendf(&acc, "%!.15g",
86939 sqlite3_str_appendf(pErr,
87680 sqlite3_str_appendf(&x, "%d", v1);
87682 sqlite3_str_appendf(&x, "%d..%d", v1, v1+v2-1);
87687 sqlite3_str_appendf(&x, "%d", v1);
87689 sqlite3_str_appendf(&x, "%d..%d", v1, v1+pCtx->argc-1);
87697 sqlite3_str_appendf(&x, "%d", v1);
87708 sqlite3_str_appendf(&x, "; %s", pOp->zComment);
87730 sqlite3_str_appendf(p, "%Q", pExpr->u.zToken);
87733 sqlite3_str_appendf(p, "%d", pExpr->u.iValue);
87736 sqlite3_str_appendf(p, "NULL");
87739 sqlite3_str_appendf(p, "r[%d]", pExpr->iTable);
87744 sqlite3_str_appendf(p, "rowid");
87746 sqlite3_str_appendf(p, "c%d", (int)pExpr->iColumn);
87778 sqlite3_str_appendf(p, "%s", "expr");
87783 sqlite3_str_appendf(p, "%s(", zOp);
87810 sqlite3_str_appendf(&x, "k(%d", pKeyInfo->nKeyField);
87815 sqlite3_str_appendf(&x, ",%s%s%s",
87833 sqlite3_str_appendf(&x, "%.18s-%s", pColl->zName,
87839 sqlite3_str_appendf(&x, "%s(%d)", pDef->zName, pDef->nArg);
87844 sqlite3_str_appendf(&x, "%s(%d)", pDef->zName, pDef->nArg);
87848 sqlite3_str_appendf(&x, "%lld", *pOp->p4.pI64);
87852 sqlite3_str_appendf(&x, "%d", pOp->p4.i);
87856 sqlite3_str_appendf(&x, "%.16g", *pOp->p4.pReal);
87864 sqlite3_str_appendf(&x, "%lld", pMem->u.i);
87866 sqlite3_str_appendf(&x, "%.16g", pMem->u.r);
87878 sqlite3_str_appendf(&x, "vtab:%p", pVtab);
87888 sqlite3_str_appendf(&x, "%c%u", (i==1 ? '[' : ','), ai[i]);
87903 sqlite3_str_appendf(&x, "subrtnsig:%d,%s", pSig->selId, pSig->zAff);
94188 sqlite3_str_appendf(&out, "%lld", pVar->u.i);
94190 sqlite3_str_appendf(&out, "%!.15g", pVar->u.r);
94213 sqlite3_str_appendf(&out, "'%.*q'", nOut, pVar->z);
94216 sqlite3_str_appendf(&out, "/*+%d bytes*/", pVar->n-nOut);
94223 sqlite3_str_appendf(&out, "zeroblob(%d)", pVar->u.nZero);
94233 sqlite3_str_appendf(&out, "%02x", pVar->z[i]&0xff);
94238 sqlite3_str_appendf(&out, "/*+%d bytes*/", pVar->n-nOut);
94875 sqlite3_str_appendf(pStr, "%cx[", c);
94877 sqlite3_str_appendf(pStr, "%02X", ((int)pMem->z[i] & 0xFF));
94879 sqlite3_str_appendf(pStr, "|");
94884 sqlite3_str_appendf(pStr,"]");
94886 sqlite3_str_appendf(pStr, "+%dz",pMem->u.nZero);
94903 sqlite3_str_appendf(pStr, " %c%d[", c, pMem->n);
94908 sqlite3_str_appendf(pStr, "]%s", encnames[pMem->enc]);
94910 sqlite3_str_appendf(pStr, "(0-term)");
120968 sqlite3_str_appendf(&sStat, "%llu",
120974 sqlite3_str_appendf(&sStat, " %llu", iVal);
121013 sqlite3_str_appendf(&sStat, "%llu ", (u64)aCnt[i]);
128461 sqlite3_str_appendf(&errMsg, "index '%q'", pIdx->zName);
130707 sqlite3_str_appendf(&str, zFormat, &x);
131483 sqlite3_str_appendf(pStr, "%!0.15g", r1);
131489 sqlite3_str_appendf(pStr, "%!0.20e", r1);
131495 sqlite3_str_appendf(pStr, "%lld", sqlite3_value_int64(pValue));
131520 sqlite3_str_appendf(pStr, bEscape ? "%#Q" : "%Q", zArg);
133100 sqlite3_str_appendf(pResult, "rc=%d", rc);
133101 sqlite3_str_appendf(pResult, ", flags=0x%x", flgs);
133102 sqlite3_str_appendf(pResult, ", vfs=%Q", pVfs ? pVfs->zName: 0);
133103 sqlite3_str_appendf(pResult, ", err=%Q", zErr);
133104 sqlite3_str_appendf(pResult, ", file=%Q", zFile);
133109 sqlite3_str_appendf(pResult, ", %Q", z);
133116 sqlite3_str_appendf(pResult, ", '%d:%q'",k,sqlite3_uri_key(zFile, k));
133118 sqlite3_str_appendf(pResult, ", '%q:%q'",
133121 sqlite3_str_appendf(pResult, ", NULL");
139018 #define sqlite3_str_appendf sqlite3_api->str_appendf
139523 sqlite3_str_appendf,
143473 sqlite3_str_appendf(&acc, "%c\"%s\"", cSep, pragCName[j]);
143477 sqlite3_str_appendf(&acc, "(\"%s\"", pPragma->zName);
143645 sqlite3_str_appendf(&acc, "%Q.", pCsr->azArg[1]);
143649 sqlite3_str_appendf(&acc, "=%Q", pCsr->azArg[0]);
159699 sqlite3_str_appendf(pStr, i>=nSkip ? "%s=?" : "ANY(%s)", z);
159753 sqlite3_str_appendf(&str, "%s %S", isSearch ? "SEARCH" : "SCAN", pItem);
159776 sqlite3_str_appendf(&str, zFmt, pIdx->zName);
159788 sqlite3_str_appendf(&str, " USING INTEGER PRIMARY KEY (%s", zRowid);
159792 sqlite3_str_appendf(&str, ">? AND %s", zRowid);
159800 sqlite3_str_appendf(&str, "%c?)", cRangeOp);
159805 sqlite3_str_appendf(&str,
159811 sqlite3_str_appendf(&str, " LEFT-JOIN");
159815 sqlite3_str_appendf(&str, " (~%llu rows)",
159896 sqlite3_str_appendf(&str, "BLOOM FILTER ON %S (", pItem);
159901 sqlite3_str_appendf(&str, "%s=?", pTab->aCol[pTab->iPKey].zCnName);
159903 sqlite3_str_appendf(&str, "rowid=?");
159909 sqlite3_str_appendf(&str, "%s=?", z);
165423 sqlite3_str_appendf(pStr,"CREATE AUTOMATIC INDEX ON %s(", pTab->zName);
165431 sqlite3_str_appendf(pStr, "%s%s", zSep, zName);
182216 sqlite3_str_appendf(pStr, "\"%w\"", zId);
211570 sqlite3_str_appendf(pOut, "%5d:%*s", iStart, nIndent, "");
211580 sqlite3_str_appendf(pOut, " %02x", pParse->aBlob[iStart+i]);
211583 sqlite3_str_appendf(pOut, " ERROR invalid node size\n");
211612 sqlite3_str_appendf(pOut,"array, %u bytes\n", sz);
211618 sqlite3_str_appendf(pOut, "object, %u bytes\n", sz);
216881 sqlite3_str_appendf(p,
216885 sqlite3_str_appendf(p,",a%d",ii);
216887 sqlite3_str_appendf(p,
216890 sqlite3_str_appendf(p,
216893 sqlite3_str_appendf(p,
216946 sqlite3_str_appendf(p, "UPDATE \"%w\".\"%w_rowid\"SET ", zDb, zPrefix);
216951 sqlite3_str_appendf(p,"a%d=coalesce(?%d,a%d)",ii,ii+2,ii);
216955 sqlite3_str_appendf(p,"a%d=?%d",ii,ii+2);
216958 sqlite3_str_appendf(p, " WHERE rowid=?1");
217127 sqlite3_str_appendf(pSql, "CREATE TABLE x(%.*s INT",
217133 sqlite3_str_appendf(pSql, ",%.*s", rtreeTokenLength(zArg+1), zArg+1);
217139 sqlite3_str_appendf(pSql, azFormat[eCoordType],
217143 sqlite3_str_appendf(pSql, ");");
217236 sqlite3_str_appendf(pOut, "{%lld", cell.iRowid);
217239 sqlite3_str_appendf(pOut, " %g", (double)cell.aCoord[jj].f);
217241 sqlite3_str_appendf(pOut, " %d", cell.aCoord[jj].i);
218149 sqlite3_str_appendf(x, "[%!g,%!g],", GeoX(p,i), GeoY(p,i));
218151 sqlite3_str_appendf(x, "[%!g,%!g]]", GeoX(p,0), GeoY(p,0));
218176 sqlite3_str_appendf(x, "<polyline points=");
218178 sqlite3_str_appendf(x, "%c%g,%g", cSep, GeoX(p,i), GeoY(p,i));
218181 sqlite3_str_appendf(x, " %g,%g'", GeoX(p,0), GeoY(p,0));
218185 sqlite3_str_appendf(x, " %s", z);
218188 sqlite3_str_appendf(x, "></polyline>");
219041 sqlite3_str_appendf(pSql, "CREATE TABLE x(_shape");
219046 sqlite3_str_appendf(pSql, ",%s", argv[ii]);
219048 sqlite3_str_appendf(pSql, ");");
220291 sqlite3_str_appendf(pStr,
220295 sqlite3_str_appendf(pStr, " %s", aStrength[i].zName);
227499 sqlite3_str_appendf(pSql,
227507 sqlite3_str_appendf(pSql, "WHERE name=%Q", zName);
227510 sqlite3_str_appendf(pSql, " ORDER BY name");