/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() 309 std::unique_ptr<FILE, decltype(&fclose)> fp(fopen("maps.txt", "w+"), &fclose); in SaveData()
|
/system/core/libnativebridge/tests/ |
D | PreInitializeNativeBridge_test.cpp | 45 fclose(cpuinfo); in TEST_F() 54 fclose(proc_cpuinfo); in TEST_F()
|
/system/core/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/perfprofd/ |
D | cpuconfig.cc | 76 fclose(fp); in GetNumCores() 88 fclose(fp); in OnlineCore()
|
D | perfprofd_cmdline.cc | 131 fclose(fp); in post_process() 143 fclose(fp); in post_process() 161 fclose(fp); in post_process()
|
/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/core/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 | 368 auto fp = std::unique_ptr<FILE, decltype(&fclose)>{fopen(path.c_str(), "re"), fclose}; in ForEachVmaFromFile() 447 auto fp = std::unique_ptr<FILE, decltype(&fclose)>{fopen(path.c_str(), "re"), fclose}; in SmapsOrRollupFromFile() 494 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 | 77 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/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/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/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/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/core/liblog/tests/ |
D | libc_test.cpp | 33 int fcloseReturn = fclose(fp); in TEST()
|
/system/sepolicy/tools/ |
D | version_policy.c | 61 fclose(file); in read_cil_file() 75 fclose(file); in read_cil_file()
|
/system/extras/ioshark/ |
D | dump_ioshark_filenames.c | 79 fclose(filename_cache_fp); in main()
|
/system/bt/osi/src/ |
D | config.cc | 83 fclose(fp); in config_new() 303 if (fclose(fp) == EOF) { in config_save() 343 if (fp) fclose(fp); in config_save() 404 if (fclose(fp) == EOF) { in checksum_save() 444 if (fp) fclose(fp); in checksum_save()
|