Home
last modified time | relevance | path

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

/third_party/ulib/ngunwind/src/
A Dos-linux.h208 ssize_t i, nread; in maps_next() local
235 nread = read (mi->fd, mi->buf + bytes_left, in maps_next()
237 if (nread <= 0) in maps_next()
239 else if ((size_t) (nread + bytes_left) < mi->buf_size) in maps_next()
244 memmove (mi->buf_end - nread - bytes_left, mi->buf, in maps_next()
245 nread + bytes_left); in maps_next()
246 mi->buf = mi->buf_end - nread - bytes_left; in maps_next()
249 eol = mi->buf + bytes_left + nread - 1; in maps_next()
251 for (i = bytes_left; i < bytes_left + nread; ++i) in maps_next()
/third_party/ulib/jemalloc/src/
A Dpages.c351 ssize_t nread; in os_overcommits_proc() local
362 nread = (ssize_t)syscall(SYS_read, fd, &buf, sizeof(buf)); in os_overcommits_proc()
364 nread = read(fd, &buf, sizeof(buf)); in os_overcommits_proc()
373 if (nread < 1) in os_overcommits_proc()
A Dprof.c1438 ssize_t nread; in prof_dump_maps() local
1445 nread = 0; in prof_dump_maps()
1447 prof_dump_buf_end += nread; in prof_dump_maps()
1456 nread = read(mfd, &prof_dump_buf[prof_dump_buf_end], in prof_dump_maps()
1458 } while (nread > 0); in prof_dump_maps()
/third_party/ulib/linenoise/
A Dlinenoise.c398 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;
/third_party/uapp/kilo/
A Dkilo.c267 int nread; in editorReadKey() local
269 while ((nread = read(fd,&c,1)) == 0); in editorReadKey()
270 if (nread == -1) exit(1); in editorReadKey()

Completed in 14 milliseconds