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, ...){
27777 sqlite3_snprintf(MAX_PATHNAME, zDirname, "%s", zFilename);
28530 sqlite3_snprintf(nShmFilename, zShmFilename,
28534 sqlite3_snprintf(nShmFilename, zShmFilename, "%s-shm", pDbFd->zPath);
29595 sqlite3_snprintf(nFilename, zLockFile, "%s" DOTLOCK_SUFFIX, zFilename);
29610 sqlite3_snprintf(MAX_PATHNAME, zSemName, "/%s.sem",
29704 sqlite3_snprintf(nBuf-18, zBuf, "%s/"SQLITE_TEMP_FILE_PREFIX, zDir);
30262 sqlite3_snprintf(nOut, zOut, "%s", zPath);
30269 sqlite3_snprintf(nOut-nCwd, &zOut[nCwd], "/%s", zPath);
30299 sqlite3_snprintf(nBuf, zBufOut, "%s", zErr);
30898 sqlite3_snprintf(sizeof(errmsg),errmsg,"path error (len %d)",(int)pathLen);
30904 sqlite3_snprintf(sizeof(errmsg),errmsg,"read error (len %d)",(int)readLen);
30910 sqlite3_snprintf(sizeof(errmsg), errmsg, "create failed (%d)", errno);
30914 sqlite3_snprintf(sizeof(errmsg), errmsg, "write failed (%d)", errno);
30918 sqlite3_snprintf(sizeof(errmsg), errmsg, "rename failed (%d)", errno);
33784 sqlite3_snprintf(nBuf, zBuf, "OsError 0x%lx (%lu)", lastErrno, lastErrno);
33787 sqlite3_snprintf(nBuf, zBuf, "%s", zOut);
35498 sqlite3_snprintf(nName+15, pNew->zFilename, "%s-shm", pDbFd->zPath);
36275 sqlite3_snprintf(nMax, zBuf, "%s", sqlite3_temp_directory);
36316 sqlite3_snprintf(nMax, zBuf, "%s", zDir);
36349 sqlite3_snprintf(nMax, zBuf, "%s", zUtf8);
36376 sqlite3_snprintf(nMax, zBuf, "%s", zMulti);
36403 sqlite3_snprintf(nMax, zBuf, "%s", zUtf8);
36443 sqlite3_snprintf(nBuf-16-nLen, zBuf+nLen, SQLITE_TEMP_FILE_PREFIX);
37049 sqlite3_snprintf(MIN(nFull, pVfs->mxPathname), zFull, "%s%c%s",
37071 sqlite3_snprintf(MIN(nFull, pVfs->mxPathname), zFull, "%s", zUtf8);
37090 sqlite3_snprintf(MIN(nFull, pVfs->mxPathname), zFull, "%s%c%s",
37093 sqlite3_snprintf(MIN(nFull, pVfs->mxPathname), zFull, "%s", zRelative);
37123 sqlite3_snprintf(MIN(nFull, pVfs->mxPathname), zFull, "%s%c%s",
37184 sqlite3_snprintf(MIN(nFull, pVfs->mxPathname), zFull, "%s", zOut);
41223 sqlite3_snprintf(1024, zRet,
48240 sqlite3_snprintf(sizeof(zName), zName, "READ-LOCK[%d]",
59501 sqlite3_snprintf(sizeof(zContext), zContext, "Page %d: ", iPage);
59536 sqlite3_snprintf(sizeof(zContext), zContext,
59585 sqlite3_snprintf(sizeof(zContext), zContext,
61042 ** are converted using sqlite3_snprintf(). Converting a BLOB to a string
61074 ** FIX ME: It would be better if sqlite3_snprintf() could do UTF-16.
61077 sqlite3_snprintf(nByte, pMem->z, "%lld", pMem->u.i);
61080 sqlite3_snprintf(nByte, pMem->z, "%!.15g", pMem->r);
63179 sqlite3_snprintf(nTemp-jj, zTemp+jj, "%s", zP4);
63181 sqlite3_snprintf(nTemp-jj, zTemp+jj, "%s", pOp->zComment);
63186 sqlite3_snprintf(nTemp-jj, zTemp+jj, "%d", v1);
63196 sqlite3_snprintf(nTemp-jj, zTemp+jj, "..%d", v1+v2-1);
63208 sqlite3_snprintf(nTemp-jj, zTemp+jj, "; %s", pOp->zComment);
63213 sqlite3_snprintf(nTemp, zTemp, "%s", pOp->zComment);
63238 sqlite3_snprintf(nTemp, zTemp, "k(%d", pKeyInfo->nField);
63266 sqlite3_snprintf(nTemp, zTemp, "(%.20s)", pColl->zName);
63271 sqlite3_snprintf(nTemp, zTemp, "%s(%d)", pDef->zName, pDef->nArg);
63275 sqlite3_snprintf(nTemp, zTemp, "%lld", *pOp->p4.pI64);
63279 sqlite3_snprintf(nTemp, zTemp, "%d", pOp->p4.i);
63283 sqlite3_snprintf(nTemp, zTemp, "%.16g", *pOp->p4.pReal);
63291 sqlite3_snprintf(nTemp, zTemp, "%lld", pMem->u.i);
63293 sqlite3_snprintf(nTemp, zTemp, "%.16g", pMem->r);
63295 sqlite3_snprintf(nTemp, zTemp, "NULL");
63305 sqlite3_snprintf(nTemp, zTemp, "vtab:%p:%p", pVtab, pVtab->pModule);
63310 sqlite3_snprintf(nTemp, zTemp, "intarray");
63314 sqlite3_snprintf(nTemp, zTemp, "program");
63665 sqlite3_snprintf(3, pMem->z, "%.2x", pOp->p5); /* P5 */
63723 sqlite3_snprintf(sizeof(z), z, "%s", pOp->p4.z);
64238 sqlite3_snprintf(13, &zMaster[nMainFile], "-mj%06X9%02X",
64810 sqlite3_snprintf(sizeof(zHdr), zHdr, "%6u %12llu %8llu ",
68271 sqlite3_snprintf(100, zCsr, "%c", c);
68273 sqlite3_snprintf(100, zCsr, "%d[", pMem->n);
68276 sqlite3_snprintf(100, zCsr, "%02X", ((int)pMem->z[i] & 0xFF));
68285 sqlite3_snprintf(100, zCsr, "]%s", encnames[pMem->enc]);
68288 sqlite3_snprintf(100, zCsr,"+%dz",pMem->u.nZero);
68308 sqlite3_snprintf(100, &zBuf[k], "%d", pMem->n);
68320 sqlite3_snprintf(100,&zBuf[k], encnames[pMem->enc]);
84264 sqlite3_snprintf(24, zRet, "%llu", (u64)p->nRow);
84269 sqlite3_snprintf(24, z, " %llu", iVal);
84316 sqlite3_snprintf(24, z, "%llu ", (u64)aCnt[i]);
85534 sqlite3_snprintf(sizeof(zErr),zErr, "no such database: %s", zName);
85538 sqlite3_snprintf(sizeof(zErr),zErr, "cannot detach database %s", zName);
85542 sqlite3_snprintf(sizeof(zErr), zErr,
85547 sqlite3_snprintf(sizeof(zErr),zErr, "database %s is locked", zName);
87608 sqlite3_snprintf(n, zStmt, "CREATE TABLE ");
87623 sqlite3_snprintf(n-k, &zStmt[k], zSep);
87643 sqlite3_snprintf(n-k, &zStmt[k], "%s", zEnd);
88404 sqlite3_snprintf(sizeof(zTab),zTab,"sqlite_stat%d",i);
92597 sqlite3_snprintf(sizeof(zBuf), zBuf, "%!.15g", r1);
92600 sqlite3_snprintf(sizeof(zBuf), zBuf, "%!.20e", r1);
97340 #define sqlite3_snprintf sqlite3_api->snprintf
97673 sqlite3_snprintf,
97907 sqlite3_snprintf(nMsg, zErrmsg,
97955 sqlite3_snprintf(nMsg, zErrmsg,
123321 sqlite3_snprintf(sizeof(zBuf), zBuf, "SQLITE_UNKNOWN(%d)", origRc);
143808 sqlite3_snprintf(sizeof(aBuffer), aBuffer,
147924 sqlite3_snprintf(512-nCell,&zCell[nCell],"%lld", cell.iRowid);
147928 sqlite3_snprintf(512-nCell,&zCell[nCell], " %g",
147931 sqlite3_snprintf(512-nCell,&zCell[nCell], " %d",
148325 sqlite3_snprintf(128, zBuf, "ICU error: %s(): %s", zName, u_errorName(e));