Lines Matching defs:sqlite3_snprintf
2179 ** log message after formatting via [sqlite3_snprintf()].
2728 ** ^(The sqlite3_snprintf() routine is similar to "snprintf()" from
2734 ** backwards compatibility. ^(Note also that sqlite3_snprintf()
2738 ** value but we cannot change the implementation of sqlite3_snprintf()
2741 ** ^As long as the buffer size is greater than zero, sqlite3_snprintf()
2747 ** ^The sqlite3_vsnprintf() routine is a varargs version of sqlite3_snprintf().
2811 SQLITE_API char *sqlite3_snprintf(int,char*,const char*, ...);
4286 ** [sqlite3_snprintf()] to convert that value to a UTF-8 string and returns
4295 ** [sqlite3_snprintf()] to convert that value to a UTF-16 string and returns
4319 ** is requested, [sqlite3_snprintf()] is used internally to perform the
7463 ** used with [sqlite3_snprintf()] to generate the final output string.
14780 sqlite3_snprintf(sizeof(zBuf), zBuf, "%04d-%02d-%02d %02d:%02d:%02d",
14800 sqlite3_snprintf(sizeof(zBuf), zBuf, "%02d:%02d:%02d", x.h, x.m, (int)x.s);
14819 sqlite3_snprintf(sizeof(zBuf), zBuf, "%04d-%02d-%02d", x.Y, x.M, x.D);
14914 case 'd': sqlite3_snprintf(3, &z[j],"%02d",x.D); j+=2; break;
14918 sqlite3_snprintf(7, &z[j],"%06.3f", s);
14922 case 'H': sqlite3_snprintf(3, &z[j],"%02d",x.h); j+=2; break;
14935 sqlite3_snprintf(3, &z[j],"%02d",(nDay+7-wd)/7);
14938 sqlite3_snprintf(4, &z[j],"%03d",nDay+1);
14944 sqlite3_snprintf(20, &z[j],"%.16g",x.iJD/86400000.0);
14948 case 'm': sqlite3_snprintf(3, &z[j],"%02d",x.M); j+=2; break;
14949 case 'M': sqlite3_snprintf(3, &z[j],"%02d",x.m); j+=2; break;
14951 sqlite3_snprintf(30,&z[j],"%lld",
14956 case 'S': sqlite3_snprintf(3,&z[j],"%02d",(int)x.s); j+=2; break;
14962 sqlite3_snprintf(5,&z[j],"%04d",x.Y); j+=sqlite3Strlen30(&z[j]);
20431 ** sqlite3_snprintf() works like snprintf() except that it ignores the
20436 ** Oops: The first two arguments of sqlite3_snprintf() are backwards
20451 SQLITE_API char *sqlite3_snprintf(int n, char *zBuf, const char *zFormat, ...){
26583 sqlite3_snprintf(MAX_PATHNAME, zDirname, "%s", zFilename);
27288 sqlite3_snprintf(nShmFilename, zShmFilename,
27292 sqlite3_snprintf(nShmFilename, zShmFilename, "%s-shm", pDbFd->zPath);
28350 sqlite3_snprintf(nFilename, zLockFile, "%s" DOTLOCK_SUFFIX, zFilename);
28365 sqlite3_snprintf(MAX_PATHNAME, zSemName, "/%s.sem",
28457 sqlite3_snprintf(nBuf-18, zBuf, "%s/"SQLITE_TEMP_FILE_PREFIX, zDir);
28995 sqlite3_snprintf(nOut, zOut, "%s", zPath);
29002 sqlite3_snprintf(nOut-nCwd, &zOut[nCwd], "/%s", zPath);
29032 sqlite3_snprintf(nBuf, zBufOut, "%s", zErr);
29631 sqlite3_snprintf(sizeof(errmsg),errmsg,"path error (len %d)",(int)pathLen);
29637 sqlite3_snprintf(sizeof(errmsg),errmsg,"read error (len %d)",(int)readLen);
29643 sqlite3_snprintf(sizeof(errmsg), errmsg, "create failed (%d)", errno);
29647 sqlite3_snprintf(sizeof(errmsg), errmsg, "write failed (%d)", errno);
29651 sqlite3_snprintf(sizeof(errmsg), errmsg, "rename failed (%d)", errno);
32243 sqlite3_snprintf(nBuf, zBuf, "OsError 0x%lx (%lu)", lastErrno, lastErrno);
32246 sqlite3_snprintf(nBuf, zBuf, "%s", zOut);
33896 sqlite3_snprintf(nName+15, pNew->zFilename, "%s-shm", pDbFd->zPath);
34605 sqlite3_snprintf(MAX_PATH-30, zTempPath, "%s", sqlite3_temp_directory);
34614 sqlite3_snprintf(MAX_PATH-30, zTempPath, "%s", zMulti);
34628 sqlite3_snprintf(MAX_PATH-30, zTempPath, "%s", zUtf8);
34651 sqlite3_snprintf(nBuf-18, zBuf, (nTempPath > 0) ?
35233 sqlite3_snprintf(MIN(nFull, pVfs->mxPathname), zFull, "%s\\%s",
35252 sqlite3_snprintf(MIN(nFull, pVfs->mxPathname), zFull, "%s\\%s",
35255 sqlite3_snprintf(MIN(nFull, pVfs->mxPathname), zFull, "%s", zRelative);
35285 sqlite3_snprintf(MIN(nFull, pVfs->mxPathname), zFull, "%s\\%s",
35350 sqlite3_snprintf(MIN(nFull, pVfs->mxPathname), zFull, "%s", zOut);
39300 sqlite3_snprintf(1024, zRet,
46256 sqlite3_snprintf(sizeof(zName), zName, "READ-LOCK[%d]",
57460 sqlite3_snprintf(sizeof(zContext), zContext, "Page %d: ", iPage);
57495 sqlite3_snprintf(sizeof(zContext), zContext,
57544 sqlite3_snprintf(sizeof(zContext), zContext,
58979 ** are converted using sqlite3_snprintf(). Converting a BLOB to a string
59011 ** FIX ME: It would be better if sqlite3_snprintf() could do UTF-16.
59014 sqlite3_snprintf(nByte, pMem->z, "%lld", pMem->u.i);
59017 sqlite3_snprintf(nByte, pMem->z, "%!.15g", pMem->r);
60803 sqlite3_snprintf(nTemp, zTemp, "keyinfo(%d", pKeyInfo->nField);
60827 sqlite3_snprintf(nTemp, zTemp, "collseq(%.20s)", pColl->zName);
60832 sqlite3_snprintf(nTemp, zTemp, "%s(%d)", pDef->zName, pDef->nArg);
60836 sqlite3_snprintf(nTemp, zTemp, "%lld", *pOp->p4.pI64);
60840 sqlite3_snprintf(nTemp, zTemp, "%d", pOp->p4.i);
60844 sqlite3_snprintf(nTemp, zTemp, "%.16g", *pOp->p4.pReal);
60852 sqlite3_snprintf(nTemp, zTemp, "%lld", pMem->u.i);
60854 sqlite3_snprintf(nTemp, zTemp, "%.16g", pMem->r);
60856 sqlite3_snprintf(nTemp, zTemp, "NULL");
60866 sqlite3_snprintf(nTemp, zTemp, "vtab:%p:%p", pVtab, pVtab->pModule);
60871 sqlite3_snprintf(nTemp, zTemp, "intarray");
60875 sqlite3_snprintf(nTemp, zTemp, "program");
61224 sqlite3_snprintf(3, pMem->z, "%.2x", pOp->p5); /* P5 */
61283 sqlite3_snprintf(sizeof(z), z, "%s", pOp->p4.z);
61793 sqlite3_snprintf(13, &zMaster[nMainFile], "-mj%06X9%02X",
65159 sqlite3_snprintf(100, zCsr, "%c", c);
65161 sqlite3_snprintf(100, zCsr, "%d[", pMem->n);
65164 sqlite3_snprintf(100, zCsr, "%02X", ((int)pMem->z[i] & 0xFF));
65173 sqlite3_snprintf(100, zCsr, "]%s", encnames[pMem->enc]);
65176 sqlite3_snprintf(100, zCsr,"+%dz",pMem->u.nZero);
65196 sqlite3_snprintf(100, &zBuf[k], "%d", pMem->n);
65208 sqlite3_snprintf(100,&zBuf[k], encnames[pMem->enc]);
81640 sqlite3_snprintf(sizeof(zErr),zErr, "no such database: %s", zName);
81644 sqlite3_snprintf(sizeof(zErr),zErr, "cannot detach database %s", zName);
81648 sqlite3_snprintf(sizeof(zErr), zErr,
81653 sqlite3_snprintf(sizeof(zErr),zErr, "database %s is locked", zName);
83620 sqlite3_snprintf(n, zStmt, "CREATE TABLE ");
83635 sqlite3_snprintf(n-k, &zStmt[k], zSep);
83655 sqlite3_snprintf(n-k, &zStmt[k], "%s", zEnd);
84226 sqlite3_snprintf(sizeof(zTab),zTab,"sqlite_stat%d",i);
88060 sqlite3_snprintf(sizeof(zBuf), zBuf, "%!.15g", r1);
88063 sqlite3_snprintf(sizeof(zBuf), zBuf, "%!.20e", r1);
92546 #define sqlite3_snprintf sqlite3_api->snprintf
92876 sqlite3_snprintf,
93110 sqlite3_snprintf(nMsg, zErrmsg,
93158 sqlite3_snprintf(nMsg, zErrmsg,
115926 sqlite3_snprintf(sizeof(zBuf), zBuf, "SQLITE_UNKNOWN(%d)", origRc);
135489 sqlite3_snprintf(sizeof(aBuffer), aBuffer,
139545 sqlite3_snprintf(512-nCell,&zCell[nCell],"%lld", cell.iRowid);
139549 sqlite3_snprintf(512-nCell,&zCell[nCell], " %f",
139552 sqlite3_snprintf(512-nCell,&zCell[nCell], " %d",
139902 sqlite3_snprintf(128, zBuf, "ICU error: %s(): %s", zName, u_errorName(e));