Home
last modified time | relevance | path

Searched refs:req (Results 1 – 25 of 627) sorted by relevance

12345678910>>...26

/external/curl/tests/server/
Drtspd.c121 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 …]
Dsws.c132 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/wpa_supplicant_8/src/wps/
Dhttp_server.c30 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/
Dhttp.c156 #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 …]
Devdns.c133 #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/libnl/lib/fib_lookup/
Drequest.c38 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/chromium-trace/catapult/third_party/webapp2/tests/
Dextras_sessions_test.py19 req = webapp2.Request.blank('/')
20 req.app = app
21 self.assertRaises(Exception, sessions.SessionStore, req)
25 req = webapp2.Request.blank('/')
26 req.app = app
27 store = sessions.SessionStore(req, config={
40 req = webapp2.Request.blank('/')
41 req.app = app
42 store = sessions.SessionStore(req)
59 req = webapp2.Request.blank('/', headers=[('Cookie', cookies)])
[all …]
Drequest_test.py45 req = webapp2.Request.blank('/', environ={
48 self.assertEqual(req.content_type, 'text/html')
49 self.assertEqual(req.charset, 'iso-8859-4')
51 req = webapp2.Request.blank('/', environ={
54 self.assertEqual(req.content_type, 'application/json')
55 self.assertEqual(req.charset, 'iso-8859-1')
57 req = webapp2.Request.blank('/', environ={
60 self.assertEqual(req.content_type, 'application/json')
61 self.assertEqual(req.charset.lower(), 'utf-8')
92 req = webapp2.Request.blank('/?1=2', POST='3=4')
[all …]
Dhandler_test.py173 req = webapp2.Request.blank('/nowhere')
174 rsp = req.get_response(app)
178 req = webapp2.Request.blank('/')
179 req.method = 'PUT'
180 rsp = req.get_response(app)
185 req = webapp2.Request.blank('/broken')
186 rsp = req.get_response(app)
190 req = webapp2.Request.blank('/broken-but-fixed')
191 rsp = req.get_response(app)
197 req = webapp2.Request.blank('/methods')
[all …]
/external/mesa3d/src/glx/
Ddri2.c224 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 …]
Dindirect_glx.c73 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 …]
DXF86dri.c121 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/
Diplink.c209 } 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 …]
Dxfrm_state.c276 } 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 …]
Diprule.c341 } req; in iprule_modify() local
343 memset(&req, 0, sizeof(req)); in iprule_modify()
345 req.n.nlmsg_type = cmd; in iprule_modify()
346 req.n.nlmsg_len = NLMSG_LENGTH(sizeof(struct rtmsg)); in iprule_modify()
347 req.n.nlmsg_flags = NLM_F_REQUEST; in iprule_modify()
348 req.r.rtm_family = preferred_family; in iprule_modify()
349 req.r.rtm_protocol = RTPROT_BOOT; in iprule_modify()
350 req.r.rtm_scope = RT_SCOPE_UNIVERSE; in iprule_modify()
351 req.r.rtm_table = 0; in iprule_modify()
352 req.r.rtm_type = RTN_UNSPEC; in iprule_modify()
[all …]
/external/libdrm/nouveau/
Dabi16.c43 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/
Dappledri.c157 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/
Dxf86dri.c122 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/strace/tests/
Dclock_nanosleep.c51 } req = { in main() local
65 if (syscall(__NR_clock_nanosleep, CLOCK_REALTIME, 0, &req.ts, NULL)) in main()
68 (intmax_t) req.ts.tv_sec, (intmax_t) req.ts.tv_nsec); in main()
75 if (syscall(__NR_clock_nanosleep, CLOCK_REALTIME, 0, &req.ts, &rem.ts)) 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()
81 if (!syscall(__NR_clock_nanosleep, CLOCK_MONOTONIC, 0, &req.ts, &rem.ts)) in main()
85 (intmax_t) req.ts.tv_sec, (intmax_t) req.ts.tv_nsec, &rem.ts); in main()
101 --req.ts.tv_nsec; in main()
102 if (!syscall(__NR_clock_nanosleep, CLOCK_REALTIME, 0, &req.ts, &rem.ts)) in main()
[all …]
/external/webrtc/webrtc/p2p/base/
Drelayserver_unittest.cc63 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/
Dx509_req.c112 EVP_PKEY *X509_REQ_get_pubkey(X509_REQ *req) in X509_REQ_get_pubkey() argument
114 if ((req == NULL) || (req->req_info == NULL)) in X509_REQ_get_pubkey()
116 return(X509_PUBKEY_get(req->req_info->pubkey)); in X509_REQ_get_pubkey()
184 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()
217 int X509_REQ_add_extensions_nid(X509_REQ *req, STACK_OF(X509_EXTENSION) *exts, in X509_REQ_add_extensions_nid() argument
237 if (!req->req_info->attributes) in X509_REQ_add_extensions_nid()
239 if (!(req->req_info->attributes = sk_X509_ATTRIBUTE_new_null())) in X509_REQ_add_extensions_nid()
[all …]
/external/iproute2/bridge/
Dfdb.c177 } 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 …]
/external/autotest/site_utils/tester_feedback/
Daudio_query_delegate_impl.py60 req = sequenced_request.SequencedFeedbackRequest(self.test, self.dut,
62 req.append_question(
66 idx, _ = self._process_request(req)
80 req = sequenced_request.SequencedFeedbackRequest(
82 req.append_question(
87 self._process_request(req)
96 req = sequenced_request.SequencedFeedbackRequest(
100 req.append_question(
108 req.append_question(
115 if not self._process_request(req):
[all …]
/external/libdrm/omap/
Domap_drm.c138 struct drm_omap_param req = { in omap_get_param() local
143 ret = drmCommandWriteRead(dev->fd, DRM_OMAP_GET_PARAM, &req, sizeof(req)); in omap_get_param()
148 *value = req.value; in omap_get_param()
156 struct drm_omap_param req = { in omap_set_param() local
160 return drmCommandWrite(dev->fd, DRM_OMAP_SET_PARAM, &req, sizeof(req)); in omap_set_param()
181 struct drm_gem_close req = { in bo_from_handle() local
184 drmIoctl(dev->fd, DRM_IOCTL_GEM_CLOSE, &req); in bo_from_handle()
201 struct drm_omap_gem_new req = { in omap_bo_new_impl() local
210 if (drmCommandWriteRead(dev->fd, DRM_OMAP_GEM_NEW, &req, sizeof(req))) { in omap_bo_new_impl()
215 bo = bo_from_handle(dev, req.handle); in omap_bo_new_impl()
[all …]
/external/chromium-trace/catapult/third_party/WebOb/webob/
Ddescriptors.py41 def fget(req): argument
42 return req.environ[key]
43 def fset(req, val): argument
44 req.environ[key] = val
47 def fget(req): argument
48 return req.environ.get(key, default)
49 def fset(req, val): argument
51 if key in req.environ:
52 del req.environ[key]
54 req.environ[key] = val
[all …]

12345678910>>...26