Lines Matching defs:line

608  *			the title line for this BEs entry.
622 char line[BUFSIZ];
708 while (fgets(line, BUFSIZ, menu_fp)) {
711 (void) strlcpy(temp_line, line, BUFSIZ);
712 tok = strtok(line, BE_WHITE_SPACE);
749 * Store the new title line
757 * and the bootfs line store these. Also
767 * Store the new bootfs line.
780 if (strstr(line, BE_GRUB_COMMENT) != NULL ||
781 strstr(line, "BOOTADM") != NULL)
1039 /* Tokenize line */
1043 /* Found empty line or comment line */
1045 /* Buffer this line */
1059 /* Write this line out */
1076 * If we've reached a 'title' line and do_buffer is
1099 /* Buffer this 'title' line */
1114 * Found a 'bootfs' line. See if it matches the
1122 * write out the line(s) we've buffered since
1141 /* Write this 'bootfs' line out. */
1166 /* Buffer this line */
1178 /* Write this line out */
1270 /* Tokenize line */
1274 /* Found empty line, write it out */
1277 /* Found the default line, adjust it */
1370 char line[BUFSIZ];
1437 while (fgets(line, BUFSIZ, menu_fp)) {
1438 char *tok = strtok(line, BE_WHITE_SPACE);
1526 char line[BUFSIZ];
1637 while (fgets(line, BUFSIZ, grub_fp)) {
1638 char *tok = strtok(line, BE_WHITE_SPACE);
1667 while (fgets(line, BUFSIZ, grub_fp)) {
1670 (void) strncpy(temp_line, line, BUFSIZ);
1678 (void) fputs(line, temp_fp);
1760 char line[BUFSIZ];
1879 while (fgets(line, BUFSIZ, menu_fp)) {
1884 (void) strlcpy(tline, line, sizeof (tline));
1886 /* Tokenize line */
1890 /* Found empty line, write it out. */
1891 (void) fputs(line, new_fp);
1893 /* Found a comment line, write it out. */
1894 (void) fputs(line, new_fp);
1900 * Found a 'title' line, parse out BE name or
1908 * this line through
1910 (void) fputs(line, new_fp);
1939 (void) fputs(line, new_fp);
1944 * Found a 'bootfs' line, parse out the BE root
1952 * this line through
1954 (void) fputs(line, new_fp);
1967 (void) fputs(line, new_fp);
1972 * Found some other line we don't care
1975 (void) fputs(line, new_fp);
2040 char line[BUFSIZ];
2103 while (fgets(line, BUFSIZ, menu_fp)) {
2104 char *tok = strtok_r(line, BE_WHITE_SPACE, &last);
2115 * will always be the first line for
3512 * If line is a comment line, just put
3518 * Else line is a vfstab entry, grab it
3934 * If console is redirected to serial line,
3950 "console on serial line, "