/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 | 124 static int ProcessRequest(struct httprequest *req); 336 static int ProcessRequest(struct httprequest *req) in ProcessRequest() argument 338 char *line = &req->reqbuf[req->checkindex]; in ProcessRequest() 350 req->testno, line); in ProcessRequest() 354 if((req->testno == DOCNUMBER_NOTHING) && in ProcessRequest() 365 req->protocol = RPROT_HTTP; in ProcessRequest() 368 req->protocol = RPROT_RTSP; in ProcessRequest() 371 req->protocol = RPROT_NONE; in ProcessRequest() 376 req->prot_version = prot_major*10 + prot_minor; in ProcessRequest() 396 req->testno = DOCNUMBER_WERULEZ; in ProcessRequest() [all …]
|
D | sws.c | 135 static int ProcessRequest(struct httprequest *req); 357 static int parse_servercmd(struct httprequest *req) in parse_servercmd() argument 363 filename = test2file(req->testno); in parse_servercmd() 370 logmsg(" Couldn't open test file %ld", req->testno); in parse_servercmd() 371 req->open = FALSE; /* closes connection */ in parse_servercmd() 385 req->open = FALSE; /* closes connection */ in parse_servercmd() 389 req->connmon = FALSE; in parse_servercmd() 397 req->auth_req = TRUE; in parse_servercmd() 401 req->rcmd = RCMD_IDLE; in parse_servercmd() 402 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 | 159 #define REQ_VERSION_BEFORE(req, major_v, minor_v) \ argument 160 ((req)->major < (major_v) || \ 161 ((req)->major == (major_v) && (req)->minor < (minor_v))) 163 #define REQ_VERSION_ATLEAST(req, major_v, minor_v) \ argument 164 ((req)->major > (major_v) || \ 165 ((req)->major == (major_v) && (req)->minor >= (minor_v))) 184 struct evhttp_request *req); 186 struct evhttp_request *req); 348 evhttp_response_needs_body(struct evhttp_request *req) in evhttp_response_needs_body() argument 350 return (req->response_code != HTTP_NOCONTENT && in evhttp_response_needs_body() [all …]
|
D | evdns.c | 131 #define ASSERT_VALID_REQUEST(req) \ argument 132 EVUTIL_ASSERT((req)->handle && (req)->handle->current_req == (req)) 393 static void evdns_request_insert(struct request *req, struct request **head); 394 static void evdns_request_remove(struct request *req, struct request **head); 397 static int evdns_request_transmit(struct request *req); 400 static int search_try_next(struct evdns_request *const req); 405 static void request_submit(struct request *const req); 407 static int server_request_free(struct server_request *req); 408 static void server_request_free_answers(struct server_request *req); 470 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/strace/tests/ |
D | nanosleep.c | 50 } req = { in main() local 61 if (nanosleep(&req.ts, NULL)) in main() 64 (long long) req.ts.tv_sec, in main() 65 zero_extend_signed_to_ull(req.ts.tv_nsec)); in main() 70 if (nanosleep(&req.ts, &rem.ts)) in main() 73 (long long) req.ts.tv_sec, in main() 74 zero_extend_signed_to_ull(req.ts.tv_nsec), &rem.ts); in main() 76 req.ts.tv_nsec = 1000000000; in main() 77 assert(nanosleep(&req.ts, &rem.ts) == -1); in main() 79 (long long) req.ts.tv_sec, in main() [all …]
|
D | clock_nanosleep.c | 52 } req = { in main() local 66 if (syscall(__NR_clock_nanosleep, CLOCK_REALTIME, 0, &req.ts, NULL)) in main() 70 (long long) req.ts.tv_sec, in main() 71 zero_extend_signed_to_ull(req.ts.tv_nsec)); in main() 79 &req.ts, &rem.ts) == 0); in main() 82 (long long) req.ts.tv_sec, in main() 83 zero_extend_signed_to_ull(req.ts.tv_nsec), &rem.ts); in main() 85 req.ts.tv_nsec = 999999999 + 1; in main() 87 &req.ts, &rem.ts) == -1); in main() 90 (long long) req.ts.tv_sec, in main() [all …]
|
/external/strace/tests-m32/ |
D | nanosleep.c | 50 } req = { in main() local 61 if (nanosleep(&req.ts, NULL)) in main() 64 (long long) req.ts.tv_sec, in main() 65 zero_extend_signed_to_ull(req.ts.tv_nsec)); in main() 70 if (nanosleep(&req.ts, &rem.ts)) in main() 73 (long long) req.ts.tv_sec, in main() 74 zero_extend_signed_to_ull(req.ts.tv_nsec), &rem.ts); in main() 76 req.ts.tv_nsec = 1000000000; in main() 77 assert(nanosleep(&req.ts, &rem.ts) == -1); in main() 79 (long long) req.ts.tv_sec, in main() [all …]
|
D | clock_nanosleep.c | 52 } req = { in main() local 66 if (syscall(__NR_clock_nanosleep, CLOCK_REALTIME, 0, &req.ts, NULL)) in main() 70 (long long) req.ts.tv_sec, in main() 71 zero_extend_signed_to_ull(req.ts.tv_nsec)); in main() 79 &req.ts, &rem.ts) == 0); in main() 82 (long long) req.ts.tv_sec, in main() 83 zero_extend_signed_to_ull(req.ts.tv_nsec), &rem.ts); in main() 85 req.ts.tv_nsec = 999999999 + 1; in main() 87 &req.ts, &rem.ts) == -1); in main() 90 (long long) req.ts.tv_sec, in main() [all …]
|
/external/strace/tests-mx32/ |
D | nanosleep.c | 50 } req = { in main() local 61 if (nanosleep(&req.ts, NULL)) in main() 64 (long long) req.ts.tv_sec, in main() 65 zero_extend_signed_to_ull(req.ts.tv_nsec)); in main() 70 if (nanosleep(&req.ts, &rem.ts)) in main() 73 (long long) req.ts.tv_sec, in main() 74 zero_extend_signed_to_ull(req.ts.tv_nsec), &rem.ts); in main() 76 req.ts.tv_nsec = 1000000000; in main() 77 assert(nanosleep(&req.ts, &rem.ts) == -1); in main() 79 (long long) req.ts.tv_sec, in main() [all …]
|
D | clock_nanosleep.c | 52 } req = { in main() local 66 if (syscall(__NR_clock_nanosleep, CLOCK_REALTIME, 0, &req.ts, NULL)) in main() 70 (long long) req.ts.tv_sec, in main() 71 zero_extend_signed_to_ull(req.ts.tv_nsec)); in main() 79 &req.ts, &rem.ts) == 0); in main() 82 (long long) req.ts.tv_sec, in main() 83 zero_extend_signed_to_ull(req.ts.tv_nsec), &rem.ts); in main() 85 req.ts.tv_nsec = 999999999 + 1; in main() 87 &req.ts, &rem.ts) == -1); in main() 90 (long long) req.ts.tv_sec, in main() [all …]
|
/external/mesa3d/src/glx/ |
D | indirect_glx.c | 72 xGLXMakeCurrentReq *req; in SendMakeCurrentRequest() local 74 GetReq(GLXMakeCurrent, req); in SendMakeCurrentRequest() 75 req->reqType = opcode; in SendMakeCurrentRequest() 76 req->glxCode = X_GLXMakeCurrent; in SendMakeCurrentRequest() 77 req->drawable = draw; in SendMakeCurrentRequest() 78 req->context = gc_id; in SendMakeCurrentRequest() 79 req->oldContextTag = gc_tag; in SendMakeCurrentRequest() 90 xGLXMakeContextCurrentReq *req; in SendMakeCurrentRequest() local 92 GetReq(GLXMakeContextCurrent, req); in SendMakeCurrentRequest() 93 req->reqType = opcode; in SendMakeCurrentRequest() [all …]
|
D | XF86dri.c | 122 xXF86DRIQueryVersionReq *req; in XF86DRIQueryVersion() local 128 GetReq(XF86DRIQueryVersion, req); in XF86DRIQueryVersion() 129 req->reqType = info->codes->major_opcode; in XF86DRIQueryVersion() 130 req->driReqType = X_XF86DRIQueryVersion; in XF86DRIQueryVersion() 152 xXF86DRIQueryDirectRenderingCapableReq *req; in XF86DRIQueryDirectRenderingCapable() local 158 GetReq(XF86DRIQueryDirectRenderingCapable, req); in XF86DRIQueryDirectRenderingCapable() 159 req->reqType = info->codes->major_opcode; in XF86DRIQueryDirectRenderingCapable() 160 req->driReqType = X_XF86DRIQueryDirectRenderingCapable; in XF86DRIQueryDirectRenderingCapable() 161 req->screen = screen; in XF86DRIQueryDirectRenderingCapable() 181 xXF86DRIOpenConnectionReq *req; in XF86DRIOpenConnection() local [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/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/iproute2/ip/ |
D | iplink.c | 215 } req = { in iplink_have_newlink() local 223 if (rtnl_send(&rth, &req.n, req.n.nlmsg_len) < 0) { in iplink_have_newlink() 241 struct iplink_req req = { in nl_get_ll_addr_len() local 254 if (rtnl_talk(&rth, &req.n, &req.n, sizeof(req)) < 0) in nl_get_ll_addr_len() 257 len = req.n.nlmsg_len - NLMSG_LENGTH(sizeof(req.i)); in nl_get_ll_addr_len() 261 parse_rtattr_flags(tb, IFLA_MAX, IFLA_RTA(&req.i), len, NLA_F_NESTED); in nl_get_ll_addr_len() 323 struct iplink_req *req, int dev_index) in iplink_parse_vf() argument 334 vfinfo = addattr_nest(&req->n, sizeof(*req), IFLA_VF_INFO); in iplink_parse_vf() 372 addattr_l(&req->n, sizeof(*req), IFLA_VF_MAC, in iplink_parse_vf() 385 addattr_l(&req->n, sizeof(*req), in iplink_parse_vf() [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/python/cpython3/Lib/test/ |
D | test_urllib2.py | 120 req = Request(url, headers={"Spam-eggs": "blah"}) 121 self.assertTrue(req.has_header("Spam-eggs")) 122 self.assertEqual(req.header_items(), [('Spam-eggs', 'blah')]) 124 req.add_header("Foo-Bar", "baz") 125 self.assertEqual(sorted(req.header_items()), 127 self.assertFalse(req.has_header("Not-there")) 128 self.assertIsNone(req.get_header("Not-there")) 129 self.assertEqual(req.get_header("Not-there", "default"), "default") 131 req.remove_header("Spam-eggs") 132 self.assertFalse(req.has_header("Spam-eggs")) [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/libevent/test/ |
D | regress_http.c | 74 static void http_basic_cb(struct evhttp_request *req, void *arg); 75 static void http_large_cb(struct evhttp_request *req, void *arg); 76 static void http_chunked_cb(struct evhttp_request *req, void *arg); 77 static void http_post_cb(struct evhttp_request *req, void *arg); 78 static void http_put_cb(struct evhttp_request *req, void *arg); 79 static void http_delete_cb(struct evhttp_request *req, void *arg); 80 static void http_delay_cb(struct evhttp_request *req, void *arg); 81 static void http_large_delay_cb(struct evhttp_request *req, void *arg); 82 static void http_badreq_cb(struct evhttp_request *req, void *arg); 83 static void http_dispatcher_cb(struct evhttp_request *req, void *arg); [all …]
|