Lines Matching refs:aBuf
113 static int ts_read(int fd, void *aBuf, size_t nBuf);
114 static int ts_pread(int fd, void *aBuf, size_t nBuf, off_t off);
118 static int ts_pread64(int fd, void *aBuf, size_t nBuf, sqlite3_uint64 off);
119 static int ts_write(int fd, const void *aBuf, size_t nBuf);
120 static int ts_pwrite(int fd, const void *aBuf, size_t nBuf, off_t off);
121 static int ts_pwrite64(int fd, const void *aBuf, size_t nBuf, sqlite3_uint64 off);
316 static int ts_read(int fd, void *aBuf, size_t nBuf){ in ts_read() argument
320 return orig_read(fd, aBuf, nBuf); in ts_read()
326 static int ts_pread(int fd, void *aBuf, size_t nBuf, off_t off){ in ts_pread() argument
330 return orig_pread(fd, aBuf, nBuf, off); in ts_pread()
336 static int ts_pread64(int fd, void *aBuf, size_t nBuf, sqlite3_uint64 off){ in ts_pread64() argument
340 return orig_pread64(fd, aBuf, nBuf, off); in ts_pread64()
346 static int ts_write(int fd, const void *aBuf, size_t nBuf){ in ts_write() argument
348 if( tsErrno("write")==EINTR ) orig_write(fd, aBuf, nBuf/2); in ts_write()
351 return orig_write(fd, aBuf, nBuf); in ts_write()
357 static int ts_pwrite(int fd, const void *aBuf, size_t nBuf, off_t off){ in ts_pwrite() argument
361 return orig_pwrite(fd, aBuf, nBuf, off); in ts_pwrite()
367 static int ts_pwrite64(int fd, const void *aBuf, size_t nBuf, sqlite3_uint64 off){ in ts_pwrite64() argument
371 return orig_pwrite64(fd, aBuf, nBuf, off); in ts_pwrite64()