Home | History | Annotate | Download | only in async

Lines Matching refs:nByte

417 ** The interpretation of the iOffset and nByte variables varies depending 
425 ** nByte -> Number of bytes of data to write (pointed to by zBuf).
428 ** nByte -> flags to pass to sqlite3OsSync().
432 ** nByte -> Unused.
436 ** nByte -> Unused.
440 ** nByte -> Number of bytes of zBuf points to (file name).
444 ** nByte -> Number of bytes of zBuf points to (file name).
447 ** nByte -> Argument to sqlite3OsUnlock().
459 int nByte; /* See above */
591 int nByte,
598 p = sqlite3_malloc(sizeof(AsyncWrite) + (zByte?nByte:0));
610 p->nByte = nByte;
615 memcpy(p->zBuf, zByte, nByte);
708 sqlite3_int64 nByte64 = (sqlite3_int64)pWrite->nByte;
740 ** Truncate the file to nByte bytes in length. This just adds an entry to
743 static int asyncTruncate(sqlite3_file *pFile, sqlite3_int64 nByte){
745 return addNewAsyncWrite(p, ASYNC_TRUNCATE, nByte, 0, 0);
796 s = MAX(pWrite->iOffset + (sqlite3_int64)(pWrite->nByte), s);
1041 int nByte;
1052 nByte = (
1057 z = sqlite3_malloc(nByte);
1061 memset(z, 0, nByte);
1096 int nByte = pVfs->szOsFile + sizeof(AsyncLock) + pData->nName + 1;
1097 pLock = (AsyncLock *)sqlite3_malloc(nByte);
1099 memset(pLock, 0, nByte);
1269 static void asyncDlError(sqlite3_vfs *pAsyncVfs, int nByte, char *zErrMsg){
1271 pVfs->xDlError(pVfs, nByte, zErrMsg);
1285 static int asyncRandomness(sqlite3_vfs *pAsyncVfs, int nByte, char *zBufOut){
1287 return pVfs->xRandomness(pVfs, nByte, zBufOut);
1409 p->pFileData->zName, p->nByte, p->iOffset));
1410 rc = pBase->pMethods->xWrite(pBase, (void *)(p->zBuf), p->nByte, p->iOffset);
1416 rc = pBase->pMethods->xSync(pBase, p->nByte);
1458 int eLock = p->nByte;