Home
last modified time | relevance | path

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

123456

/external/linux-kselftest/tools/testing/selftests/intel_pstate/
Daperf.c59 pread(fd, &old_tsc, sizeof(old_tsc), 0x10); in main()
60 pread(fd, &old_aperf, sizeof(old_mperf), 0xe7); in main()
61 pread(fd, &old_mperf, sizeof(old_aperf), 0xe8); in main()
68 pread(fd, &new_tsc, sizeof(new_tsc), 0x10); in main()
69 pread(fd, &new_aperf, sizeof(new_mperf), 0xe7); in main()
70 pread(fd, &new_mperf, sizeof(new_aperf), 0xe8); in main()
Dmsr.c36 pread(fd, &msr, sizeof(msr), 0x199); in main()
/external/strace/tests-mx32/
Dpread64-pwrite64.c94 long rc = pread(0, buf, len, offset); in test_dump()
183 rc = pread(0, r0, 0, 0); in main()
188 rc = pread(0, efault, 1, 0); in main()
193 rc = pread(0, efault, 2, -7); in main()
198 rc = pread(0, r0, r0_len, 0); in main()
206 rc = pread(0, r1, w_len, r0_len); in main()
Duio.expected1 pread(64)?\(0, "\\0\\0\\0\\0", 4, 1004211379570065135\) += 4
Duio.c47 assert(pread(0, buf, sizeof(buf), offset) == 4); in main()
/external/strace/tests/
Dpread64-pwrite64.c94 long rc = pread(0, buf, len, offset); in test_dump()
183 rc = pread(0, r0, 0, 0); in main()
188 rc = pread(0, efault, 1, 0); in main()
193 rc = pread(0, efault, 2, -7); in main()
198 rc = pread(0, r0, r0_len, 0); in main()
206 rc = pread(0, r1, w_len, r0_len); in main()
Duio.expected1 pread(64)?\(0, "\\0\\0\\0\\0", 4, 1004211379570065135\) += 4
Duio.c47 assert(pread(0, buf, sizeof(buf), offset) == 4); in main()
/external/strace/tests-m32/
Dpread64-pwrite64.c94 long rc = pread(0, buf, len, offset); in test_dump()
183 rc = pread(0, r0, 0, 0); in main()
188 rc = pread(0, efault, 1, 0); in main()
193 rc = pread(0, efault, 2, -7); in main()
198 rc = pread(0, r0, r0_len, 0); in main()
206 rc = pread(0, r1, w_len, r0_len); in main()
Duio.expected1 pread(64)?\(0, "\\0\\0\\0\\0", 4, 1004211379570065135\) += 4
Duio.c47 assert(pread(0, buf, sizeof(buf), offset) == 4); in main()
/external/ltp/testcases/kernel/syscalls/pread/
Dpread01.c118 nread = pread(fildes, read_buf[2], K1, K2); in main()
136 nread = pread(fildes, read_buf[3], K1, K3); in main()
159 nread = pread(fildes, read_buf[1], K1, K1); in main()
Dpread03.c117 TEST(pread(fd1, read_buf[0], nbytes, offset)); in main()
/external/mesa3d/src/glx/
Ddrisw_glx.c185 __GLXDRIdrawable *pread = &(prp->base); in swrastGetImage2() local
186 Display *dpy = pread->psc->dpy; in swrastGetImage2()
190 readable = pread->xDrawable; in swrastGetImage2()
251 struct drisw_drawable *pdraw, *pread; in drisw_bind_context() local
254 pread = (struct drisw_drawable *) driFetchDrawable(context, read); in drisw_bind_context()
260 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()
Ddri_glx.c626 struct dri_drawable *pdraw, *pread; in dri_bind_context() local
629 pread = (struct dri_drawable *) driFetchDrawable(context, read); in dri_bind_context()
633 if (pdraw == NULL || pread == NULL) in dri_bind_context()
637 pdraw->driDrawable, pread->driDrawable)) in dri_bind_context()
/external/compiler-rt/lib/tsan/dd/
Ddd_interceptors.cc236 INTERCEPTOR(SSIZE_T, pread, int fd, void *ptr, SIZE_T count, OFF_T offset) { in INTERCEPTOR() argument
238 return REAL(pread)(fd, ptr, count, offset); in INTERCEPTOR()
325 INTERCEPT_FUNCTION(pread); in InitializeInterceptors()
/external/ltp/testcases/cve/
Dmeltdown.c190 ret = pread(fd, buf, sizeof(buf), 0); in readbit()
330 expected_len = pread(spec_fd, expected, sizeof(expected), 0); in run()
/external/autotest/client/tests/iozone/
Dcontrol14 fwrite, random read, pread ,mmap, aio_read, aio_write
/external/linux-kselftest/tools/testing/selftests/proc/
Dproc-uptime.h33 rv = pread(fd, buf, sizeof(buf), 0); in proc_uptime()
/external/ltp/include/
Dtst_safe_prw.h27 rval = pread(fildes, buf, nbyte, offset); in safe_pread()
/external/elfutils/tests/
Dlfs-symbols59 pread
Darextract.c110 ssize_t n = pread (fd, buf, MIN (sizeof buf, todo), offset); in main()
/external/elfutils/lib/
Dcrc32_file.c82 while ((count = TEMP_FAILURE_RETRY (pread (fd, buffer, sizeof buffer, in crc32_file()

123456