Lines Matching defs:line
197 * original line is also preserved. Used in parsing and updating the
210 static int line = 0;
215 line = 0;
217 line++;
223 item->lineno = line;
250 item->lineno = line;
366 * remdfsline(list, line)
368 * Remove the line specified from the list.
372 remdfsline(xfs_sharelist_t *list, char *line)
382 if (strcmp(item->origline, line) == 0)
532 * sa_comment_line(line, err)
535 * original line.
539 sa_comment_line(char *line, char *err)
555 * gone to NULL if the file only had one line in it.
557 list = remdfsline(list, line);
559 (void) fprintf(dfstab, "# Error: %s: %s", err, line);
756 * add_syntax_comment(root, line, err, todfstab)
763 add_syntax_comment(xmlNodePtr root, char *line, char *err, int todfstab)
767 node = xmlNewChild(root, NULL, (xmlChar *)"error", (xmlChar *)line);
771 sa_comment_line(line, err);
1091 * Open and read the existing dfstab, parsing each line and adding it
1127 * Comment line that we will likely skip.
1128 * If the line has the syntax:
1134 char *line;
1137 line = strdup(list->description);
1138 if (line != NULL) {
1139 error = line + 9;
1150 free(line);
1165 "line %d: %s\n"),
1179 "Unknown group used in dfstab: line %d: %s\n"),
1212 "Error in dfstab: line %d: %s\n"),
1227 "dfstab: line %d: %s\n"),