Home
last modified time | relevance | path

Searched refs:path_calc (Results 1 – 3 of 3) sorted by relevance

/AliOS-Things-master/components/linkkit/iot_coap/server/
A DCoAPResource.c121 char path_calc[COAP_PATH_DEFAULT_SUM_LEN] = { 0 }; in CoAPResource_register() local
141 CoAPPathMD5_sum(path, strlen(path), path_calc, in CoAPResource_register()
148 if (0 == memcmp(path_calc, node->path, COAP_PATH_DEFAULT_SUM_LEN)) { in CoAPResource_register()
217 char path_calc[COAP_PATH_DEFAULT_SUM_LEN] = { 0 }; in CoAPResourceByPath_get() local
227 CoAPPathMD5_sum(path, strlen(path), path_calc, COAP_PATH_DEFAULT_SUM_LEN); in CoAPResourceByPath_get()
232 if (0 == memcmp(path_calc, node->path, COAP_PATH_DEFAULT_SUM_LEN)) { in CoAPResourceByPath_get()
/AliOS-Things-master/components/linkkit/dev_model/alcs/
A Dalcs_coap.c135 char path_calc[MAX_PATH_CHECKSUM_LEN] = { 0 }; in recv_msg_handler() local
136 CoAPPathMD5_sum(path, strlen(path), path_calc, MAX_PATH_CHECKSUM_LEN); in recv_msg_handler()
141 if (0 == memcmp(path_calc, node->path, MAX_PATH_CHECKSUM_LEN)) { in recv_msg_handler()
189 char path_calc[MAX_PATH_CHECKSUM_LEN] = { 0 }; in alcs_resource_need_auth() local
190 CoAPPathMD5_sum(path, strlen(path), path_calc, MAX_PATH_CHECKSUM_LEN); in alcs_resource_need_auth()
195 if (memcmp(path_calc, node->path, MAX_PATH_CHECKSUM_LEN) == 0) { in alcs_resource_need_auth()
A Dalcs_server.c515 char path_calc[MAX_PATH_CHECKSUM_LEN] = { 0 }; in get_resource_by_path() local
516 CoAPPathMD5_sum(path, strlen(path), path_calc, MAX_PATH_CHECKSUM_LEN); in get_resource_by_path()
522 if (memcmp(node->path, path_calc, MAX_PATH_CHECKSUM_LEN) == 0) { in get_resource_by_path()

Completed in 6 milliseconds