Home
last modified time | relevance | path

Searched refs:clnt (Results 1 – 25 of 57) sorted by relevance

123

/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_clnt_call/
Drpc_clnt_call_dataint.c53 CLIENT *clnt = NULL; in main() local
72 clnt = clnt_create(argc[1], progNum, VERSNUM, proto); in main()
75 printf("CLIENT : %p\n", clnt); in main()
80 if ((CLIENT *) clnt == NULL) { in main()
89 cs = clnt_call(clnt, INTPROCNUM, in main()
101 cs = clnt_call(clnt, INTPROCNUM, in main()
113 cs = clnt_call(clnt, LNGPROCNUM, in main()
125 cs = clnt_call(clnt, DBLPROCNUM, in main()
138 cs = clnt_call(clnt, STRPROCNUM, in main()
Drpc_clnt_call.c50 CLIENT *clnt = NULL; in main() local
61 clnt = clnt_create(argc[1], progNum, VERSNUM, proto); in main()
64 printf("CLIENT : %p\n", clnt); in main()
69 if (clnt == NULL) { in main()
75 cs = clnt_call(clnt, PROCNUM, in main()
Drpc_clnt_call_stress.c51 CLIENT *clnt = NULL; in main() local
65 clnt = clnt_create(argc[1], progNum, VERSNUM, proto); in main()
68 printf("CLIENT : %p\n", clnt); in main()
73 if ((CLIENT *) clnt == NULL) { in main()
80 cs = clnt_call(clnt, PROCNUM, in main()
Drpc_clnt_call_complex.c74 CLIENT *clnt = NULL; in main() local
86 clnt = clnt_create(argc[1], progNum, VERSNUM, proto); in main()
89 printf("CLIENT : %p\n", clnt); in main()
94 if ((CLIENT *) clnt == NULL) { in main()
107 cs = clnt_call(clnt, CALCPROC, in main()
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_call/
Dtirpc_toplevel_clnt_call_dataint.c53 CLIENT *clnt = NULL; in main() local
71 clnt = clnt_create(argc[1], progNum, VERSNUM, nettype); in main()
73 if (clnt == NULL) { in main()
81 clnt_call((CLIENT *) clnt, INTPROCNUM, (xdrproc_t) xdr_int, (char *)&intSnd, // xdr_in in main()
93 clnt_call((CLIENT *) clnt, INTPROCNUM, (xdrproc_t) xdr_int, (char *)&intSnd, // xdr_in in main()
105 clnt_call((CLIENT *) clnt, LNGPROCNUM, (xdrproc_t) xdr_long, (char *)&lngSnd, // xdr_in in main()
117 clnt_call((CLIENT *) clnt, DBLPROCNUM, (xdrproc_t) xdr_double, (char *)&dblSnd, // xdr_in in main()
130 clnt_call((CLIENT *) clnt, STRPROCNUM, (xdrproc_t) xdr_wrapstring, (char *)&strSnd, // xdr_in in main()
Dtirpc_toplevel_clnt_call.c51 CLIENT *clnt = NULL; in main() local
67 clnt = clnt_create(argc[1], progNum, VERSNUM, nettype); in main()
69 if (clnt == NULL) { in main()
74 rslt = clnt_call((CLIENT *) clnt, PROCNUM, (xdrproc_t) xdr_int, (char *)&sndVar, // xdr_in in main()
Dtirpc_toplevel_clnt_call_stress.c52 CLIENT *clnt = NULL; in main() local
71 clnt = clnt_create(argc[1], progNum, VERSNUM, nettype); in main()
73 if (clnt == NULL) { in main()
79 rslt = clnt_call((CLIENT *) clnt, PROCNUM, (xdrproc_t) xdr_int, (char *)&sndVar, // xdr_in in main()
Dtirpc_toplevel_clnt_call_scalability.c50 CLIENT *clnt = NULL; in my_thread_process() local
63 clnt = clnt_create(hostname, progNum, VERSNUM, nettype); in my_thread_process()
65 if (clnt == NULL) { in my_thread_process()
71 clnt_call((CLIENT *) clnt, PROCNUM, (xdrproc_t) xdr_int, (char *)&sndVar, // xdr_in in my_thread_process()
76 clnt_destroy(clnt); in my_thread_process()
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_clnt_control/
Drpc_clnt_control_dataint.c50 CLIENT *clnt = NULL; in main() local
55 clnt = clnt_create(argc[1], progNum, VERSNUM, proto); in main()
58 printf("CLIENT : %p\n", clnt); in main()
64 clnt_control(clnt, CLSET_TIMEOUT, (char *)&tvSet); in main()
65 clnt_control(clnt, CLGET_TIMEOUT, (char *)&tvGet); in main()
80 clnt_control(clnt, CLSET_RETRY_TIMEOUT, (char *)&tvSet); in main()
81 clnt_control(clnt, CLGET_RETRY_TIMEOUT, (char *)&tvGet); in main()
Drpc_clnt_control.c50 CLIENT *clnt = NULL; in main() local
54 clnt = clnt_create(argc[1], progNum, VERSNUM, proto); in main()
57 printf("CLIENT : %p\n", clnt); in main()
60 test_status = !clnt_control(clnt, CLGET_FD, (char *)&fd); in main()
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_clnt_freeres/
Drpc_clnt_freeres.c50 CLIENT *clnt = NULL; in main() local
60 clnt = clnt_create(argc[1], progNum, VERSNUM, proto); in main()
63 printf("CLIENT : %p\n", clnt); in main()
68 if ((CLIENT *) clnt == NULL) { in main()
74 cs = clnt_call(clnt, PROCNUM, in main()
78 test_status = !clnt_freeres(clnt, (xdrproc_t) xdr_int, (char *)&varSnd); in main()
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_clnt_perror/
Dtirpc_clnt_perror_complex.c55 CLIENT *clnt = NULL; in main() local
65 /**/ clnt = clnt_create(argc[1], progNum, VERSNUM, nettype); in main()
71 clnt_perror(clnt, "Success"); in main()
76 clnt_perror(clnt, "Wrong Prog"); in main()
81 clnt_perror(clnt, "Wrong Vers"); in main()
86 clnt_perror(clnt, "Wrong Proto"); in main()
Dtirpc_clnt_perror.c51 CLIENT *clnt = NULL; in main() local
66 clnt = clnt_create(argc[1], progNum, VERSNUM, nettype); in main()
69 rslt = clnt_call((CLIENT *) clnt, PROCNUM, (xdrproc_t) xdr_void, NULL, // xdr_in in main()
72 /**/ clnt_perror(clnt, "#SUCCESS"); in main()
/external/ltp/testcases/network/rpc/basic_tests/rpc01/
Drpc1.c32 CLIENT *clnt; in main() local
137 clnt = clntudp_create(&server_sin, program, version, timeout, &sock); in main()
138 if (clnt == NULL) { in main()
144 rc = (int)clnt_call(clnt, 1, (xdrproc_t)xdr_send_data, in main()
147 clnt_destroy(clnt); in main()
152 clnt = clnttcp_create(&server_sin, program, version, &sock, 0, 0); in main()
153 if (clnt == NULL) { in main()
159 rc = (int)clnt_call(clnt, 1, (xdrproc_t)xdr_send_data, in main()
162 clnt_destroy(clnt); in main()
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_clntraw_create/
Drpc_clntraw_create_complex.c42 CLIENT *clnt = NULL; in main() local
77 clnt = clntraw_create(progNum, VERSNUM); in main()
79 if (clnt == NULL) { in main()
85 printf("CLNT %p\n", clnt); in main()
94 (clnt, PROCNUM, (xdrproc_t) xdr_int, (char *)&intSnd, in main()
96 clnt_perror(clnt, "raw"); in main()
Drpc_clntraw_create.c49 CLIENT *clnt = NULL; in main() local
52 clnt = clntraw_create(progNum, VERSNUM); in main()
55 printf("CLIENT : %p\n", clnt); in main()
58 test_status = (clnt != NULL) ? 0 : 1; in main()
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_clnt_create/
Drpc_clnt_create.c50 CLIENT *clnt = NULL; in main() local
53 clnt = clnt_create(argc[1], progNum, VERSNUM, proto); in main()
56 printf("CLIENT : %p\n", clnt); in main()
59 test_status = ((CLIENT *) clnt != NULL) ? 0 : 1; in main()
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_clnt_geterr/
Drpc_clnt_geterr.c50 CLIENT *clnt = NULL; in main() local
54 clnt = clnt_create(argc[1], progNum, VERSNUM, proto); in main()
57 printf("CLIENT : %p\n", clnt); in main()
60 clnt_geterr(clnt, &err); in main()
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_create/
Dtirpc_clnt_create.c51 CLIENT *clnt = NULL; in main() local
58 clnt = clnt_create(argc[1], progNum, VERSNUM, nettype); in main()
61 printf("Client after creation : %p\n", clnt); in main()
64 test_status = ((CLIENT *) clnt != NULL) ? 0 : 1; in main()
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_create_timed/
Dtirpc_clnt_create_timed.c51 CLIENT *clnt = NULL; in main() local
63 clnt = clnt_create_timed(argc[1], progNum, VERSNUM, nettype, &tv); in main()
66 printf("Client after creation : %p\n", clnt); in main()
69 test_status = ((CLIENT *) clnt != NULL) ? 0 : 1; in main()
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_err_clnt_perror/
Drpc_clnt_perror.c51 CLIENT *clnt = NULL; in main() local
66 clnt = clnt_create(argc[1], progNum, VERSNUM, nettype); in main()
69 rslt = clnt_call((CLIENT *) clnt, PROCNUM, (xdrproc_t) xdr_void, NULL, // xdr_in in main()
72 /**/ clnt_perror(clnt, "#SUCCESS"); in main()
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_clnttcp_create/
Drpc_clnttcp_create.c53 CLIENT *clnt = NULL; in main() local
69 clnt = clnttcp_create(&server_addr, progNum, VERSNUM, &sock, 0, 0); in main()
72 printf("CLIENT : %p\n", clnt); in main()
75 test_status = (clnt != NULL) ? 0 : 1; in main()
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_err_clnt_sperror/
Drpc_clnt_sperror.c51 CLIENT *clnt = NULL; in main() local
67 clnt = clnt_create(argc[1], progNum, VERSNUM, nettype); in main()
70 rslt = clnt_call((CLIENT *) clnt, PROCNUM, (xdrproc_t) xdr_void, NULL, // xdr_in in main()
73 /**/ chrRslt = clnt_sperror(clnt, "#SUCCESS"); in main()
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_clntudp_create/
Drpc_clntudp_create.c53 CLIENT *clnt = NULL; in main() local
73 clnt = in main()
78 printf("CLIENT : %p\n", clnt); in main()
81 test_status = (clnt != NULL) ? 0 : 1; in main()
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_clntudp_bufcreate/
Drpc_clntudp_bufcreate.c53 CLIENT *clnt = NULL; in main() local
73 clnt = in main()
78 printf("CLIENT : %p\n", clnt); in main()
81 test_status = ((CLIENT *) clnt != NULL) ? 0 : 1; in main()

123