Home
last modified time | relevance | path

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

/external/compiler-rt/test/msan/Linux/
Dsunrpc.cc20 XDR xdrs; in main() local
22 xdrmem_create(&xdrs, buf, sizeof(buf), XDR_ENCODE); in main()
27 bool_t res = FN(&xdrs, &x); in main()
31 xdr_destroy(&xdrs); in main()
33 xdrmem_create(&xdrs, buf, sizeof(buf), XDR_DECODE); in main()
35 res = FN(&xdrs, &y); in main()
38 xdr_destroy(&xdrs); in main()
Dsunrpc_string.cc13 XDR xdrs; in main() local
15 xdrmem_create(&xdrs, buf, sizeof(buf), XDR_ENCODE); in main()
21 bool_t res = xdr_string(&xdrs, &sp, sizeof(s)); in main()
25 xdr_destroy(&xdrs); in main()
27 xdrmem_create(&xdrs, buf, sizeof(buf), XDR_DECODE); in main()
30 res = xdr_string(&xdrs, &sp2, sizeof(s2)); in main()
33 xdr_destroy(&xdrs); in main()
Dsunrpc_bytes.cc13 XDR xdrs; in main() local
15 xdrmem_create(&xdrs, buf, sizeof(buf), XDR_ENCODE); in main()
22 bool_t res = xdr_bytes(&xdrs, &sp, &sz, sizeof(s)); in main()
26 xdr_destroy(&xdrs); in main()
28 xdrmem_create(&xdrs, buf, sizeof(buf), XDR_DECODE); in main()
32 res = xdr_bytes(&xdrs, &sp2, &sz2, sizeof(s2)); in main()
36 xdr_destroy(&xdrs); in main()
/external/compiler-rt/test/tsan/
Dsunrpc.cc9 XDR xdrs; in thr() local
11 xdrmem_create(&xdrs, buf, sizeof(buf), XDR_ENCODE); in thr()
12 xdr_destroy(&xdrs); in thr()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_common_interceptors.inc4536 INTERCEPTOR(void, xdrmem_create, __sanitizer_XDR *xdrs, uptr addr,
4539 COMMON_INTERCEPTOR_ENTER(ctx, xdrmem_create, xdrs, addr, size, op);
4543 REAL(xdrmem_create)(xdrs, addr, size, op);
4544 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, xdrs, sizeof(*xdrs));
4552 INTERCEPTOR(void, xdrstdio_create, __sanitizer_XDR *xdrs, void *file, int op) {
4554 COMMON_INTERCEPTOR_ENTER(ctx, xdrstdio_create, xdrs, file, op);
4558 REAL(xdrstdio_create)(xdrs, file, op);
4559 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, xdrs, sizeof(*xdrs));
4566 INTERCEPTOR(int, F, __sanitizer_XDR *xdrs, T *p) { \
4568 COMMON_INTERCEPTOR_ENTER(ctx, F, xdrs, p); \
[all …]