Home
last modified time | relevance | path

Searched refs:pread (Results 1 – 25 of 98) sorted by relevance

1234

/external/mesa3d/src/glx/
Ddrisw_glx.c215 __GLXDRIdrawable *pread = &(prp->base); in swrastGetImage() local
216 Display *dpy = pread->psc->dpy; in swrastGetImage()
220 readable = pread->xDrawable; in swrastGetImage()
272 struct drisw_drawable *pdraw, *pread; in drisw_bind_context() local
275 pread = (struct drisw_drawable *) driFetchDrawable(context, read); in drisw_bind_context()
279 if (pdraw == NULL || pread == NULL) in drisw_bind_context()
283 pdraw->driDrawable, pread->driDrawable)) in drisw_bind_context()
Ddri2_glx.c143 struct dri2_drawable *pdraw, *pread; in dri2_bind_context() local
147 pread = (struct dri2_drawable *) driFetchDrawable(context, read); in dri2_bind_context()
151 if (pdraw == NULL || pread == NULL) in dri2_bind_context()
155 pdraw->driDrawable, pread->driDrawable)) in dri2_bind_context()
164 if (pread != pdraw) in dri2_bind_context()
165 dri2InvalidateBuffers(psc->base.dpy, pread->base.xDrawable); in dri2_bind_context()
Ddri_glx.c534 struct dri_drawable *pdraw, *pread; in dri_bind_context() local
537 pread = (struct dri_drawable *) driFetchDrawable(context, read); in dri_bind_context()
541 if (pdraw == NULL || pread == NULL) in dri_bind_context()
545 pdraw->driDrawable, pread->driDrawable)) in dri_bind_context()
/external/bison/lib/
Dunistd.in.h1156 # 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, "pread is unportable - "
/external/bison/linux-lib/
Dunistd.h1468 # 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
1489 _GL_WARN_ON_USE (pread, "pread is unportable - "
/external/bison/darwin-lib/
Dunistd.h1468 # 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
1489 _GL_WARN_ON_USE (pread, "pread is unportable - "
/external/strace/tests/
Duio.expected1 pread(64)?\(0, "\\0\\0\\0\\0", 4, 1004211379570065135\) += 4
Duio.c46 assert(pread(0, buf, sizeof buf, offset) == 4); in main()
/external/compiler-rt/lib/tsan/dd/
Ddd_interceptors.cc239 INTERCEPTOR(SSIZE_T, pread, int fd, void *ptr, SIZE_T count, OFF_T offset) { in INTERCEPTOR() argument
241 return REAL(pread)(fd, ptr, count, offset); in INTERCEPTOR()
328 INTERCEPT_FUNCTION(pread); in InitializeInterceptors()
/external/valgrind/coregrind/m_ume/
Dmacho.c522 res = VG_(pread)(fd, &mh, sizeof(mh), offset); in load_thin_file()
550 res = VG_(pread)(fd, headers, len, offset); in load_thin_file()
734 res = VG_(pread)(fd, &fh, sizeof(fh), offset); in load_fat_file()
750 res = VG_(pread)(fd, &arch, sizeof(arch), arch_offset); in load_fat_file()
796 res = VG_(pread)(fd, &magic, sizeof(magic), offset); in load_mach_file()
Delf.c105 sres = VG_(pread)(fd, &e->e, sizeof(e->e), 0); in readelf()
144 sres = VG_(pread)(fd, e->p, phsz, e->e.e_phoff); in readelf()
401 VG_(pread)(fd, buf, ph->p_filesz, ph->p_offset); in VG_()
Dscript.c84 res = VG_(pread)(fd, hdr, len, 0); in VG_()
/external/autotest/client/tests/kvm/autotest_control/
Diozone.control13 fwrite, random read, pread ,mmap, aio_read, aio_write
/external/autotest/client/tests/iozone/
Dcontrol15 fwrite, random read, pread ,mmap, aio_read, aio_write
/external/elfutils/lib/
Dcrc32_file.c81 while ((count = TEMP_FAILURE_RETRY (pread (fd, buffer, sizeof buffer, in crc32_file()
Dsystem.h116 ssize_t ret = TEMP_FAILURE_RETRY (pread (fd, buf + recvd, len - recvd, in pread_retry()
/external/elfutils/tests/
Dlfs-symbols59 pread
Darextract.c110 ssize_t n = pread (fd, buf, MIN (sizeof buf, todo), offset); in main()
/external/valgrind/coregrind/
Dpub_core_libcfile.h91 extern SysRes VG_(pread) ( Int fd, void* buf, Int count, OffT offset );
/external/libchrome/base/files/
Dfile_posix.cc212 rv = HANDLE_EINTR(pread(file_.get(), data + bytes_read, in Read()
248 return HANDLE_EINTR(pread(file_.get(), data, size, offset)); in ReadNoBestEffort()
/external/strace/linux/avr32/
Dsyscallent.h114 [ 86] = { 5, TD, SEN(pread), "pread" },
312 [284] = { 5, TD, SEN(pread), "pread64" },
/external/fio/os/
Dos-windows.h109 ssize_t pread(int fildes, void *buf, size_t nbyte, off_t offset);
/external/google-breakpad/src/common/mac/
Dmacho_walker.cc117 return pread(file_, buffer, size, offset) == (ssize_t)size; in ReadBytes()
/external/libpng/contrib/libtests/
Dpngvalid.c770 png_structp pread; /* Used to read a saved file */ member
852 ps->pread = NULL; in store_init()
962 if (pp != NULL && pp == ps->pread) in store_message()
1274 png_error(ps->pread, "buffer read error"); in store_read_buffer_avail()
1301 png_error(ps->pread, "buffer lost"); in store_read_buffer_next()
1314 png_error(ps->pread, "store state damaged"); in store_read_imp()
1330 png_error(ps->pread, "read beyond end of file"); in store_read_imp()
1340 if (ps == NULL || ps->pread != pp) in store_read()
1352 if (ps->pread != pp || ps->current == NULL || ps->next == NULL) in store_progressive_read()
1400 store_log(ps, ps->pread, "no current stream for palette", 1); in store_current_palette()
[all …]
/external/strace/
Dio.c153 SYS_FUNC(pread) in SYS_FUNC() argument

1234