Home
last modified time | relevance | path

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

12

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_urllib2.py228 def open(self, req, data=None,timeout=socket._GLOBAL_DEFAULT_TIMEOUT): argument
229 self.req, self.data, self.timeout = req, data, timeout
402 def http_open(self, req): argument
405 self.requests.append(copy.deepcopy(req))
411 "http", req, MockFile(), self.code, name, msg)
413 self.req = req
415 return MockResponse(200, "OK", msg, "", req.get_full_url())
425 def https_open(self, req): argument
426 return self.do_open(self.httpconn, req)
480 req = Request("http://example.com/")
[all …]
Dtest_cookielib.py240 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 …]
Dtest_urllib2net.py160 req = urllib2.Request(urlwith_frag)
161 res = urllib2.urlopen(req)
166 req = urllib2.Request("http://www.python.org")
168 res = opener.open(req)
200 url, req, expected_err = url
202 req = expected_err = None
206 f = urlopen(url, req, TIMEOUT)
211 (expected_err, url, req, type(err), err))
Dtest_xmlrpc.py965 req = self.issue_request(TestTransport)
966 self.assertIn("X-Test: test_custom_user_agent\r\n", req)
975 req = self.issue_request(TestTransport)
976 self.assertIn("X-Test: test_send_host\r\n", req)
985 req = self.issue_request(TestTransport)
986 self.assertIn("X-Test: test_send_request\r\n", req)
995 req = self.issue_request(TestTransport)
996 self.assertIn("X-Test: test_send_content\r\n", req)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Durllib2.py379 req = Request(fullurl, data)
381 req = fullurl
383 req.add_data(data)
385 req.timeout = timeout
386 protocol = req.get_type()
392 req = meth(req)
394 response = self._open(req, data)
400 response = meth(req, response)
404 def _open(self, req, data=None): argument
406 'default_open', req)
[all …]
/device/google/contexthub/firmware/os/core/
Dsensors.c80 struct SensorsClientRequest *req = slabAllocatorGetNth(mCliSensMatrix, i); in sensorClientRequestFind() local
82 if (req && req->handle == sensorHandle && req->clientTid == clientTid) in sensorClientRequestFind()
83 return req; in sensorClientRequestFind()
389 struct SensorsClientRequest *req = slabAllocatorGetNth(mCliSensMatrix, i); in sensorCalcHwLatency() local
392 if (!req || req->handle != s->handle) in sensorCalcHwLatency()
395 if (smallestLatency > req->latency) in sensorCalcHwLatency()
396 smallestLatency = req->latency; in sensorCalcHwLatency()
421 struct SensorsClientRequest *req = slabAllocatorGetNth(mCliSensMatrix, i); in sensorCalcHwRate() local
424 if (!req || req->handle != s->handle) in sensorCalcHwRate()
428 if (req->rate == removedRate) { in sensorCalcHwRate()
[all …]
DnanohubCommand.c140 struct NanohubAppVersionsRequest *req = rx; in getAppVersion() local
144 if (osAppInfoById(le64toh(unaligned_u64(&req->appId)), &appIdx, &appVer, &appSize)) { in getAppVersion()
154 struct NanohubAppInfoRequest *req = rx; in queryAppInfo() local
159 if (osAppInfoByIndex(le32toh(unaligned_u32(&req->appIdx)), &appId, &appVer, &appSize)) { in queryAppInfo()
288 static bool doStartFirmwareUpload(struct NanohubStartFirmwareUploadRequest *req) in doStartFirmwareUpload() argument
299 mDownloadState->size = le32toh(req->size); in doStartFirmwareUpload()
300 mDownloadState->crc = le32toh(req->crc); in doStartFirmwareUpload()
309 struct NanohubStartFirmwareUploadRequest *req = rx; in startFirmwareUpload() local
312 resp->accepted = doStartFirmwareUpload(req); in startFirmwareUpload()
593 struct NanohubFirmwareChunkRequest *req = rx; in firmwareChunk() local
[all …]
/device/google/contexthub/contexthubhal/test/
Dmain.cpp273 apps_enable_request_t req; in main() local
274 req.app_name.id = appId; in main()
275 cli.sendMessageToSystem(CONTEXT_HUB_APPS_ENABLE, &req, sizeof(req)); in main()
280 apps_disable_request_t req; in main() local
281 req.app_name.id = appId; in main()
282 cli.sendMessageToSystem(CONTEXT_HUB_APPS_DISABLE, &req, sizeof(req)); in main()
287 load_app_request_t *req = NULL; in main() local
289 req = (load_app_request_t *)loadFile(appFileName, &fileSize); in main()
290 if (!req || fileSize < sizeof(*req) || req->app_binary.magic != NANOAPP_MAGIC) { in main()
295 cli.sendMessageToSystem(CONTEXT_HUB_LOAD_APP, req, fileSize); in main()
[all …]
/device/google/contexthub/util/nanotool/
Dcontexthub.cpp187 ConfigureSensorRequest req; in EnableSensor() local
189 req.config.event_type = static_cast<uint32_t>(EventType::ConfigureSensor); in EnableSensor()
190 req.config.sensor_type = static_cast<uint8_t>(spec.sensor_type); in EnableSensor()
191 req.config.command = static_cast<uint8_t>( in EnableSensor()
194 req.config.rate = static_cast<uint32_t>(spec.special_rate); in EnableSensor()
196 req.config.rate = ConfigureSensorRequest::FloatRateToFixedPoint( in EnableSensor()
199 req.config.latency = spec.latency_ns; in EnableSensor()
204 auto result = WriteEvent(req); in EnableSensor()
221 ConfigureSensorRequest req; in DisableSensor() local
223 req.config.event_type = static_cast<uint32_t>(EventType::ConfigureSensor); in DisableSensor()
[all …]
Dnanomessage.cpp90 Request *req = reinterpret_cast<Request *>(data); in GetBytes() local
91 *req = request; in GetBytes()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/
Dtest_upload.py47 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']
Dtest_register.py60 def open(self, req): argument
61 self.reqs.append(req)
172 req = self.conn.reqs[0]
173 headers = dict(req.headers)
175 self.assertTrue('tarek' in req.data)
190 req = self.conn.reqs[0]
191 headers = dict(req.headers)
193 self.assertTrue('tarek' in req.data)
/device/linaro/bootloader/arm-trusted-firmware/plat/hikey/
Dusb.c63 struct usb_request *req; member
614 int usb_queue_req(struct usb_endpoint *ept, struct usb_request *req) in usb_queue_req() argument
617 hiusb_epx_tx(ept->num, req->buf, req->length); in usb_queue_req()
619 hiusb_epx_rx(ept->num, req->buf, req->length); in usb_queue_req()
626 struct usb_request *req = &rx_req; in rx_cmd() local
627 req->buf = cmdbuf; in rx_cmd()
628 req->length = RX_REQ_LEN; in rx_cmd()
629 req->complete = usb_rx_cmd_complete; in rx_cmd()
630 usb_queue_req(&ep1out, req); in rx_cmd()
635 struct usb_request *req = &rx_req; in rx_data() local
[all …]
/device/asus/fugu/original-kernel-headers/drm/
Dpsb_ttm_placement_user.h221 struct ttm_pl_create_req req; member
226 struct ttm_pl_reference_req req; member
231 struct ttm_pl_setstatus_req req; member
236 struct ttm_pl_create_ub_req req; member
Dpsb_ttm_fence_user.h78 struct ttm_fence_signaled_req req; member
115 struct ttm_fence_finish_req req; member
/device/asus/fugu/kernel-headers/drm/
Dpsb_ttm_placement_user.h97 struct ttm_pl_create_req req; member
102 struct ttm_pl_reference_req req; member
107 struct ttm_pl_setstatus_req req; member
112 struct ttm_pl_create_ub_req req; member
Dpsb_ttm_fence_user.h44 struct ttm_fence_signaled_req req; member
59 struct ttm_fence_finish_req req; member
/device/linaro/bootloader/arm-trusted-firmware/include/lib/cpus/aarch64/
Dcpu_macros.S64 .macro declare_cpu_ops _name:req, _midr:req, _noresetfunc = 0
/device/linaro/bootloader/edk2/OvmfPkg/Include/IndustryStandard/Xen/io/
Dring.h98 __req_t req; \
197 UINT32 req = (_r)->sring->req_prod - (_r)->req_cons; \
200 req < rsp ? req : rsp; \
213 (&((_r)->sring->ring[((_idx) & (RING_SIZE(_r) - 1))].req))
Dxs_wire.h117 CHAR8 req[XENSTORE_RING_SIZE]; /* Requests to xenstore daemon. */ member
/device/google/marlin/camera/QCamera2/HAL3/
DQCamera3HWI.cpp562 for (auto &req : mPendingBuffersMap.mPendingBuffersInRequest) { in ~QCamera3HardwareInterface() local
563 req.mPendingBufferList.clear(); in ~QCamera3HardwareInterface()
1350 for (List<PendingBuffersInRequest>::iterator req = in updateFpsInPreviewBuffer() local
1352 req != mPendingBuffersMap.mPendingBuffersInRequest.end(); req++) { in updateFpsInPreviewBuffer()
1354 req->mPendingBufferList.begin(); in updateFpsInPreviewBuffer()
1355 j != req->mPendingBufferList.end(); j++) { in updateFpsInPreviewBuffer()
1357 if ((req->frame_number == frame_number) && in updateFpsInPreviewBuffer()
1388 for (auto req = mPendingBuffersMap.mPendingBuffersInRequest.begin(); in updateTimeStampInPendingBuffers() local
1389 req != mPendingBuffersMap.mPendingBuffersInRequest.end(); req++) { in updateTimeStampInPendingBuffers()
1390 if (req->frame_number != frameNumber) in updateTimeStampInPendingBuffers()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/command/
Dregister.py284 req = urllib2.Request(self.repository, body, headers)
292 result = opener.open(req)
/device/linaro/bootloader/edk2/AppPkg/Applications/Enquire/
DEnquire.c726 long val, long lim, long req, char *mark));
728 ulong val, ulong req, char *mark));
1251 long req,
1272 if (val != req) {
1274 printf(" Compiler has %ld for value%s\n\n", req, oc);
1287 ulong req,
1294 if (val != req) {
1296 printf(" Compiler has %lu for value%s\n\n", req, oc);
2498 #define Verify(prec, val, req, same, same1) {;}
2736 Void Verify ARGS5(int, prec, Number, val, Number, req, int, same, int, same1)
[all …]
/device/linaro/bootloader/edk2/StdLib/Include/sys/
Dsysctl.h103 struct sysctl_req *req)
132 struct sysctl_req req; member
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/faqwiz/
Dfaqwiz.py381 req = self.ui.req or 'home'
382 mname = 'do_%s' % req
386 self.error("Bad request type %r." % (req,))

12