Home
last modified time | relevance | path

Searched refs:towrite (Results 1 – 5 of 5) sorted by relevance

/external/chromium_org/gpu/command_buffer/common/
Dcommand_buffer_shared.h38 int towrite = !base::subtle::Acquire_Load(&reading_); in Write() local
39 int index = !base::subtle::Acquire_Load(&slots_[towrite]); in Write()
40 states_[towrite][index] = state; in Write()
41 base::subtle::Release_Store(&slots_[towrite], index); in Write()
42 base::subtle::Release_Store(&latest_, towrite); in Write()
/external/qemu/distrib/sdl-1.2.15/src/audio/nto/
DSDL_nto_audio.c251 int towrite; in NTO_PlayAudio() local
259 towrite = this->spec.size; in NTO_PlayAudio()
264 written = snd_pcm_plugin_write(audio_handle, pcm_buf, towrite); in NTO_PlayAudio()
265 if (written != towrite) in NTO_PlayAudio()
272 towrite -= written; in NTO_PlayAudio()
306 towrite -= written; in NTO_PlayAudio()
309 } while ((towrite > 0) && (this->enabled)); in NTO_PlayAudio()
312 if (towrite != 0) in NTO_PlayAudio()
/external/libmtp/src/
Dlibusb-glue.c939 unsigned long towrite = 0; in ptp_write_func() local
951 towrite = size-curwrite; in ptp_write_func()
952 if (towrite > CONTEXT_BLOCK_SIZE) { in ptp_write_func()
953 towrite = CONTEXT_BLOCK_SIZE; in ptp_write_func()
956 if (towrite > ptp_usb->outep_maxpacket && towrite % ptp_usb->outep_maxpacket != 0) { in ptp_write_func()
957 towrite -= towrite % ptp_usb->outep_maxpacket; in ptp_write_func()
960 int getfunc_ret = handler->getfunc(NULL, handler->priv,towrite,bytes,&towrite); in ptp_write_func()
963 while (usbwritten < towrite) { in ptp_write_func()
964 …result = USB_BULK_WRITE(ptp_usb->handle,ptp_usb->outep,((char*)bytes+usbwritten),towrite-usbwritte… in ptp_write_func()
999 if (result < towrite) /* short writes happen */ in ptp_write_func()
[all …]
/external/qemu/slirp-android/
Ddebug.c108 lprint(" towrite is %d bytes\r\n", ttyp->towrite);
/external/qemu/slirp/
Ddebug.c109 lprint(" towrite is %d bytes\r\n", ttyp->towrite);