/system/core/libnativebridge/tests/ |
D | PreInitializeNativeBridge_test.cpp | 42 FILE* cpuinfo = fopen("./cpuinfo", "w"); in TEST_F() 50 FILE* proc_cpuinfo = fopen("/proc/cpuinfo", "r"); in TEST_F()
|
/system/libufdt/tests/src/ |
D | util.c | 49 FILE *fp = fopen(filename, "r"); in load_file() 66 fout = fopen(filename, "wb"); in write_buf_to_file()
|
/system/extras/perfprofd/ |
D | cpuconfig.cc | 66 FILE *fp = fopen(possible.c_str(), "re"); in GetNumCores() 81 FILE *fp = fopen(ss.str().c_str(), "we"); in OnlineCore()
|
D | perfprofdcore.cc | 522 FILE *fp = fopen(encoded_file_path, "w"); in encode_to_proto() 558 FILE *efp = fopen(perf_stderr_path.c_str(), "w"); in invoke_perf() 672 FILE *fp = fopen(processed_file_path.c_str(), "r"); in post_process() 685 fp = fopen(produced_file_path.c_str(), "r"); in post_process() 702 fp = fopen(produced_file_path.c_str(), "w"); in post_process()
|
/system/extras/ext4_utils/ |
D | blk_alloc_to_base_fs.c | 41 blk_alloc_file = fopen(argv[1], "r"); in main() 46 base_fs_file = fopen(argv[2], "w"); in main()
|
D | make_ext4fs_main.c | 173 block_list_file = fopen(optarg, "w"); in main() 180 base_alloc_file_in = fopen(optarg, "r"); in main() 187 base_alloc_file_out = fopen(optarg, "w"); in main()
|
/system/extras/latencytop/ |
D | latencytop.c | 180 f = fopen(GLOBAL_STATS_FILE, "w"); in read_global_stats() 189 f = fopen(GLOBAL_STATS_FILE, "r"); in read_global_stats() 240 f = fopen(filename, "w"); in read_thread_stats() 254 f = fopen(GLOBAL_STATS_FILE, "r"); in read_thread_stats() 311 f = fopen(SYSCTL_FILE, "w"); in set_latencytop()
|
/system/extras/verity/ |
D | generate_verity_key.c | 73 f = fopen(pem_file, "r"); in convert_x509() 138 f = fopen(file, "w"); in generate_key()
|
/system/libufdt/utils/src/ |
D | mkdtimg_cfg_create.c | 125 cfg_fp = fopen(params->cfg_filename, "r"); in process_command_cfg_create() 133 img_fp = fopen(params->img_filename, "wb"); in process_command_cfg_create()
|
D | mkdtimg_dump.c | 62 out_fp = fopen(filename, "wb"); in write_fdt_to_file() 196 img_fp = fopen(params->img_filename, "rb"); in process_command_dump() 203 out_fp = fopen(params->out_filename, "w"); in process_command_dump()
|
D | mkdtimg_create.c | 125 img_fp = fopen(img_filename, "wb"); in handle_command_create()
|
/system/nfc/halimpl/pn54x/utils/ |
D | phNxpConfig.cpp | 227 if ((fd = fopen(name, "rb")) == NULL) { in readConfig() 637 if ((fd = fopen(config_timestamp_path, "w+")) != NULL) 646 fd = fopen(config_timestamp_path, "r+"); 685 fd = fopen(config_timestamp_path, "r+"); in checkTimestamp() 715 fd = fopen(config_timestamp_path, "w+"); in updateTimestamp() 722 fd = fopen(config_timestamp_path, "r+"); in updateTimestamp()
|
/system/core/liblog/tests/ |
D | libc_test.cpp | 25 ASSERT_TRUE(NULL != (fp = fopen("/dev/pmsg0", "a"))); in TEST()
|
/system/extras/ioshark/ |
D | compile_ioshark_subr.c | 133 filename_cache_fp = fopen("ioshark_filenames", "r"); in init_filename_cache() 198 filename_cache_fp = fopen("ioshark_filenames", "w+"); in store_filename_cache()
|
D | dump_ioshark_filenames.c | 52 filename_cache_fp = fopen("ioshark_filenames", "r"); in main()
|
/system/extras/cpustats/ |
D | cpustats.c | 195 file = fopen(filename, "r"); in get_cpu_count_from_file() 222 file = fopen(filename, "r"); in get_freq_scales_count() 242 file = fopen("/proc/stat", "r"); in read_stats() 272 file = fopen(filename, "r"); in read_freq_stats()
|
/system/update_engine/update_manager/ |
D | real_random_provider.cc | 82 FILE* fp = fopen(kRandomDevice, "r"); in Init()
|
/system/core/libutils/ |
D | ProcessCallStack.cpp | 56 if ((fp = fopen(path, "r"))) { in dumpProcessHeader() 84 if ((fp = fopen(path, "r"))) { in getThreadName()
|
/system/tools/hidl/ |
D | generateCppImpl.cpp | 98 FILE *file = fopen(path.c_str(), "w"); in generateStubImplHeader() 217 FILE *file = fopen(path.c_str(), "w"); in generateStubImplSource()
|
/system/nfc/halimpl/bcm2079x/adaptation/ |
D | patchram.cpp | 138 pf = fopen(pFilename, "r"); in isFileExist() 395 fd = fopen(sPrePatchFn, "rb"); in StartPatchDownload() 430 fd = fopen(sPatchFn, "rb"); in StartPatchDownload()
|
/system/core/libbacktrace/ |
D | GetPss.cpp | 47 FILE* maps = fopen("/proc/self/maps", "r"); in GetPssBytes()
|
/system/tools/aidl/ |
D | code_writer.cpp | 98 to = fopen(output_file.c_str(), "wb"); in GetFileWriter()
|
/system/extras/perfprofd/quipper/ |
D | perf_utils.h | 43 FILE* fp = fopen(filename.c_str(), "wb"); in BufferToFile()
|
/system/core/logd/ |
D | LogCommand.cpp | 96 FILE* file = fopen(filename, "r"); in clientHasLogCredentials()
|
/system/tools/hidl/c2hal/ |
D | AST.cpp | 261 FILE *file = fopen((getFileDir() + fileName).c_str(), "w"); in generateFile() 282 FILE *file = fopen((getFileDir() + "types.hal").c_str(), "w"); in generateTypesFile()
|