Home
last modified time | relevance | path

Searched refs:rpc1 (Results 1 – 2 of 2) sorted by relevance

/freebsd-10-stable/tools/regression/lib/libc/nss/
Dtest-getrpc.c130 compare_rpcent(struct rpcent *rpc1, struct rpcent *rpc2, void *mdata) in compare_rpcent() argument
134 if (rpc1 == rpc2) in compare_rpcent()
137 if ((rpc1 == NULL) || (rpc2 == NULL)) in compare_rpcent()
140 if ((strcmp(rpc1->r_name, rpc2->r_name) != 0) || in compare_rpcent()
141 (rpc1->r_number != rpc2->r_number)) in compare_rpcent()
144 c1 = rpc1->r_aliases; in compare_rpcent()
147 if ((rpc1->r_aliases == NULL) || (rpc2->r_aliases == NULL)) in compare_rpcent()
162 dump_rpcent(rpc1); in compare_rpcent()
/freebsd-10-stable/lib/libc/tests/nss/
Dgetrpc_test.c126 compare_rpcent(struct rpcent *rpc1, struct rpcent *rpc2, void *mdata) in compare_rpcent() argument
130 if (rpc1 == rpc2) in compare_rpcent()
133 if ((rpc1 == NULL) || (rpc2 == NULL)) in compare_rpcent()
136 if ((strcmp(rpc1->r_name, rpc2->r_name) != 0) || in compare_rpcent()
137 (rpc1->r_number != rpc2->r_number)) in compare_rpcent()
140 c1 = rpc1->r_aliases; in compare_rpcent()
143 if ((rpc1->r_aliases == NULL) || (rpc2->r_aliases == NULL)) in compare_rpcent()
158 dump_rpcent(rpc1); in compare_rpcent()