Lines Matching refs:input
47 std::ifstream input(SYSTIME_PATH, std::ios::in);
48 CHECK_TRUE(!input.fail(), systime, "%s:open %s failed, errno = %d", __func__, SYSTIME_PATH, errno);
50 if (!input.good()) {
54 getline(input, line);
65 input.close();
83 std::ifstream input(CPU_PATH, std::ios::in);
84 CHECK_TRUE(!input.fail(), false, "%s: open %s failed, errno = %d", __func__, CPU_PATH, errno);
86 if (!input.good()) {
90 getline(input, line);
97 } while (!input.eof());
98 input.close();
141 std::ifstream input(DISKSTATS_PATH, std::ios::in);
142 CHECK_TRUE(!input.fail(), false, "%s:%d open failed, errno = %d", __func__, __LINE__, errno);
144 if (!input.good()) {
148 getline(input, line);
151 } while (!input.eof());
152 input.close();