Home
last modified time | relevance | path

Searched refs:pImageFile (Results 1 – 2 of 2) sorted by relevance

/openbmc/ipmitool/lib/
H A Dipmi_ime.c883 FILE* pImageFile = fopen(imageFilename, "rb"); in ImeImageCtxFromFile() local
885 if ( pImageFile == NULL ) in ImeImageCtxFromFile()
894 fseek(pImageFile, 0, SEEK_END); in ImeImageCtxFromFile()
895 pImageCtx->size = ftell(pImageFile); in ImeImageCtxFromFile()
900 fclose(pImageFile); in ImeImageCtxFromFile()
904 rewind(pImageFile); in ImeImageCtxFromFile()
909 pImageCtx->size, pImageFile)) in ImeImageCtxFromFile()
925 if( pImageFile != NULL) in ImeImageCtxFromFile()
927 fclose(pImageFile); in ImeImageCtxFromFile()
H A Dipmi_hpmfwupg.c1392 FILE *pImageFile = fopen(imageFilename, "rb"); in HpmfwupgGetBufferFromFile() local
1393 if (pImageFile == NULL) { in HpmfwupgGetBufferFromFile()
1399 fseek(pImageFile, 0, SEEK_END); in HpmfwupgGetBufferFromFile()
1400 pFwupgCtx->imageSize = ftell(pImageFile); in HpmfwupgGetBufferFromFile()
1404 fclose(pImageFile); in HpmfwupgGetBufferFromFile()
1407 rewind(pImageFile); in HpmfwupgGetBufferFromFile()
1411 pImageFile); in HpmfwupgGetBufferFromFile()
1419 fclose(pImageFile); in HpmfwupgGetBufferFromFile()