/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
D | test_urllib2.py | 228 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 …]
|
D | 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 …]
|
D | test_urllib2net.py | 160 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))
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
D | urllib2.py | 379 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/ |
D | sensors.c | 80 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 …]
|
D | nanohubCommand.c | 149 struct NanohubAppVersionsRequest *req = rx; in getAppVersion() local 153 if (osAppInfoById(le64toh(unaligned_u64(&req->appId)), &appIdx, &appVer, &appSize)) { in getAppVersion() 163 struct NanohubAppInfoRequest *req = rx; in queryAppInfo() local 168 if (osAppInfoByIndex(le32toh(unaligned_u32(&req->appIdx)), &appId, &appVer, &appSize)) { in queryAppInfo() 302 static bool doStartFirmwareUpload(struct NanohubStartFirmwareUploadRequest *req, bool erase) in doStartFirmwareUpload() argument 313 mDownloadState->size = le32toh(req->size); in doStartFirmwareUpload() 314 mDownloadState->crc = le32toh(req->crc); in doStartFirmwareUpload() 321 struct NanohubStartFirmwareUploadRequest *req = rx; in startFirmwareUpload() local 324 resp->accepted = doStartFirmwareUpload(req, true); in startFirmwareUpload() 634 struct NanohubFirmwareChunkRequest *req = rx; in firmwareChunk() local [all …]
|
/device/google/contexthub/contexthubhal/test/ |
D | main.cpp | 273 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/linaro/bootloader/OpenPlatformPkg/Drivers/Usb/DwUsb3Dxe/ |
D | DwUsb3Dxe.c | 652 ep->req.length = 0; in DriverInit() 653 ep->req.actual = 0; in DriverInit() 671 ep->req.length = 0; in DriverInit() 672 ep->req.actual = 0; in DriverInit() 687 ep->req.length = 0; in DriverInit() 688 ep->req.actual = 0; in DriverInit() 934 IN usb3_pcd_req_t *req in EndPoint0ContinueTransfer() argument 949 (UINT64)req->bufdma, in EndPoint0ContinueTransfer() 965 IN usb3_pcd_req_t *req, in EndPoint0CompleteRequest() argument 971 if (req == NULL) { in EndPoint0CompleteRequest() [all …]
|
/device/google/cuttlefish/guest/hals/ril/libril/ |
D | sap_service.cpp | 197 RIL_SIM_SAP_CONNECT_REQ req; in connectReq() local 198 memset(&req, 0, sizeof(RIL_SIM_SAP_CONNECT_REQ)); in connectReq() 199 req.max_message_size = maxMsgSize; in connectReq() 202 if (!pb_get_encoded_size(&encodedSize, RIL_SIM_SAP_CONNECT_REQ_fields, &req)) { in connectReq() 217 if (!pb_encode(&stream, RIL_SIM_SAP_CONNECT_REQ_fields, &req)) { in connectReq() 238 RIL_SIM_SAP_DISCONNECT_REQ req; in disconnectReq() local 239 memset(&req, 0, sizeof(RIL_SIM_SAP_DISCONNECT_REQ)); in disconnectReq() 242 if (!pb_get_encoded_size(&encodedSize, RIL_SIM_SAP_DISCONNECT_REQ_fields, &req)) { in disconnectReq() 258 if (!pb_encode(&stream, RIL_SIM_SAP_DISCONNECT_REQ_fields, &req)) { in disconnectReq() 279 RIL_SIM_SAP_APDU_REQ req; in apduReq() local [all …]
|
D | RilSapSocket.cpp | 200 void RilSapSocket::dispatchRequest(MsgHeader *req) { in dispatchRequest() argument 206 free(req); in dispatchRequest() 209 currRequest->token = req->token; in dispatchRequest() 210 currRequest->curr = req; in dispatchRequest() 219 req->token, in dispatchRequest() 220 req->type, in dispatchRequest() 221 req->id, in dispatchRequest() 222 req->error, in dispatchRequest() 226 uimFuncs->onRequest(req->id, req->payload->bytes, req->payload->size, currRequest, id); in dispatchRequest() 228 uimFuncs->onRequest(req->id, req->payload->bytes, req->payload->size, currRequest); in dispatchRequest()
|
/device/generic/goldfish/radio/libril/ |
D | sap_service.cpp | 197 RIL_SIM_SAP_CONNECT_REQ req; in connectReq() local 198 memset(&req, 0, sizeof(RIL_SIM_SAP_CONNECT_REQ)); in connectReq() 199 req.max_message_size = maxMsgSize; in connectReq() 202 if (!pb_get_encoded_size(&encodedSize, RIL_SIM_SAP_CONNECT_REQ_fields, &req)) { in connectReq() 217 if (!pb_encode(&stream, RIL_SIM_SAP_CONNECT_REQ_fields, &req)) { in connectReq() 238 RIL_SIM_SAP_DISCONNECT_REQ req; in disconnectReq() local 239 memset(&req, 0, sizeof(RIL_SIM_SAP_DISCONNECT_REQ)); in disconnectReq() 242 if (!pb_get_encoded_size(&encodedSize, RIL_SIM_SAP_DISCONNECT_REQ_fields, &req)) { in disconnectReq() 258 if (!pb_encode(&stream, RIL_SIM_SAP_DISCONNECT_REQ_fields, &req)) { in disconnectReq() 279 RIL_SIM_SAP_APDU_REQ req; in apduReq() local [all …]
|
D | RilSapSocket.cpp | 200 void RilSapSocket::dispatchRequest(MsgHeader *req) { in dispatchRequest() argument 206 free(req); in dispatchRequest() 209 currRequest->token = req->token; in dispatchRequest() 210 currRequest->curr = req; in dispatchRequest() 219 req->token, in dispatchRequest() 220 req->type, in dispatchRequest() 221 req->id, in dispatchRequest() 222 req->error, in dispatchRequest() 226 uimFuncs->onRequest(req->id, req->payload->bytes, req->payload->size, currRequest, id); in dispatchRequest() 228 uimFuncs->onRequest(req->id, req->payload->bytes, req->payload->size, currRequest); in dispatchRequest()
|
D | ril_internal.h | 46 #define printRequest(token, req) \ argument 47 RLOGD("[%04d]> %s %s", token, requestToString(req), printBuf) 59 #define printRequest(token, req)
|
/device/google/contexthub/util/nanotool/ |
D | contexthub.cpp | 189 ConfigureSensorRequest req; in EnableSensor() local 191 req.config.event_type = static_cast<uint32_t>(EventType::ConfigureSensor); in EnableSensor() 192 req.config.sensor_type = static_cast<uint8_t>(spec.sensor_type); in EnableSensor() 193 req.config.command = static_cast<uint8_t>( in EnableSensor() 196 req.config.rate = static_cast<uint32_t>(spec.special_rate); in EnableSensor() 198 req.config.rate = ConfigureSensorRequest::FloatRateToFixedPoint( in EnableSensor() 201 req.config.latency = spec.latency_ns; in EnableSensor() 206 auto result = WriteEvent(req); in EnableSensor() 223 ConfigureSensorRequest req; in DisableSensor() local 225 req.config.event_type = static_cast<uint32_t>(EventType::ConfigureSensor); in DisableSensor() [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/ |
D | 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']
|
D | test_register.py | 60 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/lib/aarch32/ |
D | misc_helpers.S | 45 cursor .req r0 /* Start address and then current address */ 46 length .req r1 /* Length in bytes of the region to zero out */ 51 stop_address .req r1 /* Address past the last zeroed byte */ 52 zeroreg1 .req r2 /* Source register filled with 0 */ 53 zeroreg2 .req r3 /* Source register filled with 0 */ 54 tmp .req r12 /* Temporary scratch register */
|
/device/google/trout/hal/vehicle/2.0/ |
D | GarageModeServerSideHandler.cpp | 209 auto req = mValueObjectPool->obtain(VehiclePropertyType::INT32_VEC, 2); in CreateApPowerStateReq() local 210 req->prop = toInt(VehicleProperty::AP_POWER_STATE_REQ); in CreateApPowerStateReq() 211 req->areaId = 0; in CreateApPowerStateReq() 212 req->timestamp = elapsedRealtimeNano(); in CreateApPowerStateReq() 213 req->status = VehiclePropertyStatus::AVAILABLE; in CreateApPowerStateReq() 214 req->value.int32Values[0] = toInt(state); in CreateApPowerStateReq() 215 req->value.int32Values[1] = param; in CreateApPowerStateReq() 216 return req; in CreateApPowerStateReq()
|
/device/linaro/bootloader/arm-trusted-firmware/include/lib/cpus/aarch64/ |
D | cpu_macros.S | 85 .macro fill_constants _count:req, _this, _rest:vararg 121 .macro declare_cpu_ops _name:req, _midr:req, _resetfunc:req, \
|
/device/linaro/bootloader/arm-trusted-firmware/include/lib/cpus/aarch32/ |
D | cpu_macros.S | 81 .macro fill_constants _count:req, _this, _rest:vararg 117 .macro declare_cpu_ops _name:req, _midr:req, _resetfunc:req, \
|
/device/linaro/bootloader/arm-trusted-firmware/lib/aarch64/ |
D | misc_helpers.S | 187 cursor .req x0 /* Start address and then current address */ 188 length .req x1 /* Length in bytes of the region to zero out */ 190 block_mask .req x1 /* Bitmask of the block size read in DCZID_EL0 */ 191 stop_address .req x2 /* Address past the last zeroed byte */ 192 block_size .req x3 /* Size of a block in bytes as read in DCZID_EL0 */ 193 tmp1 .req x4 194 tmp2 .req x5
|
/device/google/contexthub/contexthubhal/ |
D | NanohubHidlAdapter.cpp | 367 struct apps_disable_request_t req; in unloadNanoApp() local 370 msg.message_len = sizeof(req); in unloadNanoApp() 371 msg.message = &req; in unloadNanoApp() 372 req.app_name.id = appId; in unloadNanoApp() 446 struct apps_enable_request_t req; in enableNanoApp() local 449 msg.message_len = sizeof(req); in enableNanoApp() 450 req.app_name.id = appId; in enableNanoApp() 451 msg.message = &req; in enableNanoApp() 477 struct apps_disable_request_t req; in disableNanoApp() local 480 msg.message_len = sizeof(req); in disableNanoApp() [all …]
|
/device/google/cuttlefish/host/frontend/gcastv2/webrtc/certs/ |
D | create_certs.sh | 10 openssl req \ 14 openssl x509 -req -sha256 -days 365 -in server.csr -signkey server.key -out server.crt
|
/device/google/cuttlefish/host/frontend/gcastv2/https/certs/ |
D | create_certs.sh | 10 openssl req \ 14 openssl x509 -req -sha256 -days 365 -in server.csr -signkey server.key -out server.crt
|
/device/linaro/bootloader/edk2/OvmfPkg/Include/IndustryStandard/Xen/io/ |
D | ring.h | 98 __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))
|