/hardware/msm7k/librpc/ |
D | svc_clnt_common.c | 12 static void xdr_std_destroy(xdr_s_type *xdr) in xdr_std_destroy() argument 17 static bool_t xdr_std_control(xdr_s_type *xdr, int request, void *info) in xdr_std_control() argument 19 return r_control(xdr->fd, request, info); in xdr_std_control() 22 static bool_t xdr_std_msg_done(xdr_s_type *xdr) in xdr_std_msg_done() argument 29 static bool_t xdr_std_msg_start(xdr_s_type *xdr, in xdr_std_msg_start() argument 58 if (rpc_msg_type == RPC_MSG_CALL) xdr->xid++; in xdr_std_msg_start() 65 xdr->out_next = (RPC_OFFSET+2)*sizeof(uint32); in xdr_std_msg_start() 68 ((uint32 *)xdr->out_msg)[RPC_OFFSET] = htonl(xdr->xid); in xdr_std_msg_start() 70 ((uint32 *)xdr->out_msg)[RPC_OFFSET+1] = htonl(rpc_msg_type); in xdr_std_msg_start() 75 static bool_t xdr_std_msg_abort(xdr_s_type *xdr) in xdr_std_msg_abort() argument [all …]
|
D | clnt.c | 29 xdr_s_type *xdr; member 62 extern void xdr_destroy_common(xdr_s_type *xdr); 63 extern bool_t xdr_recv_reply_header (xdr_s_type *xdr, rpc_reply_header *reply); 79 (client->xdr->x_prog | 0x01000000), in cb_context() 80 client->xdr->x_vers); in cb_context() 92 (client->xdr->x_prog | 0x01000000), in cb_context() 93 client->xdr->x_vers); in cb_context() 104 ntohl(((uint32 *)(client->xdr->in_msg))[RPC_OFFSET+3]); in cb_context() 106 ntohl(((uint32 *)(client->xdr->in_msg))[RPC_OFFSET+4]); in cb_context() 113 client->xdr->x_prog, in cb_context() [all …]
|
D | rpc.c | 8 xdr_s_type *xdr, in xdr_call_msg_start() argument 17 xdr->x_prog = prog; in xdr_call_msg_start() 18 xdr->x_proc = proc; in xdr_call_msg_start() 20 return (XDR_MSG_START(xdr, RPC_MSG_CALL) && in xdr_call_msg_start() 21 XDR_SEND_UINT32(xdr, &vers) && in xdr_call_msg_start() 22 XDR_SEND_UINT32(xdr, &prog) && in xdr_call_msg_start() 23 XDR_SEND_UINT32(xdr, &ver) && in xdr_call_msg_start() 24 XDR_SEND_UINT32(xdr, &proc) && in xdr_call_msg_start() 25 xdr_send_auth(xdr, cred) && in xdr_call_msg_start() 26 xdr_send_auth(xdr, verf)); in xdr_call_msg_start() [all …]
|
D | xdr.c | 10 bool_t xdr_bytes (XDR *xdr, char **cpp, u_int *sizep, u_int maxsize) in xdr_bytes() argument 12 switch(xdr->x_op) { in xdr_bytes() 14 if(!XDR_RECV_UINT(xdr, sizep) || *sizep > maxsize) in xdr_bytes() 21 return XDR_RECV_BYTES(xdr, (uint8 *) *cpp, *sizep); in xdr_bytes() 23 return (XDR_SEND_UINT(xdr, sizep) && in xdr_bytes() 25 XDR_SEND_BYTES(xdr, (uint8 *) *cpp, *sizep)); in xdr_bytes() 38 bool_t xdr_send_enum (xdr_s_type *xdr, const void *value, uint32 size) in xdr_send_enum() argument 42 return XDR_SEND_INT32(xdr, (int32 *) value); in xdr_send_enum() 44 return XDR_SEND_INT16(xdr, (int16 *) value); in xdr_send_enum() 46 return XDR_SEND_INT8(xdr, (int8 *) value); in xdr_send_enum() [all …]
|
D | svc.c | 53 extern void xdr_destroy_common(XDR *xdr); 67 XDR *xdr; member 131 if (trav->xdr->fd == n) { in svc_context() 133 if (trav->xdr->xops->read(trav->xdr) == 0) { in svc_context() 135 trav->xdr->x_prog, trav->xdr->x_vers); in svc_context() 237 svc->xdr = NULL; in svc_register() 242 svc->xdr = xdr_init_common("/dev/oncrpc/00000000:0", in svc_register() 244 if (svc->xdr == NULL) { in svc_register() 255 if (r_control(svc->xdr->fd, in svc_register() 260 xdr_destroy_common(svc->xdr); in svc_register() [all …]
|
D | Android.mk | 5 LOCAL_SRC_FILES:= xdr.c rpc.c svc.c clnt.c ops.c svc_clnt_common.c 22 rpc/xdr.h
|
/hardware/msm7k/librpc/rpc/ |
D | types.h | 344 typedef void (*rpc_reply_cb_type)(xdr_s_type *xdr, void *data); 349 void (*xdr_destroy) (xdr_s_type *xdr); 350 bool_t (*xdr_control) (xdr_s_type *xdr, int request, void *info); 353 bool_t (*read) (xdr_s_type *xdr); 354 bool_t (*msg_done) (xdr_s_type *xdr); 357 bool_t (*msg_start) (xdr_s_type *xdr, rpc_msg_e_type rpc_msg_type); 358 bool_t (*msg_abort) (xdr_s_type *xdr); 359 bool_t (*msg_send) (xdr_s_type *xdr); 362 bool_t (*send_int8) (xdr_s_type *xdr, const int8 *value); 363 bool_t (*send_uint8) (xdr_s_type *xdr, const uint8 *value); [all …]
|
D | xdr.h | 69 extern bool_t xdr_call_msg_start (XDR *xdr, uint32 prog, uint32 ver, uint32 proc, opaque_auth *cred… 70 extern bool_t xdr_reply_msg_start (XDR *xdr, opaque_auth *verf); 71 extern bool_t xdr_send_auth (XDR *xdr, const opaque_auth *auth); 72 extern bool_t xdr_send_reply_header (XDR *xdr, rpc_reply_header const *reply); 81 extern bool_t xdr_send_enum (XDR *xdr, const void *value, uint32 size); 82 extern bool_t xdr_recv_enum (XDR *xdr, void *value, uint32 size); 84 extern bool_t xdr_bytes (XDR *xdr, char **cpp, u_int *sizep, u_int maxsize); 85 extern bool_t xdr_enum (XDR *xdr, enum_t *ep); 87 extern bool_t xdr_int (XDR *xdr, int *ip); 88 extern bool_t xdr_u_int (XDR *xdr, u_int *ip); [all …]
|
D | clnt.h | 209 extern bool_t clnt_freeres( CLIENT *xdr, xdrproc_t xdr_res, caddr_t res_ptr ); 210 extern void clnt_destroy( CLIENT *xdr );
|
D | svc.h | 192 extern bool_t svc_getargs(SVCXPRT *xdr, xdrproc_t xdr_args, caddr_t args_ptr); 193 extern bool_t svc_freeargs(SVCXPRT *xdr, xdrproc_t xdr_args, caddr_t args_ptr);
|
/hardware/qcom/gps/loc_api/libloc_api-rpc/gen-3200/ |
D | Makefile.xdr | 8 $(CLIENTS) $(SERVERS) $(COMMON):: xdr = $(@:=.xdr) 11 rpcgen -h -M $(xdr) -o ../$(RPC_INC)/$(addsuffix .h, $@) 12 rpcgen -c -M $(xdr) -o $(addsuffix _xdr.c, $@) 15 rpcgen -l -M $(xdr) -o $(addsuffix _clnt.c, $@) 18 rpcgen -m -M $(xdr) -o $(addsuffix _svc.c, $@)
|
D | loc_api_cb.xdr | 6 This is an AUTO GENERATED file that provides an xdr compatible definition of
|
D | loc_api.xdr | 6 This is an AUTO GENERATED file that provides an xdr compatible definition of
|
D | loc_api_common.xdr | 6 This is an AUTO GENERATED file that provides an xdr compatible definition of
|
/hardware/qcom/gps/loc_api/libloc_api-rpc/gen-1240/ |
D | Makefile.xdr | 8 $(CLIENTS) $(SERVERS) $(COMMON):: xdr = $(@:=.xdr) 11 rpcgen -h -M $(xdr) -o ../$(RPC_INC)/$(addsuffix .h, $@) 12 rpcgen -c -M $(xdr) -o $(addsuffix _xdr.c, $@) 15 rpcgen -l -M $(xdr) -o $(addsuffix _clnt.c, $@) 18 rpcgen -m -M $(xdr) -o $(addsuffix _svc.c, $@)
|
D | loc_api_cb.xdr | 6 This is an AUTO GENERATED file that provides an xdr compatible definition of
|
D | loc_api.xdr | 6 This is an AUTO GENERATED file that provides an xdr compatible definition of
|
D | loc_api_common.xdr | 6 This is an AUTO GENERATED file that provides an xdr compatible definition of
|
/hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-stub/xdr/ |
D | loc_api_cb.xdr | 35 This is an AUTO GENERATED file that provides an xdr compatible definition of
|
D | loc_api.xdr | 35 This is an AUTO GENERATED file that provides an xdr compatible definition of
|
D | loc_api_common.xdr | 35 This is an AUTO GENERATED file that provides an xdr compatible definition of
|