/AliOS-Things-master/components/linkkit/dev_model/ |
A D | dm_api.c | 35 int res = 0; in iotx_dm_open() local 127 int res = 0; in iotx_dm_connect() local 375 res = in iotx_dm_property_desired_get() 383 return res; in iotx_dm_property_desired_get() 401 return res; in iotx_dm_property_desired_delete() 419 return res; in iotx_dm_post_property() 436 return res; in iotx_dm_log_post() 474 return res; in iotx_dm_post_event() 501 return res; in iotx_dm_send_service_response() 707 res = in iotx_dm_subdev_create() [all …]
|
A D | dm_msg_process.c | 135 int res = 0; in dm_msg_proc_thing_model_down_raw() local 153 int res = 0; in dm_msg_proc_thing_model_up_raw_reply() local 326 return res; in dm_msg_proc_thing_service_property_get() 333 int res = 0; in dm_msg_proc_thing_service_property_post() local 456 int res = 0; in dm_msg_proc_thing_property_desired_get_reply() local 488 int res = 0; in dm_msg_proc_thing_property_desired_delete_reply() local 520 int res = 0; in dm_msg_proc_thing_deviceinfo_update_reply() local 551 int res = 0; in dm_msg_proc_thing_deviceinfo_delete_reply() local 582 int res = 0; in dm_msg_proc_thing_dynamictsl_get_reply() local 670 int res = 0; in dm_msg_proc_thing_topo_add_notify() local [all …]
|
A D | dm_manager.c | 94 int res = 0; in _dm_mgr_insert_dev() local 171 int res = 0; in dm_mgr_init() local 232 int res = 0; in dm_mgr_device_query() local 255 int res = 0; in dm_mgr_device_create() local 311 int res = 0; in dm_mgr_device_destroy() local 413 int res = 0; in dm_mgr_search_device_by_devid() local 689 return res; in dm_mgr_upstream_thing_sub_register() 743 return res; in dm_mgr_upstream_thing_proxy_product_register() 798 return res; in dm_mgr_upstream_thing_sub_unregister() 852 return res; in dm_mgr_upstream_thing_topo_add() [all …]
|
A D | dm_tsl_alink.c | 302 int res = 0, index = 0; in _dm_shw_array_struct_parse() local 338 int res = 0; in _dm_shw_array_parse() local 476 int res = 0; in _dm_shw_data_parse() local 521 int res = 0; in _dm_shw_property_parse() local 563 res = in _dm_shw_properties_parse() 607 int res = 0; in _dm_shw_event_outputdata_parse() local 684 int res = 0; in _dm_shw_event_parse() local 774 int res = 0; in _dm_shw_service_outputdata_parse() local 851 int res = 0; in _dm_shw_service_inputdata_parse() local 932 int res = 0; in _dm_shw_service_parse() local [all …]
|
A D | dm_message.c | 32 int res = 0; in _dm_msg_send_to_user() local 145 res = in dm_msg_uri_parse_pkdn() 251 res = in dm_msg_request() 755 res = in dm_msg_thing_event_property_post_reply() 807 res = in dm_msg_thing_event_post_reply() 854 res = in dm_msg_thing_property_desired_get_reply() 1427 res = in dm_msg_thing_sub_register_reply() 1533 res = in dm_msg_thing_sub_register_reply() 2252 return res; in dm_msg_cloud_reconnect() 2782 return res; in _dm_msg_set_number() [all …]
|
/AliOS-Things-master/components/ucloud_ai/src/model/aliyun-openapi/test/core/ |
A D | location_model_describeendpoints_result_ut.cc | 13 EXPECT_TRUE(res.success()); in TEST() 14 EXPECT_TRUE(res.endpoints().size() == 1); in TEST() 29 res.setSuccess(true); in TEST() 30 EXPECT_TRUE(res.success()); in TEST() 31 res.setSuccess(false); in TEST() 32 EXPECT_TRUE(res.success() == false); in TEST() 46 res.setEndpoints(endpoints_); in TEST() 47 res.setSuccess(true); in TEST() 48 EXPECT_TRUE(res.success()); in TEST() 49 EXPECT_TRUE(res.endpoints().size() == 1); in TEST() [all …]
|
A D | sts_model_assumerole_result_ut.cc | 11 Sts::Model::AssumeRoleResult res(payload); in TEST() local 21 EXPECT_TRUE(res.assumedRoleUser().arn == arn); in TEST() 24 EXPECT_TRUE(res.credentials().accessKeyId == access_key_id); in TEST() 26 EXPECT_TRUE(res.credentials().expiration == expiration); in TEST() 32 Sts::Model::AssumeRoleResult res; in TEST() local 34 EXPECT_TRUE(res.assumedRoleUser().arn.empty()); in TEST() 35 EXPECT_TRUE(res.assumedRoleUser().assumedRoleId.empty()); in TEST() 37 EXPECT_TRUE(res.credentials().accessKeyId.empty()); in TEST() 38 EXPECT_TRUE(res.credentials().accessKeySecret.empty()); in TEST() 39 EXPECT_TRUE(res.credentials().expiration.empty()); in TEST() [all …]
|
/AliOS-Things-master/components/linkkit/dev_model/deprecated/ |
A D | impl_gateway.c | 375 int res = 0; in _linkkit_gateway_upstream_callback_remove() local 377 res = in _linkkit_gateway_upstream_callback_remove() 381 res = in _linkkit_gateway_upstream_callback_remove() 1645 res = in linkkit_gateway_start() 1728 msgid = res; in linkkit_gateway_subdev_register() 1828 msgid = res; in linkkit_gateway_subdev_register() 1906 msgid = res; in linkkit_gateway_subdev_unregister() 1989 int res = 0; in linkkit_gateway_subdev_destroy() local 2042 msgid = res; in linkkit_gateway_subdev_login() 2518 return res; in linkkit_gateway_post_rawdata() [all …]
|
A D | impl_solo.c | 204 int res = 0; in linkkit_set_opt() local 214 return res; in linkkit_set_opt() 220 int res = 0; in _linkkit_solo_event_callback() local 233 res = in _linkkit_solo_event_callback() 719 int res = 0; in linkkit_start() local 845 int res = 0; in linkkit_set_tsl() local 1181 msgid = res; in linkkit_trigger_event() 1250 res = in linkkit_post_property() 1320 return res; in linkkit_invoke_cota_service() 1345 return res; in linkkit_invoke_cota_get_config() [all …]
|
/AliOS-Things-master/components/linkkit/external/nghttp2/ |
A D | nghttp2_net.c | 32 uint32_t res; in nghttp2_htonl() local 38 return res; in nghttp2_htonl() 43 uint16_t res; in nghttp2_htons() local 47 return res; in nghttp2_htons() 52 uint32_t res; in nghttp2_ntohl() local 57 res += *p; in nghttp2_ntohl() 58 return res; in nghttp2_ntohl() 63 uint16_t res; in nghttp2_ntohs() local 65 res = *p++ << 8; in nghttp2_ntohs() 66 res += *p; in nghttp2_ntohs() [all …]
|
/AliOS-Things-master/solutions/linksdk_gateway_demo/ |
A D | subdev_basic_demo.c | 146 int32_t res = STATE_SUCCESS; in demo_mqtt_process_thread() local 232 if (res < STATE_SUCCESS) { in demo_mqtt_start() 243 if (res != 0) { in demo_mqtt_start() 253 if (res != 0) { in demo_mqtt_start() 277 if (res < STATE_SUCCESS) { in demo_mqtt_stop() 285 if (res < STATE_SUCCESS) { in demo_mqtt_stop() 335 if (res < 0) { in demo_main() 351 if (res < STATE_SUCCESS) { in demo_main() 401 if (res < STATE_SUCCESS) { in demo_main() 422 if (res < STATE_SUCCESS) in demo_main() [all …]
|
/AliOS-Things-master/components/SDL2/src/hidapi/hidtest/ |
A D | hidtest.cpp | 32 int res; in main() local 81 if (res < 0) in main() 88 if (res < 0) in main() 95 if (res < 0) in main() 103 if (res < 0) in main() 121 if (res < 0) { in main() 130 if (res < 0) { in main() 148 if (res < 0) { in main() 158 if (res < 0) in main() 164 res = 0; in main() [all …]
|
/AliOS-Things-master/components/linksdk/portfiles/aiot_port/ |
A D | aos_port.c | 351 if (res < 0) { in _core_sysdep_network_connect() 358 return res; in _core_sysdep_network_connect() 375 return res; in _core_sysdep_network_tcp_establish() 693 int res = 0; in _core_sysdep_network_tcp_recv() local 759 int res; in _core_sysdep_network_udp_recv() local 792 return res; in _core_sysdep_network_udp_recv() 799 int res = 0; in _core_sysdep_network_mbedtls_recv() local 887 int res = 0; in _core_sysdep_network_tcp_send() local 952 int res; in _core_sysdep_network_udp_send() local 991 return res; in _core_sysdep_network_udp_send() [all …]
|
/AliOS-Things-master/components/linkkit/dev_model/client/ |
A D | dm_client_adapter.c | 12 int res = 0; in dm_client_open() local 33 return res; in dm_client_open() 35 ctx->fd = res; in dm_client_open() 44 int res = 0; in dm_client_connect() local 49 return res; in dm_client_connect() 65 int res = 0; in dm_client_subscribe() local 90 return res; in dm_client_subscribe() 98 int res = 0; in dm_client_unsubscribe() local 105 return res; in dm_client_unsubscribe() 111 int res = 0; in dm_client_publish() local [all …]
|
/AliOS-Things-master/components/linksdk/core/utils/ |
A D | core_http.c | 104 return res; in _core_http_send() 117 return res; in _core_http_send_body() 145 return res; in _core_http_send_header() 157 return res; in _core_http_send_header() 282 return res; in core_http_setopt() 309 return res; in core_http_connect() 361 return res; in core_http_send() 429 return res; in _core_http_recv() 514 return res; in _core_http_recv_header() 566 return res; in _core_http_recv_body() [all …]
|
/AliOS-Things-master/solutions/javascript_demo/ota_demo/ |
A D | ota_4g.js | 41 ota.on('new', function(res) { argument 49 info.url = res.url; 50 info.length = res.length; 52 info.version = res.version; 53 info.hash = res.hash; 59 }, function(res) { argument 60 if (res >= 0) { 69 }, function(res) { argument 70 if (res >= 0) { 77 }, function(res) { argument [all …]
|
A D | ota_wifi.js | 47 ota.on('new', function(res) { argument 55 info.url = res.url; 56 info.length = res.length; 58 info.version = res.version; 59 info.hash = res.hash; 65 }, function(res) { argument 66 if (res >= 0) { 75 }, function(res) { argument 76 if (res >= 0) { 83 }, function(res) { argument [all …]
|
/AliOS-Things-master/components/amp/example-js/ |
A D | ota.js | 41 ota.on('new', function(res) { argument 49 info.url = res.url; 50 info.length = res.length; 52 info.version = res.version; 53 info.hash = res.hash; 59 }, function(res) { argument 60 if (res >= 0) { 69 }, function(res) { argument 70 if (res >= 0) { 77 }, function(res) { argument [all …]
|
/AliOS-Things-master/components/littlevgl/porting/ |
A D | lv_port_fs_template.c | 157 return res; 174 return res; 193 return res; 211 return res; 228 return res; 244 return res; 260 return res; 275 return res; 291 return res; 307 return res; [all …]
|
/AliOS-Things-master/hardware/chip/haas1000/drivers/platform/cmsis/inc/ |
A D | cmsis_iccarm.h | 533 return res; in __get_APSR() 605 res = 0U; in __get_MSPLIM() 609 return res; in __get_MSPLIM() 629 res = 0U; in __get_PSPLIM() 736 res = 0U; in __TZ_get_PSPLIM_NS() 829 return res; in __LDRT() 871 return res; in __LDA() 907 return res; in __LDAEX() 914 return res; in __STLEXB() 921 return res; in __STLEXH() [all …]
|
/AliOS-Things-master/components/py_engine/engine/lib/cmsis/inc/ |
A D | cmsis_iccarm.h | 533 return res; in __get_APSR() 605 res = 0U; in __get_MSPLIM() 609 return res; in __get_MSPLIM() 629 res = 0U; in __get_PSPLIM() 736 res = 0U; in __TZ_get_PSPLIM_NS() 829 return res; in __LDRT() 871 return res; in __LDA() 907 return res; in __LDAEX() 914 return res; in __STLEXB() 921 return res; in __STLEXH() [all …]
|
/AliOS-Things-master/components/csi/CMSIS/Core/Include/ |
A D | cmsis_iccarm.h | 560 return res; in __get_APSR() 632 res = 0U; in __get_MSPLIM() 636 return res; in __get_MSPLIM() 656 res = 0U; in __get_PSPLIM() 763 res = 0U; in __TZ_get_PSPLIM_NS() 856 return res; in __LDRT() 898 return res; in __LDA() 934 return res; in __LDAEX() 941 return res; in __STLEXB() 948 return res; in __STLEXH() [all …]
|
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/enc/ |
A D | cost_enc.c | 208 res->coeff_type = coeff_type; in VP8InitResidual() 212 res->first = first; in VP8InitResidual() 220 VP8Residual res; in VP8GetCostLuma4() local 225 VP8InitResidual(0, 3, enc, &res); in VP8GetCostLuma4() 233 VP8Residual res; in VP8GetCostLuma16() local 241 VP8InitResidual(0, 1, enc, &res); in VP8GetCostLuma16() 259 VP8Residual res; in VP8GetCostUV() local 290 int n = res->first; in VP8RecordCoeffs() 292 proba_t* s = res->stats[n][ctx]; in VP8RecordCoeffs() 293 if (res->last < 0) { in VP8RecordCoeffs() [all …]
|
/AliOS-Things-master/components/lwip/lwip2.0.0/apps/mdns/ |
A D | mdns.c | 412 int res; in mdns_domain_eq() local 465 err_t res; in mdns_build_reverse_v4_domain() local 503 err_t res; in mdns_build_reverse_v6_domain() local 554 err_t res; in mdns_build_host_domain() local 570 err_t res; in mdns_build_dnssd_domain() local 593 err_t res; in mdns_build_service_domain() local 617 err_t res; in check_host() local 684 err_t res; in check_service() local 786 err_t res; in mdns_write_domain() local 850 err_t res; in mdns_add_question() local [all …]
|
/AliOS-Things-master/components/py_engine/engine/lib/oofatfs/ |
A D | ff.c | 217 #define ABORT(fs, res) { fp->err = (BYTE)(res); LEAVE_FF(fs, res); } argument 225 #define LEAVE_FF(fs, res) { unlock_fs(fs, res); return res; } argument 227 #define LEAVE_FF(fs, res) return res argument 468 #define LEAVE_MKFS(res) return res argument 491 #define LEAVE_MKFS(res) return res argument 503 #define LEAVE_MKFS(res) return res argument 2139 if (res != FR_OK) return res; 2148 if (res != FR_OK) return res; 2150 if (res != FR_OK) return res; 2249 return (res == FR_OK || res == FR_DISK_ERR) ? res : FR_INT_ERR; [all …]
|