/AliOS-Things-master/components/http/src/ |
A D | http_method_api.c | 12 static HTTPC_RESULT httpclient_common(httpclient_t *client, const char *url, int method, httpclient… in httpclient_common() 38 HTTPC_RESULT httpclient_get(httpclient_t *client, const char *url, httpclient_data_t *client_data) in httpclient_get() 54 HTTPC_RESULT httpclient_head(httpclient_t *client, const char *url, httpclient_data_t *client_data) in httpclient_head() 70 HTTPC_RESULT httpclient_post(httpclient_t *client, const char *url, httpclient_data_t *client_data) in httpclient_post() 86 HTTPC_RESULT httpclient_put(httpclient_t *client, const char *url, httpclient_data_t *client_data) in httpclient_put() 102 HTTPC_RESULT httpclient_delete(httpclient_t *client, const char *url, httpclient_data_t *client_dat… in httpclient_delete()
|
A D | http_client.c | 151 void httpclient_set_custom_header(httpclient_t *client, char *header) in httpclient_set_custom_header() 156 int httpclient_basic_auth(httpclient_t *client, char *user, char *password) in httpclient_basic_auth() 166 static int httpclient_send_auth(httpclient_t *client, char *send_buf, int *send_idx) in httpclient_send_auth() 351 static int httpclient_send_userdata(httpclient_t *client, httpclient_data_t *client_data) in httpclient_send_userdata() 384 static int httpclient_recv_data(httpclient_t *client, char *buf, int min_len, int max_len, int *p_r… in httpclient_recv_data() 590 static int httpclient_response_parse(httpclient_t *client, char *data, int len, httpclient_data_t *… in httpclient_response_parse() 723 HTTPC_RESULT httpclient_conn(httpclient_t *client, const char *url) in httpclient_conn() 800 HTTPC_RESULT httpclient_send(httpclient_t *client, const char *url, int method, httpclient_data_t *… in httpclient_send() 822 HTTPC_RESULT httpclient_recv(httpclient_t *client, httpclient_data_t *client_data) in httpclient_recv() 877 void httpclient_clse(httpclient_t *client) in httpclient_clse() [all …]
|
A D | http_aos_wrapper.c | 49 int http_tcp_conn_wrapper(httpclient_t *client, const char *host) in http_tcp_conn_wrapper() 90 int http_tcp_close_wrapper(httpclient_t *client) in http_tcp_close_wrapper() 97 int http_tcp_send_wrapper(httpclient_t *client, const char *data, int length) in http_tcp_send_wrapper() 117 int http_tcp_recv_wrapper(httpclient_t *client, char *buf, int buflen, int timeout_ms, int *p_read_… in http_tcp_recv_wrapper() 187 int http_ssl_send_wrapper(httpclient_t *client, const char *data, size_t length) in http_ssl_send_wrapper() 236 int http_ssl_conn_wrapper(httpclient_t *client, const char *host) in http_ssl_conn_wrapper() 404 int http_ssl_close_wrapper(httpclient_t *client) in http_ssl_close_wrapper() 435 int http_ssl_recv_wrapper(httpclient_t *client, char *buf, int buflen, int timeout_ms, int *p_read_… in http_ssl_recv_wrapper()
|
/AliOS-Things-master/components/ucloud_ai/src/model/aliyun-openapi/test/core/ |
A D | timeout_ut.cc | 38 CommonClient client("key", "secret", configuration); in TEST() local 49 CommonClient client("key", "secret", configuration); in TEST() local 63 CommonClient client("key", "secret", configuration); in TEST() local 77 CommonClient client("key", "secret", configuration); in TEST() local 89 CommonClient client("key", "secret", configuration); in TEST() local 103 CommonClient client("key", "secret", configuration); in TEST() local 119 CommonClient client("key", "secret", configuration); in TEST() local 135 CommonClient client("key", "secret", configuration); in TEST() local 164 …TestRoaClient client("any-service", std::make_shared<SimpleCredentialsProvider>(credentials), conf… in TEST() local 177 …TestRoaClient client("any-service", std::make_shared<SimpleCredentialsProvider>(credentials), conf… in TEST() local [all …]
|
A D | stsclient_ut.cc | 34 mockStsClient client("mock-key", "mock-secret", configuration); in TEST() local 49 mockStsClient client(credentials, configuration); in TEST() local 80 mockStsClient client("mock-key", "mock-secret", configuration); in TEST() local 93 mockStsClient client("mock-key", "mock-secret", configuration); in TEST() local 106 void cb(const StsClient *client, in cb() 117 StsClient client("key", "secret", configuration); in TEST() local 128 mockStsClient client("mock-key", "mock-secret", configuration); in TEST() local 146 mockStsClient client("mock-key", "mock-secret", configuration); in TEST() local 166 mockStsClient client("mock-key", "mock-secret", configuration); in TEST() local 174 void assumerole_cb(const StsClient *client, in assumerole_cb() [all …]
|
A D | curlhttpclient_ut.cc | 27 CurlHttpClient client; in TEST() local 46 CurlHttpClient client; in TEST() local 63 CurlHttpClient client; in TEST() local 86 CurlHttpClient client; in TEST() local 103 CurlHttpClient client; in TEST() local 121 CurlHttpClient client; in TEST() local 139 CurlHttpClient client; in TEST() local 157 CurlHttpClient client; in TEST() local 171 CurlHttpClient client; in TEST() local 187 CurlHttpClient client; in TEST() local [all …]
|
A D | locationclient_ut.cc | 37 mockLocationClient client("key", "secret", configuration); in TEST() local 75 mockLocationClient client(credentials, configuration); in TEST() local 110 …mockLocationClient client(std::make_shared<SimpleCredentialsProvider>(credentials), configuration); in TEST() local 143 mockLocationClient client("key", "secret", configuration); in TEST() local 173 void cb(const LocationClient *client, in cb() 189 LocationClient client("key", "secret", configuration); in TEST() local
|
A D | commonclient_ut.cc | 93 TestCommonClient* client = new TestCommonClient(credentials, cfg); in TEST() local 172 TestCommonClient* client = new TestCommonClient(credentials, cfg); in TEST() local 182 CommonClient client("key", "secret", configuration); in TEST() local 206 void cb(const CommonClient *client, in cb()
|
A D | rpcserviceclient_ut.cc | 57 …mockRpcServiceClient client("ecs", std::make_shared<SimpleCredentialsProvider>(credentials), confi… in TEST() local 110 …mockRpcServiceClient client(servicename, std::make_shared<SimpleCredentialsProvider>(credentials),… in TEST() local 143 …mockRpcServiceClient client(servicename, std::make_shared<SimpleCredentialsProvider>(credentials),… in TEST() local
|
/AliOS-Things-master/components/ble_mesh/bt_mesh/core/src/ |
A D | proxy.c | 265 static void proxy_cfg(struct bt_mesh_proxy_client *client) in proxy_cfg() 336 struct bt_mesh_proxy_client *client; in proxy_send_beacons() local 489 struct bt_mesh_proxy_client *client = find_client(conn); in proxy_recv() local 575 struct bt_mesh_proxy_client *client; in proxy_connected() local 628 struct bt_mesh_proxy_client *client = &clients[i]; in proxy_disconnected() local 660 struct bt_mesh_proxy_client *client; in prov_ccc_write() local 754 struct bt_mesh_proxy_client *client = &clients[i]; in bt_mesh_proxy_prov_disable() local 779 struct bt_mesh_proxy_client *client; in proxy_ccc_write() local 861 struct bt_mesh_proxy_client *client = &clients[i]; in bt_mesh_proxy_gatt_disconnect() local 947 struct bt_mesh_proxy_client *client = &clients[i]; in bt_mesh_proxy_relay() local [all …]
|
/AliOS-Things-master/components/ucloud_ai/src/model/aliyun-openapi/test/function_test/core/ |
A D | locationclient_ft.cc | 29 LocationClient client(key, secret, configuration); in TEST() local 66 LocationClient client(credentials, configuration); in TEST() local 104 LocationClient client(std::make_shared<SimpleCredentialsProvider>(credentials), configuration); in TEST() local 140 LocationClient client(key, secret, configuration); in TEST() local 167 void cb(const LocationClient *client, in cb() 205 LocationClient client(key, secret, configuration); in TEST() local
|
/AliOS-Things-master/components/linkkit/infra/ |
A D | infra_httpc.c | 95 httpclient_t *client, char *send_buf, int *send_idx, char *buf, in _utils_fill_tx_buffer() 129 static int _http_send_header(httpclient_t *client, const char *host, in _http_send_header() 214 static int _http_recv(httpclient_t *client, char *buf, int max_len, in _http_recv() 299 static int _http_get_response_body(httpclient_t *client, char *data, in _http_get_response_body() 461 int httpclient_connect(httpclient_t *client) in httpclient_connect() 515 int httpclient_recv_response(httpclient_t *client, uint32_t timeout_ms, in httpclient_recv_response() 557 void httpclient_close(httpclient_t *client) in httpclient_close() 566 static int _http_send(httpclient_t *client, const char *url, int port, in _http_send() 603 int httpclient_common(httpclient_t *client, const char *url, int port, in httpclient_common() 638 int iotx_post(httpclient_t *client, const char *url, int port, in iotx_post() [all …]
|
/AliOS-Things-master/components/ota/ota_agent/download/ |
A D | ota_download_http.c | 63 int ota_httpc_settings_init(httpclient_t *client, httpclient_data_t *client_data) in ota_httpc_settings_init() 93 void ota_httpc_settings_destory(httpclient_t *client) in ota_httpc_settings_destory() 108 int ota_httpc_request_send(httpclient_t *client, char *url, httpclient_data_t *client_data) in ota_httpc_request_send() 131 int ota_httpc_recv_data(httpclient_t *client, httpclient_data_t *client_data) in ota_httpc_recv_data() 208 httpclient_t client = { 0 }; in ota_download_image_header() local 369 httpclient_t client = {0}; in ota_download_start() local
|
/AliOS-Things-master/components/ucloud_ai/src/model/aliyun-openapi/test/function_test/nlp/ |
A D | nlp_wordsegment_ft.cc | 21 CommonClient client(key, secret, configuration); in TEST() local 47 CommonClient client(key, secret, configuration); in TEST() local 73 CommonClient client(key, secret, configuration); in TEST() local 100 CommonClient client(key, secret, configuration); in TEST() local 129 CommonClient client(key, secret, configuration); in TEST() local
|
/AliOS-Things-master/components/linkkit/mqtt/ |
A D | mqtt_api.c | 455 void *client; in IOT_MQTT_Destroy() local 497 void *client = handle ? handle : g_mqtt_client; in IOT_MQTT_Subscribe() local 521 void *client = handle ? handle : g_mqtt_client; in IOT_MQTT_Subscribe_Sync() local 545 void *client = handle ? handle : g_mqtt_client; in IOT_MQTT_Unsubscribe() local 558 void *client = handle ? handle : g_mqtt_client; in IOT_MQTT_Publish() local 574 void *client = handle ? handle : g_mqtt_client; in IOT_MQTT_Publish_Simple() local 604 void *client = handle ? handle : g_mqtt_client; in IOT_MQTT_Nwk_Event_Handler() local
|
/AliOS-Things-master/components/ucloud_ai/src/model/ |
A D | ocr.cc | 20 OcrClient client(key, secret, configuration); in recognizeIdentityCardFaceSide() local 90 OcrClient client(key, secret, configuration); in recognizeIdentityCardBackSide() local 132 OcrClient client(key, secret, configuration); in recognizeBankCard() local 174 OcrClient client(key, secret, configuration); in recognizeCharacter() local
|
A D | facebody.cc | 20 FacebodyClient client(key, secret, configuration); in compareFace() local 67 FacebodyClient client(key, secret, configuration); in recognizeExpression() local 116 FacebodyClient client(key, secret, configuration); in generateHumanAnimeStyle() local
|
A D | imageseg.cc | 20 ImagesegClient client(key, secret, configuration); in segmentCommonImage() local 59 ImagesegClient client(key, secret, configuration); in segmentFace() local
|
A D | objectdet.cc | 20 ObjectdetClient client(key, secret, configuration); in detectObject() local 73 ObjectdetClient client(key, secret, configuration); in detectMainBody() local
|
A D | imagerecog.cc | 20 ImagerecogClient client(key, secret, configuration); in classifyingRubbish() local 67 ImagerecogClient client(key, secret, configuration); in detectFruits() local
|
A D | imageenhan.cc | 20 ImageenhanClient client(key, secret, configuration); in erasePerson() local 62 ImageenhanClient client(key, secret, configuration); in extendImageStyle() local
|
A D | common.cc | 41 CurlHttpClient client; in getResponseBodyByUrl() local 82 CommonClient client(key, secret, configuration); in getTokenId() local
|
/AliOS-Things-master/components/oss/src/ |
A D | oss_app.cpp | 133 OssClient client(Endpoint, AccessKeyId, AccessKeySecret, conf); in oss_upload_local_file() local 192 OssClient client(Endpoint, AccessKeyId, AccessKeySecret, conf); in oss_upload_local_file() local 268 OssClient client(Endpoint, AccessKeyId, AccessKeySecret, conf); in oss_upload_file() local 327 OssClient client(Endpoint, AccessKeyId, AccessKeySecret, conf); in oss_upload_file() local 403 OssClient client(Endpoint, AccessKeyId, AccessKeySecret, conf); in oss_upload_local_content() local 468 OssClient client(Endpoint, AccessKeyId, AccessKeySecret, conf); in oss_download_file() local
|
/AliOS-Things-master/components/oss/src/encryption/ |
A D | CryptoModule.cc | 61 PutObjectOutcome CryptoModule::PutObjectSecurely(const std::shared_ptr<OssClientImpl>& client, cons… in PutObjectSecurely() 77 GetObjectOutcome CryptoModule::GetObjectSecurely(const std::shared_ptr<OssClientImpl>& client, cons… in GetObjectSecurely() 135 …Outcome CryptoModule::InitiateMultipartUploadSecurely(const std::shared_ptr<OssClientImpl>& client, in InitiateMultipartUploadSecurely() 162 PutObjectOutcome CryptoModule::UploadPartSecurely(const std::shared_ptr<OssClientImpl>& client, con… in UploadPartSecurely()
|
/AliOS-Things-master/components/ucloud_ai/src/model/aliyun-openapi/examples/facebody/ |
A D | facebody.cc | 19 FacebodyClient client(key, secret, configuration); in main() local
|