Home
last modified time | relevance | path

Searched refs:fopen (Results 1 – 25 of 104) sorted by relevance

12345

/system/core/libnativebridge/tests/
DPreInitializeNativeBridge_test.cpp42 FILE* cpuinfo = fopen("./cpuinfo", "w"); in TEST_F()
50 FILE* proc_cpuinfo = fopen("/proc/cpuinfo", "r"); in TEST_F()
/system/libufdt/tests/src/
Dutil.c49 FILE *fp = fopen(filename, "r"); in load_file()
66 fout = fopen(filename, "wb"); in write_buf_to_file()
/system/extras/perfprofd/
Dcpuconfig.cc66 FILE *fp = fopen(possible.c_str(), "re"); in GetNumCores()
81 FILE *fp = fopen(ss.str().c_str(), "we"); in OnlineCore()
Dperfprofdcore.cc522 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/
Dblk_alloc_to_base_fs.c41 blk_alloc_file = fopen(argv[1], "r"); in main()
46 base_fs_file = fopen(argv[2], "w"); in main()
Dmake_ext4fs_main.c173 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/
Dlatencytop.c180 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/
Dgenerate_verity_key.c73 f = fopen(pem_file, "r"); in convert_x509()
138 f = fopen(file, "w"); in generate_key()
/system/libufdt/utils/src/
Dmkdtimg_cfg_create.c125 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()
Dmkdtimg_dump.c62 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()
Dmkdtimg_create.c125 img_fp = fopen(img_filename, "wb"); in handle_command_create()
/system/nfc/halimpl/pn54x/utils/
DphNxpConfig.cpp227 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/
Dlibc_test.cpp25 ASSERT_TRUE(NULL != (fp = fopen("/dev/pmsg0", "a"))); in TEST()
/system/extras/ioshark/
Dcompile_ioshark_subr.c133 filename_cache_fp = fopen("ioshark_filenames", "r"); in init_filename_cache()
198 filename_cache_fp = fopen("ioshark_filenames", "w+"); in store_filename_cache()
Ddump_ioshark_filenames.c52 filename_cache_fp = fopen("ioshark_filenames", "r"); in main()
/system/extras/cpustats/
Dcpustats.c195 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/
Dreal_random_provider.cc82 FILE* fp = fopen(kRandomDevice, "r"); in Init()
/system/core/libutils/
DProcessCallStack.cpp56 if ((fp = fopen(path, "r"))) { in dumpProcessHeader()
84 if ((fp = fopen(path, "r"))) { in getThreadName()
/system/tools/hidl/
DgenerateCppImpl.cpp98 FILE *file = fopen(path.c_str(), "w"); in generateStubImplHeader()
217 FILE *file = fopen(path.c_str(), "w"); in generateStubImplSource()
/system/nfc/halimpl/bcm2079x/adaptation/
Dpatchram.cpp138 pf = fopen(pFilename, "r"); in isFileExist()
395 fd = fopen(sPrePatchFn, "rb"); in StartPatchDownload()
430 fd = fopen(sPatchFn, "rb"); in StartPatchDownload()
/system/core/libbacktrace/
DGetPss.cpp47 FILE* maps = fopen("/proc/self/maps", "r"); in GetPssBytes()
/system/tools/aidl/
Dcode_writer.cpp98 to = fopen(output_file.c_str(), "wb"); in GetFileWriter()
/system/extras/perfprofd/quipper/
Dperf_utils.h43 FILE* fp = fopen(filename.c_str(), "wb"); in BufferToFile()
/system/core/logd/
DLogCommand.cpp96 FILE* file = fopen(filename, "r"); in clientHasLogCredentials()
/system/tools/hidl/c2hal/
DAST.cpp261 FILE *file = fopen((getFileDir() + fileName).c_str(), "w"); in generateFile()
282 FILE *file = fopen((getFileDir() + "types.hal").c_str(), "w"); in generateTypesFile()

12345