Home
last modified time | relevance | path

Searched refs:endpoint (Results 1 – 25 of 62) sorted by relevance

123

/AliOS-Things-master/hardware/chip/haas1000/hal/
A Dusbd.c198 bool usbd_hal_realise_endpoint(void *pdev, uint8_t endpoint, uint32_t maxPacket, uint32_t flags) in usbd_hal_realise_endpoint() argument
212 ep_status usbd_hal_endpoint_read(void *pdev, uint8_t endpoint, uint32_t maximumSize) in usbd_hal_endpoint_read() argument
227 ep_status usbd_hal_endpoint_read_result(void *pdev, uint8_t endpoint, uint8_t *data, uint32_t *byte… in usbd_hal_endpoint_read_result() argument
242 ep_status usbd_hal_endpoint_write(void *pdev, uint8_t endpoint, uint8_t *data, uint32_t size) in usbd_hal_endpoint_write() argument
255 ep_status usbd_hal_endpoint_write_result(void *pdev, uint8_t endpoint) in usbd_hal_endpoint_write_result() argument
268 void usbd_hal_stall_endpoint(void *pdev, uint8_t endpoint) in usbd_hal_stall_endpoint() argument
281 void usbd_hal_unstall_endpoint(void *pdev, uint8_t endpoint) in usbd_hal_unstall_endpoint() argument
294 bool usbd_hal_get_endpoint_stall_state(void *pdev, uint8_t endpoint) in usbd_hal_get_endpoint_stall_state() argument
/AliOS-Things-master/components/drivers/core/base/include/aos/hal/
A Dusbd.h174 bool usbd_hal_realise_endpoint(void *pdev, uint8_t endpoint, uint32_t maxPacket, uint32_t flags);
185 ep_status usbd_hal_endpoint_read(void *pdev, uint8_t endpoint, uint32_t maximumSize);
197 ep_status usbd_hal_endpoint_read_result(void *pdev, uint8_t endpoint, uint8_t *data, uint32_t *byte…
209 ep_status usbd_hal_endpoint_write(void *pdev, uint8_t endpoint, uint8_t *data, uint32_t size);
219 ep_status usbd_hal_endpoint_write_result(void *pdev, uint8_t endpoint);
229 void usbd_hal_stall_endpoint(void *pdev, uint8_t endpoint);
239 void usbd_hal_unstall_endpoint(void *pdev, uint8_t endpoint);
249 bool usbd_hal_get_endpoint_stall_state(void *pdev, uint8_t endpoint);
/AliOS-Things-master/components/ucloud_ai/src/model/aliyun-openapi/test/core/
A Drpcserviceclient_ut.cc25 …D3(AttemptRequest, HttpClient::HttpResponseOutcome (const std::string & endpoint, const ServiceReq…
62 const string endpoint = "test-cn-shanghai"; in TEST() local
67 HttpRequest http_req = client.buildHttpRequest(endpoint, req, HttpRequest::Method::Get); in TEST()
69 EXPECT_TRUE(http_req.header("Host") == endpoint); in TEST()
86 http_req = client.buildHttpRequest(endpoint, req, HttpRequest::Method::Get); in TEST()
94 const string endpoint = "test-cn-shanghai"; in TEST() local
113 …RpcServiceClient::JsonOutcome out = client.makeRequest(endpoint, rpc_req, HttpRequest::Method::Get… in TEST()
121 const string endpoint = "test-cn-shanghai"; in TEST() local
146 …RpcServiceClient::JsonOutcome out = client.makeRequest(endpoint, rpc_req, HttpRequest::Method::Get… in TEST()
A Dclientconfiguration_ut.cc12 const std::string endpoint = "ep-cn-shanghai"; in TEST() local
23 config.setEndpoint(endpoint); in TEST()
26 EXPECT_TRUE(config.endpoint() == endpoint); in TEST()
A Droaserviceclient_ut.cc22 …JsonOutcome makeRequest(const std::string &endpoint, const RoaServiceRequest &msg, HttpRequest::Me… in makeRequest() argument
23 return RoaServiceClient::makeRequest(endpoint, msg, method); in makeRequest()
26 …HttpRequest buildHttpRequest(const std::string & endpoint, const ServiceRequest &msg, HttpRequest:… in buildHttpRequest() argument
27 return RoaServiceClient::buildHttpRequest(endpoint, msg, method); in buildHttpRequest()
A Dlocation_model_describeendpoints_result_ut.cc15 EXPECT_TRUE(res.endpoints()[0].endpoint == "test-ep"); in TEST()
38 ep.endpoint = "ep"; in TEST()
50 EXPECT_TRUE(res.endpoints()[0].endpoint == "ep"); in TEST()
/AliOS-Things-master/components/ucloud_ai/src/model/aliyun-openapi/core/include/alibabacloud/core/
A DCommonClient.h59 HttpRequest buildHttpRequest(const std::string &endpoint,
62 HttpRequest buildHttpRequest(const std::string &endpoint,
65 HttpRequest buildRoaHttpRequest(const std::string &endpoint,
68 HttpRequest buildRpcHttpRequest(const std::string &endpoint,
72 makeRequest(const std::string &endpoint, const CommonRequest &msg,
A DRoaServiceClient.h45 makeRequest(const std::string &endpoint, const RoaServiceRequest &msg,
47 HttpRequest buildHttpRequest(const std::string &endpoint,
50 HttpRequest buildHttpRequest(const std::string &endpoint,
A DRpcServiceClient.h53 makeRequest(const std::string &endpoint, const RpcServiceRequest &msg,
55 HttpRequest buildHttpRequest(const std::string &endpoint,
58 HttpRequest buildHttpRequest(const std::string &endpoint,
A DClientConfiguration.h34 std::string endpoint() const;
37 void setEndpoint(const std::string &endpoint);
A DCoreClient.h44 AttemptRequest(const std::string &endpoint, const ServiceRequest &request,
48 virtual HttpRequest buildHttpRequest(const std::string &endpoint,
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/usb_otg/include/
A Dusb.h1085 struct usb_host_endpoint *endpoint; member
1416 #define create_pipe(dev,endpoint) \
1422 create_pipe(dev, endpoint))
1424 create_pipe(dev, endpoint) | \
1427 create_pipe(dev, endpoint))
1429 create_pipe(dev, endpoint) | \
1432 create_pipe(dev, endpoint))
1434 create_pipe(dev, endpoint) | \
1437 create_pipe(dev, endpoint))
1439 create_pipe(dev, endpoint) | \
[all …]
/AliOS-Things-master/solutions/javascript_demo/network/
A Doss.js22 var endpoint = '' //请替换为自己 oss endpoint variable
28 …var url = oss.uploadFile(oss_key, oss_secret, endpoint, bucket_name, 'oss_filename_path', 'your_lo…
32 …oss.downloadFile(oss_key, oss_secret, endpoint, bucket_name, 'oss_filename_path', 'your_local_file…
/AliOS-Things-master/components/ucloud_ai/src/model/aliyun-openapi/core/src/
A DCommonClient.cc61 CommonClient::makeRequest(const std::string &endpoint, const CommonRequest &msg, in makeRequest() argument
63 auto outcome = AttemptRequest(endpoint, msg, method); in makeRequest()
99 HttpRequest CommonClient::buildHttpRequest(const std::string &endpoint, in buildHttpRequest() argument
102 …return buildHttpRequest(endpoint, static_cast<const CommonRequest &>(msg), //lk change dynamic_cas… in buildHttpRequest()
106 HttpRequest CommonClient::buildHttpRequest(const std::string &endpoint, in buildHttpRequest() argument
110 return buildRpcHttpRequest(endpoint, msg, method); in buildHttpRequest()
112 return buildRoaHttpRequest(endpoint, msg, method); in buildHttpRequest()
116 CommonClient::buildRoaHttpRequest(const std::string &endpoint, in buildRoaHttpRequest() argument
127 url.setHost(endpoint); in buildRoaHttpRequest()
229 CommonClient::buildRpcHttpRequest(const std::string &endpoint, in buildRpcHttpRequest() argument
[all …]
A DRpcServiceClient.cc41 RpcServiceClient::makeRequest(const std::string &endpoint, in makeRequest() argument
47 auto outcome = AttemptRequest(endpoint, request, method); in makeRequest()
56 RpcServiceClient::buildHttpRequest(const std::string &endpoint, in buildHttpRequest() argument
59 return buildHttpRequest(endpoint, in buildHttpRequest()
64 RpcServiceClient::buildHttpRequest(const std::string &endpoint, in buildHttpRequest() argument
75 url.setHost(endpoint); in buildHttpRequest()
A DClientConfiguration.cc30 std::string ClientConfiguration::endpoint() const { return endpoint_; } in endpoint() function in AlibabaCloud::ClientConfiguration
36 void ClientConfiguration::setEndpoint(const std::string &endpoint) { in setEndpoint() argument
37 endpoint_ = endpoint; in setEndpoint()
A DEndpointProvider.cc195 if (!configuration().endpoint().empty()) { in getEndpoint()
196 return EndpointOutcome(configuration().endpoint()); in getEndpoint()
200 std::string endpoint = localEndpoint(regionId_, product_); in getEndpoint() local
201 if (!endpoint.empty()) { in getEndpoint()
202 return EndpointOutcome(endpoint); in getEndpoint()
239 cachedEndpoint_ = all.front().endpoint; in loadRemoteEndpoint()
A DRoaServiceClient.cc41 RoaServiceClient::makeRequest(const std::string &endpoint, in makeRequest() argument
47 auto outcome = AttemptRequest(endpoint, request, method); in makeRequest()
56 RoaServiceClient::buildHttpRequest(const std::string &endpoint, in buildHttpRequest() argument
59 return buildHttpRequest(endpoint, in buildHttpRequest()
64 RoaServiceClient::buildHttpRequest(const std::string &endpoint, in buildHttpRequest() argument
75 url.setHost(endpoint); in buildHttpRequest()
/AliOS-Things-master/components/ucloud_ai/src/
A Ducloud_ai_common.c36 void ucloud_ai_set_oss_endpoint(char *endpoint) in ucloud_ai_set_oss_endpoint() argument
40 if (endpoint) { in ucloud_ai_set_oss_endpoint()
41 strcpy(g_oss_endpoint, endpoint); in ucloud_ai_set_oss_endpoint()
42 len = strlen(endpoint); in ucloud_ai_set_oss_endpoint()
/AliOS-Things-master/components/SDL2/src/hidapi/linux/
A DREADME.txt46 transfer on the CONTROL endpoint. No data will ever be sent on an Interrupt
47 Out endpoint if one exists. This is fixed in 2.6.35. In 2.6.35, OUTPUT
48 reports will be sent to the device on the first INTERRUPT OUT endpoint if it
50 endpoint.
54 contain an INTERRPUT OUT endpoint for OUTPUT transfers. For example, if
57 0xff}. If your device has the optional Interrupt OUT endpoint, this does not
59 out endpoint).
/AliOS-Things-master/components/oss/src/client/
A DClient.h47 …ClientOutcome AttemptRequest(const std::string & endpoint, const ServiceRequest &request, Http::Me…
48 …ClientOutcome AttemptOnceRequest(const std::string & endpoint, const ServiceRequest &request, Http…
49 …virtual std::shared_ptr<HttpRequest> buildHttpRequest(const std::string & endpoint, const ServiceR…
A DClient.cc55 Client::ClientOutcome Client::AttemptRequest(const std::string & endpoint, const ServiceRequest & r… in AttemptRequest() argument
58 auto outcome = AttemptOnceRequest(endpoint, request, method); in AttemptRequest()
93 Client::ClientOutcome Client::AttemptOnceRequest(const std::string & endpoint, const ServiceRequest… in AttemptOnceRequest() argument
99 auto r = buildHttpRequest(endpoint, request, method); in AttemptOnceRequest()
/AliOS-Things-master/components/ble_host/bt_host/host/
A Da2dp.c147 int bt_a2dp_register_endpoint(struct bt_a2dp_endpoint *endpoint, in bt_a2dp_register_endpoint() argument
152 BT_ASSERT(endpoint); in bt_a2dp_register_endpoint()
154 err = bt_avdtp_register_sep(media_type, role, &(endpoint->info)); in bt_a2dp_register_endpoint()
/AliOS-Things-master/components/py_engine/modules/minicv/base/modules/c/src/
A DWrapperIHaasML.cpp34 char *endpoint, char *url) in MLConfig() argument
39 LOGD(LOG_TAG, "endpoint = %s;\n", endpoint); in MLConfig()
47 int ret = mIHaasML->Config(key, secret, region_id, endpoint, url); in MLConfig()
/AliOS-Things-master/hardware/chip/haas1000/drivers/platform/drivers/usb/usb_dev/inc/
A Dusb_descriptor.h101 #define PHY_TO_DESC(endpoint, dir) (((endpoint) & 0xF) | ((dir == EP_OUT) ? 0 : 0x80)) argument

Completed in 26 milliseconds

123