/external/bluetooth/bluez/src/ |
D | agent.c | 86 static int request_fallback(struct agent_request *req, 108 static int send_cancel_request(struct agent_request *req) in send_cancel_request() argument 112 message = dbus_message_new_method_call(req->agent->name, req->agent->path, in send_cancel_request() 124 static void agent_request_free(struct agent_request *req, gboolean destroy) in agent_request_free() argument 126 if (req->msg) in agent_request_free() 127 dbus_message_unref(req->msg); in agent_request_free() 128 if (req->call) in agent_request_free() 129 dbus_pending_call_unref(req->call); in agent_request_free() 130 if (req->agent && req->agent->request) in agent_request_free() 131 req->agent->request = NULL; in agent_request_free() [all …]
|
/external/qemu/distrib/sdl-1.2.12/src/video/Xext/Xxf86vm/ |
D | XF86VMode.c | 125 xXF86VidModeQueryVersionReq *req; variable 130 GetReq(XF86VidModeQueryVersion, req); 131 req->reqType = info->codes->major_opcode; 132 req->xf86vidmodeReqType = X_XF86VidModeQueryVersion; 151 xXF86VidModeSetClientVersionReq *req; in SDL_NAME() local 156 GetReq(XF86VidModeSetClientVersion, req); in SDL_NAME() 157 req->reqType = info->codes->major_opcode; in SDL_NAME() 158 req->xf86vidmodeReqType = X_XF86VidModeSetClientVersion; in SDL_NAME() 159 req->major = XF86VIDMODE_MAJOR_VERSION; in SDL_NAME() 160 req->minor = XF86VIDMODE_MINOR_VERSION; in SDL_NAME() [all …]
|
/external/qemu/distrib/sdl-1.2.12/src/video/Xext/Xv/ |
D | Xv.c | 115 xvQueryExtensionReq *req; in XEXT_GENERATE_CLOSE_DISPLAY() local 122 XvGetReq(QueryExtension, req); in XEXT_GENERATE_CLOSE_DISPLAY() 150 xvQueryAdaptorsReq *req; in SDL_NAME() local 169 XvGetReq(QueryAdaptors, req); in SDL_NAME() 170 req->window = window; in SDL_NAME() 311 xvQueryEncodingsReq *req; in SDL_NAME() local 328 XvGetReq(QueryEncodings, req); in SDL_NAME() 329 req->port = port; in SDL_NAME() 433 xvPutVideoReq *req; in SDL_NAME() local 441 XvGetReq(PutVideo, req); in SDL_NAME() [all …]
|
D | Xvlibint.h | 51 #define XvGetReq(name, req) \ argument 55 req = (xv##name##Req *)(dpy->last_req = dpy->bufptr);\ 56 req->reqType = info->codes->major_opcode;\ 57 req->xvReqType = xv_##name; \ 58 req->length = (SIZEOF(xv##name##Req))>>2;\ 63 #define XvGetReq(name, req) \ argument 67 req = (xv/**/name/**/Req *)(dpy->last_req = dpy->bufptr);\ 68 req->reqType = info->codes->major_opcode;\ 69 req->xvReqType = xv_/**/name;\ 70 req->length = (SIZEOF(xv/**/name/**/Req))>>2;\
|
/external/bluetooth/bluez/compat/ |
D | bnep.c | 97 struct bnep_connlist_req req; in bnep_init() local 100 req.cnum = 1; in bnep_init() 101 req.ci = ci; in bnep_init() 103 if (!ioctl(ctl, BNEPGETCONNLIST, &req)) { in bnep_init() 129 struct bnep_connlist_req req; in bnep_show_connections() local 133 req.cnum = 48; in bnep_show_connections() 134 req.ci = ci; in bnep_show_connections() 135 if (ioctl(ctl, bnepgetconnlist, &req)) { in bnep_show_connections() 140 for (i = 0; i < req.cnum; i++) { in bnep_show_connections() 150 struct bnep_conndel_req req; in bnep_kill_connection() local [all …]
|
D | sdp.c | 89 static int store_device_info(const bdaddr_t *src, const bdaddr_t *dst, struct hidp_connadd_req *req) in store_device_info() argument 97 size = 15 + 3 + 3 + 5 + (req->rd_size * 2) + 1 + 9 + strlen(req->name) + 2; in store_device_info() 102 desc = malloc((req->rd_size * 2) + 1); in store_device_info() 108 memset(desc, 0, (req->rd_size * 2) + 1); in store_device_info() 109 for (i = 0; i < req->rd_size; i++) in store_device_info() 110 sprintf(desc + (i * 2), "%2.2X", req->rd_data[i]); in store_device_info() 113 req->vendor, req->product, req->version, in store_device_info() 114 req->subclass, req->country, req->parser, desc, in store_device_info() 115 req->flags, req->name); in store_device_info() 129 int get_stored_device_info(const bdaddr_t *src, const bdaddr_t *dst, struct hidp_connadd_req *req) in get_stored_device_info() argument [all …]
|
D | hidd.c | 252 struct hidp_connadd_req req; in create_device() local 275 memset(&req, 0, sizeof(req)); in create_device() 276 req.ctrl_sock = csk; in create_device() 277 req.intr_sock = isk; in create_device() 278 req.flags = 0; in create_device() 279 req.idle_to = timeout * 60; in create_device() 281 err = get_stored_device_info(&src, &dst, &req); in create_device() 293 err = get_sdp_device_info(&src, &dst, &req); in create_device() 309 req.subclass = class[0]; in create_device() 311 req.subclass = 0xc0; in create_device() [all …]
|
/external/qemu/distrib/sdl-1.2.12/src/video/Xext/Xxf86dga/ |
D | XF86DGA2.c | 168 xXDGAQueryVersionReq *req; in SDL_NAME() local 173 GetReq(XDGAQueryVersion, req); in SDL_NAME() 174 req->reqType = info->codes->major_opcode; in SDL_NAME() 175 req->dgaReqType = X_XDGAQueryVersion; in SDL_NAME() 205 xXDGASetClientVersionReq *req; in SDL_NAME() local 210 GetReq(XDGASetClientVersion, req); in SDL_NAME() 211 req->reqType = info->codes->major_opcode; in SDL_NAME() 212 req->dgaReqType = X_XDGASetClientVersion; in SDL_NAME() 213 req->major = XDGA_MAJOR_VERSION; in SDL_NAME() 214 req->minor = XDGA_MINOR_VERSION; in SDL_NAME() [all …]
|
D | XF86DGA.c | 106 xXF86DGAGetVideoLLReq *req; in SDL_NAME() local 111 GetReq(XF86DGAGetVideoLL, req); in SDL_NAME() 112 req->reqType = info->codes->major_opcode; in SDL_NAME() 113 req->dgaReqType = X_XF86DGAGetVideoLL; in SDL_NAME() 114 req->screen = screen; in SDL_NAME() 138 xXF86DGADirectVideoReq *req; in SDL_NAME() local 143 GetReq(XF86DGADirectVideo, req); in SDL_NAME() 144 req->reqType = info->codes->major_opcode; in SDL_NAME() 145 req->dgaReqType = X_XF86DGADirectVideo; in SDL_NAME() 146 req->screen = screen; in SDL_NAME() [all …]
|
/external/opencore/oscl/oscl/osclio/src/ |
D | oscl_socket_imp_serv.cpp | 72 OsclSocketRequest *req = aElem->iSocketRequest; in ProcessConnect() local 129 ADD_STATS(req->iParam->iFxn, EOsclSocket_Writable); in ProcessConnect() 138 ADD_STATS(req->iParam->iFxn, EOsclSocket_Except); in ProcessConnect() 146 ADD_STATS(req->iParam->iFxn, EOsclSocket_ServPoll); in ProcessConnect() 152 ConnectParam *param = (ConnectParam*)req->iParam; in ProcessConnect() 156 ADD_STATS(req->iParam->iFxn, EOsclSocket_OS); in ProcessConnect() 191 req->Complete(aElem, complete, sockerr); in ProcessConnect() 210 OsclSocketRequest *req = aElem->iSocketRequest; in ProcessShutdown() local 212 ShutdownParam* param = (ShutdownParam*)req->iParam; in ProcessShutdown() 215 ADD_STATS(req->iParam->iFxn, EOsclSocket_OS); in ProcessShutdown() [all …]
|
/external/qemu/distrib/sdl-1.2.12/src/video/Xext/XME/ |
D | xme.c | 183 #define XiGMiscGetReq(name,req,info) GetReq (name, req); \ argument 184 req->reqType = info->codes->major_opcode; \ 185 req->xigmiscReqType = X_##name; 187 #define XiGMiscGetReqExtra(name,n,req,info) GetReqExtra (name, n, req); \ argument 188 req->reqType = info->codes->major_opcode; \ 189 req->xigmicReqType = X_##name; 191 #define XiGMiscGetReq(name,req,info) GetReq (name, req); \ argument 192 req->reqType = info->codes->major_opcode; \ 193 req->xigmiscReqType = X_/**/name; 194 #define XiGMiscGetReqExtra(name,n,req,info) GetReqExtra (name, n, req); \ argument [all …]
|
/external/openssl/crypto/x509/ |
D | x509_req.c | 109 EVP_PKEY *X509_REQ_get_pubkey(X509_REQ *req) in X509_REQ_get_pubkey() argument 111 if ((req == NULL) || (req->req_info == NULL)) in X509_REQ_get_pubkey() 113 return(X509_PUBKEY_get(req->req_info->pubkey)); in X509_REQ_get_pubkey() 185 STACK_OF(X509_EXTENSION) *X509_REQ_get_extensions(X509_REQ *req) in STACK_OF() 192 if ((req == NULL) || (req->req_info == NULL) || !ext_nids) in STACK_OF() 196 idx = X509_REQ_get_attr_by_NID(req, *pnid, -1); in STACK_OF() 199 attr = X509_REQ_get_attr(req, idx); in STACK_OF() 218 int X509_REQ_add_extensions_nid(X509_REQ *req, STACK_OF(X509_EXTENSION) *exts, in X509_REQ_add_extensions_nid() argument 245 if (!req->req_info->attributes) in X509_REQ_add_extensions_nid() 247 if (!(req->req_info->attributes = sk_X509_ATTRIBUTE_new_null())) in X509_REQ_add_extensions_nid() [all …]
|
/external/bluetooth/bluez/rfcomm/ |
D | main.c | 151 struct rfcomm_dev_req req; in create_dev() local 154 memset(&req, 0, sizeof(req)); in create_dev() 155 req.dev_id = dev; in create_dev() 156 req.flags = flags; in create_dev() 157 bacpy(&req.src, bdaddr); in create_dev() 166 bacpy(&req.dst, &rfcomm_opts[dev].bdaddr); in create_dev() 167 req.channel = rfcomm_opts[dev].channel; in create_dev() 169 if (bacmp(&req.dst, BDADDR_ANY) == 0) { in create_dev() 174 str2ba(argv[1], &req.dst); in create_dev() 177 req.channel = atoi(argv[2]); in create_dev() [all …]
|
/external/qemu/distrib/sdl-1.2.12/src/video/Xext/Xinerama/ |
D | Xinerama.c | 104 register xPanoramiXQueryVersionReq *req; in SDL_NAME() local 109 GetReq (PanoramiXQueryVersion, req); in SDL_NAME() 110 req->reqType = info->codes->major_opcode; in SDL_NAME() 111 req->panoramiXReqType = X_PanoramiXQueryVersion; in SDL_NAME() 112 req->clientMajor = PANORAMIX_MAJOR_VERSION; in SDL_NAME() 113 req->clientMinor = PANORAMIX_MINOR_VERSION; in SDL_NAME() 139 register xPanoramiXGetStateReq *req; in SDL_NAME() local 144 GetReq (PanoramiXGetState, req); in SDL_NAME() 145 req->reqType = info->codes->major_opcode; in SDL_NAME() 146 req->panoramiXReqType = X_PanoramiXGetState; in SDL_NAME() [all …]
|
/external/wpa_supplicant/ |
D | eap_pax.c | 110 static struct eap_pax_hdr * eap_pax_alloc_resp(const struct eap_pax_hdr *req, in eap_pax_alloc_resp() argument 119 resp->identifier = req->identifier; in eap_pax_alloc_resp() 124 resp->mac_id = req->mac_id; in eap_pax_alloc_resp() 125 resp->dh_group_id = req->dh_group_id; in eap_pax_alloc_resp() 126 resp->public_key_id = req->public_key_id; in eap_pax_alloc_resp() 136 const struct eap_pax_hdr *req; in eap_pax_process_std_1() local 143 req = (const struct eap_pax_hdr *) reqData; in eap_pax_process_std_1() 152 if (req->flags & EAP_PAX_FLAGS_CE) { in eap_pax_process_std_1() 159 left = reqDataLen - sizeof(*req); in eap_pax_process_std_1() 168 pos = (const u8 *) (req + 1); in eap_pax_process_std_1() [all …]
|
D | eap_aka.c | 182 const struct eap_hdr *req, in eap_aka_client_error() argument 191 msg = eap_sim_msg_init(EAP_CODE_RESPONSE, req->identifier, in eap_aka_client_error() 199 const struct eap_hdr *req, in eap_aka_authentication_reject() argument 209 "(id=%d)", req->identifier); in eap_aka_authentication_reject() 210 msg = eap_sim_msg_init(EAP_CODE_RESPONSE, req->identifier, in eap_aka_authentication_reject() 218 const struct eap_hdr *req, in eap_aka_synchronization_failure() argument 227 "(id=%d)", req->identifier); in eap_aka_synchronization_failure() 228 msg = eap_sim_msg_init(EAP_CODE_RESPONSE, req->identifier, in eap_aka_synchronization_failure() 240 const struct eap_hdr *req, in eap_aka_response_identity() argument 269 req->identifier); in eap_aka_response_identity() [all …]
|
D | eap_sim.c | 233 const struct eap_hdr *req, in eap_sim_client_error() argument 242 msg = eap_sim_msg_init(EAP_CODE_RESPONSE, req->identifier, in eap_sim_client_error() 251 const struct eap_hdr *req, in eap_sim_response_start() argument 280 req->identifier); in eap_sim_response_start() 281 msg = eap_sim_msg_init(EAP_CODE_RESPONSE, req->identifier, in eap_sim_response_start() 306 const struct eap_hdr *req, in eap_sim_response_challenge() argument 312 req->identifier); in eap_sim_response_challenge() 313 msg = eap_sim_msg_init(EAP_CODE_RESPONSE, req->identifier, in eap_sim_response_challenge() 324 const struct eap_hdr *req, in eap_sim_response_reauth() argument 331 req->identifier); in eap_sim_response_reauth() [all …]
|
/external/iptables/extensions/ |
D | libipt_set.h | 53 struct ip_set_req_get_set req; in get_set_byname() local 57 req.op = IP_SET_OP_GET_BYNAME; in get_set_byname() 58 req.version = IP_SET_PROTOCOL_VERSION; in get_set_byname() 59 strncpy(req.set.name, setname, IP_SET_MAXNAMELEN); in get_set_byname() 60 req.set.name[IP_SET_MAXNAMELEN - 1] = '\0'; in get_set_byname() 61 res = get_set_getsockopt(&req, &size); in get_set_byname() 71 if (req.set.index == IP_SET_INVALID_ID) in get_set_byname() 75 info->index = req.set.index; in get_set_byname() 80 struct ip_set_req_get_set req; in get_set_byid() local 84 req.op = IP_SET_OP_GET_BYINDEX; in get_set_byid() [all …]
|
/external/qemu/hw/ |
D | bt-sdp.c | 114 const uint8_t **req, ssize_t *len) in sdp_svc_match() argument 119 if ((**req & ~SDP_DSIZE_MASK) != SDP_DTYPE_UUID) in sdp_svc_match() 122 datalen = sdp_datalen(req, len); in sdp_svc_match() 127 if (sdp_uuid_match(&sdp->service_list[i], *req, datalen)) in sdp_svc_match() 130 (*req) += datalen; in sdp_svc_match() 137 uint8_t *rsp, const uint8_t *req, ssize_t len) in sdp_svc_search() argument 149 if ((*req & ~SDP_DSIZE_MASK) == SDP_DTYPE_SEQ) { in sdp_svc_search() 150 seqlen = sdp_datalen(&req, &len); in sdp_svc_search() 156 if (sdp_svc_match(sdp, &req, &seqlen)) in sdp_svc_search() 158 } else if (sdp_svc_match(sdp, &req, &seqlen)) in sdp_svc_search() [all …]
|
/external/openssl/crypto/ocsp/ |
D | ocsp_cl.c | 82 OCSP_ONEREQ *OCSP_request_add0_id(OCSP_REQUEST *req, OCSP_CERTID *cid) in OCSP_request_add0_id() argument 89 if (req && in OCSP_request_add0_id() 90 !sk_OCSP_ONEREQ_push(req->tbsRequest->requestList, one)) in OCSP_request_add0_id() 100 int OCSP_request_set1_name(OCSP_REQUEST *req, X509_NAME *nm) in OCSP_request_set1_name() argument 112 if (req->tbsRequest->requestorName) in OCSP_request_set1_name() 113 GENERAL_NAME_free(req->tbsRequest->requestorName); in OCSP_request_set1_name() 114 req->tbsRequest->requestorName = gen; in OCSP_request_set1_name() 121 int OCSP_request_add1_cert(OCSP_REQUEST *req, X509 *cert) in OCSP_request_add1_cert() argument 124 if (!req->optionalSignature) in OCSP_request_add1_cert() 125 req->optionalSignature = OCSP_SIGNATURE_new(); in OCSP_request_add1_cert() [all …]
|
/external/bluetooth/bluez/network/ |
D | common.c | 160 struct bnep_conndel_req req; in bnep_kill_connection() local 162 memset(&req, 0, sizeof(req)); in bnep_kill_connection() 163 baswap((bdaddr_t *)&req.dst, dst); in bnep_kill_connection() 164 req.flags = 0; in bnep_kill_connection() 165 if (ioctl(ctl, BNEPCONNDEL, &req)) { in bnep_kill_connection() 176 struct bnep_connlist_req req; in bnep_kill_all_connections() local 181 memset(&req, 0, sizeof(req)); in bnep_kill_all_connections() 182 req.cnum = 7; in bnep_kill_all_connections() 183 req.ci = ci; in bnep_kill_all_connections() 184 if (ioctl(ctl, BNEPGETCONNLIST, &req)) { in bnep_kill_all_connections() [all …]
|
/external/qemu/audio/ |
D | alsaaudio.c | 291 static void alsa_dump_info (struct alsa_params_req *req, in alsa_dump_info() argument 295 dolog ("format | %10d | %10d\n", req->fmt, obt->fmt); in alsa_dump_info() 297 req->nchannels, obt->nchannels); in alsa_dump_info() 298 dolog ("frequency | %10d | %10d\n", req->freq, obt->freq); in alsa_dump_info() 301 req->buffer_size, req->period_size); in alsa_dump_info() 335 static int alsa_open (int in, struct alsa_params_req *req, in alsa_open() argument 348 freq = req->freq; in alsa_open() 349 nchannels = req->nchannels; in alsa_open() 350 size_in_usec = req->size_in_usec; in alsa_open() 381 err = FF(snd_pcm_hw_params_set_format) (handle, hw_params, req->fmt); in alsa_open() [all …]
|
D | ossaudio.c | 191 static void oss_dump_info (struct oss_params *req, struct oss_params *obt) in oss_dump_info() argument 194 dolog ("format | %10d | %10d\n", req->fmt, obt->fmt); in oss_dump_info() 196 req->nchannels, obt->nchannels); in oss_dump_info() 197 dolog ("frequency | %10d | %10d\n", req->freq, obt->freq); in oss_dump_info() 198 dolog ("nfrags | %10d | %10d\n", req->nfrags, obt->nfrags); in oss_dump_info() 200 req->fragsize, obt->fragsize); in oss_dump_info() 204 static int oss_open (int in, struct oss_params *req, in oss_open() argument 220 freq = req->freq; in oss_open() 221 nchannels = req->nchannels; in oss_open() 222 fmt = req->fmt; in oss_open() [all …]
|
/external/openssl/apps/ |
D | ocsp.c | 71 static int add_ocsp_cert(OCSP_REQUEST **req, X509 *cert, X509 *issuer, 73 static int add_ocsp_serial(OCSP_REQUEST **req, char *serial, X509 *issuer, 75 static int print_ocsp_summary(BIO *out, OCSP_BASICRESP *bs, OCSP_REQUEST *req, 79 static int make_ocsp_response(OCSP_RESPONSE **resp, OCSP_REQUEST *req, CA_DB *db, 89 OCSP_REQUEST *req, int req_timeout); 107 OCSP_REQUEST *req = NULL; in MAIN() local 404 if(!add_ocsp_cert(&req, cert, issuer, ids)) in MAIN() 416 if(!add_ocsp_serial(&req, *args, issuer, ids)) in MAIN() 523 if (!req && !reqin && !respin && !(port && ridx_filename)) badarg = 1; in MAIN() 586 if (!req && (add_nonce != 2)) add_nonce = 0; in MAIN() [all …]
|
/external/bluetooth/bluez/audio/ |
D | avdtp.c | 393 struct pending_req *req; member 572 static void pending_req_free(struct pending_req *req) in pending_req_free() argument 574 if (req->timeout) in pending_req_free() 575 g_source_remove(req->timeout); in pending_req_free() 576 g_free(req->data); in pending_req_free() 577 g_free(req); in pending_req_free() 846 const struct pending_req *req = a; in pending_req_cmp() local 849 if (req->stream == stream) in pending_req_cmp() 858 struct pending_req *req; in cleanup_queue() local 862 req = l->data; in cleanup_queue() [all …]
|