Lines Matching refs:line
43 char *line = nullptr; in DisplayMrrStateResidencyDataProvider() local
46 while (getline(&line, &len, fp.get()) != -1) { in DisplayMrrStateResidencyDataProvider()
47 if (parseAvailableState(line, &config)) { in DisplayMrrStateResidencyDataProvider()
50 PLOG(ERROR) << "Failed to parse display config for [" << std::string(line) in DisplayMrrStateResidencyDataProvider()
56 free(line); in DisplayMrrStateResidencyDataProvider()
63 char const *line, Config *config, uint64_t *duration) { in parseConfig() argument
64 std::vector<std::string> parts = Split(line, " "); in parseConfig()
83 char const *line, Config *config) { in parseAvailableState() argument
84 return parseConfig(line, config, nullptr); in parseAvailableState()
88 char const *line, Config *config, uint64_t *duration) { in parseTimeInState() argument
89 return parseConfig(line, config, duration); in parseTimeInState()
112 char *line = nullptr; in getStateResidencies() local
117 while (getline(&line, &len, fp.get()) != -1) { in getStateResidencies()
118 if (parseTimeInState(line, &config, &duration)) { in getStateResidencies()
123 LOG(ERROR) << "Failed to find config for [" << std::string(line) in getStateResidencies()
127 LOG(ERROR) << "Failed to parse state and duration from [" << std::string(line) << "]"; in getStateResidencies()
128 free(line); in getStateResidencies()
135 free(line); in getStateResidencies()