Lines Matching refs:nBuf
1336 void sqlite3_win32_write_debug(const char *zBuf, int nBuf){ in sqlite3_win32_write_debug() argument
1338 int nMin = MIN(nBuf, (SQLITE_WIN32_DBG_BUF_SIZE - 1)); /* may be negative. */ in sqlite3_win32_write_debug()
1994 static int winGetLastErrorMsg(DWORD lastErrno, int nBuf, char *zBuf){ in winGetLastErrorMsg() argument
2059 sqlite3_snprintf(nBuf, zBuf, "OsError 0x%lx (%lu)", lastErrno, lastErrno); in winGetLastErrorMsg()
2062 sqlite3_snprintf(nBuf, zBuf, "%s", zOut); in winGetLastErrorMsg()
4711 static int winMakeEndInDirSep(int nBuf, char *zBuf){ argument
4717 }else if( nLen+1<nBuf ){
4751 int nMax, nBuf, nDir, nLen; local
4763 nMax = pVfs->mxPathname; nBuf = nMax + 2;
4764 zBuf = sqlite3MallocZero( nBuf );
4952 if( (nLen + nPre + 17) > nBuf ){
4958 sqlite3_snprintf(nBuf-16-nLen, zBuf+nLen, SQLITE_TEMP_FILE_PREFIX);
5821 static void winDlError(sqlite3_vfs *pVfs, int nBuf, char *zBufOut){ argument
5823 winGetLastErrorMsg(osGetLastError(), nBuf, zBufOut);
5870 static int winRandomness(sqlite3_vfs *pVfs, int nBuf, char *zBuf){ argument
5873 memset(zBuf, 0, nBuf);
5874 return nBuf;
5878 memset(zBuf, 0, nBuf);
5880 e.na = nBuf;
5919 return e.nXor>nBuf ? nBuf : e.nXor;
6035 static int winGetLastError(sqlite3_vfs *pVfs, int nBuf, char *zBuf){ argument
6038 if( nBuf>0 ) winGetLastErrorMsg(e, nBuf, zBuf);