• Home
  • Raw
  • Download

Lines Matching refs:file_contents

185     std::string file_contents;  in ReadFileToUint()  local
187 if (!ReadFileToString(path, &file_contents)) { in ReadFileToUint()
194 file_contents = android::base::Trim(file_contents); in ReadFileToUint()
195 if (!android::base::ParseUint(file_contents, val)) { in ReadFileToUint()
223 std::string file_contents; in ReadFileToLongs() local
225 if (!ReadFileToString(path, &file_contents)) { in ReadFileToLongs()
233 file_contents = android::base::Trim(file_contents); in ReadFileToLongs()
234 std::vector<std::string> words = android::base::Tokenize(file_contents, delim); in ReadFileToLongs()
309 std::string file_contents; in readSysfsNameValue() local
312 if (!ReadFileToString(path, &file_contents)) { in readSysfsNameValue()
317 std::istringstream data(file_contents); in readSysfsNameValue()
759 std::string file_contents; in findPidByProcessName() local
761 if (!ReadFileToString(path, &file_contents)) in findPidByProcessName()
764 file_contents = android::base::Trim(file_contents); in findPidByProcessName()
765 if (file_contents.compare(name)) in findPidByProcessName()
783 std::string file_contents; in getStimeByPathAndVerifyName() local
784 if (!ReadFileToString(path, &file_contents)) { in getStimeByPathAndVerifyName()
789 std::vector<std::string> data = android::base::Split(file_contents, " "); in getStimeByPathAndVerifyName()
882 uint64_t file_contents; in readCmaStat() local
887 if (!ReadFileToUint(getSysfsPath(path.c_str()), &file_contents)) in readCmaStat()
889 cma_stat[entry.name] = file_contents; in readCmaStat()
1083 std::string file_contents; in readPressureStall() local
1086 if (!ReadFileToString(path, &file_contents)) { in readPressureStall()
1094 file_contents, store, file_save_idx)) in readPressureStall()