Lines Matching refs:pbuff
30 static int DataMgmt_GetDataFromList(uint16_t* data_len, uint8_t* pbuff);
41 uint8_t* pbuff = NULL; in DataMgmt_GetData() local
47 pbuff = (uint8_t*)malloc(total_len); in DataMgmt_GetData()
48 if (NULL == pbuff) { in DataMgmt_GetData()
53 if (0 != DataMgmt_GetDataFromList(&total_data_len, pbuff)) { in DataMgmt_GetData()
55 free(pbuff); in DataMgmt_GetData()
61 free(pbuff); in DataMgmt_GetData()
65 *pbuffer = pbuff; in DataMgmt_GetData()
83 int DataMgmt_StoreDataInList(uint16_t data_len, uint8_t* pbuff) { in DataMgmt_StoreDataInList() argument
100 memcpy(newNode->tData.data, pbuff, data_len); in DataMgmt_StoreDataInList()
121 static int DataMgmt_GetDataFromList(uint16_t* data_len, uint8_t* pbuff) { in DataMgmt_GetDataFromList() argument
124 if (head == NULL || pbuff == NULL) { in DataMgmt_GetDataFromList()
133 memcpy((pbuff + offset), new_node->tData.data, new_node->tData.len); in DataMgmt_GetDataFromList()