Searched refs:pImageFile (Results 1 – 2 of 2) sorted by relevance
883 FILE* pImageFile = fopen(imageFilename, "rb"); in ImeImageCtxFromFile() local885 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()
1392 FILE *pImageFile = fopen(imageFilename, "rb"); in HpmfwupgGetBufferFromFile() local1393 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()