Lines Matching refs:ifs
147 bool GetAndSplitLine(std::ifstream& ifs, std::vector<std::string>* pieces) {
150 ifs.getline(buf, 256);
155 void SkipLines(std::ifstream& ifs, int num_lines) {
158 ifs.getline(buf, 256);
165 std::ifstream ifs(filename.c_str(), std::ifstream::in);
168 SkipLines(ifs, 24);
169 GetAndSplitLine(ifs, &pieces);
172 GetAndSplitLine(ifs, &pieces);
175 GetAndSplitLine(ifs, &pieces);
178 SkipLines(ifs, 4);
179 GetAndSplitLine(ifs, &pieces);
181 SkipLines(ifs, 8);
185 GetAndSplitLine(ifs, &pieces);
202 GetAndSplitLine(ifs, &pieces);
211 SkipLines(ifs, 1);
212 GetAndSplitLine(ifs, &pieces);
216 SkipLines(ifs, 18 - kNumParameters);
218 GetAndSplitLine(ifs, &pieces);