Searched refs:byteswritten (Results 1 – 2 of 2) sorted by relevance
/external/libvncserver/test/ |
D | bmp.c | 270 if((byteswritten=write(fd, addr, (size)))==-1) _throw(strerror(errno)); \ 271 if(byteswritten!=(size)) _throw("Write error"); 301 int fd=-1, byteswritten, dstpitch, retcode=0; in savebmp() local 377 if((byteswritten=write(fd, tempbuf, dstpitch*h))!=dstpitch*h) in savebmp()
|
/external/ltp/testcases/kernel/fs/fsx-linux/ |
D | fsx-linux.c | 275 ssize_t byteswritten; in save_buffer() local 301 byteswritten = write(fd, buffer, (size_t) bufferlength); in save_buffer() 302 if (byteswritten != bufferlength) { in save_buffer() 303 if (byteswritten == -1) in save_buffer() 308 (unsigned)byteswritten, in save_buffer()
|