• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/sqlite3/

Lines Matching defs:sqlite3_mprintf

2032 ** of the char** argument point to a string obtained from [sqlite3_mprintf()]
3852 ** ^The sqlite3_mprintf() and sqlite3_vmprintf() routines write their
3882 SQLITE_API char *sqlite3_mprintf(const char*,...);
7110 ** sqlite3_temp_directory = sqlite3_mprintf("%s", zPathBuf);
7769 ** point to an appropriate error message (obtained from [sqlite3_mprintf()])
8118 ** string obtained from [sqlite3_mprintf()] to zErrMsg. The method should
8127 char *zErrMsg; /* Error message from sqlite3_mprintf() */
29196 /* Special optimization for sqlite3_mprintf("%z..."):
29622 SQLITE_API char *sqlite3_mprintf(const char *zFormat, ...){
30448 char *z = sqlite3_mprintf("VECTOR%s",zFlgs);
37865 *(char**)pArg = sqlite3_mprintf("%s", pFile->pVfs->zName);
40057 zPath = sqlite3_mprintf("%s", zName);
44045 zCopy = sqlite3_mprintf("%s", zValue);
45667 *(char**)pArg = sqlite3_mprintf("%s", pFile->pVfs->zName);
48530 *(char**)pArg = sqlite3_mprintf("memdb(%p,%lld)", p->aData, p->sz);
48776 zSql = sqlite3_mprintf("PRAGMA \"%w\".page_count", zSchema);
48843 zSql = sqlite3_mprintf("ATTACH x AS %Q", zSchema);
65095 zMsg = sqlite3_mprintf("database corruption page %d of %s",
83511 zMsg = sqlite3_mprintf("non-deterministic use of %s() in %s",
97852 pVTab->base.zErrMsg = sqlite3_mprintf(
107756 zErr = sqlite3_mprintf("error in %s %s%s%s: %s",
111429 char *z = sqlite3_mprintf("%s.%s", zTab, zCol);
111430 if( db->nDb>2 || iDb!=0 ) z = sqlite3_mprintf("%s.%z", zDb, z);
118839 zBuf = sqlite3_mprintf("%.*f",n,r);
125830 #define sqlite3_mprintf sqlite3_api->mprintf
126248 sqlite3_mprintf,
126582 *pzErrMsg = sqlite3_mprintf("not authorized");
126592 char *zAltFile = sqlite3_mprintf("%s.%s", zFile, azEndings[ii]);
126662 *pzErrMsg = sqlite3_mprintf("error during initialization: %s", zErrmsg);
128529 sqlite3_temp_directory = sqlite3_mprintf("%s", zRight);
128567 sqlite3_data_directory = sqlite3_mprintf("%s", zRight);
129904 *pzErr = sqlite3_mprintf("%s", sqlite3_errmsg(db));
130033 pCsr->azArg[j] = sqlite3_mprintf("%s", zText);
130053 pTab->base.zErrMsg = sqlite3_mprintf("%s", sqlite3_errmsg(pTab->db));
138391 z = sqlite3_mprintf("%s", colv[i]);
138397 p->zErrMsg = sqlite3_mprintf(
138475 *pzErrMsg = sqlite3_mprintf("%s",res.zErrMsg);
150167 z = sqlite3_mprintf("(%d,\"%s\",%#x)",
150170 z = sqlite3_mprintf("(%d,%x)", p->u.vtab.idxNum, p->u.vtab.omitMask);
166114 zErr = sqlite3_mprintf(
166149 zCopy = sqlite3_mprintf(zName);
166949 *pzErrMsg = sqlite3_mprintf("invalid uri authority: %.*s",
166994 *pzErrMsg = sqlite3_mprintf("unexpected %%00 in uri");
167081 *pzErrMsg = sqlite3_mprintf("no such %s mode: %s", zModeType, zVal);
167086 *pzErrMsg = sqlite3_mprintf("%s mode not allowed: %s",
167112 *pzErrMsg = sqlite3_mprintf("no such vfs: %s", zVfs);
170648 zCols = sqlite3_mprintf("%Q, ", p->azColumn[0]);
170650 zCols = sqlite3_mprintf("%z%Q, ", zCols, p->azColumn[i]);
170654 zSql = sqlite3_mprintf(
170701 zContentCols = sqlite3_mprintf("docid INTEGER PRIMARY KEY");
170704 zContentCols = sqlite3_mprintf("%z, 'c%d%q'", zContentCols, i, z);
170707 zContentCols = sqlite3_mprintf("%z, langid", zContentCols, zLanguageid);
170762 zSql = sqlite3_mprintf("PRAGMA %Q.page_size", p->zDb);
170804 zValue = sqlite3_mprintf("%s", &zCsr[1]);
170828 char *z2 = sqlite3_mprintf("%s%s", *pz, z);
171113 zSql = sqlite3_mprintf("SELECT * FROM %Q.%Q", zDb, zTbl);
171824 zSql = sqlite3_mprintf("SELECT %s WHERE rowid = ?", p->zReadExprlist);
173387 zSql = sqlite3_mprintf(
173393 zSql = sqlite3_mprintf("SELECT %s ORDER BY rowid %s",
173576 char *zTbl = sqlite3_mprintf("%s_stat", p->zName);
173692 char *zErr = sqlite3_mprintf("illegal first argument to %s", zFunc);
176523 pCsr->filter.zTerm = sqlite3_mprintf("%s", zStr);
176530 pCsr->zStop = sqlite3_mprintf("%s", sqlite3_value_text(apVal[iLe]));
177783 return sqlite3_mprintf("");
177789 zBuf = sqlite3_mprintf(
177792 zBuf = sqlite3_mprintf("%z %.*s%s", zBuf,
177801 zBuf = sqlite3_mprintf("%zNEAR/%d ", zBuf, pExpr->nNear);
177804 zBuf = sqlite3_mprintf("%zNOT ", zBuf);
177807 zBuf = sqlite3_mprintf("%zAND ", zBuf);
177810 zBuf = sqlite3_mprintf("%zOR ", zBuf);
177814 if( zBuf ) zBuf = sqlite3_mprintf("%z{", zBuf);
177816 if( zBuf ) zBuf = sqlite3_mprintf("%z} {", zBuf);
177819 if( zBuf ) zBuf = sqlite3_mprintf("%z}", zBuf);
179109 char *zErr = sqlite3_mprintf("unknown tokenizer: %s", zName);
179184 zCopy = sqlite3_mprintf("%s", zArg);
179309 char *zErr2 = sqlite3_mprintf("unknown tokenizer: %s", zName);
179496 zTest = sqlite3_mprintf("%s_test", zName);
179497 zTest2 = sqlite3_mprintf("%s_internal_test", zName);
180629 zSql = sqlite3_mprintf(azSql[eStmt], p->zDb, p->zName, p->zWriteExprlist);
180632 zSql = sqlite3_mprintf(azSql[eStmt], p->zReadExprlist);
180634 zSql = sqlite3_mprintf(azSql[eStmt], p->zDb, p->zName);
181438 p->zSegmentsTbl = sqlite3_mprintf("%s_segments", p->zName);
182204 char *zEnd = sqlite3_mprintf("%lld %lld", iEndBlock, nLeafData);
183783 char *zSql = sqlite3_mprintf("SELECT %s" , p->zReadExprlist);
185522 zSql = sqlite3_mprintf("SELECT %s" , p->zReadExprlist);
189854 return sqlite3_mprintf("JSON path error near '%q'", zErr);
189908 char *zMsg = sqlite3_mprintf("json_%s() needs an odd number of arguments",
190984 cur->pVtab->zErrMsg = sqlite3_mprintf("malformed JSON");
191920 char *zTab = sqlite3_mprintf("%s_node", pRtree->zName);
192238 char *zCreate = sqlite3_mprintf(
193237 if( iIdx>0 && 0==(pIdxInfo->idxStr = sqlite3_mprintf("%s", zIdxStr)) ){
194349 zSql = sqlite3_mprintf("SELECT * FROM %Q.%Q", pRtree->zDb, pRtree->zName);
194360 pRtree->base.zErrMsg = sqlite3_mprintf(
194366 pRtree->base.zErrMsg = sqlite3_mprintf(
194553 char *zSql = sqlite3_mprintf(
194612 zSql = sqlite3_mprintf(zFmt, pRtree->zDb, pRtree->zName);
194762 zSql = sqlite3_mprintf(zFormat, zDb, zPrefix);
194771 pRtree->zReadAuxSql = sqlite3_mprintf(
194850 zSql = sqlite3_mprintf("PRAGMA %Q.page_size", pRtree->zDb);
194858 *pzErr = sqlite3_mprintf("%s", sqlite3_errmsg(db));
194861 zSql = sqlite3_mprintf(
194867 *pzErr = sqlite3_mprintf("%s", sqlite3_errmsg(db));
194871 *pzErr = sqlite3_mprintf("undersize RTree blobs in \"%q_node\"",
194925 *pzErr = sqlite3_mprintf("%s", aErrMsg[2 + (argc>=6)]);
194974 *pzErr = sqlite3_mprintf("%s", aErrMsg[4]);
194977 *pzErr = sqlite3_mprintf("%s", sqlite3_errmsg(db));
194992 *pzErr = sqlite3_mprintf("%s", aErrMsg[iErr]);
195002 *pzErr = sqlite3_mprintf("%s", sqlite3_errmsg(db));
195173 pCheck->zReport = sqlite3_mprintf("%z%s%z",
196839 *pzErr = sqlite3_mprintf("%s", sqlite3_errmsg(db));
196850 *pzErr = sqlite3_mprintf("%s", sqlite3_errmsg(db));
197182 sqlite3_mprintf("_shape does not contain a valid polygon");
199717 *pzErrmsg = sqlite3_mprintf("%s", sqlite3_errmsg(db));
199734 *pzErrmsg = sqlite3_mprintf("%s", sqlite3_errmsg(sqlite3_db_handle(pStmt)));
199965 sqlite3_mprintf(
199987 ** This is a wrapper around "sqlite3_mprintf(zFmt, ...)". If an OOM occurs,
200011 ** Argument zFmt is a sqlite3_mprintf() style format string. The trailing
200122 p->zErrmsg = sqlite3_mprintf("%s", sqlite3_errmsg(db));
200185 sqlite3_mprintf(
200201 sqlite3_mprintf("PRAGMA index_list=%Q",zTab)
200209 sqlite3_mprintf(
200225 sqlite3_mprintf("PRAGMA table_info=%Q",zTab)
200256 sqlite3_mprintf("PRAGMA main.index_list = %Q", pIter->zTbl)
200270 sqlite3_mprintf("PRAGMA main.index_xinfo = %Q", zIdx)
200317 p->zErrmsg = sqlite3_mprintf("no such table: %s", pIter->zTbl);
200331 sqlite3_mprintf("SELECT * FROM '%q'", pIter->zDataTbl)
200356 p->zErrmsg = sqlite3_mprintf(
200367 sqlite3_mprintf("PRAGMA table_info(%Q)", pIter->zTbl)
200378 p->zErrmsg = sqlite3_mprintf("column missing from %q: %s",
200489 sqlite3_mprintf(
200505 sqlite3_mprintf(
200561 sqlite3_mprintf("PRAGMA main.index_xinfo = %Q", pIter->zIdx)
200604 sqlite3_mprintf("SELECT %s FROM \"rbu_imp_%w\" ORDER BY %s LIMIT 1",
200681 sqlite3_mprintf("PRAGMA main.index_xinfo = %Q", pIter->zIdx)
200694 zRet = sqlite3_mprintf("%z%s(%.*s) COLLATE %Q", zRet, zCom,
200717 zRet = sqlite3_mprintf("%z%s\"%w\" COLLATE %Q", zRet, zCom,zCol,zCollate);
200722 zImpPK = sqlite3_mprintf("%z%s\"rbu_imp_%d%w\"%s",
200726 zImpCols = sqlite3_mprintf("%z%s\"rbu_imp_%d%w\" %s COLLATE %Q",
200729 zWhere = sqlite3_mprintf(
200783 zList = sqlite3_mprintf("%z%s%s.\"%w\"", zList, zS, zObj, zCol);
200785 zList = sqlite3_mprintf("%z%sNULL", zList, zS);
200855 p->zErrmsg = sqlite3_mprintf("invalid rbu_control value");
200966 sqlite3_mprintf("PRAGMA main.index_list = %Q", pIter->zTbl)
200974 sqlite3_mprintf("PRAGMA main.index_xinfo = %Q", zIdx)
201040 sqlite3_mprintf("PRAGMA main.index_xinfo = %Q", zIdx)
201157 p->dbRbu, &pIter->pTmpInsert, &p->zErrmsg, sqlite3_mprintf(
201308 zLimit = sqlite3_mprintf(" LIMIT -1 OFFSET %d", nOffset);
201342 sqlite3_mprintf("INSERT INTO \"rbu_imp_%w\" VALUES(%s)", zTbl, zBind)
201350 sqlite3_mprintf("DELETE FROM \"rbu_imp_%w\" WHERE %s", zTbl, zWhere)
201367 zSql = sqlite3_mprintf(
201379 zSql = sqlite3_mprintf(
201385 zSql = sqlite3_mprintf(
201433 sqlite3_mprintf(
201445 sqlite3_mprintf(
201525 sqlite3_mprintf(
201614 zUpdate = sqlite3_mprintf("UPDATE \"%s%w\" SET %s WHERE %s",
201639 p->zErrmsg = sqlite3_mprintf("%s", sqlite3_errmsg(db));
201678 sqlite3_mprintf("SELECT k, v FROM %s.rbu_state", p->zStateDb)
201798 p->zErrmsg = sqlite3_mprintf("invalid state database");
201842 p->zErrmsg = sqlite3_mprintf("cannot vacuum wal mode database");
201854 zTarget = sqlite3_mprintf("file:%s-vactmp?rbu_memory=1%s%s",
201900 p->zErrmsg = sqlite3_mprintf("rbu vfs not found");
202167 zOal = sqlite3_mprintf("%s-oal", zMove);
202168 zWal = sqlite3_mprintf("%s-wal", zMove);
202340 p->zErrmsg = sqlite3_mprintf("datatype mismatch");
202492 sqlite3_mprintf(
202549 sqlite3_mprintf("PRAGMA main.%s", zPragma)
202778 p->zErrmsg = sqlite3_mprintf("rbu_state mismatch error");
202857 sqlite3_mprintf("SELECT count(*) FROM sqlite_schema "
203003 p->zErrmsg = sqlite3_mprintf("cannot update wal mode database");
203021 p->zErrmsg = sqlite3_mprintf("database modified during rbu %s",
203761 pRbu->zErrmsg = sqlite3_mprintf("rbu/zipvfs setup error");
203783 char *zOut = sqlite3_mprintf("rbu(%s)/%z", pRbuVfs->base.zName, zIn);
204462 *pzErr = sqlite3_mprintf("no such database: %s", argv[3]);
204847 pCsr->aPage[0].zPath = z = sqlite3_mprintf("/");
204882 pCsr->zPath = z = sqlite3_mprintf(
204919 p[1].zPath = z = sqlite3_mprintf("%s%.3x/", p->zPath, p->iCell);
204956 pCsr->zPath = z = sqlite3_mprintf("%s", p->zPath);
205516 pVtab->zErrMsg = sqlite3_mprintf("%s", zErr);
206590 zPragma = sqlite3_mprintf(
206596 zPragma = sqlite3_mprintf("");
206601 zPragma = sqlite3_mprintf("PRAGMA '%q'.table_info('%q')", zDb, zThis);
207050 zRet = sqlite3_mprintf("%z%s\"%w\".\"%w\".\"%w\"=\"%w\".\"%w\".\"%w\"",
207075 zRet = sqlite3_mprintf(
207086 zRet = sqlite3_mprintf("0");
207099 char *zRet = sqlite3_mprintf(
207153 char *zStmt = sqlite3_mprintf(
207230 *pzErrMsg = sqlite3_mprintf("table schemas do not match");
207828 zSql = sqlite3_mprintf(
210080 zTab = sqlite3_mprintf("%s", zNew);
214253 p->zOut = sqlite3_mprintf("%z%.*s", p->zOut, n, z);
215495 *pzErr = sqlite3_mprintf("malformed prefix=... directive");
215501 *pzErr = sqlite3_mprintf(
215514 *pzErr = sqlite3_mprintf("prefix length out of range (max 999)");
215536 *pzErr = sqlite3_mprintf("multiple tokenize=... directives");
215555 *pzErr = sqlite3_mprintf("parse error in tokenize directive");
215573 *pzErr = sqlite3_mprintf("multiple content=... directives");
215588 *pzErr = sqlite3_mprintf("multiple content_rowid=... directives");
215598 *pzErr = sqlite3_mprintf("malformed columnsize=... directive");
215615 *pzErr = sqlite3_mprintf("malformed detail=... directive");
215620 *pzErr = sqlite3_mprintf("unrecognized option: \"%.*s\"", nCmd, zCmd);
215699 *pzErr = sqlite3_mprintf("reserved fts5 column name: %s", zCol);
215705 *pzErr = sqlite3_mprintf("unrecognized column option: %s", zArg);
215780 *pzErr = sqlite3_mprintf("reserved fts5 table name: %s", pRet->zName);
215808 *pzErr = sqlite3_mprintf("parse error in \"%s\"", zOrig);
216180 *pConfig->pzErrmsg = sqlite3_mprintf(
218340 pParse->zErr = sqlite3_mprintf(
218518 pParse->zErr = sqlite3_mprintf(
218646 char *zNew2 = sqlite3_mprintf("%s%s", zApp, zNew);
218724 zRet = sqlite3_mprintf("%s", zOp);
218742 return sqlite3_mprintf("\"\"");
218851 zErr = sqlite3_mprintf("wrong number of arguments to function %s",
218888 zText = sqlite3_mprintf("");
220555 fts5IndexPrepareStmt(p, &p->pWriter, sqlite3_mprintf(
220579 char *zSql = sqlite3_mprintf(
220601 fts5IndexPrepareStmt(p, &p->pIdxDeleter, sqlite3_mprintf(
220818 sqlite3_mprintf("PRAGMA %Q.data_version", p->pConfig->zDb)
222155 fts5IndexPrepareStmt(p, &p->pIdxSelect, sqlite3_mprintf(
223915 fts5IndexPrepareStmt(p, &p->pIdxWriter, sqlite3_mprintf(
225816 fts5IndexPrepareStmt(p, &pStmt, sqlite3_mprintf(
227088 pTab->base.zErrMsg = sqlite3_mprintf(
227451 pCursor->pVtab->zErrMsg = sqlite3_mprintf(
227486 *pConfig->pzErrmsg = sqlite3_mprintf("%s", sqlite3_errmsg(pConfig->db));
227588 pTab->p.base.zErrMsg = sqlite3_mprintf("unknown special query: %.*s", n, z);
227653 pTab->p.base.zErrMsg = sqlite3_mprintf("no such function: %s", zRank);
227684 pCsr->base.pVtab->zErrMsg = sqlite3_mprintf(
227745 pTab->p.base.zErrMsg = sqlite3_mprintf(
227881 *pConfig->pzErrmsg = sqlite3_mprintf(
228000 *pTab->pConfig->pzErrmsg = sqlite3_mprintf(
228192 pTab->p.base.zErrMsg = sqlite3_mprintf(
228887 char *zErr = sqlite3_mprintf("no such cursor: %lld", iCsrId);
229243 *pzErr = sqlite3_mprintf("no such tokenizer: %s", azArg[0]);
229250 if( pzErr ) *pzErr = sqlite3_mprintf("error in tokenizer constructor");
229533 zSql = sqlite3_mprintf(azStmt[eStmt],
229540 zSql = sqlite3_mprintf(azStmt[eStmt], pC->zContentExprlist,
229547 zSql = sqlite3_mprintf(azStmt[eStmt],
229565 zSql = sqlite3_mprintf(azStmt[eStmt], pC->zDb, pC->zName, zBind);
229572 zSql = sqlite3_mprintf(azStmt[eStmt], pC->zDb, pC->zName);
229586 *pzErrMsg = sqlite3_mprintf("%s", sqlite3_errmsg(pC->db));
229701 *pzErr = sqlite3_mprintf(
230217 zSql = sqlite3_mprintf("SELECT count(*) FROM %Q.'%q_%s'",
233261 *pzErr = sqlite3_mprintf("fts5vocab: unknown table type: %Q", zCopy);
233331 *pzErr = sqlite3_mprintf("wrong number of vtable arguments");
233479 pVTab->zErrMsg = sqlite3_mprintf(
233507 pVTab->zErrMsg = sqlite3_mprintf(