Home
last modified time | relevance | path

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

1234

/third_party/musl/libc-test/src/functionalext/supplement/unistd/
Dpread.c40 size_t cnt = pread(fd, buffer, TEST_BUFFER_SIZE, 0); in pread_0100()
64 size_t cnt = pread(fd, buffer, TEST_BUFFER_SIZE, 0); in pread_0200()
88 size_t cnt = pread(fd, buffer, TEST_BUFFER_SIZE, strlen(txt)); in pread_0300()
Dpwrite.c51 cnt = pread(fd, buffer, TEST_BUFFER_SIZE, 0); in pwrite_0100()
Dtest_src_functionalext_supplement_unistd.gni22 "pread",
/third_party/musl/src/unistd/
Dpread.c4 ssize_t pread(int fd, void *buf, size_t size, off_t ofs) in pread() function
9 weak_alias(pread, pread64);
/third_party/musl/porting/linux/user/include/fortify/
Dunistd.h42 ssize_t __pread_real(int, void*, size_t, off_t) __DIAGNOSE_RENAME(pread);
72 ssize_t pread(int fd, void* const __DIAGNOSE_PASS_OBJECT_SIZE0 buf, size_t count, off_t offset) in pread() function
74 __DIAGNOSE_ERROR_IF_OVERFLOWS_SSIZET(count, pread) in pread()
75 __DIAGNOSE_ERROR_IF_OVERFLOWS_OBJECTSIZE(count, __DIAGNOSE_BOS0(buf), pread) in pread()
/third_party/mesa3d/src/glx/
Ddrisw_glx.c274 __GLXDRIdrawable *pread = &(prp->base); in swrastGetImage2() local
275 Display *dpy = pread->psc->dpy; in swrastGetImage2()
284 readable = pread->xDrawable; in swrastGetImage2()
311 __GLXDRIdrawable *pread = &(prp->base); in swrastGetImageShm2() local
312 Display *dpy = pread->psc->dpy; in swrastGetImageShm2()
323 readable = pread->xDrawable; in swrastGetImageShm2()
402 struct drisw_drawable *pdraw, *pread; in drisw_bind_context() local
405 pread = (struct drisw_drawable *) driFetchDrawable(context, read); in drisw_bind_context()
411 pread ? pread->driDrawable : NULL)) in drisw_bind_context()
Ddriwindows_glx.c86 struct driwindows_drawable *pdraw, *pread; in driwindows_bind_context() local
89 pread = (struct driwindows_drawable *) driFetchDrawable(context, read); in driwindows_bind_context()
93 if (pdraw == NULL || pread == NULL) in driwindows_bind_context()
97 pdraw->windowsDrawable, pread->windowsDrawable)) in driwindows_bind_context()
Ddri2_glx.c134 struct dri2_drawable *pdraw, *pread; in dri2_bind_context() local
140 pread = (struct dri2_drawable *) driFetchDrawable(context, read); in dri2_bind_context()
149 if (pread) in dri2_bind_context()
150 dri_read = pread->driDrawable; in dri2_bind_context()
163 if (pread != pdraw && pread) in dri2_bind_context()
164 dri2InvalidateBuffers(psc->base.dpy, pread->base.xDrawable); in dri2_bind_context()
Ddri3_glx.c192 struct dri3_drawable *pdraw, *pread; in dri3_bind_context() local
196 pread = (struct dri3_drawable *) driFetchDrawable(context, read); in dri3_bind_context()
205 if (pread) in dri3_bind_context()
206 dri_read = pread->loader_drawable.dri_drawable; in dri3_bind_context()
/third_party/ntfs-3g/libntfs-3g/
Dunix_io.c301 return pread(DEV_FD(dev), buf, count, offset); in ntfs_device_unix_io_pread()
387 .pread = ntfs_device_unix_io_pread,
/third_party/musl/libc-test/src/regression/
Dfflush-exit.c34 ASSERT(pread(fd, &c, 1, 0) == 1); in main()
/third_party/NuttX/fs/vfs/
Dfs_pread.c128 ssize_t pread(int fd, void *buf, size_t nbytes, off_t offset) in pread() function
/third_party/ltp/testcases/cve/
Dmeltdown.c175 ret = pread(fd, buf, sizeof(buf), 0); in readbit()
320 expected_len = pread(spec_fd, expected, sizeof(expected), 0); in run()
/third_party/ltp/testcases/kernel/syscalls/pread/
Dpread02.c44 TST_EXP_FAIL2(pread(*tc->fd, &buf, tc->nb, tc->offst), tc->exp_errno, in verify_pread()
/third_party/ltp/include/
Dtst_safe_prw.h14 rval = pread(fildes, buf, nbyte, offset); in safe_pread()
/third_party/musl/porting/uniproton/kernel/include/
Dunistd.h44 ssize_t pread(int, void *, size_t, off_t);
193 #define pread64 pread
/third_party/musl/porting/liteos_m/user/include/
Dunistd.h48 ssize_t pread(int, void *, size_t, off_t);
221 #define pread64 pread
/third_party/musl/porting/liteos_m_iccarm/kernel/include/
Dunistd.h44 ssize_t pread(int, void *, size_t, off_t);
193 #define pread64 pread
/third_party/musl/porting/liteos_a/user/include/
Dunistd.h48 ssize_t pread(int, void *, size_t, off_t);
221 #define pread64 pread
/third_party/musl/porting/linux/user/include/
Dunistd.h48 ssize_t pread(int, void *, size_t, off_t);
198 #define pread64 pread
/third_party/musl/ndk_musl_include/
Dunistd.h47 ssize_t pread(int, void *, size_t, off_t);
184 #define pread64 pread
/third_party/musl/porting/liteos_m/kernel/include/
Dunistd.h44 ssize_t pread(int, void *, size_t, off_t);
193 #define pread64 pread
/third_party/musl/include/
Dunistd.h48 ssize_t pread(int, void *, size_t, off_t);
197 #define pread64 pread
/third_party/gn/src/base/files/
Dfile_posix.cc156 rv = HANDLE_EINTR(pread(file_.get(), data + bytes_read, size - bytes_read, in Read()
187 return HANDLE_EINTR(pread(file_.get(), data, size, offset)); in ReadNoBestEffort()
/third_party/ltp/testcases/kernel/io/ltp-aiodio/
Ddio_read.c78 w = pread(fd, bufptr, rsize, offset); in do_direct_reads()

1234