Lines Matching defs:line
45 string line;
186 // parse line by line
187 while (reader.readLine(&line)) {
188 if (line.empty()) continue;
190 line = line.substr(1, line.size() - 2); // trim []
191 size_t index = line.find(LINE_DELIMITER); // split by "]: ["
193 fprintf(stderr, "Bad Line %s\n", line.c_str());
196 name = line.substr(0, index);
197 value = trim(line.substr(index + 4), DEFAULT_WHITESPACE);
216 if (!reader.ok(&line)) {
217 fprintf(stderr, "Bad read from fd %d: %s\n", in, line.c_str());