Home
last modified time | relevance | path

Searched refs:nWritten (Results 1 – 2 of 2) sorted by relevance

/external/valgrind/auxprogs/
Dvalgrind-di-server.c579 SizeT nWritten = 0; in my_write() local
581 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()
/external/valgrind/coregrind/m_debuginfo/
Dimage.c238 Int nWritten = 0; in my_write() local
240 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()