Searched refs:pbuff (Results 1 – 4 of 4) sorted by relevance
/hardware/nxp/secure_element/libese-spi/p73/lib/ |
D | phNxpEseDataMgr.cpp | 29 static ESESTATUS phNxpEse_GetDataFromList(uint32_t* data_len, uint8_t* pbuff); 40 uint8_t* pbuff = NULL; in phNxpEse_GetData() local 46 pbuff = (uint8_t*)phNxpEse_memalloc(total_len); in phNxpEse_GetData() 47 if (NULL == pbuff) { in phNxpEse_GetData() 52 if (ESESTATUS_SUCCESS != phNxpEse_GetDataFromList(&total_data_len, pbuff)) { in phNxpEse_GetData() 54 phNxpEse_free(pbuff); in phNxpEse_GetData() 60 phNxpEse_free(pbuff); in phNxpEse_GetData() 64 *pbuffer = pbuff; in phNxpEse_GetData() 81 ESESTATUS phNxpEse_StoreDatainList(uint32_t data_len, uint8_t* pbuff) { in phNxpEse_StoreDatainList() argument 91 phNxpEse_memcpy(newNode->tData.sbuffer, pbuff, data_len); in phNxpEse_StoreDatainList() [all …]
|
D | phNxpEseDataMgr.h | 35 ESESTATUS phNxpEse_GetData(uint32_t* data_len, uint8_t** pbuff); 36 ESESTATUS phNxpEse_StoreDatainList(uint32_t data_len, uint8_t* pbuff);
|
/hardware/st/secure_element/ese-spi-driver/utils-lib/ |
D | DataMgmt.cc | 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() [all …]
|
D | DataMgmt.h | 30 int DataMgmt_GetData(uint16_t* data_len, uint8_t** pbuff); 31 int DataMgmt_StoreDataInList(uint16_t data_len, uint8_t* pbuff);
|