Searched refs:nWritten (Results 1 – 2 of 2) sorted by relevance
579 SizeT nWritten = 0; in my_write() local581 if (nWritten == len) return nWritten; in my_write()582 assert(nWritten < len); in my_write()583 SizeT nStillToDo = len - nWritten; in my_write()585 SSizeT n = write(fd, &buf[nWritten], nStillToDo); in my_write()586 if (n < 0) return nWritten; /* error or EOF */ in my_write()587 nWritten += n; in my_write()
238 Int nWritten = 0; in my_write() local240 if (nWritten == len) return nWritten; in my_write()241 vg_assert(nWritten < len); in my_write()242 Int nStillToDo = len - nWritten; in my_write()244 Int n = VG_(write_socket)(fd, &buf[nWritten], nStillToDo); in my_write()245 if (n < 0) return nWritten; /* error or EOF */ in my_write()246 nWritten += n; in my_write()