/hardware/msm7k/librpc/rpc/ |
xdr.h | 31 * xdr.h, External Data Representation Serialization Routines. 44 Macros for calling primitive XDR routines (this is independent of RPC) 47 #define XDR_RECV_BYTES(XDR, BUF, LEN) (XDR)->xops->recv_bytes(XDR, BUF, LEN) 48 #define XDR_RECV_INT16(XDR, VALUE) (XDR)->xops->recv_int16(XDR, VALUE) 49 #define XDR_RECV_INT32(XDR, VALUE) (XDR)->xops->recv_int32(XDR, VALUE [all...] |
types.h | 39 * XDR provides a conventional way for converting between C data 49 * XDR *xdrs; 52 * xdrs is an instance of a XDR handle, to which or from which the data 54 * converted. The XDR handle contains an operation field which indicates 78 typedef int bool_t; /* This has to be a long, as it is used for XDR boolean too, which is a 4-byte value */ 100 * Xdr operations. XDR_ENCODE causes the type to be encoded into the 117 * The XDR handle. 122 typedef struct xdr_struct XDR; 130 * bool_t (*xdrproc_t)(XDR *, caddr_t *); 132 typedef bool_t (*xdrproc_t) (XDR *, void *,...) [all...] |
/hardware/qcom/gps/loc_api/libloc_api-rpc/gen-1240/ |
loc_api_fixup.c | 33 XDR *xdrp; 41 XDR *xdrp;
|
loc_api_xdr.c | 9 xdr_rpc_loc_api_api_versions_return_type (XDR *xdrs, rpc_loc_api_api_versions_return_type *objp) 20 xdr_rpc_loc_event_cb_f_type (XDR *xdrs, rpc_loc_event_cb_f_type *objp) 30 xdr_rpc_loc_open_args (XDR *xdrs, rpc_loc_open_args *objp) 42 xdr_rpc_loc_close_args (XDR *xdrs, rpc_loc_close_args *objp) 52 xdr_rpc_loc_start_fix_args (XDR *xdrs, rpc_loc_start_fix_args *objp) 62 xdr_rpc_loc_stop_fix_args (XDR *xdrs, rpc_loc_stop_fix_args *objp) 72 xdr_rpc_loc_ioctl_args (XDR *xdrs, rpc_loc_ioctl_args *objp) 86 xdr_rpc_loc_api_api_version_s_args (XDR *xdrs, rpc_loc_api_api_version_s_args *objp) 96 xdr_rpc_loc_api_rpc_glue_code_info_remote_rets (XDR *xdrs, rpc_loc_api_rpc_glue_code_info_remote_rets *objp) 112 xdr_rpc_loc_open_rets (XDR *xdrs, rpc_loc_open_rets *objp [all...] |
loc_api_cb_xdr.c | 9 xdr_rpc_loc_event_cb_f_type_args (XDR *xdrs, rpc_loc_event_cb_f_type_args *objp) 25 xdr_rpc_loc_event_cb_f_type_rets (XDR *xdrs, rpc_loc_event_cb_f_type_rets *objp)
|
loc_api_common_xdr.c | 9 xdr_rpc_boolean (XDR *xdrs, rpc_boolean *objp) 19 xdr_rpc_uint32 (XDR *xdrs, rpc_uint32 *objp) 29 xdr_rpc_uint16 (XDR *xdrs, rpc_uint16 *objp) 39 xdr_rpc_uint8 (XDR *xdrs, rpc_uint8 *objp) 49 xdr_rpc_int32 (XDR *xdrs, rpc_int32 *objp) 59 xdr_rpc_byte (XDR *xdrs, rpc_byte *objp) 69 xdr_rpc_uint64 (XDR *xdrs, rpc_uint64 *objp) 79 xdr_rpc_loc_client_handle_type (XDR *xdrs, rpc_loc_client_handle_type *objp) 89 xdr_rpc_loc_event_mask_type (XDR *xdrs, rpc_loc_event_mask_type *objp) 99 xdr_rpc_loc_position_valid_mask_type (XDR *xdrs, rpc_loc_position_valid_mask_type *objp [all...] |
/hardware/qcom/gps/loc_api/libloc_api-rpc/gen-3200/ |
loc_api_fixup.c | 33 XDR *xdrp; 41 XDR *xdrp;
|
loc_api_xdr.c | 9 xdr_rpc_loc_api_api_versions_return_type (XDR *xdrs, rpc_loc_api_api_versions_return_type *objp) 20 xdr_rpc_loc_event_cb_f_type (XDR *xdrs, rpc_loc_event_cb_f_type *objp) 30 xdr_rpc_loc_open_args (XDR *xdrs, rpc_loc_open_args *objp) 42 xdr_rpc_loc_close_args (XDR *xdrs, rpc_loc_close_args *objp) 52 xdr_rpc_loc_start_fix_args (XDR *xdrs, rpc_loc_start_fix_args *objp) 62 xdr_rpc_loc_stop_fix_args (XDR *xdrs, rpc_loc_stop_fix_args *objp) 72 xdr_rpc_loc_ioctl_args (XDR *xdrs, rpc_loc_ioctl_args *objp) 86 xdr_rpc_loc_api_api_version_s_args (XDR *xdrs, rpc_loc_api_api_version_s_args *objp) 96 xdr_rpc_loc_api_rpc_glue_code_info_remote_rets (XDR *xdrs, rpc_loc_api_rpc_glue_code_info_remote_rets *objp) 112 xdr_rpc_loc_open_rets (XDR *xdrs, rpc_loc_open_rets *objp [all...] |
loc_api_common_xdr.c | 9 xdr_rpc_boolean (XDR *xdrs, rpc_boolean *objp) 19 xdr_rpc_uint32 (XDR *xdrs, rpc_uint32 *objp) 29 xdr_rpc_uint16 (XDR *xdrs, rpc_uint16 *objp) 39 xdr_rpc_uint8 (XDR *xdrs, rpc_uint8 *objp) 49 xdr_rpc_int32 (XDR *xdrs, rpc_int32 *objp) 59 xdr_rpc_byte (XDR *xdrs, rpc_byte *objp) 69 xdr_rpc_uint64 (XDR *xdrs, rpc_uint64 *objp) 79 xdr_rpc_loc_client_handle_type (XDR *xdrs, rpc_loc_client_handle_type *objp) 89 xdr_rpc_loc_event_mask_type (XDR *xdrs, rpc_loc_event_mask_type *objp) 99 xdr_rpc_loc_position_valid_mask_type (XDR *xdrs, rpc_loc_position_valid_mask_type *objp [all...] |
loc_api_cb_xdr.c | 9 xdr_rpc_loc_event_cb_f_type_args (XDR *xdrs, rpc_loc_event_cb_f_type_args *objp) 25 xdr_rpc_loc_event_cb_f_type_rets (XDR *xdrs, rpc_loc_event_cb_f_type_rets *objp)
|
/hardware/qcom/gps/loc_api/libloc_api-rpc/inc-1240/ |
loc_api_common.h | 926 /* the xdr functions */ 929 extern bool_t xdr_rpc_boolean (XDR *, rpc_boolean*); 930 extern bool_t xdr_rpc_uint32 (XDR *, rpc_uint32*); 931 extern bool_t xdr_rpc_uint16 (XDR *, rpc_uint16*); 932 extern bool_t xdr_rpc_uint8 (XDR *, rpc_uint8*); 933 extern bool_t xdr_rpc_int32 (XDR *, rpc_int32*); 934 extern bool_t xdr_rpc_byte (XDR *, rpc_byte*); 935 extern bool_t xdr_rpc_uint64 (XDR *, rpc_uint64*); 936 extern bool_t xdr_rpc_loc_client_handle_type (XDR *, rpc_loc_client_handle_type*); 937 extern bool_t xdr_rpc_loc_event_mask_type (XDR *, rpc_loc_event_mask_type*) [all...] |
loc_api.h | 168 /* the xdr functions */ 171 extern bool_t xdr_rpc_loc_api_api_versions_return_type (XDR *, rpc_loc_api_api_versions_return_type*); 172 extern bool_t xdr_rpc_loc_event_cb_f_type (XDR *, rpc_loc_event_cb_f_type*); 173 extern bool_t xdr_rpc_loc_open_args (XDR *, rpc_loc_open_args*); 174 extern bool_t xdr_rpc_loc_close_args (XDR *, rpc_loc_close_args*); 175 extern bool_t xdr_rpc_loc_start_fix_args (XDR *, rpc_loc_start_fix_args*); 176 extern bool_t xdr_rpc_loc_stop_fix_args (XDR *, rpc_loc_stop_fix_args*); 177 extern bool_t xdr_rpc_loc_ioctl_args (XDR *, rpc_loc_ioctl_args*); 178 extern bool_t xdr_rpc_loc_api_api_version_s_args (XDR *, rpc_loc_api_api_version_s_args*); 179 extern bool_t xdr_rpc_loc_api_rpc_glue_code_info_remote_rets (XDR *, rpc_loc_api_rpc_glue_code_info_remote_rets*) [all...] |
loc_api_cb.h | 48 /* the xdr functions */ 51 extern bool_t xdr_rpc_loc_event_cb_f_type_args (XDR *, rpc_loc_event_cb_f_type_args*); 52 extern bool_t xdr_rpc_loc_event_cb_f_type_rets (XDR *, rpc_loc_event_cb_f_type_rets*);
|
loc_api_fixup.h | 41 extern bool_t xdr_float (XDR *__xdrs, float *__fp); 42 extern bool_t xdr_double (XDR *__xdrs, double *__dp); 47 extern bool_t xdr_bool(XDR *__xdrs, int *__bp);
|
/hardware/qcom/gps/loc_api/libloc_api-rpc/inc-3200/ |
loc_api_common.h | 829 /* the xdr functions */ 832 extern bool_t xdr_rpc_boolean (XDR *, rpc_boolean*); 833 extern bool_t xdr_rpc_uint32 (XDR *, rpc_uint32*); 834 extern bool_t xdr_rpc_uint16 (XDR *, rpc_uint16*); 835 extern bool_t xdr_rpc_uint8 (XDR *, rpc_uint8*); 836 extern bool_t xdr_rpc_int32 (XDR *, rpc_int32*); 837 extern bool_t xdr_rpc_byte (XDR *, rpc_byte*); 838 extern bool_t xdr_rpc_uint64 (XDR *, rpc_uint64*); 839 extern bool_t xdr_rpc_loc_client_handle_type (XDR *, rpc_loc_client_handle_type*); 840 extern bool_t xdr_rpc_loc_event_mask_type (XDR *, rpc_loc_event_mask_type*) [all...] |
loc_api.h | 156 /* the xdr functions */ 159 extern bool_t xdr_rpc_loc_api_api_versions_return_type (XDR *, rpc_loc_api_api_versions_return_type*); 160 extern bool_t xdr_rpc_loc_event_cb_f_type (XDR *, rpc_loc_event_cb_f_type*); 161 extern bool_t xdr_rpc_loc_open_args (XDR *, rpc_loc_open_args*); 162 extern bool_t xdr_rpc_loc_close_args (XDR *, rpc_loc_close_args*); 163 extern bool_t xdr_rpc_loc_start_fix_args (XDR *, rpc_loc_start_fix_args*); 164 extern bool_t xdr_rpc_loc_stop_fix_args (XDR *, rpc_loc_stop_fix_args*); 165 extern bool_t xdr_rpc_loc_ioctl_args (XDR *, rpc_loc_ioctl_args*); 166 extern bool_t xdr_rpc_loc_api_api_version_s_args (XDR *, rpc_loc_api_api_version_s_args*); 167 extern bool_t xdr_rpc_loc_api_rpc_glue_code_info_remote_rets (XDR *, rpc_loc_api_rpc_glue_code_info_remote_rets*) [all...] |
loc_api_cb.h | 48 /* the xdr functions */ 51 extern bool_t xdr_rpc_loc_event_cb_f_type_args (XDR *, rpc_loc_event_cb_f_type_args*); 52 extern bool_t xdr_rpc_loc_event_cb_f_type_rets (XDR *, rpc_loc_event_cb_f_type_rets*);
|
loc_api_fixup.h | 41 extern bool_t xdr_float (XDR *__xdrs, float *__fp); 42 extern bool_t xdr_double (XDR *__xdrs, double *__dp); 47 extern bool_t xdr_bool(XDR *__xdrs, int *__bp);
|
/hardware/msm7k/librpc/ |
xdr.c | 7 * Primitives for stuffing data into and retrieving data from an XDR 10 bool_t xdr_bytes (XDR *xdr, char **cpp, u_int *sizep, u_int maxsize) 12 switch(xdr->x_op) { 14 if(!XDR_RECV_UINT(xdr, sizep) || *sizep > maxsize) 21 return XDR_RECV_BYTES(xdr, (uint8 *) *cpp, *sizep); 23 return (XDR_SEND_UINT(xdr, sizep) && 25 XDR_SEND_BYTES(xdr, (uint8 *) *cpp, *sizep)); 38 bool_t xdr_send_enum (xdr_s_type *xdr, const void *value, uint32 size) 42 return XDR_SEND_INT32(xdr, (int32 *) value) [all...] |
svc.c | 52 extern XDR *xdr_init_common(const char *name, int is_client); 53 extern void xdr_destroy_common(XDR *xdr); 64 the XDR for server entries which represent a callback client. Those 67 XDR *xdr; member in struct:registered_server_struct 68 /* Because the xdr is NULL for callback clients (as opposed to true 131 if (trav->xdr->fd == n) { 133 if (trav->xdr->xops->read(trav->xdr) == 0) [all...] |
rpc.c | 4 * Functions to compose RPC messages from XDR primitives 8 xdr_s_type *xdr, 17 xdr->x_prog = prog; 18 xdr->x_proc = proc; 20 return (XDR_MSG_START(xdr, RPC_MSG_CALL) && 21 XDR_SEND_UINT32(xdr, &vers) && 22 XDR_SEND_UINT32(xdr, &prog) && 23 XDR_SEND_UINT32(xdr, &ver) && 24 XDR_SEND_UINT32(xdr, &proc) && 25 xdr_send_auth(xdr, cred) & [all...] |
clnt.c | 29 xdr_s_type *xdr; member in struct:CLIENT 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), 80 client->xdr->x_vers); 92 (client->xdr->x_prog | 0x01000000), 93 client->xdr->x_vers); 104 ntohl(((uint32 *)(client->xdr->in_msg))[RPC_OFFSET+3]); 106 ntohl(((uint32 *)(client->xdr->in_msg))[RPC_OFFSET+4]); 110 XDR **svc_xdr = (XDR **)svc 311 xdr_s_type *xdr = client->xdr; local [all...] |