/hardware/ti/omap4-aah/security/smc_pa_ctrl/ |
H A D | smc_pa_ctrl_linux.c | 72 FILE* pFile = NULL; local 102 pFile = fopen(pFileName, "rb"); 103 if (pFile == NULL) 109 nBytesRead = fread(pBuffer, 1, statFile.st_size, pFile); 117 nResult = fclose(pFile); 119 pFile = NULL; 143 if (pFile != NULL) 145 fclose(pFile);
|
/hardware/ti/omap4xxx/security/smc_pa_ctrl/ |
H A D | smc_pa_ctrl_linux.c | 72 FILE* pFile = NULL; local 102 pFile = fopen(pFileName, "rb"); 103 if (pFile == NULL) 109 nBytesRead = fread(pBuffer, 1, statFile.st_size, pFile); 117 nResult = fclose(pFile); 119 pFile = NULL; 143 if (pFile != NULL) 145 fclose(pFile);
|
/hardware/ti/omap4-aah/camera/OMXCameraAdapter/ |
H A D | OMXDCC.cpp | 164 FILE *pFile; local 187 pFile = fopen(temp.string(), "rb"); 188 if (pFile == NULL) { 191 fseek(pFile, 0, SEEK_END); 192 lSize = ftell(pFile); 193 rewind(pFile); 198 result = fread(buffer, 1, lSize, pFile); 207 fclose(pFile);
|
H A D | OMXDccDataSave.cpp | 139 FILE *pFile; local 158 pFile = parseDCCsubDir(pSubDir, path); 160 if (pFile) { 163 return pFile; 167 pFile = fopen(path, "rb"); 168 if (pFile) { 176 if (fread(&dccFileIDword, sizeof(OMX_U32), 1, pFile) != 1) { 186 fclose(pFile); 191 pFile = fopen(path, "rb+"); 192 if (!pFile) 217 FILE *pFile; local 245 fseekDCCuseCasePos(FILE *pFile) argument [all...] |
/hardware/ti/omap4-aah/security/tf_daemon/ |
H A D | smc_properties_parser.c | 480 FILE* pFile = NULL; local 484 if ((pFile = fopen(pFilename, "rb")) == NULL) 490 if (fseek(pFile, 0, SEEK_END) != 0) 496 nFilesize = ftell(pFile); 503 rewind(pFile); 515 if (fread(pBuff, sizeof(uint8_t), (size_t)nFilesize, pFile) != (size_t)nFilesize) 530 fclose(pFile); 576 void* pFile; local 586 nError=static_readFile(pConfigFilename,&pFile,&nFileLength); 598 nError=SMCPropYacc(pFile,nFileLengt [all...] |
H A D | delegation_client.c | 697 FILE* pFile; local 702 pFile = g_pPartitionFiles[nPartitionID]; 704 if (pFile == NULL) 710 if (fseek(pFile, nSectorIndex*g_nSectorSize, SEEK_SET) != 0) 718 pFile) != 1) 720 if (feof(pFile)) 781 FILE* pFile; local 786 pFile = g_pPartitionFiles[nPartitionID]; 788 if (pFile == NULL) 794 if (fseek(pFile, nSectorInde 854 FILE* pFile; local 922 FILE* pFile = g_pPartitionFiles[nPartitionID]; local [all...] |
/hardware/ti/omap4xxx/domx/omx_proxy_component/omx_camera/src/ |
H A D | omx_proxy_camera.c | 553 FILE *pFile; local 582 pFile = fopen(temp, "rb"); 583 if (pFile == NULL) 589 fseek(pFile, 0, SEEK_END); 590 lSize = ftell(pFile); 591 rewind(pFile); 599 lSize, pFile); 613 fclose(pFile);
|
/hardware/ti/omap4xxx/security/tf_daemon/ |
H A D | smc_properties_parser.c | 429 FILE* pFile = NULL; local 433 if ((pFile = fopen(pFilename, "rb")) == NULL) 439 if (fseek(pFile, 0, SEEK_END) != 0) 445 nFilesize = ftell(pFile); 452 rewind(pFile); 464 if (fread(pBuff, sizeof(uint8_t), (size_t)nFilesize, pFile) != (size_t)nFilesize) 479 fclose(pFile); 525 void* pFile; local 535 nError=static_readFile(pConfigFilename,&pFile,&nFileLength); 547 nError=SMCPropYacc(pFile,nFileLengt [all...] |
H A D | delegation_client.c | 654 FILE* pFile; local 659 pFile = g_pPartitionFiles[nPartitionID]; 661 if (pFile == NULL) 667 if (fseek(pFile, nSectorIndex*g_nSectorSize, SEEK_SET) != 0) 675 pFile) != 1) 677 if (feof(pFile)) 698 FILE* pFile; local 703 pFile = g_pPartitionFiles[nPartitionID]; 705 if (pFile == NULL) 711 if (fseek(pFile, nSectorInde 736 FILE* pFile; local 804 FILE* pFile = g_pPartitionFiles[nPartitionID]; local [all...] |
/hardware/qcom/bt/msm8909/libbt-vendor/src/ |
H A D | hw_rome.c | 819 FILE * pFile; local 829 pFile = fopen ( file_path , "r" ); 830 if (pFile==NULL) {; 836 fseek (pFile , 0 , SEEK_END); 837 fileSize = ftell (pFile); 838 rewind (pFile); 843 fclose (pFile); 848 readSize = fread (pdata_buffer,1,fileSize,pFile); 851 fclose (pFile);
|
/hardware/qcom/bt/msm8992/libbt-vendor/src/ |
H A D | hw_rome.c | 801 FILE * pFile; local 811 pFile = fopen ( file_path , "r" ); 812 if (pFile==NULL) {; 818 fseek (pFile , 0 , SEEK_END); 819 fileSize = ftell (pFile); 820 rewind (pFile); 825 fclose (pFile); 830 readSize = fread (pdata_buffer,1,fileSize,pFile); 833 fclose (pFile);
|
/hardware/qcom/bt/msm8996/libbt-vendor/src/ |
H A D | hw_rome.c | 801 FILE * pFile; local 811 pFile = fopen ( file_path , "r" ); 812 if (pFile==NULL) {; 818 fseek (pFile , 0 , SEEK_END); 819 fileSize = ftell (pFile); 820 rewind (pFile); 825 fclose (pFile); 830 readSize = fread (pdata_buffer,1,fileSize,pFile); 833 fclose (pFile);
|
/hardware/ti/omap4-aah/domx/omx_proxy_component/omx_camera/src/ |
H A D | omx_proxy_camera.c | 759 FILE *pFile; local 788 pFile = fopen(temp, "rb"); 789 if (pFile == NULL) 795 fseek(pFile, 0, SEEK_END); 796 lSize = ftell(pFile); 797 rewind(pFile); 805 lSize, pFile); 819 fclose(pFile);
|
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/ |
H A D | omx_swvenc_hevc.cpp | 1156 static FILE* pFile = NULL; local 1160 if (pFile == NULL) 1162 pFile = fopen("/data/input.yuv", "wb"); 1172 bytes_written = fwrite(temp, width, 1, pFile); 1180 bytes_written = fwrite(temp, width, 1, pFile);
|
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/src/ |
H A D | omx_vdec_hevc_swvdec.cpp | 7222 void dump_buffer(FILE* pFile, char* buffer, int stride, int scanlines, int width, int height) argument 7232 bytes_written = fwrite(temp, width, 1, pFile); 7240 bytes_written = fwrite(temp, width, 1, pFile);
|
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/ |
H A D | omx_vdec_hevc_swvdec.cpp | 7437 void dump_buffer(FILE* pFile, char* buffer, int stride, int scanlines, int width, int height) argument 7447 bytes_written = fwrite(temp, width, 1, pFile); 7455 bytes_written = fwrite(temp, width, 1, pFile);
|