Searched refs:nread (Results 1 - 10 of 10) sorted by relevance
/fuchsia/zircon/system/ulib/fdio/ |
H A D | get-vmo.c | 60 size_t nread; local 61 status = read_at(io, buffer, xfer, offset, &nread); 66 status = zx_vmo_write(*out_vmo, buffer, offset, nread); 71 offset += nread; 72 size -= nread; 88 size_t nread; local 89 status = read_at(io, buffer, chunk, offset, &nread); 95 buffer += nread; 96 offset += nread; 97 size -= nread; [all...] |
/fuchsia/zircon/third_party/ulib/ngunwind/src/ |
H A D | os-linux.h | 208 ssize_t i, nread; local 235 nread = read (mi->fd, mi->buf + bytes_left, 237 if (nread <= 0) 239 else if ((size_t) (nread + bytes_left) < mi->buf_size) 244 memmove (mi->buf_end - nread - bytes_left, mi->buf, 245 nread + bytes_left); 246 mi->buf = mi->buf_end - nread - bytes_left; 249 eol = mi->buf + bytes_left + nread - 1; 251 for (i = bytes_left; i < bytes_left + nread; ++i)
|
/fuchsia/zircon/kernel/syscalls/ |
H A D | socket.cpp | 104 size_t nread; 108 status = socket->Read(buffer, size, &nread); 111 status = socket->ReadControl(buffer, size, &nread); 119 status = actual.copy_to_user(nread);
|
/fuchsia/zircon/kernel/object/include/object/ |
H A D | socket_dispatcher.h | 43 zx_status_t Read(user_out_ptr<void> dst, size_t len, size_t* nread); 45 zx_status_t ReadControl(user_out_ptr<void> dst, size_t len, size_t* nread);
|
/fuchsia/zircon/third_party/ulib/jemalloc/src/ |
H A D | pages.c | 351 ssize_t nread; local 362 nread = (ssize_t)syscall(SYS_read, fd, &buf, sizeof(buf)); 364 nread = read(fd, &buf, sizeof(buf)); 373 if (nread < 1)
|
H A D | prof.c | 1438 ssize_t nread; local 1445 nread = 0; 1447 prof_dump_buf_end += nread; 1456 nread = read(mfd, &prof_dump_buf[prof_dump_buf_end], 1458 } while (nread > 0);
|
/fuchsia/zircon/third_party/ulib/linenoise/ |
H A D | linenoise.c | 398 int nread, nwritten; local 422 nread = read(ls->ifd,&c,1); 423 if (nread <= 0) { 854 int nread; local 857 nread = read(l.ifd,&c,1); 858 if (nread <= 0) return l.len; 1029 int nread; local 1031 nread = read(STDIN_FILENO,&c,1); 1032 if (nread <= 0) continue;
|
/fuchsia/zircon/kernel/object/ |
H A D | socket_dispatcher.cpp | 305 size_t* nread) TA_NO_THREAD_SAFETY_ANALYSIS { 314 *nread = data_.size(); 364 *nread = static_cast<size_t>(st); 369 size_t* nread) TA_NO_THREAD_SAFETY_ANALYSIS { 390 *nread = copy_len;
|
/fuchsia/zircon/third_party/uapp/kilo/ |
H A D | kilo.c | 267 int nread; local 269 while ((nread = read(fd,&c,1)) == 0); 270 if (nread == -1) exit(1);
|
/fuchsia/zircon/system/host/zbi/ |
H A D | zbi.cpp | 566 size_t nwritten = dst_size, nread = src_size; local 567 LZ4F_CALL(LZ4F_decompress, ctx, dst, &nwritten, src, &nread, 570 assert(nread <= src_size); 571 src += nread; 572 src_size -= nread;
|
Completed in 72 milliseconds