/external/ltp/include/ |
D | tst_safe_prw.h | 22 char len_strict, int fildes, void *buf, size_t nbyte, in safe_pread() argument 27 rval = pread(fildes, buf, nbyte, offset); in safe_pread() 29 if (rval == -1 || (len_strict && (size_t)rval != nbyte)) { in safe_pread() 32 fildes, buf, nbyte, (long long)offset); in safe_pread() 37 #define SAFE_PREAD(len_strict, fildes, buf, nbyte, offset) \ argument 39 (buf), (nbyte), (offset)) 42 char len_strict, int fildes, const void *buf, size_t nbyte, in safe_pwrite() argument 47 rval = pwrite(fildes, buf, nbyte, offset); in safe_pwrite() 48 if (rval == -1 || (len_strict && (size_t)rval != nbyte)) { in safe_pwrite() 51 fildes, buf, nbyte, (long long)offset); in safe_pwrite() [all …]
|
D | safe_macros_fn.h | 72 void *buf, size_t nbyte); 115 const void *buf, size_t nbyte);
|
D | tst_safe_macros.h | 102 #define SAFE_READ(len_strict, fildes, buf, nbyte) \ argument 103 safe_read(__FILE__, __LINE__, NULL, (len_strict), (fildes), (buf), (nbyte)) 161 #define SAFE_WRITE(len_strict, fildes, buf, nbyte) \ argument 162 safe_write(__FILE__, __LINE__, NULL, (len_strict), (fildes), (buf), (nbyte))
|
/external/ltp/testcases/network/tcp_cmds/sendfile/ |
D | testsf_c.c | 33 int nbyte; in main() local 99 if ((nbyte = write(s, rbuf, strlen(rbuf))) <= 0) { in main() 106 nbyte, rbuf); in main() 111 while ((nbyte = read(s, rbuf, PATH_MAX)) > 0) { in main() 112 nlen += nbyte; in main() 113 if (write(fd, rbuf, nbyte) != nbyte) { in main()
|
/external/u-boot/drivers/spi/ |
D | sh_qspi.c | 205 u32 nbyte, chunk; in spi_xfer() local 222 nbyte = bitlen / 8; in spi_xfer() 232 writel(nbyte, spbmul0); in spi_xfer() 240 while (nbyte > 0) { in spi_xfer() 245 chunk = (nbyte >= 32) ? 32 : 1; in spi_xfer() 272 nbyte -= chunk; in spi_xfer()
|
/external/libxaac/decoder/ |
D | ixheaacd_drc_freq_dec.c | 575 WORD32 ich, nbyte = 0; in ixheaacd_drc_excluded_channels() local 586 nbyte++; in ixheaacd_drc_excluded_channels() 595 nbyte++; in ixheaacd_drc_excluded_channels() 599 return nbyte; in ixheaacd_drc_excluded_channels() 604 WORD32 ich, idrc, nbyte = 1; in ixheaacd_drc_element_read() local 618 nbyte++; in ixheaacd_drc_element_read() 627 nbyte += ixheaacd_drc_excluded_channels(bs, MAX_AUDIO_CHANNELS, in ixheaacd_drc_element_read() 635 nbyte++; in ixheaacd_drc_element_read() 640 nbyte++; in ixheaacd_drc_element_read() 652 nbyte++; in ixheaacd_drc_element_read() [all …]
|
/external/syzkaller/vendor/golang.org/x/text/unicode/norm/ |
D | composition.go | 101 nbyte uint8 // Number or bytes. member 136 rb.nbyte = 0 198 pos := uint8(rb.nbyte) 199 rb.nbyte += utf8.UTFMax 259 i += copy(rb.byte[rb.nbyte:], dcomp[i:i+int(info.size)]) 268 src.copySlice(rb.byte[rb.nbyte:], i, i+int(info.size)) 279 bn := rb.nbyte 281 rb.nbyte += utf8.UTFMax
|
/external/u-boot/fs/yaffs2/ |
D | yaffsfs.c | 1065 int yaffsfs_do_read(int handle, void *vbuf, unsigned int nbyte, in yaffsfs_do_read() argument 1096 } else if (nbyte > YAFFS_MAX_FILE_SIZE) { in yaffsfs_do_read() 1112 if (nbyte > maxRead) in yaffsfs_do_read() 1113 nbyte = maxRead; in yaffsfs_do_read() 1117 endPos = pos + nbyte; in yaffsfs_do_read() 1120 nbyte > YAFFS_MAX_FILE_SIZE || in yaffsfs_do_read() 1123 nbyte = 0; in yaffsfs_do_read() 1126 while (nbyte > 0) { in yaffsfs_do_read() 1129 if (nToRead > nbyte) in yaffsfs_do_read() 1130 nToRead = nbyte; in yaffsfs_do_read() [all …]
|
D | yaffsfs.h | 90 int yaffs_read(int fd, void *buf, unsigned int nbyte) ; 91 int yaffs_write(int fd, const void *buf, unsigned int nbyte) ; 93 int yaffs_pread(int fd, void *buf, unsigned int nbyte, loff_t offset); 94 int yaffs_pwrite(int fd, const void *buf, unsigned int nbyte, loff_t offset);
|
/external/libxcam/tests/ |
D | test-poll-thread.cpp | 82 size_t dump_to_file(const void *buf, size_t nbyte); 130 PollCB::dump_to_file (const void *buf, size_t nbyte) in dump_to_file() argument 134 return fwrite(buf, nbyte, 1, _file); in dump_to_file()
|
/external/ltp/testcases/kernel/syscalls/epoll2/examples/ |
D | epoll-test.c | 222 int eph_read(struct eph_conn *conn, char *buf, int nbyte) in eph_read() argument 226 while ((n = read(conn->sfd, buf, nbyte)) < 0) { in eph_read() 241 int eph_write(struct eph_conn *conn, char const *buf, int nbyte) in eph_write() argument 245 while ((n = write(conn->sfd, buf, nbyte)) < 0) { in eph_write() 314 static int eph_write_data(struct eph_conn *conn, char const *buf, int nbyte) in eph_write_data() argument 318 for (wbytes = 0; wbytes < nbyte;) { in eph_write_data() 319 if ((wcurr = eph_write(conn, buf + wbytes, nbyte - wbytes)) < 0) in eph_write_data()
|
/external/libnl/lib/route/cls/ematch/ |
D | nbyte.c | 71 static const char *layer_txt(struct tcf_em_nbyte *nbyte) in layer_txt() argument 73 switch (nbyte->layer) { in layer_txt()
|
/external/libbrillo/brillo/streams/ |
D | file_stream.h | 41 virtual ssize_t Read(void* buf, size_t nbyte) = 0; 42 virtual ssize_t Write(const void* buf, size_t nbyte) = 0;
|
D | file_stream.cc | 41 ssize_t Read(void* buf, size_t nbyte) override { in Read() argument 42 return HANDLE_EINTR(read(fd_, buf, nbyte)); in Read() 45 ssize_t Write(const void* buf, size_t nbyte) override { in Write() argument 46 return HANDLE_EINTR(write(fd_, buf, nbyte)); in Write()
|
/external/ltp/lib/ |
D | safe_macros.c | 247 char len_strict, int fildes, void *buf, size_t nbyte) in safe_read() argument 251 rval = read(fildes, buf, nbyte); in safe_read() 252 if (rval == -1 || (len_strict && (size_t)rval != nbyte)) { in safe_read() 255 file, lineno, fildes, buf, nbyte, rval); in safe_read() 444 char len_strict, int fildes, const void *buf, size_t nbyte) in safe_write() argument 448 rval = write(fildes, buf, nbyte); in safe_write() 449 if (rval == -1 || (len_strict && (size_t)rval != nbyte)) { in safe_write()
|
/external/ltp/include/old/ |
D | safe_macros.h | 69 #define SAFE_READ(cleanup_fn, len_strict, fildes, buf, nbyte) \ argument 71 (buf), (nbyte)) 107 #define SAFE_WRITE(cleanup_fn, len_strict, fildes, buf, nbyte) \ argument 109 (buf), (nbyte))
|
/external/iproute2/etc/iproute2/ |
D | ematch_map | 3 2 nbyte
|
/external/libnl/include/ |
D | Makefile.am | 38 netlink/route/cls/ematch/nbyte.h \
|
/external/llvm/include/llvm/Analysis/ |
D | TargetLibraryInfo.def | 807 /// ssize_t pread(int fildes, void *buf, size_t nbyte, off_t offset); 822 /// ssize_t pwrite(int fildes, const void *buf, size_t nbyte, off_t offset); 829 /// ssize_t read(int fildes, void *buf, size_t nbyte); 1115 /// ssize_t write(int fildes, const void *buf, size_t nbyte);
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/ |
D | TargetLibraryInfo.def | 1001 /// ssize_t pread(int fildes, void *buf, size_t nbyte, off_t offset); 1022 /// ssize_t pwrite(int fildes, const void *buf, size_t nbyte, off_t offset); 1029 /// ssize_t read(int fildes, void *buf, size_t nbyte); 1318 /// ssize_t write(int fildes, const void *buf, size_t nbyte);
|
/external/ltp/testcases/kernel/fs/scsi/ltpscsi/ |
D | scsimain.c | 5118 static int getnbyte(unsigned char *pnt, int nbyte) in getnbyte() argument 5123 for (i = 0; i < nbyte; i++) in getnbyte()
|
/external/v8/tools/profviz/ |
D | gnuplot-4.6.3-emscripten.js | 1485 function _pwrite(fildes, buf, nbyte, offset) { argument 1498 } else if (nbyte < 0 || offset < 0) { 1504 for (var i = 0; i < nbyte; i++) { 1510 }function _write(fildes, buf, nbyte) { argument 1515 return _send(fildes, buf, nbyte, 0); 1522 } else if (nbyte < 0) { 1528 for (var i = 0; i < nbyte; i++) { 1543 var bytesWritten = _pwrite(fildes, buf, nbyte, stream.position); 2076 function _pread(fildes, buf, nbyte, offset) { argument 2089 } else if (nbyte < 0 || offset < 0) { [all …]
|