Searched refs:newreq (Results 1 – 5 of 5) sorted by relevance
/external/python/cpython3/Lib/test/ |
D | test_urllib2.py | 916 newreq = h.do_request_(req) 933 newreq = h.do_request_(req) 953 newreq = h.do_request_(req) 954 te = newreq.get_header('Transfer-encoding') 956 self.assertFalse(newreq.has_header('Content-length')) 960 newreq = h.do_request_(req) 961 self.assertEqual(int(newreq.get_header('Content-length')), 30) 962 self.assertFalse(newreq.has_header("Transfer-encoding")) 975 newreq = h.do_request_(req) 976 self.assertEqual(newreq.get_header('Transfer-encoding'), 'chunked') [all …]
|
/external/python/cpython2/Lib/test/ |
D | test_urllib2.py | 813 newreq = h.do_request_(req) 830 newreq = h.do_request_(req) 871 newreq = h.do_request_(req) 872 self.assertEqual(newreq.get_host(),'www.python.org') 873 self.assertEqual(newreq.get_selector(),'/?getspam') 877 newreq = h.do_request_(req) 878 self.assertEqual(newreq.get_host(),'www.python.org') 879 self.assertEqual(newreq.get_selector(),'') 913 newreq = h.http_request(req) 914 self.assertTrue(cj.ach_req is req is newreq)
|
/external/cronet/third_party/libevent/ |
D | evdns.c | 2567 struct request *newreq; in search_try_next() local 2574 …newreq = request_new(req->request_type, req->search_origname, req->search_flags, req->user_callbac… in search_try_next() 2576 if (newreq) { in search_try_next() 2577 request_submit(newreq); in search_try_next() 2587 …newreq = request_new(req->request_type, new_name, req->search_flags, req->user_callback, req->user… in search_try_next() 2589 if (!newreq) return 1; in search_try_next() 2590 newreq->search_origname = req->search_origname; in search_try_next() 2592 newreq->search_state = req->search_state; in search_try_next() 2593 newreq->search_flags = req->search_flags; in search_try_next() 2594 newreq->search_index = req->search_index; in search_try_next() [all …]
|
/external/libevent/ |
D | evdns.c | 3293 struct request *newreq; in search_try_next() local 3304 …newreq = request_new(base, NULL, req->request_type, handle->search_origname, handle->search_flags,… in search_try_next() 3306 if (newreq) { in search_try_next() 3317 …newreq = request_new(base, NULL, req->request_type, new_name, handle->search_flags, req->user_call… in search_try_next() 3319 if (!newreq) return 1; in search_try_next() 3326 handle->current_req = newreq; in search_try_next() 3327 newreq->handle = handle; in search_try_next() 3328 request_submit(newreq); in search_try_next()
|
/external/mdnsresponder/mDNSShared/ |
D | uds_daemon.c | 3807 request_state *newreq = NewRequest(); in request_callback() local 3808 newreq->primary = req; in request_callback() 3809 newreq->sd = req->sd; in request_callback() 3810 newreq->errsd = req->errsd; in request_callback() 3811 newreq->uid = req->uid; in request_callback() 3812 newreq->hdr = req->hdr; in request_callback() 3813 newreq->msgbuf = req->msgbuf; in request_callback() 3814 newreq->msgptr = req->msgptr; in request_callback() 3815 newreq->msgend = req->msgend; in request_callback() 3816 req = newreq; in request_callback()
|