Lines Matching refs:pucBuffer
930 s8_t *pucBuffer = 0; in lwip_tftp_put_file_by_filename() local
1062 pucBuffer = mem_malloc(TFTP_BLKSIZE); in lwip_tftp_put_file_by_filename()
1063 if (pucBuffer == NULL) { in lwip_tftp_put_file_by_filename()
1075 (void)memset_s((void *)pucBuffer, TFTP_BLKSIZE, 0, TFTP_BLKSIZE); in lwip_tftp_put_file_by_filename()
1086 mem_free(pucBuffer); in lwip_tftp_put_file_by_filename()
1092 iErrCode = read(fp, pucBuffer, TFTP_BLKSIZE); in lwip_tftp_put_file_by_filename()
1102 mem_free(pucBuffer); in lwip_tftp_put_file_by_filename()
1119 mem_free(pucBuffer); in lwip_tftp_put_file_by_filename()
1136 (void *)pucBuffer, (u32_t)iErrCode) != EOK) { in lwip_tftp_put_file_by_filename()
1139 mem_free(pucBuffer); in lwip_tftp_put_file_by_filename()
1145 … if ((ulErrCode != ERR_OK) || (memset_s((void *)pucBuffer, TFTP_BLKSIZE, 0, TFTP_BLKSIZE) != 0)) { in lwip_tftp_put_file_by_filename()
1148 mem_free(pucBuffer); in lwip_tftp_put_file_by_filename()
1153 iErrCode = read(fp, pucBuffer, TFTP_BLKSIZE); in lwip_tftp_put_file_by_filename()
1161 mem_free(pucBuffer); in lwip_tftp_put_file_by_filename()
1173 mem_free(pucBuffer); in lwip_tftp_put_file_by_filename()
1182 mem_free(pucBuffer); in lwip_tftp_put_file_by_filename()