Lines Matching refs:fp
64 FILE *fp, char *&line, size_t &len) { in parseState() argument
69 while ((numFieldsRead < numFields) && (getline(&line, &len, fp) != -1)) { in parseState()
100 static auto findNext(const std::vector<T> &collection, FILE *fp, char *&line, size_t &len, in findNext() argument
107 while (getline(&line, &len, fp) != -1) { in findNext()
120 const std::vector<std::pair<uint32_t, StateResidencyConfig>> &stateResidencyConfigs, FILE *fp, in getStateData() argument
136 stateResidencyConfigs, fp, line, len, pred)) != endState) { in getStateData()
139 if (parseState(data, nextState->second, fp, line, len)) { in getStateData()
158 std::unique_ptr<FILE, decltype(&fclose)> fp(fopen(mPath.c_str(), "r"), fclose); in getResults() local
159 if (!fp) { in getResults()
179 mPowerEntityConfigs, fp.get(), line, len, pred)) != endConfig) { in getResults()
182 if (getStateData(result, nextConfig->second.mStateResidencyConfigs, fp.get(), line, len)) { in getResults()