/system/core/libunwindstack/tools/ |
D | unwind_for_offline.cpp | 77 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/ |
D | biquad_filter.cpp | 89 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/ |
D | dmabufinfo.cpp | 49 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/ |
D | util.c | 56 fclose(fp); in load_file() 77 if (fout) fclose(fout); in write_buf_to_file()
|
/system/extras/ext4_utils/ |
D | blk_alloc_to_base_fs.cpp | 84 fclose(blk_alloc_file); in main() 85 fclose(base_fs_file); in main()
|
/system/memory/libmeminfo/ |
D | libmeminfo_benchmark.cpp | 246 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()
|
D | sysmeminfo.cpp | 211 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()
|
D | procmeminfo.cpp | 435 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/ |
D | UniqueFile.cpp | 27 sys.fclose(file).ignoreError(); in operator ()()
|
/system/core/init/ |
D | bootchart.cpp | 60 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()
|
D | mount_handler.h | 54 std::unique_ptr<FILE, decltype(&fclose)> fp_;
|
/system/core/libprocinfo/ |
D | process.cpp | 76 std::unique_ptr<FILE, decltype(&fclose)> fp(fdopen(status_fd, "r"), fclose); in GetProcessInfoFromProcPidFd()
|
/system/extras/latencytop/ |
D | latencytop.c | 184 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/ |
D | packagelistparser.cpp | 102 std::unique_ptr<FILE, decltype(&fclose)> fp(fopen(path, "re"), &fclose); in packagelist_parse_file()
|
/system/extras/verity/ |
D | generate_verity_key.c | 106 fclose(f); in convert_x509() 158 fclose(f); in generate_key()
|
/system/vold/ |
D | Process.cpp | 49 auto file = std::unique_ptr<FILE, decltype(&fclose)>{fopen(path.c_str(), "re"), fclose}; in checkMaps()
|
/system/libziparchive/ |
D | zip_archive_benchmark.cpp | 47 fclose(fp); in CreateZip() 107 fclose(fp); in StartAlignedEntry()
|
/system/libufdt/utils/src/ |
D | mkdtimg_cfg_create.c | 153 fclose(img_fp); in process_command_cfg_create() 156 if (cfg_fp) fclose(cfg_fp); in process_command_cfg_create()
|
D | mkdtimg_dump.c | 76 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/ |
D | bootio_collector.cpp | 48 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/ |
D | sepol_wrap.cpp | 205 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/ |
D | libc_test.cpp | 37 int fcloseReturn = fclose(fp); in TEST()
|
/system/extras/profcollectd/libprofcollectd/ |
D | compress.cpp | 44 std::fclose(outputFile); in CompressFiles()
|
/system/sepolicy/tools/ |
D | version_policy.c | 61 fclose(file); in read_cil_file() 74 fclose(file); in read_cil_file()
|
/system/extras/ioshark/ |
D | dump_ioshark_filenames.c | 79 fclose(filename_cache_fp); in main()
|