HomeSort by relevance Sort by last modified time
    Searched refs:req (Results 201 - 225 of 1420) sorted by null

1 2 3 4 5 6 7 891011>>

  /external/python/cpython2/Lib/test/
test_cookielib.py 255 req = Request(url)
256 cookiejar.add_cookie_header(req)
257 cookie_hdr = req.get_header("Cookie", "")
262 cookiejar.extract_cookies(res, req)
637 req = Request("http://www.example.com/rheum/rhaponticum;"
639 self.assertEqual(request_path(req),
642 req = Request("http://www.example.com/rheum/rhaponticum?"
644 self.assertEqual(request_path(req), "/rheum/rhaponticum")
646 req = Request("http://www.example.com")
647 self.assertEqual(request_path(req), "/")
    [all...]
  /external/tensorflow/tensorflow/core/platform/cloud/
gcs_dns_cache_test.cc 82 TestHttpRequest req; local
83 d.AnnotateRequest(&req);
84 EXPECT_EQ("192.168.1.1", req.resolve_overrides_["www.googleapis.com"]);
85 EXPECT_EQ("172.134.1.1", req.resolve_overrides_["storage.googleapis.com"]);
92 TestHttpRequest req; local
93 d.AnnotateRequest(&req);
  /prebuilts/gdb/darwin-x86/lib/python2.7/test/
test_cookielib.py 240 req = Request(url)
241 cookiejar.add_cookie_header(req)
242 cookie_hdr = req.get_header("Cookie", "")
247 cookiejar.extract_cookies(res, req)
609 req = Request("http://www.example.com/rheum/rhaponticum;"
611 self.assertEqual(request_path(req),
614 req = Request("http://www.example.com/rheum/rhaponticum?"
616 self.assertEqual(request_path(req), "/rheum/rhaponticum")
618 req = Request("http://www.example.com")
619 self.assertEqual(request_path(req), "/")
    [all...]
  /prebuilts/gdb/linux-x86/lib/python2.7/test/
test_cookielib.py 240 req = Request(url)
241 cookiejar.add_cookie_header(req)
242 cookie_hdr = req.get_header("Cookie", "")
247 cookiejar.extract_cookies(res, req)
609 req = Request("http://www.example.com/rheum/rhaponticum;"
611 self.assertEqual(request_path(req),
614 req = Request("http://www.example.com/rheum/rhaponticum?"
616 self.assertEqual(request_path(req), "/rheum/rhaponticum")
618 req = Request("http://www.example.com")
619 self.assertEqual(request_path(req), "/")
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_cookielib.py 240 req = Request(url)
241 cookiejar.add_cookie_header(req)
242 cookie_hdr = req.get_header("Cookie", "")
247 cookiejar.extract_cookies(res, req)
609 req = Request("http://www.example.com/rheum/rhaponticum;"
611 self.assertEqual(request_path(req),
614 req = Request("http://www.example.com/rheum/rhaponticum?"
616 self.assertEqual(request_path(req), "/rheum/rhaponticum")
618 req = Request("http://www.example.com")
619 self.assertEqual(request_path(req), "/")
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_cookielib.py 240 req = Request(url)
241 cookiejar.add_cookie_header(req)
242 cookie_hdr = req.get_header("Cookie", "")
247 cookiejar.extract_cookies(res, req)
609 req = Request("http://www.example.com/rheum/rhaponticum;"
611 self.assertEqual(request_path(req),
614 req = Request("http://www.example.com/rheum/rhaponticum?"
616 self.assertEqual(request_path(req), "/rheum/rhaponticum")
618 req = Request("http://www.example.com")
619 self.assertEqual(request_path(req), "/")
    [all...]
  /external/iproute2/ip/
iproute.c 852 } req = { local
873 req.r.rtm_protocol = RTPROT_BOOT;
874 req.r.rtm_scope = RT_SCOPE_UNIVERSE;
875 req.r.rtm_type = RTN_UNICAST;
886 get_addr(&addr, *argv, req.r.rtm_family);
887 if (req.r.rtm_family == AF_UNSPEC)
888 req.r.rtm_family = addr.family;
889 addattr_l(&req.n, sizeof(req), RTA_PREFSRC, &addr.data, addr.bytelen);
897 get_addr(&addr, *argv, req.r.rtm_family)
1314 } req = { local
1675 } req = { local
    [all...]
ipl2tp.c 103 GENL_REQUEST(req, 1024, genl_family, 0, L2TP_GENL_VERSION,
106 addattr32(&req.n, 1024, L2TP_ATTR_CONN_ID, p->tunnel_id);
107 addattr32(&req.n, 1024, L2TP_ATTR_PEER_CONN_ID, p->peer_tunnel_id);
108 addattr8(&req.n, 1024, L2TP_ATTR_PROTO_VERSION, 3);
109 addattr16(&req.n, 1024, L2TP_ATTR_ENCAP_TYPE, p->encap);
113 addattr_l(&req.n, 1024, local_attr, &p->local_ip.data,
118 addattr_l(&req.n, 1024, peer_attr, &p->peer_ip.data,
122 addattr16(&req.n, 1024, L2TP_ATTR_UDP_SPORT, p->local_udp_port);
123 addattr16(&req.n, 1024, L2TP_ATTR_UDP_DPORT, p->peer_udp_port);
125 addattr8(&req.n, 1024, L2TP_ATTR_UDP_CSUM, 1)
    [all...]
  /external/ltp/testcases/kernel/fs/doio/
iogen.c 118 int form_iorequest(struct io_req *req);
384 struct io_req req; local
431 memset(&req, 0, sizeof(struct io_req));
432 if (form_iorequest(&req) == -1) {
438 req.r_magic = DOIO_MAGIC;
439 if (write(outfd, (char *)&req, sizeof(req)) == -1)
574 * Returns 0 if req is filled in with a complete doio request, otherwise
578 int form_iorequest(struct io_req *req)
596 req->r_type = sc->m_value
    [all...]
  /build/kati/
depgraph.go 119 func Load(req LoadReq) (*DepGraph, error) {
122 if req.Makefile == "" {
123 req.Makefile, err = defaultMakefile()
129 if req.UseCache {
130 g, err := loadCache(req.Makefile, req.Targets)
136 bmk, err := bootstrapMakefile(req.Targets)
141 content, err := ioutil.ReadFile(req.Makefile)
145 mk, err := parseMakefile(content, req.Makefile)
157 err = initVars(vars, req.EnvironmentVars, "environment"
    [all...]
  /hardware/qcom/display/msm8960/libcopybit/
copybit.cpp 212 struct mdp_blit_req *req, int flags)
214 req->alpha = dev->mAlpha;
215 req->transp_mask = MDP_TRANSP_NOP;
216 req->flags = dev->mFlags | flags;
219 req->flags |= MDP_MEMORY_ID_TYPE_FB;
222 req->flags |= MDP_BLEND_FG_PREMULT;
244 l->req[i].src.width,
245 l->req[i].src.height,
246 l->req[i].src.format,
247 l->req[i].src_rect.x
    [all...]
  /external/python/cpython3/Lib/test/
test_http_cookiejar.py 306 req = urllib.request.Request(url)
307 cookiejar.add_cookie_header(req)
308 cookie_hdr = req.get_header("Cookie", "")
313 cookiejar.extract_cookies(res, req)
683 req = urllib.request.Request(
686 self.assertEqual(request_path(req),
689 req = urllib.request.Request(
692 self.assertEqual(request_path(req), "/rheum/rhaponticum")
694 req = urllib.request.Request("http://www.example.com")
695 self.assertEqual(request_path(req), "/")
    [all...]
  /external/mesa3d/src/gallium/auxiliary/hud/
hud_nic.c 112 struct iwreq req; local
115 memset(&req, 0, sizeof(req));
117 strcpy(req.ifr_name, nic->name);
118 req.u.data.pointer = &stats;
119 req.u.data.flags = 1;
120 req.u.data.length = sizeof(struct iw_statistics);
128 if (ioctl(sockfd, SIOCGIWRATE, &req) == -1) {
133 *bitrate = req.u.bitrate.value;
143 struct iwreq req; local
    [all...]
  /hardware/intel/common/libva/va/x11/
va_nvctrl.c 216 xnvCtrlQueryExtensionReq *req; local
224 GetReq (nvCtrlQueryExtension, req);
225 req->reqType = info->codes->major_opcode;
226 req->nvReqType = X_nvCtrlQueryExtension;
246 xnvCtrlIsNvReq *req; local
255 GetReq (nvCtrlIsNv, req);
256 req->reqType = info->codes->major_opcode;
257 req->nvReqType = X_nvCtrlIsNv;
258 req->screen = screen;
281 xnvCtrlQueryStringAttributeReq *req; local
    [all...]
  /external/guice/extensions/servlet/test/com/google/inject/servlet/
ContextPathTest.java 117 HttpServletRequest req = testControl.createMock(HttpServletRequest.class); local
120 expect(req.getMethod()).andReturn("GET").anyTimes();
121 expect(req.getRequestURI()).andReturn("/bar/foo").anyTimes();
122 expect(req.getServletPath()).andReturn("/bar/foo").anyTimes();
123 expect(req.getContextPath()).andReturn("").anyTimes();
127 guiceFilter.doFilter(req, res, testFilterChain);
241 HttpServletRequest req = testControl.createMock(HttpServletRequest.class); local
244 expect(req.getMethod()).andReturn("GET").anyTimes();
245 expect(req.getRequestURI()).andReturn(requestURI).anyTimes();
246 expect(req.getServletPath()).andReturn(servletPath).anyTimes()
    [all...]
  /external/sonivox/arm-wt-22k/lib_src/
ARM-E_interpolate_loop_gnu.s 38 pWTVoice .req r0
39 pWTFrame .req r1
41 numSamples .req r2
42 phaseIncrement .req r3
43 pOutputBuffer .req r4
45 tmp0 .req r1 @reuse register
46 tmp1 .req r5
47 tmp2 .req r6
49 pLoopEnd .req r7
50 pLoopStart .req r8
    [all...]
  /device/google/contexthub/contexthubhal/test/
main.cpp 273 apps_enable_request_t req; local
274 req.app_name.id = appId;
275 cli.sendMessageToSystem(CONTEXT_HUB_APPS_ENABLE, &req, sizeof(req));
280 apps_disable_request_t req; local
281 req.app_name.id = appId;
282 cli.sendMessageToSystem(CONTEXT_HUB_APPS_DISABLE, &req, sizeof(req));
287 load_app_request_t *req = NULL; local
289 req = (load_app_request_t *)loadFile(appFileName, &fileSize)
301 unload_app_request_t req; local
308 query_apps_request_t req; local
    [all...]
  /external/libdrm/tests/amdgpu/
cs_tests.c 188 struct amdgpu_bo_alloc_request req = {0}; local
195 req.alloc_size = 4*1024;
196 req.preferred_heap = AMDGPU_GEM_DOMAIN_GTT;
198 r = amdgpu_bo_alloc(device_handle, &req, &buf_handle);
255 struct amdgpu_bo_alloc_request req = {0}; local
263 req.alloc_size = 4*1024; /* msg */
264 req.alloc_size += 4*1024; /* fb */
266 req.alloc_size += 4096; /*it_scaling_table*/
267 req.alloc_size += ALIGN(sizeof(uvd_bitstream), 4*1024);
268 req.alloc_size += ALIGN(dpb_size, 4*1024)
384 struct amdgpu_bo_alloc_request req = {0}; local
    [all...]
  /external/libvncserver/client_examples/
scrap.c 494 XSelectionRequestEvent *req; local
501 req = &event->syswm.msg->event.xevent.xselectionrequest;
502 if (req->target == XA_TARGETS) {
509 XChangeProperty(SDL_Display, req->requestor,
510 req->property, req->target, 32, PropModeReplace,
515 response.xselection.display= req->display;
516 response.xselection.requestor= req->requestor;
517 response.xselection.selection=req->selection;
518 response.xselection.target= req->target
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/X11/
Xlibint.h 440 #define GetReqSized(name, sz, req) \
441 req = (x##name##Req *) _XGetRequest(dpy, X_##name, sz)
443 #define GetReqSized(name, sz, req) \
444 req = (x/**/name/**/Req *) _XGetRequest(dpy, X_/**/name, sz)
453 * "req" is the name of the request pointer.
458 #define GetReq(name, req) \
459 GetReqSized(name, SIZEOF(x##name##Req), req)
    [all...]
  /cts/apps/CameraITS/tests/scene0/
test_burst_capture.py 30 req = its.objects.auto_capture_request()
31 caps = cam.do_capture([req]*NUM_TEST_FRAMES)
  /cts/apps/CameraITS/tests/scene1/
test_param_tonemap_mode.py 63 req = its.objects.manual_capture_request(s,e)
64 req["android.tonemap.mode"] = 0
65 req["android.tonemap.curve"] = {
72 cap = cam.do_capture(req, fmt)
92 req = its.objects.manual_capture_request(s,e)
93 req["android.tonemap.mode"] = 0
94 req["android.tonemap.curve"] = {
96 cap = cam.do_capture(req)
  /cts/apps/CameraITS/tests/
tutorial.py 68 req = its.objects.manual_capture_request(200, 50*1000*1000)
69 cap = cam.do_capture(req)
106 # and save it to a file too. Note that the "req" object is just a
115 req = its.objects.manual_capture_request(sens, exp)
118 req["android.colorCorrection.transform"] = xform_rat
119 req["android.colorCorrection.gains"] = gains
120 cap = cam.do_capture(req)
125 pprint.pprint(req)
178 cap = cam.do_capture(req, cam.CAP_JPEG)
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/
test_upload.py 47 self.req = url
49 self.req = None
116 self.assertIn('dédé', self.last_open.req.data)
117 headers = dict(self.last_open.req.headers)
120 self.assertEqual(self.last_open.req.get_method(), 'POST')
121 self.assertEqual(self.last_open.req.get_full_url(),
123 self.assertTrue('xxx' in self.last_open.req.data)
124 auth = self.last_open.req.headers['Authorization']
  /external/curl/lib/
if2ip.c 212 struct ifreq req; local
225 if(len >= sizeof(req.ifr_name))
232 memset(&req, 0, sizeof(req));
233 memcpy(req.ifr_name, interf, len + 1);
234 req.ifr_addr.sa_family = AF_INET;
236 if(ioctl(dummy, SIOCGIFADDR, &req) < 0) {
244 s = (struct sockaddr_in *)(void *)&req.ifr_addr;

Completed in 692 milliseconds

1 2 3 4 5 6 7 891011>>