Home
last modified time | relevance | path

Searched refs:type (Results 1 – 4 of 4) sorted by relevance

/sunrpc/
A Dtst-xdrmem2.c47 #define T(type, val) \ in do_test() argument
48 v_##type = val; \ in do_test()
49 if (! xdr_##type (&xdrs, &v_##type)) \ in do_test()
51 puts ("encoding of " #type \ in do_test()
76 #define T(type, val) \ in do_test() argument
77 v_##type = 0x15; \ in do_test()
78 if (! xdr_##type (&xdrs, &v_##type)) \ in do_test()
80 puts ("decoding of " #type \ in do_test()
84 if (v_##type != val) \ in do_test()
87 "type " #type " " #val); \ in do_test()
A Dtst-xdrmem.c144 #define T(type, val) \ in do_test() argument
145 v_##type = val; \ in do_test()
146 if (! xdr_##type (&xdrs, &v_##type)) \ in do_test()
152 #define S(type, val) T(type, val) in do_test() argument
162 #define T(type, val) \ in do_test() argument
163 v_##type = 0x15; \ in do_test()
164 if (! xdr_##type (&xdrs, &v_##type)) \ in do_test()
176 #define S(type, val) \ in do_test() argument
177 v_##type = NULL; \ in do_test()
178 if (! xdr_##type (&xdrs, &v_##type)) \ in do_test()
[all …]
A Drtime.c81 int type; in rtime() local
84 type = SOCK_STREAM; in rtime()
86 type = SOCK_DGRAM; in rtime()
88 s = __socket (AF_INET, type, 0); in rtime()
94 if (type == SOCK_DGRAM) in rtime()
A Dsvc_udp.c413 #define ALLOC(type, size) \ argument
414 (type *) mem_alloc((unsigned) (sizeof(type) * (size)))
416 #define CALLOC(type, size) \ argument
417 (type *) calloc (sizeof (type), size)

Completed in 9 milliseconds