Searched refs:coap_malloc (Results 1 – 16 of 16) sorted by relevance
15 #define coap_malloc(size) LITE_malloc(size, MEM_MAGIC, "coap.cloud") macro18 #define coap_malloc(size) HAL_Malloc(size)
134 p_ctx = coap_malloc(sizeof(Cloud_CoAPContext)); in Cloud_CoAPContext_create()143 p_ctx->sendbuf = coap_malloc(COAP_MSG_MAX_PDU_LEN); in Cloud_CoAPContext_create()149 p_ctx->recvbuf = coap_malloc(COAP_MSG_MAX_PDU_LEN); in Cloud_CoAPContext_create()
65 p_msg = (char *)coap_malloc(IOTX_SIGN_SOURCE_LEN); in iotx_calc_sign()89 p_msg = (char *)coap_malloc(IOTX_SIGN_SOURCE_LEN); in iotx_calc_sign_with_seq()504 p_payload = coap_malloc(COAP_MSG_MAX_PDU_LEN); in IOT_CoAP_DeviceNameAuth()704 payload = (unsigned char *)coap_malloc(COAP_MSG_MAX_PDU_LEN); in IOT_CoAP_SendMessage()772 payload = coap_malloc(COAP_MSG_MAX_PDU_LEN); in IOT_CoAP_GetMessagePayload()853 p_iotx_coap = coap_malloc(sizeof(iotx_coap_t)); in IOT_CoAP_Init()860 p_iotx_coap->p_auth_token = coap_malloc(IOTX_AUTH_TOKEN_LEN); in IOT_CoAP_Init()872 p_iotx_coap->p_devinfo = coap_malloc(sizeof(iotx_coap_device_info_t)); in IOT_CoAP_Init()
62 node = coap_malloc(sizeof(Cloud_CoAPSendNode)); in Cloud_CoAPMessageList_add()81 node->message = (unsigned char *)coap_malloc(len); in Cloud_CoAPMessageList_add()
58 res_msg->msg = (char *)coap_malloc(tmplen); in res_parse()368 session = (session_item *)coap_malloc(sizeof(session_item)); in do_auth()410 AuthParam *authParam = (AuthParam *)coap_malloc(sizeof(AuthParam)); in do_auth()414 (char *)coap_malloc(strlen(ctl_item->productKey) + 1); in do_auth()417 (char *)coap_malloc(strlen(ctl_item->deviceName) + 1); in do_auth()420 (char *)coap_malloc(strlen(ctl_item->accessToken) + 1); in do_auth()480 AuthParam *authParam = (AuthParam *)coap_malloc(sizeof(AuthParam)); in alcs_auth_nego_key()484 authParam->productKey = (char *)coap_malloc(strlen(devKey->pk) + 1); in alcs_auth_nego_key()508 item->accessKey = (char *)coap_malloc(strlen(accesskey) + 1); in alcs_add_client_key()509 item->accessToken = (char *)coap_malloc(strlen(accesstoken) + 1); in alcs_add_client_key()[all …]
214 dev = coap_malloc(sizeof(device_auth_list)); in alcs_auth_init()451 (secure_send_item *)coap_malloc(sizeof(secure_send_item)); in internal_secure_send()470 char *buf = (char *)coap_malloc(encryptlen); in internal_secure_send()532 char *buf = (char *)coap_malloc(message->payloadlen); in secure_sendmsg_handler()645 item = (ctl_group_item *)coap_malloc(sizeof(ctl_group_item)); in alcs_add_ctl_group()652 item->id = (char *)coap_malloc(strlen(groupid) + 1); in alcs_add_ctl_group()657 item->accessKey = (char *)coap_malloc(strlen(accesskey) + 1); in alcs_add_ctl_group()662 item->accessToken = (char *)coap_malloc(strlen(accesstoken) + 1); in alcs_add_ctl_group()708 item = (svr_group_item *)coap_malloc(sizeof(svr_group_item)); in alcs_add_svr_group()715 item->id = (char *)coap_malloc(strlen(groupid) + 1); in alcs_add_svr_group()[all …]
299 session = (session_item *)coap_malloc(sizeof(session_item)); in alcs_rec_auth()397 item = (svr_key_item *)coap_malloc(sizeof(svr_key_item)); in add_svr_key()404 item->keyInfo.secret = (char *)coap_malloc(strlen(secret) + 1); in add_svr_key()466 lst->revocation = (char *)coap_malloc(len + 1); in alcs_set_revocation()570 char *buf = (char *)coap_malloc(message->payloadlen); in recv_msg_handler()592 (secure_resource_cb_item *)coap_malloc(sizeof(secure_resource_cb_item)); in alcs_resource_register_secure()620 item->filter_path = coap_malloc(strlen(path) + 1); in alcs_resource_register_secure()767 dest->data = (unsigned char *)coap_malloc(dest->len); in observe_data_encrypt()
169 (resource_cb_item *)coap_malloc(sizeof(resource_cb_item)); in alcs_resource_register()228 ALCSContext *alcs_ctx = (ALCSContext *)coap_malloc(sizeof(ALCSContext)); in alcs_context_create()260 g_alcs_ctx = (ALCSContext *)coap_malloc(sizeof(ALCSContext)); in alcs_context_init()
18 #define coap_malloc(size) LITE_malloc(size, MEM_MAGIC, "coap.local") macro21 #define coap_malloc(size) HAL_Malloc(size)
48 ptr = (unsigned char *)coap_malloc(datalen); in CoAPStrOption_add()95 ptr = (unsigned char *)coap_malloc(1); in CoAPUintOption_add()101 ptr = (unsigned char *)coap_malloc(2); in CoAPUintOption_add()108 ptr = (unsigned char *)coap_malloc(4); in CoAPUintOption_add()
36 p_ctx = coap_malloc(sizeof(CoAPIntContext)); in CoAPContext_create()54 p_ctx->sendbuf = coap_malloc(COAP_MSG_MAX_PDU_LEN); in CoAPContext_create()62 p_ctx->recvbuf = coap_malloc(COAP_MSG_MAX_PDU_LEN); in CoAPContext_create()
87 resource = coap_malloc(sizeof(CoAPResource)); in CoAPResource_create()99 resource->filter_path = coap_malloc(len); in CoAPResource_create()
80 network = coap_malloc(sizeof(NetworkConf)); in CoAPNetwork_init()
87 obs = coap_malloc(sizeof(CoapObserver)); in CoAPObsServer_add()325 CoAPObservable *newnode = coap_malloc(sizeof(CoAPObservable)); in CoAPObsClient_add()
73 node = coap_malloc(sizeof(CoAPSendNode)); in CoAPMessageList_add()195 buff = (unsigned char *)coap_malloc(msglen); in CoAPMessage_send()
221 ptr = coap_malloc(len); in _DTLSCalloc_wrapper()316 p_dtls_session = coap_malloc(sizeof(dtls_session_t)); in _DTLSSession_init()
Completed in 24 milliseconds