Lines Matching defs:sqlite3_snprintf
1969 ** log message after formatting via [sqlite3_snprintf()].
2447 ** ^(The sqlite3_snprintf() routine is similar to "snprintf()" from
2453 ** backwards compatibility. ^(Note also that sqlite3_snprintf()
2457 ** value but we cannot change the implementation of sqlite3_snprintf()
2460 ** ^As long as the buffer size is greater than zero, sqlite3_snprintf()
2466 ** ^The sqlite3_vsnprintf() routine is a varargs version of sqlite3_snprintf().
2530 SQLITE_API char *sqlite3_snprintf(int,char*,const char*, ...);
3794 ** [sqlite3_snprintf()] to convert that value to a UTF-8 string and returns
3803 ** [sqlite3_snprintf()] to convert that value to a UTF-16 string and returns
3827 ** is requested, [sqlite3_snprintf()] is used internally to perform the
6745 ** used with [sqlite3_snprintf()] to generate the final output string.
13627 sqlite3_snprintf(sizeof(zBuf), zBuf, "%04d-%02d-%02d %02d:%02d:%02d",
13647 sqlite3_snprintf(sizeof(zBuf), zBuf, "%02d:%02d:%02d", x.h, x.m, (int)x.s);
13666 sqlite3_snprintf(sizeof(zBuf), zBuf, "%04d-%02d-%02d", x.Y, x.M, x.D);
13761 case 'd': sqlite3_snprintf(3, &z[j],"%02d",x.D); j+=2; break;
13765 sqlite3_snprintf(7, &z[j],"%06.3f", s);
13769 case 'H': sqlite3_snprintf(3, &z[j],"%02d",x.h); j+=2; break;
13782 sqlite3_snprintf(3, &z[j],"%02d",(nDay+7-wd)/7);
13785 sqlite3_snprintf(4, &z[j],"%03d",nDay+1);
13791 sqlite3_snprintf(20, &z[j],"%.16g",x.iJD/86400000.0);
13795 case 'm': sqlite3_snprintf(3, &z[j],"%02d",x.M); j+=2; break;
13796 case 'M': sqlite3_snprintf(3, &z[j],"%02d",x.m); j+=2; break;
13798 sqlite3_snprintf(30,&z[j],"%lld",
13803 case 'S': sqlite3_snprintf(3,&z[j],"%02d",(int)x.s); j+=2; break;
13809 sqlite3_snprintf(5,&z[j],"%04d",x.Y); j+=sqlite3Strlen30(&z[j]);
16868 sqlite3_snprintf( sizeof(name), name, "\\SEM32\\SQLITE%04x",
19420 ** sqlite3_snprintf() works like snprintf() except that it ignores the
19425 ** Oops: The first two arguments of sqlite3_snprintf() are backwards
19440 SQLITE_API char *sqlite3_snprintf(int n, char *zBuf, const char *zFormat, ...){
23404 sqlite3_snprintf(CCHMAXPATH-30, zTempPath, "%s", sqlite3_temp_directory);
23409 sqlite3_snprintf(CCHMAXPATH-30, zTempPath, "%s", zTempPathUTF);
23430 sqlite3_snprintf(nBuf-22, zBuf,
23462 sqlite3_snprintf( nFull, zFull, zFullUTF );
27402 sqlite3_snprintf(MAX_PATHNAME, zDirname, "%s", zFilename);
27940 sqlite3_snprintf(nShmFilename, zShmFilename,
27944 sqlite3_snprintf(nShmFilename, zShmFilename, "%s-shm", pDbFd->zPath);
28753 sqlite3_snprintf(nFilename, zLockFile, "%s" DOTLOCK_SUFFIX, zFilename);
28768 sqlite3_snprintf(MAX_PATHNAME, zSemName, "/%s.sem",
28860 sqlite3_snprintf(nBuf-17, zBuf, "%s/"SQLITE_TEMP_FILE_PREFIX, zDir);
29409 sqlite3_snprintf(nOut, zOut, "%s", zPath);
29416 sqlite3_snprintf(nOut-nCwd, &zOut[nCwd], "/%s", zPath);
29446 sqlite3_snprintf(nBuf, zBufOut, "%s", zErr);
30037 sqlite3_snprintf(sizeof(errmsg),errmsg,"path error (len %d)",(int)pathLen);
30043 sqlite3_snprintf(sizeof(errmsg),errmsg,"read error (len %d)",(int)readLen);
30050 sqlite3_snprintf(sizeof(errmsg), errmsg, "create failed (%d)", errno);
30054 sqlite3_snprintf(sizeof(errmsg), errmsg, "write failed (%d)", errno);
30058 sqlite3_snprintf(sizeof(errmsg), errmsg, "rename failed (%d)", errno);
32579 sqlite3_snprintf(nName+15, pNew->zFilename, "%s-shm", pDbFd->zPath);
33040 sqlite3_snprintf(MAX_PATH-30, zTempPath, "%s", sqlite3_temp_directory);
33047 sqlite3_snprintf(MAX_PATH-30, zTempPath, "%s", zMulti);
33063 sqlite3_snprintf(MAX_PATH-30, zTempPath, "%s", zUtf8);
33081 sqlite3_snprintf(nBuf-17, zBuf,
33146 sqlite3_snprintf(nBuf, zBuf, "OsError 0x%x (%u)", error, error);
33149 sqlite3_snprintf(nBuf, zBuf, "%s", zOut);
33525 sqlite3_snprintf(pVfs->mxPathname, zFull, "%s", zRelative);
33574 sqlite3_snprintf(pVfs->mxPathname, zFull, "%s", zOut);
37374 sqlite3_snprintf(1024, zRet,
44022 sqlite3_snprintf(sizeof(zName), zName, "READ-LOCK[%d]",
54711 sqlite3_snprintf(sizeof(zContext), zContext, "Page %d: ", iPage);
54746 sqlite3_snprintf(sizeof(zContext), zContext,
54795 sqlite3_snprintf(sizeof(zContext), zContext,
56157 ** are converted using sqlite3_snprintf(). Converting a BLOB to a string
56189 ** FIX ME: It would be better if sqlite3_snprintf() could do UTF-16.
56192 sqlite3_snprintf(nByte, pMem->z, "%lld", pMem->u.i);
56195 sqlite3_snprintf(nByte, pMem->z, "%!.15g", pMem->r);
57985 sqlite3_snprintf(nTemp, zTemp, "keyinfo(%d", pKeyInfo->nField);
58013 sqlite3_snprintf(nTemp, zTemp, "collseq(%.20s)", pColl->zName);
58018 sqlite3_snprintf(nTemp, zTemp, "%s(%d)", pDef->zName, pDef->nArg);
58022 sqlite3_snprintf(nTemp, zTemp, "%lld", *pOp->p4.pI64);
58026 sqlite3_snprintf(nTemp, zTemp, "%d", pOp->p4.i);
58030 sqlite3_snprintf(nTemp, zTemp, "%.16g", *pOp->p4.pReal);
58039 sqlite3_snprintf(nTemp, zTemp, "%lld", pMem->u.i);
58041 sqlite3_snprintf(nTemp, zTemp, "%.16g", pMem->r);
58051 sqlite3_snprintf(nTemp, zTemp, "vtab:%p:%p", pVtab, pVtab->pModule);
58056 sqlite3_snprintf(nTemp, zTemp, "intarray");
58060 sqlite3_snprintf(nTemp, zTemp, "program");
58403 sqlite3_snprintf(3, pMem->z, "%.2x", pOp->p5); /* P5 */
58461 sqlite3_snprintf(sizeof(z), z, "%s", pOp->p4.z);
62179 sqlite3_snprintf(100, zCsr, "%c", c);
62181 sqlite3_snprintf(100, zCsr, "%d[", pMem->n);
62184 sqlite3_snprintf(100, zCsr, "%02X", ((int)pMem->z[i] & 0xFF));
62193 sqlite3_snprintf(100, zCsr, "]%s", encnames[pMem->enc]);
62196 sqlite3_snprintf(100, zCsr,"+%dz",pMem->u.nZero);
62216 sqlite3_snprintf(100, &zBuf[k], "%d", pMem->n);
62228 sqlite3_snprintf(100,&zBuf[k], encnames[pMem->enc]);
76300 sqlite3_snprintf(sizeof(zErr),zErr, "no such database: %s", zName);
76304 sqlite3_snprintf(sizeof(zErr),zErr, "cannot detach database %s", zName);
76308 sqlite3_snprintf(sizeof(zErr), zErr,
76313 sqlite3_snprintf(sizeof(zErr),zErr, "database %s is locked", zName);
78237 sqlite3_snprintf(n, zStmt, "CREATE TABLE ");
78252 sqlite3_snprintf(n-k, &zStmt[k], zSep);
78272 sqlite3_snprintf(n-k, &zStmt[k], "%s", zEnd);
86813 #define sqlite3_snprintf sqlite3_api->snprintf
87113 sqlite3_snprintf,
87310 sqlite3_snprintf(nMsg, zErrmsg,
87323 sqlite3_snprintf(nMsg, zErrmsg,
124184 sqlite3_snprintf(sizeof(aBuffer), aBuffer,
127364 sqlite3_snprintf(512-nCell,&zCell[nCell],"%lld", cell.iRowid);
127367 sqlite3_snprintf(512-nCell,&zCell[nCell]," %f",(double)cell.aCoord[jj].f);
127706 sqlite3_snprintf(128, zBuf, "ICU error: %s(): %s", zName, u_errorName(e));