Home
last modified time | relevance | path

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

/external/ltp/testcases/network/rpc/basic_tests/rpc01/lib/
Dlibrpc01.c22 bool_t xdr_receive_data(XDR *xdrs, struct data **buffer) in xdr_receive_data() argument
29 rc = xdr_long(xdrs, &(bp->address)); in xdr_receive_data()
30 rc = rc && xdr_long(xdrs, &bp->request_id); in xdr_receive_data()
31 rc = rc && xdr_long(xdrs, &bp->data_length); in xdr_receive_data()
34 rc = xdr_char(xdrs, p); in xdr_receive_data()
38 bool_t xdr_send_data(XDR *xdrs, struct data *buffer) in xdr_send_data() argument
43 rc = xdr_long(xdrs, &buffer->address); in xdr_send_data()
44 rc = rc && xdr_long(xdrs, &buffer->request_id); in xdr_send_data()
45 rc = rc && xdr_long(xdrs, &buffer->data_length); in xdr_send_data()
47 rc = xdr_char(xdrs, p); in xdr_send_data()
Dlibrpc01.h31 bool_t xdr_receive_data(XDR *xdrs, struct data **buffer);
32 bool_t xdr_send_data(XDR *xdrs, struct data *buffer);
/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/llvm-project/compiler-rt/test/msan/Linux/
Dsunrpc.cpp22 XDR xdrs; in main() local
24 xdrmem_create(&xdrs, buf, sizeof(buf), XDR_ENCODE); in main()
29 bool_t res = FN(&xdrs, &x); in main()
33 xdr_destroy(&xdrs); in main()
35 xdrmem_create(&xdrs, buf, sizeof(buf), XDR_DECODE); in main()
37 res = FN(&xdrs, &y); in main()
40 xdr_destroy(&xdrs); in main()
Dsunrpc_string.cpp15 XDR xdrs; in main() local
17 xdrmem_create(&xdrs, buf, sizeof(buf), XDR_ENCODE); in main()
23 bool_t res = xdr_string(&xdrs, &sp, sizeof(s)); in main()
27 xdr_destroy(&xdrs); in main()
29 xdrmem_create(&xdrs, buf, sizeof(buf), XDR_DECODE); in main()
32 res = xdr_string(&xdrs, &sp2, sizeof(s2)); in main()
35 xdr_destroy(&xdrs); in main()
Dsunrpc_bytes.cpp15 XDR xdrs; in main() local
17 xdrmem_create(&xdrs, buf, sizeof(buf), XDR_ENCODE); in main()
24 bool_t res = xdr_bytes(&xdrs, &sp, &sz, sizeof(s)); in main()
28 xdr_destroy(&xdrs); in main()
30 xdrmem_create(&xdrs, buf, sizeof(buf), XDR_DECODE); in main()
34 res = xdr_bytes(&xdrs, &sp2, &sz2, sizeof(s2)); in main()
38 xdr_destroy(&xdrs); in main()
/external/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/
Dxdrrec.cpp17 XDR xdrs; in main() local
18 xdrs.x_op = XDR_ENCODE; in main()
20 xdrrec_create(&xdrs, 0, 0, nullptr, nullptr, print_msg); in main()
22 assert(xdr_u_int(&xdrs, &foo)); in main()
23 assert(xdrrec_endofrecord(&xdrs, /*sendnow*/ true)); in main()
24 xdr_destroy(&xdrs); in main()
/external/python/cpython2/Modules/
Dnismodule.c269 nis_xdr_domainname(XDR *xdrs, domainname *objp) in nis_xdr_domainname() argument
271 if (!xdr_string(xdrs, objp, YPMAXDOMAIN)) { in nis_xdr_domainname()
279 nis_xdr_mapname(XDR *xdrs, mapname *objp) in nis_xdr_mapname() argument
281 if (!xdr_string(xdrs, objp, YPMAXMAP)) { in nis_xdr_mapname()
289 nis_xdr_ypmaplist(XDR *xdrs, nismaplist *objp) in nis_xdr_ypmaplist() argument
291 if (!nis_xdr_mapname(xdrs, &objp->map)) { in nis_xdr_ypmaplist()
294 if (!xdr_pointer(xdrs, (char **)&objp->next, in nis_xdr_ypmaplist()
304 nis_xdr_ypstat(XDR *xdrs, nisstat *objp) in nis_xdr_ypstat() argument
306 if (!xdr_enum(xdrs, (enum_t *)objp)) { in nis_xdr_ypstat()
315 nis_xdr_ypresp_maplist(XDR *xdrs, nisresp_maplist *objp) in nis_xdr_ypresp_maplist() argument
[all …]
/external/python/cpython3/Modules/
Dnismodule.c276 nis_xdr_domainname(XDR *xdrs, domainname *objp) in nis_xdr_domainname() argument
278 if (!xdr_string(xdrs, objp, YPMAXDOMAIN)) { in nis_xdr_domainname()
286 nis_xdr_mapname(XDR *xdrs, mapname *objp) in nis_xdr_mapname() argument
288 if (!xdr_string(xdrs, objp, YPMAXMAP)) { in nis_xdr_mapname()
296 nis_xdr_ypmaplist(XDR *xdrs, nismaplist *objp) in nis_xdr_ypmaplist() argument
298 if (!nis_xdr_mapname(xdrs, &objp->map)) { in nis_xdr_ypmaplist()
301 if (!xdr_pointer(xdrs, (char **)&objp->next, in nis_xdr_ypmaplist()
311 nis_xdr_ypstat(XDR *xdrs, nisstat *objp) in nis_xdr_ypstat() argument
313 if (!xdr_enum(xdrs, (enum_t *)objp)) { in nis_xdr_ypstat()
322 nis_xdr_ypresp_maplist(XDR *xdrs, nisresp_maplist *objp) in nis_xdr_ypresp_maplist() argument
[all …]
/external/llvm-project/compiler-rt/test/tsan/
Dsunrpc.cpp11 XDR xdrs; in thr() local
13 xdrmem_create(&xdrs, buf, sizeof(buf), XDR_ENCODE); in thr()
14 xdr_destroy(&xdrs); in thr()
/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.inc4843 INTERCEPTOR(void, xdrmem_create, __sanitizer_XDR *xdrs, uptr addr,
4846 COMMON_INTERCEPTOR_ENTER(ctx, xdrmem_create, xdrs, addr, size, op);
4850 REAL(xdrmem_create)(xdrs, addr, size, op);
4851 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, xdrs, sizeof(*xdrs));
4859 INTERCEPTOR(void, xdrstdio_create, __sanitizer_XDR *xdrs, void *file, int op) {
4861 COMMON_INTERCEPTOR_ENTER(ctx, xdrstdio_create, xdrs, file, op);
4865 REAL(xdrstdio_create)(xdrs, file, op);
4866 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, xdrs, sizeof(*xdrs));
4873 INTERCEPTOR(int, F, __sanitizer_XDR *xdrs, T *p) { \
4875 COMMON_INTERCEPTOR_ENTER(ctx, F, xdrs, p); \
[all …]
/external/libabigail/tests/data/test-abidiff/
Dtest-PR18166-libtirpc.so.abi2851 …<parameter type-id='type-id-64' name='xdrs' filepath='/home/max/src/v6/libtirpc/src/pmap_prot.c' l…
2859 …<parameter type-id='type-id-64' name='xdrs' filepath='/home/max/src/v6/libtirpc/src/pmap_prot2.c' …
2864 …<parameter type-id='type-id-64' name='xdrs' filepath='/home/max/src/v6/libtirpc/src/pmap_prot2.c' …
2899 …<parameter type-id='type-id-64' name='xdrs' filepath='/home/max/src/v6/libtirpc/src/pmap_rmt.c' li…
2928 …<parameter type-id='type-id-64' name='xdrs' filepath='/home/max/src/v6/libtirpc/src/rpc_prot.c' li…
2934 …<parameter type-id='type-id-64' name='xdrs' filepath='/home/max/src/v6/libtirpc/src/rpc_prot.c' li…
2941 …<parameter type-id='type-id-64' name='xdrs' filepath='/home/max/src/v6/libtirpc/src/rpc_prot.c' li…
3475 …<parameter type-id='type-id-64' name='xdrs' filepath='/home/max/src/v6/libtirpc/src/rpcb_prot.c' l…
3499 …<parameter type-id='type-id-64' name='xdrs' filepath='/home/max/src/v6/libtirpc/src/rpcb_prot.c' l…
3508 …<parameter type-id='type-id-64' name='xdrs' filepath='/home/max/src/v6/libtirpc/src/rpcb_prot.c' l…
[all …]
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_common_interceptors.inc5730 INTERCEPTOR(void, xdrmem_create, __sanitizer_XDR *xdrs, uptr addr,
5733 COMMON_INTERCEPTOR_ENTER(ctx, xdrmem_create, xdrs, addr, size, op);
5737 REAL(xdrmem_create)(xdrs, addr, size, op);
5738 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, xdrs, sizeof(*xdrs));
5746 INTERCEPTOR(void, xdrstdio_create, __sanitizer_XDR *xdrs, void *file, int op) {
5748 COMMON_INTERCEPTOR_ENTER(ctx, xdrstdio_create, xdrs, file, op);
5752 REAL(xdrstdio_create)(xdrs, file, op);
5753 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, xdrs, sizeof(*xdrs));
5760 INTERCEPTOR(int, F, __sanitizer_XDR *xdrs, T *p) { \
5762 COMMON_INTERCEPTOR_ENTER(ctx, F, xdrs, p); \
[all …]