Lines Matching defs:sqlite3_snprintf
2016 ** log message after formatting via [sqlite3_snprintf()].
2511 ** ^(The sqlite3_snprintf() routine is similar to "snprintf()" from
2517 ** backwards compatibility. ^(Note also that sqlite3_snprintf()
2521 ** value but we cannot change the implementation of sqlite3_snprintf()
2524 ** ^As long as the buffer size is greater than zero, sqlite3_snprintf()
2530 ** ^The sqlite3_vsnprintf() routine is a varargs version of sqlite3_snprintf().
2594 SQLITE_API char *sqlite3_snprintf(int,char*,const char*, ...);
3988 ** [sqlite3_snprintf()] to convert that value to a UTF-8 string and returns
3997 ** [sqlite3_snprintf()] to convert that value to a UTF-16 string and returns
4021 ** is requested, [sqlite3_snprintf()] is used internally to perform the
6961 ** used with [sqlite3_snprintf()] to generate the final output string.
14017 sqlite3_snprintf(sizeof(zBuf), zBuf, "%04d-%02d-%02d %02d:%02d:%02d",
14037 sqlite3_snprintf(sizeof(zBuf), zBuf, "%02d:%02d:%02d", x.h, x.m, (int)x.s);
14056 sqlite3_snprintf(sizeof(zBuf), zBuf, "%04d-%02d-%02d", x.Y, x.M, x.D);
14151 case 'd': sqlite3_snprintf(3, &z[j],"%02d",x.D); j+=2; break;
14155 sqlite3_snprintf(7, &z[j],"%06.3f", s);
14159 case 'H': sqlite3_snprintf(3, &z[j],"%02d",x.h); j+=2; break;
14172 sqlite3_snprintf(3, &z[j],"%02d",(nDay+7-wd)/7);
14175 sqlite3_snprintf(4, &z[j],"%03d",nDay+1);
14181 sqlite3_snprintf(20, &z[j],"%.16g",x.iJD/86400000.0);
14185 case 'm': sqlite3_snprintf(3, &z[j],"%02d",x.M); j+=2; break;
14186 case 'M': sqlite3_snprintf(3, &z[j],"%02d",x.m); j+=2; break;
14188 sqlite3_snprintf(30,&z[j],"%lld",
14193 case 'S': sqlite3_snprintf(3,&z[j],"%02d",(int)x.s); j+=2; break;
14199 sqlite3_snprintf(5,&z[j],"%04d",x.Y); j+=sqlite3Strlen30(&z[j]);
17259 sqlite3_snprintf( sizeof(name), name, "\\SEM32\\SQLITE%04x",
19813 ** sqlite3_snprintf() works like snprintf() except that it ignores the
19818 ** Oops: The first two arguments of sqlite3_snprintf() are backwards
19833 SQLITE_API char *sqlite3_snprintf(int n, char *zBuf, const char *zFormat, ...){
23838 sqlite3_snprintf(CCHMAXPATH-30, zTempPath, "%s", sqlite3_temp_directory);
23843 sqlite3_snprintf(CCHMAXPATH-30, zTempPath, "%s", zTempPathUTF);
23864 sqlite3_snprintf(nBuf-22, zBuf,
23896 sqlite3_snprintf( nFull, zFull, zFullUTF );
27869 sqlite3_snprintf(MAX_PATHNAME, zDirname, "%s", zFilename);
28420 sqlite3_snprintf(nShmFilename, zShmFilename,
28424 sqlite3_snprintf(nShmFilename, zShmFilename, "%s-shm", pDbFd->zPath);
29238 sqlite3_snprintf(nFilename, zLockFile, "%s" DOTLOCK_SUFFIX, zFilename);
29253 sqlite3_snprintf(MAX_PATHNAME, zSemName, "/%s.sem",
29345 sqlite3_snprintf(nBuf-17, zBuf, "%s/"SQLITE_TEMP_FILE_PREFIX, zDir);
29842 sqlite3_snprintf(nOut, zOut, "%s", zPath);
29849 sqlite3_snprintf(nOut-nCwd, &zOut[nCwd], "/%s", zPath);
29879 sqlite3_snprintf(nBuf, zBufOut, "%s", zErr);
30472 sqlite3_snprintf(sizeof(errmsg),errmsg,"path error (len %d)",(int)pathLen);
30478 sqlite3_snprintf(sizeof(errmsg),errmsg,"read error (len %d)",(int)readLen);
30485 sqlite3_snprintf(sizeof(errmsg), errmsg, "create failed (%d)", errno);
30489 sqlite3_snprintf(sizeof(errmsg), errmsg, "write failed (%d)", errno);
30493 sqlite3_snprintf(sizeof(errmsg), errmsg, "rename failed (%d)", errno);
32168 sqlite3_snprintf(nBuf, zBuf, "OsError 0x%x (%u)", error, error);
32171 sqlite3_snprintf(nBuf, zBuf, "%s", zOut);
33488 sqlite3_snprintf(nName+15, pNew->zFilename, "%s-shm", pDbFd->zPath);
33950 sqlite3_snprintf(MAX_PATH-30, zTempPath, "%s", sqlite3_temp_directory);
33957 sqlite3_snprintf(MAX_PATH-30, zTempPath, "%s", zMulti);
33973 sqlite3_snprintf(MAX_PATH-30, zTempPath, "%s", zUtf8);
33991 sqlite3_snprintf(nBuf-17, zBuf,
34375 sqlite3_snprintf(pVfs->mxPathname, zFull, "%s", zRelative);
34431 sqlite3_snprintf(pVfs->mxPathname, zFull, "%s", zOut);
38480 sqlite3_snprintf(1024, zRet,
45123 sqlite3_snprintf(sizeof(zName), zName, "READ-LOCK[%d]",
55894 sqlite3_snprintf(sizeof(zContext), zContext, "Page %d: ", iPage);
55929 sqlite3_snprintf(sizeof(zContext), zContext,
55978 sqlite3_snprintf(sizeof(zContext), zContext,
57343 ** are converted using sqlite3_snprintf(). Converting a BLOB to a string
57375 ** FIX ME: It would be better if sqlite3_snprintf() could do UTF-16.
57378 sqlite3_snprintf(nByte, pMem->z, "%lld", pMem->u.i);
57381 sqlite3_snprintf(nByte, pMem->z, "%!.15g", pMem->r);
59172 sqlite3_snprintf(nTemp, zTemp, "keyinfo(%d", pKeyInfo->nField);
59200 sqlite3_snprintf(nTemp, zTemp, "collseq(%.20s)", pColl->zName);
59205 sqlite3_snprintf(nTemp, zTemp, "%s(%d)", pDef->zName, pDef->nArg);
59209 sqlite3_snprintf(nTemp, zTemp, "%lld", *pOp->p4.pI64);
59213 sqlite3_snprintf(nTemp, zTemp, "%d", pOp->p4.i);
59217 sqlite3_snprintf(nTemp, zTemp, "%.16g", *pOp->p4.pReal);
59226 sqlite3_snprintf(nTemp, zTemp, "%lld", pMem->u.i);
59228 sqlite3_snprintf(nTemp, zTemp, "%.16g", pMem->r);
59238 sqlite3_snprintf(nTemp, zTemp, "vtab:%p:%p", pVtab, pVtab->pModule);
59243 sqlite3_snprintf(nTemp, zTemp, "intarray");
59247 sqlite3_snprintf(nTemp, zTemp, "program");
59594 sqlite3_snprintf(3, pMem->z, "%.2x", pOp->p5); /* P5 */
59652 sqlite3_snprintf(sizeof(z), z, "%s", pOp->p4.z);
63376 sqlite3_snprintf(100, zCsr, "%c", c);
63378 sqlite3_snprintf(100, zCsr, "%d[", pMem->n);
63381 sqlite3_snprintf(100, zCsr, "%02X", ((int)pMem->z[i] & 0xFF));
63390 sqlite3_snprintf(100, zCsr, "]%s", encnames[pMem->enc]);
63393 sqlite3_snprintf(100, zCsr,"+%dz",pMem->u.nZero);
63413 sqlite3_snprintf(100, &zBuf[k], "%d", pMem->n);
63425 sqlite3_snprintf(100,&zBuf[k], encnames[pMem->enc]);
78597 sqlite3_snprintf(sizeof(zErr),zErr, "no such database: %s", zName);
78601 sqlite3_snprintf(sizeof(zErr),zErr, "cannot detach database %s", zName);
78605 sqlite3_snprintf(sizeof(zErr), zErr,
78610 sqlite3_snprintf(sizeof(zErr),zErr, "database %s is locked", zName);
80532 sqlite3_snprintf(n, zStmt, "CREATE TABLE ");
80547 sqlite3_snprintf(n-k, &zStmt[k], zSep);
80567 sqlite3_snprintf(n-k, &zStmt[k], "%s", zEnd);
89226 #define sqlite3_snprintf sqlite3_api->snprintf
89533 sqlite3_snprintf,
89733 sqlite3_snprintf(nMsg, zErrmsg,
89746 sqlite3_snprintf(nMsg, zErrmsg,
126954 sqlite3_snprintf(sizeof(aBuffer), aBuffer,
130178 sqlite3_snprintf(512-nCell,&zCell[nCell],"%lld", cell.iRowid);
130181 sqlite3_snprintf(512-nCell,&zCell[nCell]," %f",(double)cell.aCoord[jj].f);
130521 sqlite3_snprintf(128, zBuf, "ICU error: %s(): %s", zName, u_errorName(e));