/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/ltp/lib/ |
D | safe_macros.c | 241 char len_strict, int fildes, void *buf, size_t nbyte) in safe_read() argument 245 rval = read(fildes, buf, nbyte); in safe_read() 246 if (rval == -1 || (len_strict && (size_t)rval != nbyte)) { in safe_read() 249 file, lineno, fildes, buf, nbyte, rval); in safe_read() 256 char len_strict, int fildes, void *buf, size_t nbyte, in safe_pread() argument 261 rval = pread(fildes, buf, nbyte, offset); in safe_pread() 262 if (rval == -1 || (len_strict && (size_t)rval != nbyte)) { in safe_pread() 265 file, lineno, fildes, buf, nbyte, offset, rval); in safe_pread() 447 char len_strict, int fildes, const void *buf, size_t nbyte) in safe_write() argument 451 rval = write(fildes, buf, nbyte); in safe_write() [all …]
|
/external/ltp/include/old/ |
D | safe_macros.h | 66 #define SAFE_READ(cleanup_fn, len_strict, fildes, buf, nbyte) \ argument 68 (buf), (nbyte)) 70 #define SAFE_PREAD(cleanup_fn, len_strict, fildes, buf, nbyte, offset) \ argument 72 (buf), (nbyte), (offset)) 108 #define SAFE_WRITE(cleanup_fn, len_strict, fildes, buf, nbyte) \ argument 110 (buf), (nbyte)) 112 #define SAFE_PWRITE(cleanup_fn, len_strict, fildes, buf, nbyte, offset) \ argument 114 (buf), (nbyte), (offset))
|
/external/ltp/include/ |
D | tst_safe_macros.h | 81 #define SAFE_READ(len_strict, fildes, buf, nbyte) \ argument 82 safe_read(__FILE__, __LINE__, NULL, (len_strict), (fildes), (buf), (nbyte)) 84 #define SAFE_PREAD(len_strict, fildes, buf, nbyte, offset) \ argument 86 (buf), (nbyte), (offset)) 138 #define SAFE_WRITE(len_strict, fildes, buf, nbyte) \ argument 139 safe_write(__FILE__, __LINE__, NULL, (len_strict), (fildes), (buf), (nbyte)) 141 #define SAFE_PWRITE(len_strict, fildes, buf, nbyte, offset) \ argument 143 (buf), (nbyte), (offset))
|
D | safe_macros_fn.h | 72 void *buf, size_t nbyte); 76 int fildes, void *buf, size_t nbyte, off_t offset); 119 const void *buf, size_t nbyte); 123 const void *buf, size_t nbyte, off_t offset);
|
/external/fmtlib/test/ |
D | posix-mock.h | 72 ssize_t read(int fildes, void *buf, size_t nbyte); 73 ssize_t write(int fildes, const void *buf, size_t nbyte);
|
D | posix-mock-test.cc | 158 test::ssize_t test::read(int fildes, void *buf, test::size_t nbyte) { in read() argument 159 read_nbyte = nbyte; in read() 161 return ::FMT_POSIX(read(fildes, buf, nbyte)); in read() 164 test::ssize_t test::write(int fildes, const void *buf, test::size_t nbyte) { in write() argument 165 write_nbyte = nbyte; in write() 167 return ::FMT_POSIX(write(fildes, buf, nbyte)); in write()
|
/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/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/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/iproute2/etc/iproute2/ |
D | ematch_map | 3 2 nbyte
|
/external/fio/os/ |
D | os-windows.h | 109 ssize_t pread(int fildes, void *buf, size_t nbyte, off_t offset); 110 ssize_t pwrite(int fildes, const void *buf, size_t nbyte,
|
/external/fio/os/windows/ |
D | posix.c | 686 ssize_t pwrite(int fildes, const void *buf, size_t nbyte, in pwrite() argument 690 ssize_t len = _write(fildes, buf, nbyte); in pwrite() 695 ssize_t pread(int fildes, void *buf, size_t nbyte, off_t offset) in pread() argument 698 ssize_t len = read(fildes, buf, nbyte); in pread()
|
/external/libnl/include/ |
D | Makefile.am | 38 netlink/route/cls/ematch/nbyte.h \
|
/external/mmc-utils/ |
D | mmc_cmds.c | 1465 #define DO_IO(func, fd, buf, nbyte) \ argument 1469 r = func(fd, buf + ret, nbyte - ret); \ 1476 } while (r != 0 && (size_t)ret != nbyte); \
|
/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/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/valgrind/coregrind/m_syswrap/ |
D | syswrap-solaris.c | 7050 vki_size_t, nbyte, vki_off_t, offset); 7070 vki_size_t, nbyte, vki_off_t, offset);
|
/external/valgrind/memcheck/tests/solaris/ |
D | scalar.stderr.exp | 2651 Syscall param pread(nbyte) contains uninitialised byte(s) 2670 Syscall param pwrite(nbyte) contains uninitialised byte(s)
|
/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 …]
|