Searched refs:fscanf (Results 1 – 15 of 15) sorted by relevance
/system/extras/ext4_utils/ |
D | blk_alloc_to_base_fs.cpp | 57 …if (fscanf(blk_alloc_file, "Base EXT4 version %" ___STRING(MAX_FILE_VERSION) "s", file_version) > … in main() 70 while(fscanf(blk_alloc_file, "%" ___STRING(MAX_PATH) "s ", filename) != EOF) { in main()
|
/system/extras/cpustats/ |
D | cpustats.c | 226 fscanf(file, "%lu %*d\n", &freq); in get_freq_scales_count() 244 fscanf(file, "cpu %lu %lu %lu %lu %lu %lu %lu %*d %*d %*d\n", in read_stats() 255 fscanf(file, scanline, &new_cpus[i].utime, &new_cpus[i].ntime, &new_cpus[i].stime, in read_stats() 275 fscanf(file, "%u %lu\n", &new_cpus[cpu].freqs[i].freq, in read_freq_stats()
|
/system/extras/perfprofd/ |
D | perfprofd_cmdline.cc | 125 while(fscanf(fp, "%d\n", &seq) > 0) { in post_process() 138 while(fscanf(fp, "%d\n", &seq) > 0) { in post_process()
|
D | cpuconfig.cc | 73 if (fscanf(fp, "%u-%u", &lo, &hi) == 2) { in GetNumCores()
|
/system/core/libmeminfo/ |
D | libmeminfo_benchmark.cpp | 242 int matched = fscanf(f, "%*d %*d %" SCNu64 " %*d %*d %*d %*d", &mem_used_total); in get_zram_mem_used() 254 int matched = fscanf(f, "%" SCNu64, &mem_used_total); in get_zram_mem_used()
|
D | sysmeminfo.cpp | 215 if (fscanf(mmstat_fp.get(), "%*" SCNu64 " %*" SCNu64 " %" SCNu64, mem_zram_dev) != 1) { in MemZramDevice()
|
/system/netd/libnetdutils/include/netdutils/ |
D | Syscalls.h | 107 StatusOr<int> fscanf(FILE* file, const char* format, ...) const { in fscanf() function
|
/system/core/libprocessgroup/ |
D | processgroup.cpp | 282 while (fscanf(fd.get(), "%d\n", &pid) == 1 && pid >= 0) { in DoKillProcessGroupOnce()
|
/system/extras/ANRdaemon/ |
D | ANRdaemon.cpp | 138 if (fscanf(fp, params, &cpu->utime, &cpu->ntime, in get_cpu_stat()
|
/system/extras/boottime_tools/bootio/ |
D | bootio_collector.cpp | 46 fscanf(file, "cpu %lu %lu %lu %lu %lu %lu %lu", &utime, &ntime, &stime, in PopulateCpu()
|
/system/core/libmeminfo/tools/ |
D | procrank.cpp | 65 if (fscanf(oomscore_fp.get(), "%d\n", &oomadj_) != 1) { in ProcessRecord()
|
/system/core/libnetutils/ |
D | ifc_utils.c | 388 while (fscanf(f, "%32s %*02x %02x %*02x %*02x %63s\n", in ifc_clear_ipv6_addresses()
|
/system/netd/server/ |
D | BandwidthController.cpp | 569 auto rv = sys.fscanf(file.value().get(), "%" SCNd64, bytes); in getInterfaceQuota()
|
/system/core/fs_mgr/ |
D | fs_mgr_verity.cpp | 416 n = fscanf(fp.get(), "%" STRINGIFY(METADATA_TAG_MAX_LENGTH) "s %u\n", tag, &length); in metadata_find()
|
/system/core/libunwindstack/tests/ |
D | UnwindOfflineTest.cpp | 137 ASSERT_EQ(2, fscanf(fp, "%s %" SCNx64 "\n", reg_name, &value)); in ReadRegs()
|