Lines Matching defs:line
44 #define HIST_LINE 32 /* typical length for history line */
886 * each new-line character is replaced with string <nl>.
915 * find index for last line with given string
916 * If flag==0 then line must begin with string
931 /* leading ^ means beginning of line unless escaped */
976 * If coffset==0 then line must begin with string
977 * returns the line number of the match if successful, otherwise -1
983 register int m,n,c=1,line=0;
998 return(line);
1003 line++;
1020 * line=linenumber for emacs copy and only this line of command will be copied
1021 * line < 0 for full command copy
1025 int hist_copy(char *s1,int size,int command,int line)
1038 if(count++ ==line)
1040 else if(line >= 0)
1043 if(s1 && (line<0 || line==count))
1103 * given the current command and line number,
1105 * compute the new command and line number.
1108 Histloc_t hist_locate(History_t *hp,register int command,register int line,int lines)
1111 line += lines;
1123 if(count > line)
1125 line -= count;
1134 if(line >=0)
1138 line += hist_copy(NIL(char*),0, command,-1);
1143 next.hist_line = line;