/external/iproute2/tc/ |
tc_class.c | 49 } req; local 55 memset(&req, 0, sizeof(req)); 60 req.n.nlmsg_len = NLMSG_LENGTH(sizeof(struct tcmsg)); 61 req.n.nlmsg_flags = NLM_F_REQUEST|flags; 62 req.n.nlmsg_type = cmd; 63 req.t.tcm_family = AF_UNSPEC; 74 if (req.t.tcm_handle) 78 req.t.tcm_handle = handle; 83 if (req.t.tcm_parent) [all...] |
tc_qdisc.c | 61 } req; local 63 memset(&req, 0, sizeof(req)); 69 req.n.nlmsg_len = NLMSG_LENGTH(sizeof(struct tcmsg)); 70 req.n.nlmsg_flags = NLM_F_REQUEST|flags; 71 req.n.nlmsg_type = cmd; 72 req.t.tcm_family = AF_UNSPEC; 82 if (req.t.tcm_handle) 87 req.t.tcm_handle = handle; 89 if (req.t.tcm_parent) [all...] |
/external/ipsec-tools/src/racoon/ |
rsalist.c | 196 struct lookup_result *req = data; local 199 local_score = naddr_score(key->src, req->iph1->local); 200 remote_score = naddr_score(key->dst, req->iph1->remote); 207 if (local_score + remote_score > req->max_score) { 208 req->max_score = local_score + remote_score; 209 // genlist_free(req->winners, NULL); 212 if (local_score + remote_score >= req->max_score) { 213 genlist_append(req->winners, key);
|
/external/qemu/android/protocol/ |
core-commands-proxy.c | 168 UICmdGetNetSpeed req; local 174 req.index = index; 175 status = _coreCmdProxy_send_command(AUICMD_GET_NETSPEED, &req, sizeof(req)); 213 UICmdGetNetDelay req; local 219 req.index = index; 220 status = _coreCmdProxy_send_command(AUICMD_GET_NETDELAY, &req, sizeof(req)); 267 UICmdGetQemuPath* req = (UICmdGetQemuPath*)malloc(cmd_data_size); local 268 if (req == NULL) [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/Xext/Xinerama/ |
Xinerama.c | 104 register xPanoramiXQueryVersionReq *req; local 109 GetReq (PanoramiXQueryVersion, req); 110 req->reqType = info->codes->major_opcode; 111 req->panoramiXReqType = X_PanoramiXQueryVersion; 112 req->clientMajor = PANORAMIX_MAJOR_VERSION; 113 req->clientMinor = PANORAMIX_MINOR_VERSION; 139 register xPanoramiXGetStateReq *req; local 144 GetReq (PanoramiXGetState, req); 145 req->reqType = info->codes->major_opcode; 146 req->panoramiXReqType = X_PanoramiXGetState 168 register xPanoramiXGetScreenCountReq *req; local 198 register xPanoramiXGetScreenSizeReq *req; local 249 xXineramaIsActiveReq *req; local 279 xXineramaQueryScreensReq *req; local [all...] |
/external/wpa_supplicant/ |
eap_tls.c | 145 const struct eap_hdr *req; local 156 req = (const struct eap_hdr *) reqData; 157 id = req->identifier;
|
eap_vendor_test.c | 74 const struct eap_hdr *req; local 123 req = (const struct eap_hdr *) reqData; 129 EAP_CODE_RESPONSE, req->identifier, &rpos);
|
/external/wpa_supplicant_6/wpa_supplicant/src/eap_server/ |
eap_gtc.c | 59 struct wpabuf *req; local 66 req = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_GTC, msg_len, 68 if (req == NULL) { 75 wpabuf_put_data(req, msg, msg_len); 79 return req;
|
eap_identity.c | 62 struct wpabuf *req; local 73 req = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_IDENTITY, req_data_len, 75 if (req == NULL) { 82 wpabuf_put_data(req, req_data, req_data_len); 84 return req;
|
eap_md5.c | 53 struct wpabuf *req; local 61 req = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_MD5, 1 + CHALLENGE_LEN, 63 if (req == NULL) { 70 wpabuf_put_u8(req, CHALLENGE_LEN); 71 wpabuf_put_data(req, data->challenge, CHALLENGE_LEN); 77 return req;
|
eap_vendor_test.c | 81 struct wpabuf *req; local 83 req = eap_msg_alloc(EAP_VENDOR_ID, EAP_VENDOR_TYPE, 1, 85 if (req == NULL) { 91 wpabuf_put_u8(req, data->state == INIT ? 1 : 3); 93 return req;
|
/external/wpa_supplicant_8/src/drivers/ |
netlink.c | 153 } req; local 158 os_memset(&req, 0, sizeof(req)); 160 req.hdr.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifinfomsg)); 161 req.hdr.nlmsg_type = RTM_SETLINK; 162 req.hdr.nlmsg_flags = NLM_F_REQUEST; 163 req.hdr.nlmsg_seq = ++nl_seq; 164 req.hdr.nlmsg_pid = 0; 166 req.ifinfo.ifi_family = AF_UNSPEC; 167 req.ifinfo.ifi_type = 0 [all...] |
/external/wpa_supplicant_8/src/eap_server/ |
eap_server_gtc.c | 59 struct wpabuf *req; local 66 req = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_GTC, msg_len, 68 if (req == NULL) { 75 wpabuf_put_data(req, msg, msg_len); 79 return req;
|
eap_server_identity.c | 62 struct wpabuf *req; local 73 req = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_IDENTITY, req_data_len, 75 if (req == NULL) { 82 wpabuf_put_data(req, req_data, req_data_len); 84 return req;
|
eap_server_md5.c | 54 struct wpabuf *req; local 62 req = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_MD5, 1 + CHALLENGE_LEN, 64 if (req == NULL) { 71 wpabuf_put_u8(req, CHALLENGE_LEN); 72 wpabuf_put_data(req, data->challenge, CHALLENGE_LEN); 78 return req;
|
eap_server_tls_common.c | 115 struct wpabuf *req; local 140 req = eap_msg_alloc(EAP_VENDOR_IETF, eap_type, plen, 142 if (req == NULL) 145 wpabuf_put_u8(req, flags); /* Flags */ 147 wpabuf_put_be32(req, wpabuf_len(data->tls_out)); 149 wpabuf_put_data(req, wpabuf_head_u8(data->tls_out) + data->tls_out_pos, 169 return req; 175 struct wpabuf *req; local 177 req = eap_msg_alloc(EAP_VENDOR_IETF, eap_type, 1, EAP_CODE_REQUEST, 179 if (req == NULL [all...] |
eap_server_vendor_test.c | 81 struct wpabuf *req; local 83 req = eap_msg_alloc(EAP_VENDOR_ID, EAP_VENDOR_TYPE, 1, 85 if (req == NULL) { 91 wpabuf_put_u8(req, data->state == INIT ? 1 : 3); 93 return req;
|
/external/wpa_supplicant_8/src/p2p/ |
p2p_invitation.c | 342 struct wpabuf *req; local 354 req = p2p_build_invitation_req(p2p, dev, go_dev_addr); 355 if (req == NULL) 365 wpabuf_head(req), wpabuf_len(req), 200) < 0) { 372 wpabuf_free(req);
|
/system/media/wilhelm/tests/sandbox/ |
outputmix.c | 130 SLboolean req[10] = {SL_BOOLEAN_TRUE, SL_BOOLEAN_FALSE /*SL_BOOLEAN_TRUE*/, SL_BOOLEAN_TRUE, local 133 result = (*engineEngine)->CreateOutputMix(engineEngine, &outputMixObject, 10, ids, req);
|
/external/bluetooth/bluez/audio/ |
ctl_bluetooth.c | 147 struct bt_control_req *req = (void *) rsp; local 151 memset(req, 0, BT_SUGGESTED_BUFFER_SIZE); 152 req->h.type = BT_REQUEST; 153 req->h.name = BT_CONTROL; 154 req->h.length = sizeof(*req); 156 req->mode = mode; 157 req->key = key; 159 ret = send(data->sock, req, BT_SUGGESTED_BUFFER_SIZE, MSG_NOSIGNAL);
|
/external/bluetooth/bluez/compat/ |
bnep.c | 96 struct bnep_connlist_req req; local 99 req.cnum = 1; 100 req.ci = ci; 102 if (!ioctl(ctl, BNEPGETCONNLIST, &req)) { 128 struct bnep_connlist_req req; local 132 req.cnum = 48; 133 req.ci = ci; 134 if (ioctl(ctl, bnepgetconnlist, &req)) { 139 for (i = 0; i < req.cnum; i++) { 150 struct bnep_conndel_req req; local 163 struct bnep_connlist_req req; local 175 struct bnep_conndel_req req; local 185 struct bnep_connadd_req req; local 219 struct bnep_setup_conn_req *req; local 273 struct bnep_setup_conn_req *req; local [all...] |
dun.c | 193 struct rfcomm_dev_req req = { local 201 bacpy(&req.dst, &sa.rc_bdaddr); 206 bacpy(&req.src, &sa.rc_bdaddr); 207 req.channel = sa.rc_channel; 209 id = ioctl(sk, RFCOMMCREATEDEV, &req); 223 memset(&req, 0, sizeof(req)); 224 req.dev_id = id; 225 ioctl(sk, RFCOMMRELEASEDEV, &req);
|
/external/chromium/chrome/browser/ui/gtk/ |
gtk_chrome_shrinkable_hbox.cc | 36 GtkRequisition req; local 37 gtk_widget_get_child_requisition(child, &req); 38 (*reinterpret_cast<int*>(userdata)) += std::max(req.width, 0);
|
reload_button_gtk.cc | 253 GtkRequisition req; local 254 gtk_widget_size_request(widget(), &req); local 255 GtkButtonWidth = std::max(GtkButtonWidth, req.width);
|
/external/chromium/third_party/libevent/test/ |
regress_rpc.c | 105 struct evhttp_request* req = EVRPC_REQUEST_HTTP(rpc); local 107 req->input_headers, "X-Hook"); 159 rpc_postrequest_failure(struct evhttp_request *req, void *arg) 161 if (req->response_code != HTTP_SERVUNAVAIL) { 182 struct evhttp_request *req = NULL; local 199 req = evhttp_request_new(rpc_postrequest_failure, NULL); 200 if (req == NULL) { 206 evhttp_add_header(req->output_headers, "Host", "somehost"); 207 evbuffer_add_printf(req->output_buffer, "Some Nonsense"); 209 if (evhttp_make_request(evcon, req, 265 struct evhttp_request *req = NULL; local 349 struct evhttp_request *req = status->http_req; local [all...] |