Lines Matching defs:sqlite3_snprintf
1766 ** log message after formatting via [sqlite3_snprintf()].
2320 ** ^(The sqlite3_snprintf() routine is similar to "snprintf()" from
2326 ** backwards compatibility. ^(Note also that sqlite3_snprintf()
2330 ** value but we cannot change the implementation of sqlite3_snprintf()
2333 ** ^As long as the buffer size is greater than zero, sqlite3_snprintf()
2339 ** ^The sqlite3_vsnprintf() routine is a varargs version of sqlite3_snprintf().
2403 SQLITE_API char *sqlite3_snprintf(int,char*,const char*, ...);
3906 ** [sqlite3_snprintf()] to convert that value to a UTF-8 string and returns
3915 ** [sqlite3_snprintf()] to convert that value to a UTF-16 string and returns
3939 ** is requested, [sqlite3_snprintf()] is used internally to perform the
7190 ** used with [sqlite3_snprintf()] to generate the final output string.
15419 sqlite3_snprintf(sizeof(zBuf), zBuf, "%04d-%02d-%02d %02d:%02d:%02d",
15439 sqlite3_snprintf(sizeof(zBuf), zBuf, "%02d:%02d:%02d", x.h, x.m, (int)x.s);
15458 sqlite3_snprintf(sizeof(zBuf), zBuf, "%04d-%02d-%02d", x.Y, x.M, x.D);
15553 case 'd': sqlite3_snprintf(3, &z[j],"%02d",x.D); j+=2; break;
15557 sqlite3_snprintf(7, &z[j],"%06.3f", s);
15561 case 'H': sqlite3_snprintf(3, &z[j],"%02d",x.h); j+=2; break;
15574 sqlite3_snprintf(3, &z[j],"%02d",(nDay+7-wd)/7);
15577 sqlite3_snprintf(4, &z[j],"%03d",nDay+1);
15583 sqlite3_snprintf(20, &z[j],"%.16g",x.iJD/86400000.0);
15587 case 'm': sqlite3_snprintf(3, &z[j],"%02d",x.M); j+=2; break;
15588 case 'M': sqlite3_snprintf(3, &z[j],"%02d",x.m); j+=2; break;
15590 sqlite3_snprintf(30,&z[j],"%lld",
15595 case 'S': sqlite3_snprintf(3,&z[j],"%02d",(int)x.s); j+=2; break;
15601 sqlite3_snprintf(5,&z[j],"%04d",x.Y); j+=sqlite3Strlen30(&z[j]);
21487 ** sqlite3_snprintf() works like snprintf() except that it ignores the
21492 ** Oops: The first two arguments of sqlite3_snprintf() are backwards
21507 SQLITE_API char *sqlite3_snprintf(int n, char *zBuf, const char *zFormat, ...){
27795 sqlite3_snprintf(MAX_PATHNAME, zDirname, "%s", zFilename);
28550 sqlite3_snprintf(nShmFilename, zShmFilename,
28554 sqlite3_snprintf(nShmFilename, zShmFilename, "%s-shm", pDbFd->zPath);
29615 sqlite3_snprintf(nFilename, zLockFile, "%s" DOTLOCK_SUFFIX, zFilename);
29630 sqlite3_snprintf(MAX_PATHNAME, zSemName, "/%s.sem",
29724 sqlite3_snprintf(nBuf-18, zBuf, "%s/"SQLITE_TEMP_FILE_PREFIX, zDir);
30282 sqlite3_snprintf(nOut, zOut, "%s", zPath);
30289 sqlite3_snprintf(nOut-nCwd, &zOut[nCwd], "/%s", zPath);
30319 sqlite3_snprintf(nBuf, zBufOut, "%s", zErr);
30918 sqlite3_snprintf(sizeof(errmsg),errmsg,"path error (len %d)",(int)pathLen);
30924 sqlite3_snprintf(sizeof(errmsg),errmsg,"read error (len %d)",(int)readLen);
30930 sqlite3_snprintf(sizeof(errmsg), errmsg, "create failed (%d)", errno);
30934 sqlite3_snprintf(sizeof(errmsg), errmsg, "write failed (%d)", errno);
30938 sqlite3_snprintf(sizeof(errmsg), errmsg, "rename failed (%d)", errno);
33804 sqlite3_snprintf(nBuf, zBuf, "OsError 0x%lx (%lu)", lastErrno, lastErrno);
33807 sqlite3_snprintf(nBuf, zBuf, "%s", zOut);
35518 sqlite3_snprintf(nName+15, pNew->zFilename, "%s-shm", pDbFd->zPath);
36295 sqlite3_snprintf(nMax, zBuf, "%s", sqlite3_temp_directory);
36336 sqlite3_snprintf(nMax, zBuf, "%s", zDir);
36369 sqlite3_snprintf(nMax, zBuf, "%s", zUtf8);
36396 sqlite3_snprintf(nMax, zBuf, "%s", zMulti);
36423 sqlite3_snprintf(nMax, zBuf, "%s", zUtf8);
36463 sqlite3_snprintf(nBuf-16-nLen, zBuf+nLen, SQLITE_TEMP_FILE_PREFIX);
37069 sqlite3_snprintf(MIN(nFull, pVfs->mxPathname), zFull, "%s%c%s",
37091 sqlite3_snprintf(MIN(nFull, pVfs->mxPathname), zFull, "%s", zUtf8);
37110 sqlite3_snprintf(MIN(nFull, pVfs->mxPathname), zFull, "%s%c%s",
37113 sqlite3_snprintf(MIN(nFull, pVfs->mxPathname), zFull, "%s", zRelative);
37143 sqlite3_snprintf(MIN(nFull, pVfs->mxPathname), zFull, "%s%c%s",
37204 sqlite3_snprintf(MIN(nFull, pVfs->mxPathname), zFull, "%s", zOut);
41243 sqlite3_snprintf(1024, zRet,
48260 sqlite3_snprintf(sizeof(zName), zName, "READ-LOCK[%d]",
59521 sqlite3_snprintf(sizeof(zContext), zContext, "Page %d: ", iPage);
59556 sqlite3_snprintf(sizeof(zContext), zContext,
59605 sqlite3_snprintf(sizeof(zContext), zContext,
61062 ** are converted using sqlite3_snprintf(). Converting a BLOB to a string
61094 ** FIX ME: It would be better if sqlite3_snprintf() could do UTF-16.
61097 sqlite3_snprintf(nByte, pMem->z, "%lld", pMem->u.i);
61100 sqlite3_snprintf(nByte, pMem->z, "%!.15g", pMem->r);
63199 sqlite3_snprintf(nTemp-jj, zTemp+jj, "%s", zP4);
63201 sqlite3_snprintf(nTemp-jj, zTemp+jj, "%s", pOp->zComment);
63206 sqlite3_snprintf(nTemp-jj, zTemp+jj, "%d", v1);
63216 sqlite3_snprintf(nTemp-jj, zTemp+jj, "..%d", v1+v2-1);
63228 sqlite3_snprintf(nTemp-jj, zTemp+jj, "; %s", pOp->zComment);
63233 sqlite3_snprintf(nTemp, zTemp, "%s", pOp->zComment);
63258 sqlite3_snprintf(nTemp, zTemp, "k(%d", pKeyInfo->nField);
63286 sqlite3_snprintf(nTemp, zTemp, "(%.20s)", pColl->zName);
63291 sqlite3_snprintf(nTemp, zTemp, "%s(%d)", pDef->zName, pDef->nArg);
63295 sqlite3_snprintf(nTemp, zTemp, "%lld", *pOp->p4.pI64);
63299 sqlite3_snprintf(nTemp, zTemp, "%d", pOp->p4.i);
63303 sqlite3_snprintf(nTemp, zTemp, "%.16g", *pOp->p4.pReal);
63311 sqlite3_snprintf(nTemp, zTemp, "%lld", pMem->u.i);
63313 sqlite3_snprintf(nTemp, zTemp, "%.16g", pMem->r);
63315 sqlite3_snprintf(nTemp, zTemp, "NULL");
63325 sqlite3_snprintf(nTemp, zTemp, "vtab:%p:%p", pVtab, pVtab->pModule);
63330 sqlite3_snprintf(nTemp, zTemp, "intarray");
63334 sqlite3_snprintf(nTemp, zTemp, "program");
63685 sqlite3_snprintf(3, pMem->z, "%.2x", pOp->p5); /* P5 */
63743 sqlite3_snprintf(sizeof(z), z, "%s", pOp->p4.z);
64258 sqlite3_snprintf(13, &zMaster[nMainFile], "-mj%06X9%02X",
64830 sqlite3_snprintf(sizeof(zHdr), zHdr, "%6u %12llu %8llu ",
68291 sqlite3_snprintf(100, zCsr, "%c", c);
68293 sqlite3_snprintf(100, zCsr, "%d[", pMem->n);
68296 sqlite3_snprintf(100, zCsr, "%02X", ((int)pMem->z[i] & 0xFF));
68305 sqlite3_snprintf(100, zCsr, "]%s", encnames[pMem->enc]);
68308 sqlite3_snprintf(100, zCsr,"+%dz",pMem->u.nZero);
68328 sqlite3_snprintf(100, &zBuf[k], "%d", pMem->n);
68340 sqlite3_snprintf(100,&zBuf[k], encnames[pMem->enc]);
84284 sqlite3_snprintf(24, zRet, "%llu", (u64)p->nRow);
84289 sqlite3_snprintf(24, z, " %llu", iVal);
84336 sqlite3_snprintf(24, z, "%llu ", (u64)aCnt[i]);
85554 sqlite3_snprintf(sizeof(zErr),zErr, "no such database: %s", zName);
85558 sqlite3_snprintf(sizeof(zErr),zErr, "cannot detach database %s", zName);
85562 sqlite3_snprintf(sizeof(zErr), zErr,
85567 sqlite3_snprintf(sizeof(zErr),zErr, "database %s is locked", zName);
87628 sqlite3_snprintf(n, zStmt, "CREATE TABLE ");
87643 sqlite3_snprintf(n-k, &zStmt[k], zSep);
87663 sqlite3_snprintf(n-k, &zStmt[k], "%s", zEnd);
88424 sqlite3_snprintf(sizeof(zTab),zTab,"sqlite_stat%d",i);
92617 sqlite3_snprintf(sizeof(zBuf), zBuf, "%!.15g", r1);
92620 sqlite3_snprintf(sizeof(zBuf), zBuf, "%!.20e", r1);
97360 #define sqlite3_snprintf sqlite3_api->snprintf
97693 sqlite3_snprintf,
97927 sqlite3_snprintf(nMsg, zErrmsg,
97975 sqlite3_snprintf(nMsg, zErrmsg,
123341 sqlite3_snprintf(sizeof(zBuf), zBuf, "SQLITE_UNKNOWN(%d)", origRc);
143840 sqlite3_snprintf(sizeof(aBuffer), aBuffer,
147956 sqlite3_snprintf(512-nCell,&zCell[nCell],"%lld", cell.iRowid);
147960 sqlite3_snprintf(512-nCell,&zCell[nCell], " %g",
147963 sqlite3_snprintf(512-nCell,&zCell[nCell], " %d",
148357 sqlite3_snprintf(128, zBuf, "ICU error: %s(): %s", zName, u_errorName(e));