Home
last modified time | relevance | path

Searched refs:secondnum (Results 1 – 1 of 1) sorted by relevance

/freebsd/contrib/one-true-awk/
H A Db.c1148 int atomlen, int firstnum, int secondnum, int special_case) in replace_repeat() argument
1154 int n_q_reps = secondnum-firstnum; /* m>n, so reduce until {1,m-n} left */ in replace_repeat()
1213 int atomlen, int firstnum, int secondnum) in repeat() argument
1222 if (secondnum < 0) { /* means {n,} -> repeat n-1 times followed by PLUS */ in repeat()
1228 firstnum, secondnum, REPEAT_PLUS_APPENDED); in repeat()
1230 } else if (firstnum == secondnum) { /* {n} or {n,n} -> simply repeat n-1 times */ in repeat()
1236 firstnum, secondnum, REPEAT_ZERO); in repeat()
1239 firstnum, secondnum, REPEAT_SIMPLE); in repeat()
1241 } else if (firstnum < secondnum) { /* {n,m} -> repeat n-1 times then alternate */ in repeat()
1244 firstnum, secondnum, REPEAT_WITH_Q); in repeat()