Searched refs:nwritten (Results 1 - 14 of 14) sorted by relevance

/haiku/src/tests/system/network/sock/
H A Dwriten.c9 ssize_t nwritten; local
15 if ( (nwritten = write(fd, ptr, nleft)) <= 0) {
17 nwritten = 0; /* and call write() again */
22 nleft -= nwritten;
23 ptr += nwritten;
H A Dwrite.c22 int chunksize, i, n, nleft, nwritten, ntotal; local
60 nwritten = write(fd, iov[n].iov_base, iov[n].iov_len);
61 if (nwritten != (int) iov[n].iov_len)
63 ntotal += nwritten;
/haiku/src/add-ons/kernel/drivers/audio/echo/
H A Dmidi.cpp138 DWORD nwritten = *_nwritten; local
142 err = card->pEG->WriteMidi(nwritten, (PBYTE)ptr, &nwritten);
143 *_nwritten = nwritten;
/haiku/src/add-ons/kernel/drivers/audio/cmedia/
H A Djoy.c108 size_t * nwritten)
110 return (*gameport->write_hook)(cookie, pos, data, nwritten);
104 joy_write( void * cookie, off_t pos, const void * data, size_t * nwritten) argument
H A Dmidi.c169 size_t * nwritten)
171 return (*mpu401->write_hook)(cookie, pos, ptr, nwritten);
165 midi_write( void * cookie, off_t pos, const void * ptr, size_t * nwritten) argument
H A Dmixer.c300 size_t * nwritten)
296 mixer_write( void * cookie, off_t pos, const void * data, size_t * nwritten) argument
H A Dmux.c277 size_t * nwritten)
273 mux_write( void * cookie, off_t pos, const void * data, size_t * nwritten) argument
H A Dpcm.c1453 size_t * nwritten)
1459 int to_write = *nwritten; /* in play bytes, not input bytes! */
1465 *nwritten = 0;
1554 *nwritten = written;
1449 pcm_write( void * cookie, off_t pos, const void * data, size_t * nwritten) argument
/haiku/src/add-ons/kernel/drivers/audio/emuxki/
H A Djoy.c92 joy_write(void * cookie, off_t pos, const void * data, size_t * nwritten) argument
94 return (*gameport->write_hook)(cookie, pos, data, nwritten);
H A Dmidi.c189 size_t * nwritten)
191 return (*mpu401->write_hook)(cookie, pos, ptr, nwritten);
185 midi_write( void * cookie, off_t pos, const void * ptr, size_t * nwritten) argument
/haiku/src/add-ons/kernel/drivers/audio/ice1712/
H A Dmidi.cpp144 size_t * nwritten)
148 ret = (*mpu401->write_hook)(cookie, pos, ptr, nwritten);
143 ice1712Midi_write(void * cookie, off_t pos, const void * ptr, size_t * nwritten) argument
/haiku/src/add-ons/translators/stxt/
H A DSTXTTranslator.cpp307 ssize_t nread = 0, nwritten = 0, nreed = 0, ntotalread = 0; local
329 nwritten = outDestination->Write(buffer, nread);
330 if (nwritten != nread)
403 ssize_t nwritten = 0; local
404 nwritten = outDestination->Write(buffer, kHeadersSize);
405 if (nwritten != kHeadersSize)
/haiku/src/add-ons/kernel/drivers/joystick/emuxkigameport/
H A Ddriver.cpp252 device_write(void * cookie, off_t pos, const void * data, size_t * nwritten) argument
255 return (*gameport->write_hook)(cookie, pos, data, nwritten);
/haiku/src/apps/poorman/libhttpd/
H A Dlibhttpd.c3636 size_t nwritten; local
3638 nwritten = 0;
3639 while ( nwritten < nbytes )
3643 r = write( fd, (char*) buf + nwritten, nbytes - nwritten );
3653 nwritten += r;
3656 return nwritten;

Completed in 196 milliseconds