Lines Matching defs:line
480 * first line that starts with the given linestart string. Returns
481 * the rest of the line as a string if found.
485 * @param linestart Start of line, e.g. "serial number"
490 * of the line, e.g. ": 21805" if
492 * this line "serial number: 21805"
544 static char line[256];
549 if (linelen < sizeof (line)) {
551 strncpy (line, p, linelen);
552 line[linelen] = '\0';
554 if (strncmp (line, linestart, linestart_len) == 0) {
555 result = line + linestart_len;
572 gchar *line;
581 if (((line = hal_util_grep_file (directory, file, linestart, reuse)) == NULL) || (strlen (line) == 0))
584 tokens = g_strsplit_set (line, " \t:", 0);
631 * the line
643 * @param linestart Start of line, e.g. "design voltage"
671 * the line
683 * @param linestart Start of line, e.g. "design voltage"
721 * the line
729 * If, instead, the line was
739 * @param linestart Start of line, e.g. "design voltage"
751 gchar *line;
759 if (((line = hal_util_grep_file (directory, file, linestart, reuse)) == NULL) || (strlen (line) == 0))
762 tokens = g_strsplit_set (line, " \t:", 0);
1048 /*HAL_DEBUG ((" line = '%s'", lines[i]));*/