/external/libnl/lib/idiag/ |
D | idiag_req_obj.c | 29 void idiagnl_req_get(struct idiagnl_req *req) in idiagnl_req_get() argument 31 nl_object_get((struct nl_object *) req); in idiagnl_req_get() 34 void idiagnl_req_put(struct idiagnl_req *req) in idiagnl_req_put() argument 36 nl_object_put((struct nl_object *) req); in idiagnl_req_put() 44 uint8_t idiagnl_req_get_family(const struct idiagnl_req *req) in idiagnl_req_get_family() argument 46 return req->idiag_family; in idiagnl_req_get_family() 49 void idiagnl_req_set_family(struct idiagnl_req *req, uint8_t family) in idiagnl_req_set_family() argument 51 req->idiag_family = family; in idiagnl_req_set_family() 54 uint8_t idiagnl_req_get_ext(const struct idiagnl_req *req) in idiagnl_req_get_ext() argument 56 return req->idiag_ext; in idiagnl_req_get_ext() [all …]
|
/external/curl/tests/server/ |
D | rtspd.c | 121 static int ProcessRequest(struct httprequest *req); 327 static int ProcessRequest(struct httprequest *req) in ProcessRequest() argument 329 char *line=&req->reqbuf[req->checkindex]; in ProcessRequest() 341 req->testno, line); in ProcessRequest() 345 if((req->testno == DOCNUMBER_NOTHING) && in ProcessRequest() 356 req->protocol = RPROT_HTTP; in ProcessRequest() 359 req->protocol = RPROT_RTSP; in ProcessRequest() 362 req->protocol = RPROT_NONE; in ProcessRequest() 367 req->prot_version = prot_major*10 + prot_minor; in ProcessRequest() 387 req->testno = DOCNUMBER_WERULEZ; in ProcessRequest() [all …]
|
D | sws.c | 132 static int ProcessRequest(struct httprequest *req); 348 static int parse_servercmd(struct httprequest *req) in parse_servercmd() argument 354 filename = test2file(req->testno); in parse_servercmd() 361 logmsg(" Couldn't open test file %ld", req->testno); in parse_servercmd() 362 req->open = FALSE; /* closes connection */ in parse_servercmd() 376 req->open = FALSE; /* closes connection */ in parse_servercmd() 380 req->connmon = FALSE; in parse_servercmd() 388 req->auth_req = TRUE; in parse_servercmd() 392 req->rcmd = RCMD_IDLE; in parse_servercmd() 393 req->open = TRUE; in parse_servercmd() [all …]
|
/external/libnetfilter_conntrack/src/conntrack/ |
D | build.c | 12 static void __build_tuple_ip(struct nfnlhdr *req, in __build_tuple_ip() argument 18 nest = nfnl_nest(&req->nlh, size, CTA_TUPLE_IP); in __build_tuple_ip() 22 nfnl_addattr_l(&req->nlh, size, CTA_IP_V4_SRC, &t->src.v4, in __build_tuple_ip() 24 nfnl_addattr_l(&req->nlh, size, CTA_IP_V4_DST, &t->dst.v4, in __build_tuple_ip() 28 nfnl_addattr_l(&req->nlh, size, CTA_IP_V6_SRC, &t->src.v6, in __build_tuple_ip() 30 nfnl_addattr_l(&req->nlh, size, CTA_IP_V6_DST, &t->dst.v6, in __build_tuple_ip() 37 nfnl_nest_end(&req->nlh, nest); in __build_tuple_ip() 40 static void __build_tuple_proto(struct nfnlhdr *req, in __build_tuple_proto() argument 46 nest = nfnl_nest(&req->nlh, size, CTA_TUPLE_PROTO); in __build_tuple_proto() 48 nfnl_addattr_l(&req->nlh, size, CTA_PROTO_NUM, &t->protonum, in __build_tuple_proto() [all …]
|
/external/wpa_supplicant_8/src/wps/ |
D | http_server.c | 30 void (*cb)(void *ctx, struct http_request *req); 44 struct http_request *req = cookie; in http_request_cb() local 45 struct http_server *srv = req->srv; in http_request_cb() 49 inet_ntoa(req->cli.sin_addr), in http_request_cb() 50 ntohs(req->cli.sin_port)); in http_request_cb() 51 srv->cb(srv->cb_ctx, req); in http_request_cb() 55 "completely", inet_ntoa(req->cli.sin_addr), in http_request_cb() 56 ntohs(req->cli.sin_port)); in http_request_cb() 57 http_request_deinit(req); in http_request_cb() 64 struct http_request *req; in http_request_init() local [all …]
|
/external/libevent/ |
D | http.c | 156 #define REQ_VERSION_BEFORE(req, major_v, minor_v) \ argument 157 ((req)->major < (major_v) || \ 158 ((req)->major == (major_v) && (req)->minor < (minor_v))) 160 #define REQ_VERSION_ATLEAST(req, major_v, minor_v) \ argument 161 ((req)->major > (major_v) || \ 162 ((req)->major == (major_v) && (req)->minor >= (minor_v))) 181 struct evhttp_request *req); 183 struct evhttp_request *req); 347 evhttp_response_needs_body(struct evhttp_request *req) in evhttp_response_needs_body() argument 349 return (req->response_code != HTTP_NOCONTENT && in evhttp_response_needs_body() [all …]
|
D | evdns.c | 133 #define ASSERT_VALID_REQUEST(req) \ argument 134 EVUTIL_ASSERT((req)->handle && (req)->handle->current_req == (req)) 389 static void evdns_request_insert(struct request *req, struct request **head); 390 static void evdns_request_remove(struct request *req, struct request **head); 393 static int evdns_request_transmit(struct request *req); 396 static int search_try_next(struct evdns_request *const req); 401 static void request_submit(struct request *const req); 403 static int server_request_free(struct server_request *req); 404 static void server_request_free_answers(struct server_request *req); 480 struct request *req = REQ_HEAD(base, trans_id); in request_find_from_trans_id() local [all …]
|
/external/clang/test/Analysis/ |
D | mpichecker.cpp | 90 MPI_Request req; in doubleNonblocking2() local 91 MPI_Ireduce(MPI_IN_PLACE, &buf, 1, MPI_DOUBLE, MPI_SUM, 0, MPI_COMM_WORLD, &req); in doubleNonblocking2() 92 …MPI_Ireduce(MPI_IN_PLACE, &buf, 1, MPI_DOUBLE, MPI_SUM, 0, MPI_COMM_WORLD, &req); // expected-warn… in doubleNonblocking2() 93 MPI_Wait(&req, MPI_STATUS_IGNORE); in doubleNonblocking2() 97 typedef struct { MPI_Request req; } ReqStruct; in doubleNonblocking3() member 104 MPI_Ireduce(MPI_IN_PLACE, &buf, 1, MPI_DOUBLE, MPI_SUM, 0, MPI_COMM_WORLD, &rs.req); in doubleNonblocking3() 105 …MPI_Ireduce(MPI_IN_PLACE, &buf, 1, MPI_DOUBLE, MPI_SUM, 0, MPI_COMM_WORLD, &rs.req); // expected-w… in doubleNonblocking3() 106 MPI_Wait(&rs.req, MPI_STATUS_IGNORE); in doubleNonblocking3() 114 MPI_Request req; in doubleNonblocking4() local 116 …MPI_Ireduce(MPI_IN_PLACE, &buf, 1, MPI_DOUBLE, MPI_SUM, 0, MPI_COMM_WORLD, &req); // expected-warn… in doubleNonblocking4() [all …]
|
/external/libnl/lib/fib_lookup/ |
D | request.c | 38 struct flnl_request *req = REQUEST_CAST(obj); in request_free_data() local 40 if (req) in request_free_data() 41 nl_addr_put(req->lr_addr); in request_free_data() 94 void flnl_request_set_fwmark(struct flnl_request *req, uint64_t fwmark) in flnl_request_set_fwmark() argument 96 req->lr_fwmark = fwmark; in flnl_request_set_fwmark() 97 req->ce_mask |= REQUEST_ATTR_FWMARK; in flnl_request_set_fwmark() 100 uint64_t flnl_request_get_fwmark(struct flnl_request *req) in flnl_request_get_fwmark() argument 102 if (req->ce_mask & REQUEST_ATTR_FWMARK) in flnl_request_get_fwmark() 103 return req->lr_fwmark; in flnl_request_get_fwmark() 108 void flnl_request_set_tos(struct flnl_request *req, int tos) in flnl_request_set_tos() argument [all …]
|
/external/mesa3d/src/glx/ |
D | dri2.c | 224 xDRI2QueryVersionReq *req; in DRI2QueryVersion() local 230 GetReq(DRI2QueryVersion, req); in DRI2QueryVersion() 231 req->reqType = info->codes->major_opcode; in DRI2QueryVersion() 232 req->dri2ReqType = X_DRI2QueryVersion; in DRI2QueryVersion() 233 req->majorVersion = DRI2_MAJOR; in DRI2QueryVersion() 234 req->minorVersion = DRI2_MINOR; in DRI2QueryVersion() 271 xDRI2ConnectReq *req; in DRI2Connect() local 277 GetReq(DRI2Connect, req); in DRI2Connect() 278 req->reqType = info->codes->major_opcode; in DRI2Connect() 279 req->dri2ReqType = X_DRI2Connect; in DRI2Connect() [all …]
|
D | indirect_glx.c | 73 xGLXMakeCurrentReq *req; in SendMakeCurrentRequest() local 75 GetReq(GLXMakeCurrent, req); in SendMakeCurrentRequest() 76 req->reqType = opcode; in SendMakeCurrentRequest() 77 req->glxCode = X_GLXMakeCurrent; in SendMakeCurrentRequest() 78 req->drawable = draw; in SendMakeCurrentRequest() 79 req->context = gc_id; in SendMakeCurrentRequest() 80 req->oldContextTag = gc_tag; in SendMakeCurrentRequest() 91 xGLXMakeContextCurrentReq *req; in SendMakeCurrentRequest() local 93 GetReq(GLXMakeContextCurrent, req); in SendMakeCurrentRequest() 94 req->reqType = opcode; in SendMakeCurrentRequest() [all …]
|
D | XF86dri.c | 121 xXF86DRIQueryVersionReq *req; in XF86DRIQueryVersion() local 127 GetReq(XF86DRIQueryVersion, req); in XF86DRIQueryVersion() 128 req->reqType = info->codes->major_opcode; in XF86DRIQueryVersion() 129 req->driReqType = X_XF86DRIQueryVersion; in XF86DRIQueryVersion() 151 xXF86DRIQueryDirectRenderingCapableReq *req; in XF86DRIQueryDirectRenderingCapable() local 157 GetReq(XF86DRIQueryDirectRenderingCapable, req); in XF86DRIQueryDirectRenderingCapable() 158 req->reqType = info->codes->major_opcode; in XF86DRIQueryDirectRenderingCapable() 159 req->driReqType = X_XF86DRIQueryDirectRenderingCapable; in XF86DRIQueryDirectRenderingCapable() 160 req->screen = screen; in XF86DRIQueryDirectRenderingCapable() 180 xXF86DRIOpenConnectionReq *req; in XF86DRIOpenConnection() local [all …]
|
/external/iproute2/ip/ |
D | iplink.c | 209 } req; in iplink_have_newlink() local 212 memset(&req, 0, sizeof(req)); in iplink_have_newlink() 214 req.n.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifinfomsg)); in iplink_have_newlink() 215 req.n.nlmsg_flags = NLM_F_REQUEST|NLM_F_ACK; in iplink_have_newlink() 216 req.n.nlmsg_type = RTM_NEWLINK; in iplink_have_newlink() 217 req.i.ifi_family = AF_UNSPEC; in iplink_have_newlink() 219 if (rtnl_send(&rth, &req.n, req.n.nlmsg_len) < 0) { in iplink_have_newlink() 241 struct iplink_req *req, int dev_index) in iplink_parse_vf() argument 252 vfinfo = addattr_nest(&req->n, sizeof(*req), IFLA_VF_INFO); in iplink_parse_vf() 283 addattr_l(&req->n, sizeof(*req), IFLA_VF_MAC, &ivm, sizeof(ivm)); in iplink_parse_vf() [all …]
|
D | xfrm_state.c | 276 } req; in xfrm_state_modify() local 295 memset(&req, 0, sizeof(req)); in xfrm_state_modify() 300 req.n.nlmsg_len = NLMSG_LENGTH(sizeof(req.xsinfo)); in xfrm_state_modify() 301 req.n.nlmsg_flags = NLM_F_REQUEST|flags; in xfrm_state_modify() 302 req.n.nlmsg_type = cmd; in xfrm_state_modify() 303 req.xsinfo.family = preferred_family; in xfrm_state_modify() 305 req.xsinfo.lft.soft_byte_limit = XFRM_INF; in xfrm_state_modify() 306 req.xsinfo.lft.hard_byte_limit = XFRM_INF; in xfrm_state_modify() 307 req.xsinfo.lft.soft_packet_limit = XFRM_INF; in xfrm_state_modify() 308 req.xsinfo.lft.hard_packet_limit = XFRM_INF; in xfrm_state_modify() [all …]
|
/external/libdrm/nouveau/ |
D | abi16.c | 43 struct drm_nouveau_channel_alloc req = { in abi16_chan_nv04() local 50 &req, sizeof(req)); in abi16_chan_nv04() 54 nv04->base.channel = req.channel; in abi16_chan_nv04() 55 nv04->base.pushbuf = req.pushbuf_domains; in abi16_chan_nv04() 56 nv04->notify = req.notifier_handle; in abi16_chan_nv04() 57 nv04->base.object->handle = req.channel; in abi16_chan_nv04() 66 struct drm_nouveau_channel_alloc req = {}; in abi16_chan_nvc0() local 71 &req, sizeof(req)); in abi16_chan_nvc0() 75 nvc0->base.channel = req.channel; in abi16_chan_nvc0() 76 nvc0->base.pushbuf = req.pushbuf_domains; in abi16_chan_nvc0() [all …]
|
/external/strace/tests-m32/ |
D | netlink_protocol.c | 52 static const struct req { in send_query() struct 57 .nlmsg_len = sizeof(struct req), in send_query() 63 struct req *const req = tail_memdup(&c_req, sizeof(c_req)); in send_query() local 68 rc = sendto(fd, NULL, sizeof(*req), MSG_DONTWAIT, NULL, 0); in send_query() 70 fd, (unsigned) sizeof(*req), sprintrc(rc)); in send_query() 73 rc = sendto(fd, req, 0, MSG_DONTWAIT, NULL, 0); in send_query() 89 rc = sendto(fd, req->magic, sizeof(req->magic), MSG_DONTWAIT, NULL, 0); in send_query() 91 fd, (unsigned) sizeof(req->magic), sprintrc(rc)); in send_query() 94 rc = sendto(fd, req, sizeof(*req), MSG_DONTWAIT, NULL, 0); in send_query() 97 fd, req->nlh.nlmsg_len, NLM_F_DUMP, in send_query() [all …]
|
/external/strace/tests/ |
D | netlink_protocol.c | 52 static const struct req { in send_query() struct 57 .nlmsg_len = sizeof(struct req), in send_query() 63 struct req *const req = tail_memdup(&c_req, sizeof(c_req)); in send_query() local 68 rc = sendto(fd, NULL, sizeof(*req), MSG_DONTWAIT, NULL, 0); in send_query() 70 fd, (unsigned) sizeof(*req), sprintrc(rc)); in send_query() 73 rc = sendto(fd, req, 0, MSG_DONTWAIT, NULL, 0); in send_query() 89 rc = sendto(fd, req->magic, sizeof(req->magic), MSG_DONTWAIT, NULL, 0); in send_query() 91 fd, (unsigned) sizeof(req->magic), sprintrc(rc)); in send_query() 94 rc = sendto(fd, req, sizeof(*req), MSG_DONTWAIT, NULL, 0); in send_query() 97 fd, req->nlh.nlmsg_len, NLM_F_DUMP, in send_query() [all …]
|
/external/strace/tests-mx32/ |
D | netlink_protocol.c | 52 static const struct req { in send_query() struct 57 .nlmsg_len = sizeof(struct req), in send_query() 63 struct req *const req = tail_memdup(&c_req, sizeof(c_req)); in send_query() local 68 rc = sendto(fd, NULL, sizeof(*req), MSG_DONTWAIT, NULL, 0); in send_query() 70 fd, (unsigned) sizeof(*req), sprintrc(rc)); in send_query() 73 rc = sendto(fd, req, 0, MSG_DONTWAIT, NULL, 0); in send_query() 89 rc = sendto(fd, req->magic, sizeof(req->magic), MSG_DONTWAIT, NULL, 0); in send_query() 91 fd, (unsigned) sizeof(req->magic), sprintrc(rc)); in send_query() 94 rc = sendto(fd, req, sizeof(*req), MSG_DONTWAIT, NULL, 0); in send_query() 97 fd, req->nlh.nlmsg_len, NLM_F_DUMP, in send_query() [all …]
|
D | clock_nanosleep.c | 49 } req = { in main() local 63 if (syscall(__NR_clock_nanosleep, CLOCK_REALTIME, 0, &req.ts, NULL)) in main() 67 (intmax_t) req.ts.tv_sec, (intmax_t) req.ts.tv_nsec); in main() 75 &req.ts, &rem.ts) == 0); in main() 78 (intmax_t) req.ts.tv_sec, (intmax_t) req.ts.tv_nsec, &rem.ts); in main() 80 req.ts.tv_nsec = 999999999 + 1; in main() 82 &req.ts, &rem.ts) == -1); in main() 85 (intmax_t) req.ts.tv_sec, (intmax_t) req.ts.tv_nsec, &rem.ts); in main() 99 --req.ts.tv_nsec; in main() 101 &req.ts, &rem.ts) == -1); in main() [all …]
|
/external/mesa3d/src/glx/apple/ |
D | appledri.c | 157 xAppleDRIQueryVersionReq *req; local 163 GetReq(AppleDRIQueryVersion, req); 164 req->reqType = info->codes->major_opcode; 165 req->driReqType = X_AppleDRIQueryVersion; 189 xAppleDRIQueryDirectRenderingCapableReq *req; local 195 GetReq(AppleDRIQueryDirectRenderingCapable, req); 196 req->reqType = info->codes->major_opcode; 197 req->driReqType = X_AppleDRIQueryDirectRenderingCapable; 198 req->screen = screen; 219 xAppleDRIAuthConnectionReq *req; local [all …]
|
/external/libdrm/tests/ttmtest/src/ |
D | xf86dri.c | 122 xXF86DRIQueryVersionReq *req; local 128 GetReq(XF86DRIQueryVersion, req); 129 req->reqType = info->codes->major_opcode; 130 req->driReqType = X_XF86DRIQueryVersion; 154 xXF86DRIQueryDirectRenderingCapableReq *req; local 160 GetReq(XF86DRIQueryDirectRenderingCapable, req); 161 req->reqType = info->codes->major_opcode; 162 req->driReqType = X_XF86DRIQueryDirectRenderingCapable; 163 req->screen = screen; 186 xXF86DRIOpenConnectionReq *req; local [all …]
|
/external/libnetfilter_conntrack/src/expect/ |
D | build.c | 12 static void __build_timeout(struct nfnlhdr *req, in __build_timeout() argument 16 nfnl_addattr32(&req->nlh, size, CTA_EXPECT_TIMEOUT,htonl(exp->timeout)); in __build_timeout() 19 static void __build_zone(struct nfnlhdr *req, size_t size, in __build_zone() argument 22 nfnl_addattr16(&req->nlh, size, CTA_EXPECT_ZONE, htons(exp->zone)); in __build_zone() 25 static void __build_flags(struct nfnlhdr *req, in __build_flags() argument 28 nfnl_addattr32(&req->nlh, size, CTA_EXPECT_FLAGS,htonl(exp->flags)); in __build_flags() 31 static void __build_class(struct nfnlhdr *req, in __build_class() argument 35 nfnl_addattr32(&req->nlh, size, CTA_EXPECT_CLASS, htonl(exp->class)); in __build_class() 38 static void __build_helper_name(struct nfnlhdr *req, size_t size, in __build_helper_name() argument 41 nfnl_addattr_l(&req->nlh, size, CTA_EXPECT_HELP_NAME, in __build_helper_name() [all …]
|
/external/webrtc/webrtc/p2p/base/ |
D | relayserver_unittest.cc | 63 rtc::scoped_ptr<StunMessage> req( in Allocate() local 65 AddUsernameAttr(req.get(), username_); in Allocate() 66 AddLifetimeAttr(req.get(), LIFETIME); in Allocate() 67 Send1(req.get()); in Allocate() 71 rtc::scoped_ptr<StunMessage> req( in Bind() local 73 AddUsernameAttr(req.get(), username_); in Bind() 74 Send2(req.get()); in Bind() 192 rtc::scoped_ptr<StunMessage> req( in TEST_F() local 195 Send1(req.get()); in TEST_F() 200 EXPECT_EQ(req->transaction_id(), res->transaction_id()); in TEST_F() [all …]
|
/external/boringssl/src/crypto/x509/ |
D | x509_req.c | 111 EVP_PKEY *X509_REQ_get_pubkey(X509_REQ *req) in X509_REQ_get_pubkey() argument 113 if ((req == NULL) || (req->req_info == NULL)) in X509_REQ_get_pubkey() 115 return (X509_PUBKEY_get(req->req_info->pubkey)); in X509_REQ_get_pubkey() 183 STACK_OF(X509_EXTENSION) *X509_REQ_get_extensions(X509_REQ *req) in STACK_OF() 191 if ((req == NULL) || (req->req_info == NULL) || !ext_nids) in STACK_OF() 194 idx = X509_REQ_get_attr_by_NID(req, *pnid, -1); in STACK_OF() 197 attr = X509_REQ_get_attr(req, idx); in STACK_OF() 217 int X509_REQ_add_extensions_nid(X509_REQ *req, STACK_OF(X509_EXTENSION) *exts, in X509_REQ_add_extensions_nid() argument 240 if (!req->req_info->attributes) { in X509_REQ_add_extensions_nid() 241 if (!(req->req_info->attributes = sk_X509_ATTRIBUTE_new_null())) in X509_REQ_add_extensions_nid() [all …]
|
/external/iproute2/bridge/ |
D | fdb.c | 177 } req; in fdb_show() local 183 memset(&req, 0, sizeof(req)); in fdb_show() 184 req.n.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifinfomsg)); in fdb_show() 185 req.ifm.ifi_family = PF_BRIDGE; in fdb_show() 207 addattr32(&req.n, sizeof(req), IFLA_MASTER, br_ifindex); in fdb_show() 219 req.ifm.ifi_index = filter_index; in fdb_show() 222 if (rtnl_dump_request(&rth, RTM_GETNEIGH, &req.ifm, msg_size) < 0) { in fdb_show() 241 } req; in fdb_modify() local 253 memset(&req, 0, sizeof(req)); in fdb_modify() 255 req.n.nlmsg_len = NLMSG_LENGTH(sizeof(struct ndmsg)); in fdb_modify() [all …]
|