/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_clnt_call/ |
D | rpc_clnt_call_dataint.c | 53 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()
|
D | rpc_clnt_call.c | 50 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()
|
D | rpc_clnt_call_stress.c | 51 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()
|
D | rpc_clnt_call_complex.c | 74 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/ |
D | tirpc_toplevel_clnt_call_dataint.c | 53 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()
|
D | tirpc_toplevel_clnt_call.c | 51 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()
|
D | tirpc_toplevel_clnt_call_stress.c | 52 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()
|
D | tirpc_toplevel_clnt_call_scalability.c | 50 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/ |
D | rpc_clnt_control_dataint.c | 50 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()
|
D | rpc_clnt_control.c | 50 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/ |
D | rpc_clnt_freeres.c | 50 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/ |
D | tirpc_clnt_perror_complex.c | 55 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()
|
D | tirpc_clnt_perror.c | 51 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/ |
D | rpc1.c | 32 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/ |
D | rpc_clntraw_create_complex.c | 42 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()
|
D | rpc_clntraw_create.c | 49 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/ |
D | rpc_clnt_create.c | 50 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/ |
D | rpc_clnt_geterr.c | 50 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/ |
D | tirpc_clnt_create.c | 51 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/ |
D | tirpc_clnt_create_timed.c | 51 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/ |
D | rpc_clnt_perror.c | 51 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/ |
D | rpc_clnttcp_create.c | 53 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/ |
D | rpc_clnt_sperror.c | 51 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/ |
D | rpc_clntudp_create.c | 53 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/ |
D | rpc_clntudp_bufcreate.c | 53 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()
|