• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/sqlite-3.6.22/

Lines Matching defs:nBuf

20806 static int getTempname(int nBuf, char *zBuf ){
20838 sqlite3_snprintf( nBuf-30, zBuf,
20842 sqlite3_snprintf( nBuf-30, zBuf,
21071 static void os2DlError(sqlite3_vfs *pVfs, int nBuf, char *zBufOut){
21100 ** Write up to nBuf bytes of randomness into zBuf.
21102 static int os2Randomness(sqlite3_vfs *pVfs, int nBuf, char *zBuf ){
21105 n = nBuf;
21106 memset(zBuf, 0, nBuf);
21109 if( (int)sizeof(DATETIME) <= nBuf - n ){
21116 if( sizeofULong <= nBuf - n ){
21123 if( sizeofULong <= nBuf - n ){
21132 if( sizeofULong <= nBuf - n ){
21139 if( sizeofULong <= nBuf - n ){
21143 if( sizeofULong <= nBuf - n ){
21147 if( sizeofULong <= nBuf - n ){
21151 if( sizeofULong <= nBuf - n ){
21222 static int os2GetLastError(sqlite3_vfs *pVfs, int nBuf, char *zBuf){
25185 static int getTempname(int nBuf, char *zBuf){
25225 if( (strlen(zDir) + strlen(SQLITE_TEMP_FILE_PREFIX) + 17) >= (size_t)nBuf ){
25230 sqlite3_snprintf(nBuf-17, zBuf, "%s/"SQLITE_TEMP_FILE_PREFIX, zDir);
25663 static void unixDlError(sqlite3_vfs *NotUsed, int nBuf, char *zBufOut){
25669 sqlite3_snprintf(nBuf, zBufOut, "%s", zErr);
25708 ** Write nBuf bytes of random data to the supplied buffer zBuf.
25710 static int unixRandomness(sqlite3_vfs *NotUsed, int nBuf, char *zBuf){
25712 assert((size_t)nBuf>=(sizeof(time_t)+sizeof(int)));
25726 memset(zBuf, 0, nBuf);
25737 assert( sizeof(t)+sizeof(pid)<=(size_t)nBuf );
25738 nBuf = sizeof(t) + sizeof(pid);
25740 nBuf = read(fd, zBuf, nBuf);
25745 return nBuf;
28296 static int getTempname(int nBuf, char *zBuf){
28336 sqlite3_snprintf(nBuf-30, zBuf,
28353 static int getLastErrorMsg(int nBuf, char *zBuf){
28400 sqlite3_snprintf(nBuf, zBuf, "OsError 0x%x (%u)", error, error);
28402 /* copy a maximum of nBuf chars to output buffer */
28403 sqlite3_snprintf(nBuf, zBuf, "%s", zOut);
28827 static void winDlError(sqlite3_vfs *pVfs, int nBuf, char *zBufOut){
28829 getLastErrorMsg(nBuf, zBufOut);
28855 ** Write up to nBuf bytes of randomness into zBuf.
28857 static int winRandomness(sqlite3_vfs *pVfs, int nBuf, char *zBuf){
28861 n = nBuf;
28862 memset(zBuf, 0, nBuf);
28864 if( sizeof(SYSTEMTIME)<=nBuf-n ){
28870 if( sizeof(DWORD)<=nBuf-n ){
28875 if( sizeof(DWORD)<=nBuf-n ){
28880 if( sizeof(LARGE_INTEGER)<=nBuf-n ){
28965 ** a buffer of nBuf bytes. The OS layer should populate the
28981 ** int xGetLastError(sqlite3_vfs *pVfs, int nBuf, char *zBuf){
28990 static int winGetLastError(sqlite3_vfs *pVfs, int nBuf, char *zBuf){
28992 return getLastErrorMsg(nBuf, zBuf);
49681 ** nBuf is the amount of space left in buf[]. nBuf must always be
49694 SQLITE_PRIVATE u32 sqlite3VdbeSerialPut(u8 *buf, int nBuf, Mem *pMem, int file_format){
49710 assert( len<=(u32)nBuf );
49722 assert( pMem->n<=nBuf );
49727 assert( nBuf>=0 );
49728 if( len > (u32)nBuf ){
49729 len = (u32)nBuf;
51955 ** into buffer zBuf, length nBuf.
58447 int nBuf; /* Size of zBuf[] in bytes */
58469 assert(p->iSize<=p->nBuf);
58521 if( !p->pReal && (iOfst+iAmt)>p->nBuf ){
58606 int nBuf /* Bytes buffered before opening the file */
58610 if( nBuf>0 ){
58611 p->zBuf = sqlite3MallocZero(nBuf);
58619 p->nBuf = nBuf;