/external/ltp/testcases/kernel/sched/clisrv/ |
D | writen.c | 30 int nleft, nwritten; in writen() local 34 nwritten = write(fd, ptr, nleft); in writen() 35 if (nwritten <= 0) in writen() 36 return (nwritten); /* error */ in writen() 37 nleft -= nwritten; in writen() 38 ptr += nwritten; in writen()
|
/external/crosvm/sys_util/src/ |
D | write_zeroes.rs | 47 let mut nwritten: usize = 0; in write_zeroes() localVariable 48 while nwritten < length { in write_zeroes() 49 let remaining = length - nwritten; in write_zeroes() 51 nwritten += self.write(&buf[0..write_size])?; in write_zeroes()
|
/external/adhd/cras/src/server/ |
D | float_buffer.h | 77 unsigned int nwritten) in float_buffer_written() argument 79 buf_increment_write(b->buf, nwritten); in float_buffer_written()
|
D | cras_a2dp_iodev.c | 386 static int put_buffer(struct cras_iodev *iodev, unsigned nwritten) in put_buffer() argument 393 written_bytes = nwritten * format_bytes; in put_buffer() 401 if (nwritten && !a2dpio->bt_written_frames) in put_buffer() 404 bt_queued_frames(iodev, nwritten); in put_buffer()
|
D | cras_rstream.c | 484 unsigned int nwritten = in cras_rstream_update_input_write_pointer() local 487 cras_shm_buffer_written(rstream->shm, nwritten); in cras_rstream_update_input_write_pointer() 492 unsigned int nwritten = in cras_rstream_update_output_read_pointer() local 495 cras_shm_buffer_read(rstream->shm, nwritten); in cras_rstream_update_output_read_pointer()
|
D | cras_iodev.h | 252 int (*put_buffer)(struct cras_iodev *iodev, unsigned nwritten); 550 unsigned int nwritten);
|
D | cras_hfp_alsa_iodev.c | 169 static int hfp_alsa_put_buffer(struct cras_iodev *iodev, unsigned nwritten) in hfp_alsa_put_buffer() argument 174 return aio->put_buffer(aio, nwritten); in hfp_alsa_put_buffer()
|
D | cras_hfp_iodev.c | 225 static int put_buffer(struct cras_iodev *iodev, unsigned nwritten) in put_buffer() argument 232 hfp_buf_release(hfpio->info, iodev->direction, nwritten); in put_buffer()
|
D | dev_io.c | 625 int nwritten; in write_streams() local 633 nwritten = dev_stream_mix(curr, odev->format, in write_streams() 637 if (nwritten < 0) { in write_streams() 642 cras_iodev_stream_written(odev, curr, nwritten); in write_streams()
|
D | cras_bt_io.c | 281 static int put_buffer(struct cras_iodev *iodev, unsigned nwritten) in put_buffer() argument 286 return dev->put_buffer(dev, nwritten); in put_buffer()
|
D | cras_iodev.c | 855 struct dev_stream *stream, unsigned int nwritten) in cras_iodev_stream_written() argument 858 nwritten); in cras_iodev_stream_written()
|
D | cras_alsa_io.c | 536 static int put_buffer(struct cras_iodev *iodev, unsigned nwritten) in put_buffer() argument 540 return cras_alsa_mmap_commit(aio->handle, aio->mmap_offset, nwritten); in put_buffer()
|
/external/mksh/src/ |
D | shf.c | 799 ssize_t nwritten = 0; in shf_vfprintf() local 809 nwritten++; in shf_vfprintf() 1038 nwritten++; in shf_vfprintf() 1042 nwritten++; in shf_vfprintf() 1048 nwritten++; in shf_vfprintf() 1054 nwritten += field; in shf_vfprintf() 1063 nwritten += precision; in shf_vfprintf() 1068 nwritten += field; in shf_vfprintf() 1073 return (shf_error(shf) ? -1 : nwritten); in shf_vfprintf()
|
D | funcs.c | 567 ssize_t nwritten; in c_print() local 569 if ((nwritten = write(po.fd, s, len)) < 0) { in c_print() 583 s += nwritten; in c_print() 584 len -= nwritten; in c_print()
|
/external/u-boot/drivers/usb/gadget/ |
D | f_mass_storage.c | 820 ssize_t nwritten; in do_write() local 937 nwritten = rc * SECTOR_SIZE; in do_write() 941 (int) nwritten); in do_write() 943 if (nwritten < 0) { in do_write() 945 (int) nwritten); in do_write() 946 nwritten = 0; in do_write() 947 } else if (nwritten < amount) { in do_write() 949 (int) nwritten, amount); in do_write() 950 nwritten -= (nwritten & 511); in do_write() 953 file_offset += nwritten; in do_write() [all …]
|
/external/crosvm/qcow/src/ |
D | qcow.rs | 1194 let mut nwritten: usize = 0; in deallocate_bytes() localVariable 1195 while nwritten < write_count { in deallocate_bytes() 1196 let curr_addr = address + nwritten as u64; in deallocate_bytes() 1197 let count = self.limit_range_cluster(curr_addr, write_count - nwritten); in deallocate_bytes() 1213 nwritten += count; in deallocate_bytes() 1367 let mut nwritten: usize = 0; in write_cb() localVariable 1368 while nwritten < write_count { in write_cb() 1369 let curr_addr = address + nwritten as u64; in write_cb() 1371 let count = self.limit_range_cluster(curr_addr, write_count - nwritten); in write_cb() 1376 if let Err(e) = cb(self.raw_file.file_mut(), nwritten, count) { in write_cb() [all …]
|
/external/adhd/audio_streams/src/ |
D | capture.rs | 188 fn trigger(&mut self, nwritten: usize) { in trigger() 189 self.frame_count += nwritten; in trigger()
|
D | audio_streams.rs | 320 fn trigger(&mut self, nwritten: usize) { in trigger() 321 self.frame_count += nwritten; in trigger()
|
/external/mdnsresponder/mDNSShared/ |
D | DebugServices.c | 1204 size_t nwritten = 0; in DebugSNPrintFVAList() local 1215 if (++nwritten >= buflen) goto exit; in DebugSNPrintFVAList() 1573 if (F.hSize) * (short *) s = (short)nwritten; in DebugSNPrintFVAList() 1574 else if (F.lSize) * (long *) s = (long)nwritten; in DebugSNPrintFVAList() 1575 else * (int *) s = (int)nwritten; in DebugSNPrintFVAList() 1582 if (++nwritten >= buflen) goto exit; in DebugSNPrintFVAList() 1589 if (++nwritten >= buflen) goto exit; in DebugSNPrintFVAList() 1592 if (i > buflen - nwritten) // Make sure we don't truncate in the middle of a UTF-8 character in DebugSNPrintFVAList() 1593 { i = buflen - nwritten; while (i>0 && (s[i] & 0xC0) == 0x80) i--; } in DebugSNPrintFVAList() 1595 nwritten += i; in DebugSNPrintFVAList() [all …]
|
/external/adhd/cras/src/tests/ |
D | iodev_stub.cc | 135 unsigned int nwritten) {} in cras_iodev_stream_written() argument
|
D | audio_thread_unittest.cc | 1104 unsigned int nwritten) {} in cras_iodev_stream_written() argument
|
/external/libpcap/ |
D | pcap-sita.c | 371 int nwritten; in send_to_fd() local 375 if ((nwritten = write(fd, str, len)) <= 0) { in send_to_fd() 382 len -= nwritten; in send_to_fd() 383 str += nwritten; in send_to_fd()
|
/external/mdnsresponder/mDNSCore/ |
D | DNSCommon.c | 2867 mDNSu32 nwritten = 0; in mDNS_vsnprintf() local 2878 if (++nwritten >= buflen) goto exit; in mDNS_vsnprintf() 3101 if (F.hSize) * (short *) s = (short)nwritten; in mDNS_vsnprintf() 3102 else if (F.lSize) * (long *) s = (long)nwritten; in mDNS_vsnprintf() 3103 else * (int *) s = (int)nwritten; in mDNS_vsnprintf() 3110 if (++nwritten >= buflen) goto exit; in mDNS_vsnprintf() 3117 if (++nwritten >= buflen) goto exit; in mDNS_vsnprintf() 3125 if (i > buflen - nwritten) in mDNS_vsnprintf() 3126 { i = buflen - nwritten; while (i>0 && (s[i] & 0xC0) == 0x80) i--; } in mDNS_vsnprintf() 3128 nwritten += i; in mDNS_vsnprintf() [all …]
|
/external/python/cpython3/Lib/multiprocessing/ |
D | connection.py | 290 nwritten, err = ov.GetOverlappedResult(True) 292 assert nwritten == len(buf)
|
/external/python/cpython2/Objects/ |
D | fileobject.c | 1898 Py_ssize_t i, j, nwritten, len; in file_writelines() local 1991 nwritten = fwrite(PyString_AS_STRING(line), in file_writelines() 1993 if (nwritten != len) { in file_writelines()
|