Home
last modified time | relevance | path

Searched refs:core_sysdep_malloc (Results 1 – 20 of 20) sorted by relevance

/AliOS-Things-master/components/linksdk/core/utils/
A Dcore_http.c170 http_handle = sysdep->core_sysdep_malloc(sizeof(core_http_handle_t), CORE_HTTP_MODULE_NAME); in core_http_init()
227 …http_handle->cred = http_handle->sysdep->core_sysdep_malloc(sizeof(aiot_sysdep_network_cred_t), CO… in core_http_setopt()
389 pair_key = http_handle->sysdep->core_sysdep_malloc(key_len + 1, CORE_HTTP_MODULE_NAME); in _core_http_recv_header_pair()
396 pair_value = http_handle->sysdep->core_sysdep_malloc(value_len + 1, CORE_HTTP_MODULE_NAME); in _core_http_recv_header_pair()
439 line = http_handle->sysdep->core_sysdep_malloc(line_max_len, CORE_HTTP_MODULE_NAME); in _core_http_recv_header()
540 buffer = http_handle->sysdep->core_sysdep_malloc(buffer_len, CORE_HTTP_MODULE_NAME); in _core_http_recv_body()
A Dcore_string.c159 *dest = sysdep->core_sysdep_malloc((uint32_t)(strlen(src) + 1), module_name); in core_strdup()
182 buffer = sysdep->core_sysdep_malloc(buffer_len + 1, module_name); in core_sprintf()
302 tmp_dest = sysdep->core_sysdep_malloc(dest_len, module_name);
A Dcore_auth.c60 *dest = sysdep->core_sysdep_malloc(65, module_name); in core_auth_mqtt_password()
/AliOS-Things-master/components/linksdk/core/sysdep/
A Dcore_sysdep.c13 g_sysdep_portfile->core_sysdep_malloc == NULL || in aiot_sysdep_get_portfile()
/AliOS-Things-master/components/linksdk/components/ota/
A Daiot_ota_api.c75 ota_handle = sysdep->core_sysdep_malloc(sizeof(ota_handle_t), OTA_MODULE_NAME); in aiot_ota_init()
175 download_handle = sysdep->core_sysdep_malloc(sizeof(download_handle_t), DOWNLOAD_MODULE_NAME); in aiot_download_init()
279 …core_sha256_context_t *ctx = sysdep->core_sysdep_malloc(sizeof(core_sha256_context_t), OTA_MODULE_… in aiot_download_setopt()
288 …utils_md5_context_t *ctx = sysdep->core_sysdep_malloc(sizeof(utils_md5_context_t), OTA_MODULE_NAME… in aiot_download_setopt()
631 …if ((NULL == (_product_key_local = sysdep->core_sysdep_malloc(_product_key_len + 1, OTA_MODULE_NAM… in _ota_prase_topic()
632 …|| (NULL == (_device_name_local = sysdep->core_sysdep_malloc(_device_name_len + 1, OTA_MODULE_NAME… in _ota_prase_topic()
1030 tmp = (aiot_download_task_desc_t *)sysdep->core_sysdep_malloc(len, in _download_deep_copy_base()
1046 …dst_task_desc = (aiot_download_task_desc_t *)sysdep->core_sysdep_malloc(sizeof(aiot_download_task_… in _download_deep_copy_task_desc()
1181 buffer = sysdep->core_sysdep_malloc(buffer_len, OTA_MODULE_NAME); in _ota_parse_json()
/AliOS-Things-master/components/linksdk/core/
A Daiot_sysdep_api.h76 void *(*core_sysdep_malloc)(uint32_t size, char *name); member
A Daiot_mqtt_api.c172 … node->topic = mqtt_handle->sysdep->core_sysdep_malloc(topic->len + 1, CORE_MQTT_MODULE_NAME); in _core_mqtt_sublist_insert()
216 … node->topic = mqtt_handle->sysdep->core_sysdep_malloc(topic->len + 1, CORE_MQTT_MODULE_NAME); in _core_mqtt_topic_alias_list_insert()
602 pos = mqtt_handle->sysdep->core_sysdep_malloc(conn_pkt_len, CORE_MQTT_MODULE_NAME); in _core_mqtt_conn_pkt()
1322 connack_ptr = mqtt_handle->sysdep->core_sysdep_malloc(remain_len, CORE_MQTT_MODULE_NAME); in _core_mqtt_connect()
1409 node->packet = mqtt_handle->sysdep->core_sysdep_malloc(len, CORE_MQTT_MODULE_NAME); in _core_mqtt_publist_insert()
1483 pkt = mqtt_handle->sysdep->core_sysdep_malloc(pkt_len, CORE_MQTT_MODULE_NAME); in _core_mqtt_subunsub()
1776 remain = mqtt_handle->sysdep->core_sysdep_malloc(remainlen, CORE_MQTT_MODULE_NAME); in _core_mqtt_read_remainbytes()
2355 mqtt_handle = sysdep->core_sysdep_malloc(sizeof(core_mqtt_handle_t), CORE_MQTT_MODULE_NAME); in aiot_mqtt_init()
3038 pkt = mqtt_handle->sysdep->core_sysdep_malloc(pkt_len, CORE_MQTT_MODULE_NAME); in _core_mqtt_pub()
3162 pkt = mqtt_handle->sysdep->core_sysdep_malloc(pkt_len, CORE_MQTT_MODULE_NAME); in _core_mqtt_disconnect_with_prop()
[all …]
A Daiot_http_api.c35 …uint8_t *content = http_handle->sysdep->core_sysdep_malloc(response->content_len + packet->data.bo… in _core_http_auth_recv_handler()
80 …uint8_t *content = http_handle->sysdep->core_sysdep_malloc(response->content_len + packet->data.bo… in _core_http_recv_handler()
218 …http_handle->token = http_handle->sysdep->core_sysdep_malloc(token_len + 1, CORE_HTTP_MODULE_NAME); in _core_http_recv_auth()
/AliOS-Things-master/components/linksdk/components/dynreg/
A Daiot_dynreg_api.c72 …uint8_t *content = dynreg_handle->sysdep->core_sysdep_malloc(dynreg_handle->response.content_len +… in _dynreg_recv_handler()
111 tmp_ds = dynreg_handle->sysdep->core_sysdep_malloc(ds_value_len + 1, DYNREG_MODULE_NAME); in _dynreg_device_info()
133 dynreg_handle = sysdep->core_sysdep_malloc(sizeof(dynreg_handle_t), DYNREG_MODULE_NAME); in aiot_dynreg_init()
178 …dynreg_handle->cred = dynreg_handle->sysdep->core_sysdep_malloc(sizeof(aiot_sysdep_network_cred_t)… in aiot_dynreg_setopt()
/AliOS-Things-master/components/linksdk/components/bootstrap/
A Daiot_bootstrap_api.c43 …uint8_t *content = bootstrap_handle->sysdep->core_sysdep_malloc(bootstrap_handle->response.content… in _bootstrap_http_recv_handler()
84 …tmp_host = bootstrap_handle->sysdep->core_sysdep_malloc(host_value_len + 1, BOOTSTRAP_MODULE_NAME); in _bootstrap_connection_info()
219 … char *id = bootstrap_handle->sysdep->core_sysdep_malloc(id_value_len + 1, BOOTSTRAP_MODULE_NAME); in _bootstrap_recv_handler()
325 … bootstrap_handle = sysdep->core_sysdep_malloc(sizeof(bootstrap_handle_t), BOOTSTRAP_MODULE_NAME); in aiot_bootstrap_init()
387 …bootstrap_handle->cred = bootstrap_handle->sysdep->core_sysdep_malloc(sizeof(aiot_sysdep_network_c… in aiot_bootstrap_setopt()
/AliOS-Things-master/components/linksdk/components/shadow/
A Daiot_shadow_api.c39 tmp_pk = sysdep->core_sysdep_malloc(pk_len + 1, SHADOW_MODULE_NAME); in _shadow_get_pk_dn()
46 tmp_dn = sysdep->core_sysdep_malloc(dn_len + 1, SHADOW_MODULE_NAME); in _shadow_get_pk_dn()
232 shadow_handle = sysdep->core_sysdep_malloc(sizeof(shadow_handle_t), SHADOW_MODULE_NAME); in aiot_shadow_init()
/AliOS-Things-master/components/linksdk/components/devinfo/
A Daiot_devinfo_api.c56 tmp_pk = devinfo_handle->sysdep->core_sysdep_malloc(pk_len + 1, DEVINFO_MODULE_NAME); in _devinfo_find_pk_dn()
63 tmp_dn = devinfo_handle->sysdep->core_sysdep_malloc(dn_len + 1, DEVINFO_MODULE_NAME); in _devinfo_find_pk_dn()
258 devinfo_handle = sysdep->core_sysdep_malloc(sizeof(devinfo_handle_t), DEVINFO_MODULE_NAME); in aiot_devinfo_init()
/AliOS-Things-master/components/linksdk/components/subdev/
A Daiot_subdev_api.c85 data_str = subdev_handle->sysdep->core_sysdep_malloc(data_len + 1, SUBDEV_MODULE_NAME); in _subdev_topo_generic_reply_recv_handler()
92 … message_str = subdev_handle->sysdep->core_sysdep_malloc(message_len + 1, SUBDEV_MODULE_NAME); in _subdev_topo_generic_reply_recv_handler()
165 … params_str = subdev_handle->sysdep->core_sysdep_malloc(params_len + 1, SUBDEV_MODULE_NAME); in _subdev_topo_generic_notify_recv_handler()
346 …client_id = subdev_handle->sysdep->core_sysdep_malloc(strlen(dev->product_key) + strlen(dev->devic… in _subdev_topo_add_append_params()
410 …client_id = subdev_handle->sysdep->core_sysdep_malloc(strlen(dev->product_key) + strlen(dev->devic… in _subdev_batch_login_append_device_list()
501 subdev_handle = sysdep->core_sysdep_malloc(sizeof(subdev_handle_t), SUBDEV_MODULE_NAME); in aiot_subdev_init()
/AliOS-Things-master/components/linksdk/components/task/
A Daiot_task_api.c90 buffer = sysdep->core_sysdep_malloc(buffer_len, TASK_MODULE_NAME); in _task_parse_json()
338 …task_summary_t *array = task_handle->sysdep->core_sysdep_malloc(sizeof(task_summary_t) * num, TASK… in _task_parse_get_list_reply()
440 char *id = task_handle->sysdep->core_sysdep_malloc(task_id_len + 1, TASK_MODULE_NAME); in _task_recv_get_reply_handler()
721 task_handle = sysdep->core_sysdep_malloc(sizeof(task_handle_t), TASK_MODULE_NAME); in aiot_task_init()
/AliOS-Things-master/components/linksdk/components/diag/
A Daiot_diag_api.c107 node = diag_handle->sysdep->core_sysdep_malloc(sizeof(diag_desc_node_t), DIAG_MODULE_NAME); in _diag_desc_list_append()
438 …node = diag_handle->sysdep->core_sysdep_malloc(sizeof(diag_running_state_node_t), DIAG_MODULE_NAME… in _diag_running_state_start()
479 … extra_data = diag_handle->sysdep->core_sysdep_malloc(sizeof(uint32_t), DIAG_MODULE_NAME); in _diag_get_extra_data()
560 diag_handle = sysdep->core_sysdep_malloc(sizeof(diag_handle_t), DIAG_MODULE_NAME); in aiot_diag_init()
/AliOS-Things-master/components/linksdk/components/dynreg-mqtt/
A Daiot_dynregmq_api.c126 dynregmq_handle = sysdep->core_sysdep_malloc(sizeof(dynregmq_handle_t), DYNREGMQ_MODULE_NAME); in aiot_dynregmq_init()
170 …dynregmq_handle->cred = dynregmq_handle->sysdep->core_sysdep_malloc(sizeof(aiot_sysdep_network_cre… in aiot_dynregmq_setopt()
/AliOS-Things-master/components/linksdk/components/ntp/
A Daiot_ntp_api.c167 ntp_handle = sysdep->core_sysdep_malloc(sizeof(ntp_handle_t), NTP_MODULE_NAME); in aiot_ntp_init()
/AliOS-Things-master/components/linksdk/components/logpost/
A Daiot_logpost_api.c260 logpost_handle = sysdep->core_sysdep_malloc(sizeof(logpost_handle_t), LOGPOST_MODULE_NAME); in aiot_logpost_init()
/AliOS-Things-master/components/linksdk/components/data-model/
A Daiot_dm_api.c390 p_name = sysdep->core_sysdep_malloc(name_len + 1, DATA_MODEL_MODULE_NAME); in _dm_get_topic_level()
727 dm_handle = sysdep->core_sysdep_malloc(sizeof(dm_handle_t), DATA_MODEL_MODULE_NAME); in aiot_dm_init()
/AliOS-Things-master/components/linksdk/portfiles/aiot_port/
A Daos_port.c135 void *core_sysdep_malloc(uint32_t size, char *name) in core_sysdep_malloc() function
1245 core_sysdep_malloc,

Completed in 39 milliseconds