Searched refs:pread (Results 1 - 25 of 46) sorted by relevance

12

/external/elfutils/lib/
H A Dsystem.h79 TEMP_FAILURE_RETRY (pread (fd, buf, len, off))
H A Dcrc32_file.c97 while ((count = TEMP_FAILURE_RETRY (pread (fd, buffer, sizeof buffer,
/external/elfutils/tests/
H A Darextract.c118 ssize_t n = pread (fd, buf, MIN (sizeof buf, todo), offset);
/external/valgrind/main/coregrind/m_ume/
H A Dscript.c91 res = VG_(pread)(fd, hdr, len, 0);
H A Dmacho.c508 res = VG_(pread)(fd, &mh, sizeof(mh), offset);
536 res = VG_(pread)(fd, headers, len, offset);
718 res = VG_(pread)(fd, &fh, sizeof(fh), offset);
734 res = VG_(pread)(fd, &arch, sizeof(arch), arch_offset);
780 res = VG_(pread)(fd, &magic, sizeof(magic), offset);
H A Delf.c101 sres = VG_(pread)(fd, &e->e, sizeof(e->e), 0);
141 sres = VG_(pread)(fd, e->p, phsz, e->e.e_phoff);
371 VG_(pread)(fd, buf, ph->p_filesz, ph->p_offset);
H A Dmain.c103 res = VG_(pread)(fd, buf, bufsz, 0);
/external/valgrind/main/coregrind/
H A Dpub_core_libcfile.h84 in terms of pread()?) */
85 extern SysRes VG_(pread) ( Int fd, void* buf, Int count, OffT offset );
/external/chromium_org/content/common/
H A Dchild_process_sandbox_support_impl_linux.cc124 ssize_t n = HANDLE_EINTR(pread(fd, &num_tables, sizeof(num_tables),
135 n = HANDLE_EINTR(pread(fd, table_entries.get(), directory_size,
171 ssize_t n = HANDLE_EINTR(pread(fd, output, data_length, data_offset));
/external/chromium_org/third_party/mesa/src/src/glx/
H A Ddrisw_glx.c215 __GLXDRIdrawable *pread = &(prp->base); local
216 Display *dpy = pread->psc->dpy;
220 readable = pread->xDrawable;
272 struct drisw_drawable *pdraw, *pread; local
275 pread = (struct drisw_drawable *) driFetchDrawable(context, read);
279 if (pdraw == NULL || pread == NULL)
283 pdraw->driDrawable, pread->driDrawable))
H A Ddri2_glx.c143 struct dri2_drawable *pdraw, *pread; local
147 pread = (struct dri2_drawable *) driFetchDrawable(context, read);
151 if (pdraw == NULL || pread == NULL)
155 pdraw->driDrawable, pread->driDrawable))
164 if (pread != pdraw)
165 dri2InvalidateBuffers(psc->base.dpy, pread->base.xDrawable);
H A Ddri_glx.c534 struct dri_drawable *pdraw, *pread; local
537 pread = (struct dri_drawable *) driFetchDrawable(context, read);
541 if (pdraw == NULL || pread == NULL)
545 pdraw->driDrawable, pread->driDrawable))
/external/mesa3d/src/glx/
H A Ddrisw_glx.c215 __GLXDRIdrawable *pread = &(prp->base); local
216 Display *dpy = pread->psc->dpy;
220 readable = pread->xDrawable;
272 struct drisw_drawable *pdraw, *pread; local
275 pread = (struct drisw_drawable *) driFetchDrawable(context, read);
279 if (pdraw == NULL || pread == NULL)
283 pdraw->driDrawable, pread->driDrawable))
H A Ddri2_glx.c143 struct dri2_drawable *pdraw, *pread; local
147 pread = (struct dri2_drawable *) driFetchDrawable(context, read);
151 if (pdraw == NULL || pread == NULL)
155 pdraw->driDrawable, pread->driDrawable))
164 if (pread != pdraw)
165 dri2InvalidateBuffers(psc->base.dpy, pread->base.xDrawable);
H A Ddri_glx.c534 struct dri_drawable *pdraw, *pread; local
537 pread = (struct dri_drawable *) driFetchDrawable(context, read);
541 if (pdraw == NULL || pread == NULL)
545 pdraw->driDrawable, pread->driDrawable))
/external/bison/darwin-lib/
H A Dunistd.h1465 <http://pubs.opengroup.org/onlinepubs/9699919799/functions/pread.html>. */
1468 # undef pread
1469 # define pread rpl_pread
1471 _GL_FUNCDECL_RPL (pread, ssize_t,
1474 _GL_CXXALIAS_RPL (pread, ssize_t,
1478 _GL_FUNCDECL_SYS (pread, ssize_t,
1482 _GL_CXXALIAS_SYS (pread, ssize_t,
1485 _GL_CXXALIASWARN (pread);
1487 # undef pread macro
1489 _GL_WARN_ON_USE (pread, "prea
[all...]
/external/bison/lib/
H A Dunistd.in.h1153 <http://pubs.opengroup.org/onlinepubs/9699919799/functions/pread.html>. */
1156 # undef pread
1157 # define pread rpl_pread
1159 _GL_FUNCDECL_RPL (pread, ssize_t,
1162 _GL_CXXALIAS_RPL (pread, ssize_t,
1166 _GL_FUNCDECL_SYS (pread, ssize_t,
1170 _GL_CXXALIAS_SYS (pread, ssize_t,
1173 _GL_CXXALIASWARN (pread);
1175 # undef pread
1177 _GL_WARN_ON_USE (pread, "prea
[all...]
/external/bison/linux-lib/
H A Dunistd.h1465 <http://pubs.opengroup.org/onlinepubs/9699919799/functions/pread.html>. */
1468 # undef pread
1469 # define pread rpl_pread
1471 _GL_FUNCDECL_RPL (pread, ssize_t,
1474 _GL_CXXALIAS_RPL (pread, ssize_t,
1478 _GL_FUNCDECL_SYS (pread, ssize_t,
1482 _GL_CXXALIAS_SYS (pread, ssize_t,
1485 _GL_CXXALIASWARN (pread);
1487 # undef pread macro
1489 _GL_WARN_ON_USE (pread, "prea
[all...]
/external/chromium/base/
H A Dplatform_file_posix.cc146 return HANDLE_EINTR(pread(file, data, size, offset));
/external/chromium/net/disk_cache/
H A Dfile_posix.cc208 int ret = pread(platform_file_, buffer, buffer_len, offset);
/external/llvm/include/llvm/Target/
H A DTargetLibraryInfo.h427 /// ssize_t pread(int fildes, void *buf, size_t nbyte, off_t offset);
428 pread, enumerator in enum:llvm::LibFunc::Func
/external/llvm/lib/Support/
H A DMemoryBuffer.cpp369 ssize_t NumRead = ::pread(FD, BufPtr, BytesLeft, MapSize-BytesLeft+Offset);
/external/qemu/block/
H A Draw-posix.c243 ret = pread(s->fd, buf, count, offset);
263 ret = pread(s->fd, buf, count, offset);
266 ret = pread(s->fd, buf, count, offset);
/external/strace/
H A Dsyscall.c1307 if (pread(tcp->pfd_reg, &regs, sizeof(regs), 0) < 0) {
1308 perror("pread");
1314 pread(tcp->pfd, &scno, sizeof(scno), regs.r_esp + sizeof(int));
1950 if (pread(tcp->pfd_reg, &regs, sizeof(regs), 0) < 0) {
1951 perror("pread");
2382 pread(tcp->pfd, &tcp->u_arg, tcp->u_nargs * sizeof(unsigned long),
2386 pread(tcp->pfd, &tcp->u_arg, tcp->u_nargs * sizeof(unsigned long),
2390 pread(tcp->pfd, &tcp->u_arg, tcp->u_nargs * sizeof(unsigned long),
2791 pread(tcp->pfd_reg, &regs, sizeof(regs), 0);
/external/chromium_org/base/
H A Dplatform_file_posix.cc50 return HANDLE_EINTR(pread(file, data, size, offset));
87 // TODO(bbudge) Remove DoPread, DoPwrite when NaCl implements pread, pwrite.

Completed in 345 milliseconds

12