Home
last modified time | relevance | path

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

/external/valgrind/auxprogs/
Dvalgrind-di-server.c577 SizeT nWritten = 0; in my_write() local
579 if (nWritten == len) return nWritten; in my_write()
580 assert(nWritten < len); in my_write()
581 SizeT nStillToDo = len - nWritten; in my_write()
583 SSizeT n = write(fd, &buf[nWritten], nStillToDo); in my_write()
584 if (n < 0) return nWritten; /* error or EOF */ in my_write()
585 nWritten += n; in my_write()
/external/valgrind/coregrind/m_debuginfo/
Dimage.c175 Int nWritten = 0; in my_write() local
177 if (nWritten == len) return nWritten; in my_write()
178 vg_assert(nWritten < len); in my_write()
179 Int nStillToDo = len - nWritten; in my_write()
181 Int n = VG_(write_socket)(fd, &buf[nWritten], nStillToDo); in my_write()
182 if (n < 0) return nWritten; /* error or EOF */ in my_write()
183 nWritten += n; in my_write()