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.c1135 int atomlen, int firstnum, int secondnum, int special_case) in replace_repeat() argument
1141 int n_q_reps = secondnum-firstnum; /* m>n, so reduce until {1,m-n} left */ in replace_repeat()
1200 int atomlen, int firstnum, int secondnum) in repeat() argument
1209 if (secondnum < 0) { /* means {n,} -> repeat n-1 times followed by PLUS */ in repeat()
1215 firstnum, secondnum, REPEAT_PLUS_APPENDED); in repeat()
1217 } else if (firstnum == secondnum) { /* {n} or {n,n} -> simply repeat n-1 times */ in repeat()
1223 firstnum, secondnum, REPEAT_ZERO); in repeat()
1226 firstnum, secondnum, REPEAT_SIMPLE); in repeat()
1228 } else if (firstnum < secondnum) { /* {n,m} -> repeat n-1 times then alternate */ in repeat()
1231 firstnum, secondnum, REPEAT_WITH_Q); in repeat()