Home | History | Annotate | Download | only in rs6000

Lines Matching defs:lastpos

718   int lastpos = pos - 1;
719 while (lastpos < LINELEN - 1
720 && (isalnum (linebuf[lastpos + 1]) || linebuf[lastpos + 1] == '_'))
721 ++lastpos;
723 if (lastpos >= LINELEN - 1)
725 diag (lastpos, "line length overrun.\n");
729 if (lastpos < pos)
732 char *buf = (char *) malloc (lastpos - pos + 2);
733 memcpy (buf, &linebuf[pos], lastpos - pos + 1);
734 buf[lastpos - pos + 1] = '\0';
736 pos = lastpos + 1;
749 int lastpos = pos - 1;
750 while (lastpos < LINELEN - 1 && isdigit (linebuf[lastpos + 1]))
751 ++lastpos;
753 if (lastpos >= LINELEN - 1)
755 diag (lastpos, "line length overrun.\n");
759 if (lastpos < pos)
762 pos = lastpos + 1;
763 char *buf = (char *) malloc (lastpos - startpos + 2);
764 memcpy (buf, &linebuf[startpos], lastpos - startpos + 1);
765 buf[lastpos - startpos + 1] = '\0';
775 int lastpos = pos - 1;
776 while (lastpos < LINELEN - 1 && linebuf[lastpos + 1] != ']')
778 if (linebuf[lastpos + 1] == '\n')
780 ++lastpos;
783 if (lastpos >= LINELEN - 1)
785 diag (lastpos, "line length overrun.\n");
789 if (lastpos < pos)
792 char *buf = (char *) malloc (lastpos - pos + 2);
793 memcpy (buf, &linebuf[pos], lastpos - pos + 1);
794 buf[lastpos - pos + 1] = '\0';
796 pos = lastpos + 1;