Home
last modified time | relevance | path

Searched refs:xdrs (Results 1 – 8 of 8) sorted by relevance

/hardware/qcom/gps/loc_api/libloc_api-rpc/gen-1240/
Dloc_api_common_xdr.c9 xdr_rpc_boolean (XDR *xdrs, rpc_boolean *objp) in xdr_rpc_boolean() argument
13 if (!xdr_bool (xdrs, objp)) in xdr_rpc_boolean()
19 xdr_rpc_uint32 (XDR *xdrs, rpc_uint32 *objp) in xdr_rpc_uint32() argument
23 if (!xdr_u_long (xdrs, objp)) in xdr_rpc_uint32()
29 xdr_rpc_uint16 (XDR *xdrs, rpc_uint16 *objp) in xdr_rpc_uint16() argument
33 if (!xdr_u_short (xdrs, objp)) in xdr_rpc_uint16()
39 xdr_rpc_uint8 (XDR *xdrs, rpc_uint8 *objp) in xdr_rpc_uint8() argument
43 if (!xdr_u_char (xdrs, objp)) in xdr_rpc_uint8()
49 xdr_rpc_int32 (XDR *xdrs, rpc_int32 *objp) in xdr_rpc_int32() argument
53 if (!xdr_long (xdrs, objp)) in xdr_rpc_int32()
[all …]
Dloc_api_xdr.c9 xdr_rpc_loc_api_api_versions_return_type (XDR *xdrs, rpc_loc_api_api_versions_return_type *objp) in xdr_rpc_loc_api_api_versions_return_type() argument
13 …if (!xdr_array (xdrs, (char **)&objp->rpc_loc_api_api_versions_return_type_val, (u_int *) &objp->r… in xdr_rpc_loc_api_api_versions_return_type()
20 xdr_rpc_loc_event_cb_f_type (XDR *xdrs, rpc_loc_event_cb_f_type *objp) in xdr_rpc_loc_event_cb_f_type() argument
24 if (!xdr_rpc_uint32 (xdrs, objp)) in xdr_rpc_loc_event_cb_f_type()
30 xdr_rpc_loc_open_args (XDR *xdrs, rpc_loc_open_args *objp) in xdr_rpc_loc_open_args() argument
34 if (!xdr_rpc_loc_event_mask_type (xdrs, &objp->event_reg_mask)) in xdr_rpc_loc_open_args()
36 if (!xdr_rpc_loc_event_cb_f_type (xdrs, &objp->event_callback)) in xdr_rpc_loc_open_args()
42 xdr_rpc_loc_close_args (XDR *xdrs, rpc_loc_close_args *objp) in xdr_rpc_loc_close_args() argument
46 if (!xdr_rpc_loc_client_handle_type (xdrs, &objp->handle)) in xdr_rpc_loc_close_args()
52 xdr_rpc_loc_start_fix_args (XDR *xdrs, rpc_loc_start_fix_args *objp) in xdr_rpc_loc_start_fix_args() argument
[all …]
Dloc_api_cb_xdr.c9 xdr_rpc_loc_event_cb_f_type_args (XDR *xdrs, rpc_loc_event_cb_f_type_args *objp) in xdr_rpc_loc_event_cb_f_type_args() argument
13 if (!xdr_rpc_uint32 (xdrs, &objp->cb_id)) in xdr_rpc_loc_event_cb_f_type_args()
15 if (!xdr_rpc_loc_client_handle_type (xdrs, &objp->loc_handle)) in xdr_rpc_loc_event_cb_f_type_args()
17 if (!xdr_rpc_loc_event_mask_type (xdrs, &objp->loc_event)) in xdr_rpc_loc_event_cb_f_type_args()
19 …if (!xdr_pointer (xdrs, (char **)&objp->loc_event_payload, sizeof (rpc_loc_event_payload_u_type), … in xdr_rpc_loc_event_cb_f_type_args()
25 xdr_rpc_loc_event_cb_f_type_rets (XDR *xdrs, rpc_loc_event_cb_f_type_rets *objp) in xdr_rpc_loc_event_cb_f_type_rets() argument
29 if (!xdr_rpc_int32 (xdrs, &objp->loc_event_cb_f_type_result)) in xdr_rpc_loc_event_cb_f_type_rets()
/hardware/qcom/gps/loc_api/libloc_api-rpc/gen-3200/
Dloc_api_common_xdr.c9 xdr_rpc_boolean (XDR *xdrs, rpc_boolean *objp) in xdr_rpc_boolean() argument
13 if (!xdr_bool (xdrs, objp)) in xdr_rpc_boolean()
19 xdr_rpc_uint32 (XDR *xdrs, rpc_uint32 *objp) in xdr_rpc_uint32() argument
23 if (!xdr_u_long (xdrs, objp)) in xdr_rpc_uint32()
29 xdr_rpc_uint16 (XDR *xdrs, rpc_uint16 *objp) in xdr_rpc_uint16() argument
33 if (!xdr_u_short (xdrs, objp)) in xdr_rpc_uint16()
39 xdr_rpc_uint8 (XDR *xdrs, rpc_uint8 *objp) in xdr_rpc_uint8() argument
43 if (!xdr_u_char (xdrs, objp)) in xdr_rpc_uint8()
49 xdr_rpc_int32 (XDR *xdrs, rpc_int32 *objp) in xdr_rpc_int32() argument
53 if (!xdr_long (xdrs, objp)) in xdr_rpc_int32()
[all …]
Dloc_api_xdr.c9 xdr_rpc_loc_api_api_versions_return_type (XDR *xdrs, rpc_loc_api_api_versions_return_type *objp) in xdr_rpc_loc_api_api_versions_return_type() argument
13 …if (!xdr_array (xdrs, (char **)&objp->rpc_loc_api_api_versions_return_type_val, (u_int *) &objp->r… in xdr_rpc_loc_api_api_versions_return_type()
20 xdr_rpc_loc_event_cb_f_type (XDR *xdrs, rpc_loc_event_cb_f_type *objp) in xdr_rpc_loc_event_cb_f_type() argument
24 if (!xdr_rpc_uint32 (xdrs, objp)) in xdr_rpc_loc_event_cb_f_type()
30 xdr_rpc_loc_open_args (XDR *xdrs, rpc_loc_open_args *objp) in xdr_rpc_loc_open_args() argument
34 if (!xdr_rpc_loc_event_mask_type (xdrs, &objp->event_reg_mask)) in xdr_rpc_loc_open_args()
36 if (!xdr_rpc_loc_event_cb_f_type (xdrs, &objp->event_callback)) in xdr_rpc_loc_open_args()
42 xdr_rpc_loc_close_args (XDR *xdrs, rpc_loc_close_args *objp) in xdr_rpc_loc_close_args() argument
46 if (!xdr_rpc_loc_client_handle_type (xdrs, &objp->handle)) in xdr_rpc_loc_close_args()
52 xdr_rpc_loc_start_fix_args (XDR *xdrs, rpc_loc_start_fix_args *objp) in xdr_rpc_loc_start_fix_args() argument
[all …]
Dloc_api_cb_xdr.c9 xdr_rpc_loc_event_cb_f_type_args (XDR *xdrs, rpc_loc_event_cb_f_type_args *objp) in xdr_rpc_loc_event_cb_f_type_args() argument
13 if (!xdr_rpc_uint32 (xdrs, &objp->cb_id)) in xdr_rpc_loc_event_cb_f_type_args()
15 if (!xdr_rpc_loc_client_handle_type (xdrs, &objp->loc_handle)) in xdr_rpc_loc_event_cb_f_type_args()
17 if (!xdr_rpc_loc_event_mask_type (xdrs, &objp->loc_event)) in xdr_rpc_loc_event_cb_f_type_args()
19 …if (!xdr_pointer (xdrs, (char **)&objp->loc_event_payload, sizeof (rpc_loc_event_payload_u_type), … in xdr_rpc_loc_event_cb_f_type_args()
25 xdr_rpc_loc_event_cb_f_type_rets (XDR *xdrs, rpc_loc_event_cb_f_type_rets *objp) in xdr_rpc_loc_event_cb_f_type_rets() argument
29 if (!xdr_rpc_int32 (xdrs, &objp->loc_event_cb_f_type_result)) in xdr_rpc_loc_event_cb_f_type_rets()
/hardware/msm7k/librpc/
Dxdr.c141 bool_t xdr_u_hyper (XDR *xdrs, u_quad_t *ullp) in xdr_u_hyper() argument
146 if (xdrs->x_op == XDR_ENCODE) { in xdr_u_hyper()
149 return (XDR_SEND_INT32(xdrs, (int32 *)&t1) && in xdr_u_hyper()
150 XDR_SEND_INT32(xdrs, (int32 *)&t2)); in xdr_u_hyper()
153 if (xdrs->x_op == XDR_DECODE) { in xdr_u_hyper()
154 if (!XDR_RECV_INT32(xdrs, (int32 *)&t1) || in xdr_u_hyper()
155 !XDR_RECV_INT32(xdrs, (int32 *)&t2)) in xdr_u_hyper()
162 return xdrs->x_op == XDR_FREE; in xdr_u_hyper()
166 xdr_u_quad_t (XDR *xdrs, u_quad_t *ullp) in xdr_u_quad_t() argument
168 return xdr_u_hyper(xdrs, ullp); in xdr_u_quad_t()
[all …]
/hardware/msm7k/librpc/rpc/
Dxdr.h86 extern bool_t xdr_pointer (XDR *xdrs, char **_objpp, u_int obj_size, xdrproc_t xdr_obj);
94 extern bool_t xdr_quad_t (XDR *xdrs, quad_t *llp);
98 extern bool_t xdr_vector (XDR *xdrs, char *basep, u_int nelem, u_int elemsize, xdrproc_t xdr_elem);
104 XDR *xdrs,