/aosp12/hardware/google/graphics/common/libhwc2.1/ |
H A D | ExynosHWCDebug.cpp | 30 FILE *pFile = NULL; in saveErrorLog() local 34 if (pFile == NULL) { in saveErrorLog() 39 if (pFile == NULL) { in saveErrorLog() 46 if (pFile != NULL) in saveErrorLog() 47 fclose(pFile); in saveErrorLog() 72 if (pFile != NULL) { in saveErrorLog() 76 fclose(pFile); in saveErrorLog() 87 FILE *pFile = NULL; in saveFenceTrace() local 91 if (pFile == NULL) { in saveFenceTrace() 96 if (pFile == NULL) { in saveFenceTrace() [all …]
|
/aosp12/frameworks/compile/mclinker/include/mcld/LD/ |
H A D | ELFObjectReader.h | 44 bool isMyFormat(Input& pFile, bool& pContinue) const; 47 bool readHeader(Input& pFile); 49 virtual bool readSections(Input& pFile); 51 virtual bool readSymbols(Input& pFile); 56 virtual bool readRelocations(Input& pFile);
|
H A D | ObjectReader.h | 36 virtual bool readHeader(Input& pFile) = 0; 38 virtual bool readSymbols(Input& pFile) = 0; 40 virtual bool readSections(Input& pFile) = 0; 45 virtual bool readRelocations(Input& pFile) = 0;
|
H A D | DynObjReader.h | 29 virtual bool readHeader(Input& pFile) = 0; 31 virtual bool readSymbols(Input& pFile) = 0;
|
H A D | ELFDynObjReader.h | 33 bool isMyFormat(Input& pFile, bool& pContinue) const; 36 bool readHeader(Input& pFile);
|
H A D | BinaryReader.h | 30 virtual bool readBinary(Input& pFile) = 0;
|
/aosp12/hardware/nxp/nfc/pn8x/halimpl/dnld/ |
H A D | phDnldNfc.cc | 1018 FILE* pFile = NULL; in phDnldNfc_LoadBinFW() local 1036 pFile = fopen(nfcFL._FW_BIN_PATH.c_str(), "r"); in phDnldNfc_LoadBinFW() 1037 if (NULL == pFile) { in phDnldNfc_LoadBinFW() 1043 fseek(pFile, 0, SEEK_END); in phDnldNfc_LoadBinFW() 1046 ftellFileSize = ftell(pFile); in phDnldNfc_LoadBinFW() 1055 fseek(pFile, 0, SEEK_SET); in phDnldNfc_LoadBinFW() 1063 fclose(pFile); in phDnldNfc_LoadBinFW() 1069 (uint32_t)fread(pFwHandle, sizeof(uint8_t), (size_t)fileSize, pFile); in phDnldNfc_LoadBinFW() 1072 fclose(pFile); in phDnldNfc_LoadBinFW() 1083 fclose(pFile); in phDnldNfc_LoadBinFW()
|
/aosp12/hardware/nxp/nfc/snxxx/halimpl/dnld/ |
H A D | phDnldNfc.cc | 1042 FILE* pFile = NULL; in phDnldNfc_LoadBinFW() local 1060 pFile = fopen(nfcFL._FW_BIN_PATH.c_str(), "r"); in phDnldNfc_LoadBinFW() 1061 if (NULL == pFile) { in phDnldNfc_LoadBinFW() 1067 fseek(pFile, 0, SEEK_END); in phDnldNfc_LoadBinFW() 1070 ftellFileSize = ftell(pFile); in phDnldNfc_LoadBinFW() 1079 fseek(pFile, 0, SEEK_SET); in phDnldNfc_LoadBinFW() 1087 fclose(pFile); in phDnldNfc_LoadBinFW() 1093 (uint32_t)fread(pFwHandle, sizeof(uint8_t), (size_t)fileSize, pFile); in phDnldNfc_LoadBinFW() 1096 fclose(pFile); in phDnldNfc_LoadBinFW() 1107 fclose(pFile); in phDnldNfc_LoadBinFW()
|
/aosp12/frameworks/compile/mclinker/lib/MC/ |
H A D | SearchDirs.cpp | 20 std::string& pFile) { in SpecToFilename() argument 21 pFile = "lib"; in SpecToFilename() 22 pFile += pSpec; in SpecToFilename()
|
/aosp12/hardware/interfaces/neuralnetworks/aidl/vts/functional/ |
H A D | CompilationCachingTests.cpp | 1047 FILE* pFile = fopen(filename.c_str(), "r+"); in flipOneBitOfCache() local 1048 ASSERT_EQ(fseek(pFile, 0, SEEK_END), 0); in flipOneBitOfCache() 1049 long int fileSize = ftell(pFile); in flipOneBitOfCache() 1051 fclose(pFile); in flipOneBitOfCache() 1055 ASSERT_EQ(fseek(pFile, getRandomInt(0l, fileSize - 1), SEEK_SET), 0); in flipOneBitOfCache() 1056 int readByte = fgetc(pFile); in flipOneBitOfCache() 1058 ASSERT_EQ(fseek(pFile, -1, SEEK_CUR), 0); in flipOneBitOfCache() 1060 fclose(pFile); in flipOneBitOfCache() 1066 FILE* pFile = fopen(filename.c_str(), "a"); in appendBytesToCache() local 1069 ASSERT_NE(fputc(getRandomInt<uint8_t>(0, 255), pFile), EOF); in appendBytesToCache() [all …]
|
/aosp12/hardware/interfaces/neuralnetworks/1.3/vts/functional/ |
H A D | CompilationCachingTests.cpp | 1234 FILE* pFile = fopen(filename.c_str(), "r+"); in flipOneBitOfCache() local 1235 ASSERT_EQ(fseek(pFile, 0, SEEK_END), 0); in flipOneBitOfCache() 1236 long int fileSize = ftell(pFile); in flipOneBitOfCache() 1238 fclose(pFile); in flipOneBitOfCache() 1242 ASSERT_EQ(fseek(pFile, getRandomInt(0l, fileSize - 1), SEEK_SET), 0); in flipOneBitOfCache() 1243 int readByte = fgetc(pFile); in flipOneBitOfCache() 1245 ASSERT_EQ(fseek(pFile, -1, SEEK_CUR), 0); in flipOneBitOfCache() 1247 fclose(pFile); in flipOneBitOfCache() 1253 FILE* pFile = fopen(filename.c_str(), "a"); in appendBytesToCache() local 1256 ASSERT_NE(fputc(getRandomInt<uint8_t>(0, 255), pFile), EOF); in appendBytesToCache() [all …]
|
/aosp12/hardware/interfaces/neuralnetworks/1.2/vts/functional/ |
H A D | CompilationCachingTests.cpp | 1243 FILE* pFile = fopen(filename.c_str(), "r+"); in flipOneBitOfCache() local 1244 ASSERT_EQ(fseek(pFile, 0, SEEK_END), 0); in flipOneBitOfCache() 1245 long int fileSize = ftell(pFile); in flipOneBitOfCache() 1247 fclose(pFile); in flipOneBitOfCache() 1251 ASSERT_EQ(fseek(pFile, getRandomInt(0l, fileSize - 1), SEEK_SET), 0); in flipOneBitOfCache() 1252 int readByte = fgetc(pFile); in flipOneBitOfCache() 1254 ASSERT_EQ(fseek(pFile, -1, SEEK_CUR), 0); in flipOneBitOfCache() 1256 fclose(pFile); in flipOneBitOfCache() 1262 FILE* pFile = fopen(filename.c_str(), "a"); in appendBytesToCache() local 1265 ASSERT_NE(fputc(getRandomInt<uint8_t>(0, 255), pFile), EOF); in appendBytesToCache() [all …]
|
/aosp12/hardware/qcom/bt/msm8909/libbt-vendor/src/ |
H A D | hw_rome.c | 801 FILE * pFile; in rome_get_tlv_file() local 811 pFile = fopen ( file_path , "r" ); in rome_get_tlv_file() 812 if (pFile==NULL) {; in rome_get_tlv_file() 818 fseek (pFile , 0 , SEEK_END); in rome_get_tlv_file() 819 fileSize = ftell (pFile); in rome_get_tlv_file() 820 rewind (pFile); in rome_get_tlv_file() 825 fclose (pFile); in rome_get_tlv_file() 830 readSize = fread (pdata_buffer,1,fileSize,pFile); in rome_get_tlv_file() 833 fclose (pFile); in rome_get_tlv_file()
|
/aosp12/hardware/qcom/bt/msm8909w_3100/libbt-vendor/src/ |
H A D | hw_rome.c | 823 FILE * pFile; in rome_get_tlv_file() local 833 pFile = fopen ( file_path , "r" ); in rome_get_tlv_file() 834 if (pFile==NULL) {; in rome_get_tlv_file() 840 fseek (pFile , 0 , SEEK_END); in rome_get_tlv_file() 841 fileSize = ftell (pFile); in rome_get_tlv_file() 842 rewind (pFile); in rome_get_tlv_file() 847 fclose (pFile); in rome_get_tlv_file() 852 readSize = fread (pdata_buffer,1,fileSize,pFile); in rome_get_tlv_file() 855 fclose (pFile); in rome_get_tlv_file()
|
/aosp12/hardware/qcom/bt/msm8992/libbt-vendor/src/ |
H A D | hw_rome.c | 783 FILE * pFile; in rome_get_tlv_file() local 793 pFile = fopen ( file_path , "r" ); in rome_get_tlv_file() 794 if (pFile==NULL) {; in rome_get_tlv_file() 800 fseek (pFile , 0 , SEEK_END); in rome_get_tlv_file() 801 fileSize = ftell (pFile); in rome_get_tlv_file() 802 rewind (pFile); in rome_get_tlv_file() 807 fclose (pFile); in rome_get_tlv_file() 812 readSize = fread (pdata_buffer,1,fileSize,pFile); in rome_get_tlv_file() 815 fclose (pFile); in rome_get_tlv_file()
|
/aosp12/hardware/qcom/bt/msm8998/libbt-vendor/src/ |
H A D | hw_rome.c | 808 FILE * pFile; in rome_get_tlv_file() local 818 pFile = fopen ( file_path , "r" ); in rome_get_tlv_file() 819 if (pFile==NULL) {; in rome_get_tlv_file() 825 fseek (pFile , 0 , SEEK_END); in rome_get_tlv_file() 826 fileSize = ftell (pFile); in rome_get_tlv_file() 827 rewind (pFile); in rome_get_tlv_file() 832 fclose (pFile); in rome_get_tlv_file() 837 readSize = fread (pdata_buffer,1,fileSize,pFile); in rome_get_tlv_file() 840 fclose (pFile); in rome_get_tlv_file()
|
/aosp12/hardware/qcom/sdm845/bt/libbt-vendor/src/ |
H A D | hw_rome.c | 824 FILE * pFile; in rome_get_tlv_file() local 834 pFile = fopen ( file_path , "r" ); in rome_get_tlv_file() 835 if (pFile==NULL) {; in rome_get_tlv_file() 841 fseek (pFile , 0 , SEEK_END); in rome_get_tlv_file() 842 fileSize = ftell (pFile); in rome_get_tlv_file() 843 rewind (pFile); in rome_get_tlv_file() 848 fclose (pFile); in rome_get_tlv_file() 853 readSize = fread (pdata_buffer,1,fileSize,pFile); in rome_get_tlv_file() 856 fclose (pFile); in rome_get_tlv_file()
|
/aosp12/hardware/qcom/bt/msm8996/libbt-vendor/src/ |
H A D | hw_rome.c | 831 FILE * pFile; in rome_get_tlv_file() local 841 pFile = fopen ( file_path , "r" ); in rome_get_tlv_file() 842 if (pFile==NULL) {; in rome_get_tlv_file() 848 fseek (pFile , 0 , SEEK_END); in rome_get_tlv_file() 849 fileSize = ftell (pFile); in rome_get_tlv_file() 850 rewind (pFile); in rome_get_tlv_file() 855 fclose (pFile); in rome_get_tlv_file() 860 readSize = fread (pdata_buffer,1,fileSize,pFile); in rome_get_tlv_file() 863 fclose (pFile); in rome_get_tlv_file()
|
/aosp12/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/ |
H A D | omx_swvenc_hevc.cpp | 1156 static FILE* pFile = NULL; in dump_buffer() local 1160 if (pFile == NULL) in dump_buffer() 1162 pFile = fopen("/data/input.yuv", "wb"); in dump_buffer() 1172 bytes_written = fwrite(temp, width, 1, pFile); in dump_buffer() 1180 bytes_written = fwrite(temp, width, 1, pFile); in dump_buffer()
|
/aosp12/hardware/google/graphics/common/libhwc2.1/libdevice/ |
H A D | ExynosDisplay.cpp | 2034 FILE *pFile = NULL; in printDebugInfos() local 2053 if (pFile == NULL) { in printDebugInfos() 2058 if (pFile == NULL) { in printDebugInfos() 2076 if (pFile != NULL) { in printDebugInfos() 2084 if (pFile != NULL) { in printDebugInfos() 2091 if (pFile != NULL) { in printDebugInfos() 2102 if (pFile != NULL) { in printDebugInfos() 2119 if (pFile != NULL) { in printDebugInfos() 2126 if (pFile != NULL) { in printDebugInfos() 2133 if (pFile != NULL) { in printDebugInfos() [all …]
|
/aosp12/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) in dump_buffer() argument 7232 bytes_written = fwrite(temp, width, 1, pFile); in dump_buffer() 7240 bytes_written = fwrite(temp, width, 1, pFile); in dump_buffer()
|
/aosp12/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) in dump_buffer() argument 7447 bytes_written = fwrite(temp, width, 1, pFile); in dump_buffer() 7455 bytes_written = fwrite(temp, width, 1, pFile); in dump_buffer()
|