Home
last modified time | relevance | path

Searched refs:fclose (Results 1 – 25 of 108) sorted by relevance

12345

/system/core/libunwindstack/tools/
Dunwind_for_offline.cpp77 std::unique_ptr<FILE, decltype(&fclose)> fp(fopen("regs.txt", "w+"), &fclose); in SaveRegs()
110 std::unique_ptr<FILE, decltype(&fclose)> fp(fopen(file_name.c_str(), "w+"), &fclose); in SaveStack()
150 std::unique_ptr<FILE, decltype(&fclose)> output(fopen(cur_name.c_str(), "w+"), &fclose); in CreateElfFromMemory()
175 std::unique_ptr<FILE, decltype(&fclose)> fp(fopen(info->name.c_str(), "r"), &fclose); in CopyElfFromFile()
181 std::unique_ptr<FILE, decltype(&fclose)> output(fopen(cur_name.c_str(), "w+"), &fclose); in CopyElfFromFile()
312 std::unique_ptr<FILE, decltype(&fclose)> fp(fopen("maps.txt", "w+"), &fclose); in SaveData()
/system/media/audio_utils/tests/
Dbiquad_filter.cpp89 std::unique_ptr<std::FILE, decltype(&std::fclose)> finp( in main()
90 std::fopen(infile, "rb"), &std::fclose); in main()
96 std::unique_ptr<std::FILE, decltype(&std::fclose)> fout( in main()
97 std::fopen(outfile, "wb"), &std::fclose); in main()
100 fclose(finp.get()); in main()
/system/memory/libmeminfo/libdmabufinfo/
Ddmabufinfo.cpp49 auto fp = std::unique_ptr<FILE, decltype(&fclose)>{fopen(fdinfo.c_str(), "re"), fclose}; in ReadDmaBufFdInfo()
169 auto fp = std::unique_ptr<FILE, decltype(&fclose)>{fopen(mapspath.c_str(), "re"), fclose}; in ReadDmaBufMapRefs()
212 auto fp = std::unique_ptr<FILE, decltype(&fclose)>{fopen(path.c_str(), "re"), fclose}; in ReadDmaBufInfo()
/system/libufdt/tests/src/
Dutil.c56 fclose(fp); in load_file()
77 if (fout) fclose(fout); in write_buf_to_file()
/system/extras/ext4_utils/
Dblk_alloc_to_base_fs.cpp84 fclose(blk_alloc_file); in main()
85 fclose(base_fs_file); in main()
/system/memory/libmeminfo/
Dlibmeminfo_benchmark.cpp246 fclose(f); in get_zram_mem_used()
258 fclose(f); in get_zram_mem_used()
414 auto fp = std::unique_ptr<FILE, decltype(&fclose)>{fopen(vm_file.c_str(), "re"), fclose}; in get_allocated_vmalloc_memory()
467 auto fp = std::unique_ptr<FILE, decltype(&fclose)>{fopen(path.c_str(), "re"), fclose}; in get_smaps_rollup()
Dsysmeminfo.cpp211 auto mmstat_fp = std::unique_ptr<FILE, decltype(&fclose)>{fopen(mmstat.c_str(), "re"), fclose}; in MemZramDevice()
241 auto fp = std::unique_ptr<FILE, decltype(&fclose)>{fopen(path.c_str(), "re"), fclose}; in ReadVmallocInfo()
Dprocmeminfo.cpp435 auto fp = std::unique_ptr<FILE, decltype(&fclose)>{fopen(path.c_str(), "re"), fclose}; in ForEachVmaFromFile()
514 auto fp = std::unique_ptr<FILE, decltype(&fclose)>{fopen(path.c_str(), "re"), fclose}; in SmapsOrRollupFromFile()
561 auto fp = std::unique_ptr<FILE, decltype(&fclose)>{fopen(path.c_str(), "re"), fclose}; in SmapsOrRollupPssFromFile()
/system/netd/libnetdutils/
DUniqueFile.cpp27 sys.fclose(file).ignoreError(); in operator ()()
/system/core/init/
Dbootchart.cpp60 static std::unique_ptr<FILE, decltype(&fclose)> fopen_unique(const char* filename, in fopen_unique()
62 std::unique_ptr<FILE, decltype(&fclose)> result(fopen(filename, mode), fclose); in fopen_unique()
Dmount_handler.h54 std::unique_ptr<FILE, decltype(&fclose)> fp_;
/system/core/libprocinfo/
Dprocess.cpp76 std::unique_ptr<FILE, decltype(&fclose)> fp(fdopen(status_fd, "r"), fclose); in GetProcessInfoFromProcPidFd()
/system/extras/latencytop/
Dlatencytop.c184 fclose(f); in read_global_stats()
195 fclose(f); in read_global_stats()
249 fclose(f); in read_thread_stats()
265 fclose(f); in read_thread_stats()
312 fclose(f); in set_latencytop()
/system/core/libpackagelistparser/
Dpackagelistparser.cpp102 std::unique_ptr<FILE, decltype(&fclose)> fp(fopen(path, "re"), &fclose); in packagelist_parse_file()
/system/extras/verity/
Dgenerate_verity_key.c106 fclose(f); in convert_x509()
158 fclose(f); in generate_key()
/system/vold/
DProcess.cpp49 auto file = std::unique_ptr<FILE, decltype(&fclose)>{fopen(path.c_str(), "re"), fclose}; in checkMaps()
/system/libziparchive/
Dzip_archive_benchmark.cpp47 fclose(fp); in CreateZip()
107 fclose(fp); in StartAlignedEntry()
/system/libufdt/utils/src/
Dmkdtimg_cfg_create.c153 fclose(img_fp); in process_command_cfg_create()
156 if (cfg_fp) fclose(cfg_fp); in process_command_cfg_create()
Dmkdtimg_dump.c76 if (out_fp) fclose(out_fp); in write_fdt_to_file()
232 if (img_fp) fclose(img_fp); in process_command_dump()
233 if (out_fp) fclose(out_fp); in process_command_dump()
/system/extras/boottime_tools/bootio/
Dbootio_collector.cpp48 fclose(file); in PopulateCpu()
81 fclose(file); in ReadIo()
98 fclose(file); in ReadStatForName()
119 fclose(file); in ReadStat()
154 fclose(file); in ReadCmdline()
/system/sepolicy/tests/
Dsepol_wrap.cpp205 fclose(fp); in load_policy()
217 fclose(fp); in load_policy()
227 fclose(fp); in load_policy()
239 fclose(fp); in load_policy()
247 fclose(fp); in load_policy()
/system/core/liblog/tests/
Dlibc_test.cpp37 int fcloseReturn = fclose(fp); in TEST()
/system/extras/profcollectd/libprofcollectd/
Dcompress.cpp44 std::fclose(outputFile); in CompressFiles()
/system/sepolicy/tools/
Dversion_policy.c61 fclose(file); in read_cil_file()
74 fclose(file); in read_cil_file()
/system/extras/ioshark/
Ddump_ioshark_filenames.c79 fclose(filename_cache_fp); in main()

12345