Home
last modified time | relevance | path

Searched refs:fscanf (Results 1 – 12 of 12) sorted by relevance

/system/extras/ext4_utils/
Dblk_alloc_to_base_fs.cpp55 if (fscanf(blk_alloc_file, "Base EXT4 version %" ___STRING(MAX_FILE_VERSION) "s", in main()
69 while (fscanf(blk_alloc_file, "%" ___STRING(MAX_PATH) "s ", filename) != EOF) { in main()
/system/extras/cpustats/
Dcpustats.c230 fscanf(file, "%lu %*d\n", &freq); in get_freq_scales_count()
248 fscanf(file, "cpu %lu %lu %lu %lu %lu %lu %lu %*d %*d %*d\n", &new_total_cpu.utime, in read_stats()
259 fscanf(file, scanline, &new_cpus[i].utime, &new_cpus[i].ntime, &new_cpus[i].stime, in read_stats()
279 fscanf(file, "%u %lu\n", &new_cpus[cpu].freqs[i].freq, &new_cpus[cpu].freqs[i].time); in read_freq_stats()
/system/memory/libmeminfo/
Dlibmeminfo_benchmark.cpp245 int matched = fscanf(f, "%*d %*d %" SCNu64 " %*d %*d %*d %*d", &mem_used_total); in get_zram_mem_used()
257 int matched = fscanf(f, "%" SCNu64, &mem_used_total); in get_zram_mem_used()
Dsysmeminfo.cpp183 if (fscanf(mmstat_fp.get(), "%*" SCNu64 " %*" SCNu64 " %" SCNu64, mem_zram_dev) != 1) { in MemZramDevice()
/system/netd/libnetdutils/include/netdutils/
DSyscalls.h107 StatusOr<int> fscanf(FILE* file, const char* format, ...) const { in fscanf() function
/system/extras/ANRdaemon/
DANRdaemon.cpp129 if (fscanf(fp, params, &cpu->utime, &cpu->ntime, &cpu->stime, &cpu->itime, &cpu->iowtime, in get_cpu_stat()
/system/extras/boottime_tools/bootio/
Dbootio_collector.cpp46 fscanf(file, "cpu %lu %lu %lu %lu %lu %lu %lu", &utime, &ntime, &stime, in PopulateCpu()
/system/core/libprocessgroup/
Dprocessgroup.cpp293 while (fscanf(fd.get(), "%d\n", &pid) == 1 && pid >= 0) { in DoKillProcessGroupOnce()
/system/netd/server/
DBandwidthController.cpp523 auto rv = sys.fscanf(file.value().get(), "%" SCNd64, bytes); in getInterfaceQuota()
/system/memory/libmeminfo/tools/
Dprocrank.cpp65 if (fscanf(oomscore_fp.get(), "%d\n", &oomadj_) != 1) { in ProcessRecord()
/system/core/libnetutils/
Difc_utils.c390 while (fscanf(f, "%32s %*02x %02x %*02x %*02x %63s\n", in ifc_clear_ipv6_addresses()
/system/unwinding/libunwindstack/tests/
DUnwindOfflineTest.cpp144 ASSERT_EQ(2, fscanf(fp, "%s %" SCNx64 "\n", reg_name, &value)); in ReadRegs()