Home
last modified time | relevance | path

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

/external/one-true-awk/
Db.c919 int atomlen, int firstnum, int secondnum, int special_case) in replace_repeat() argument
924 int init_q = (firstnum == 0); /* first added char will be ? */ in replace_repeat()
925 int n_q_reps = secondnum-firstnum; /* m>n, so reduce until {1,m-n} left */ in replace_repeat()
930 if (firstnum > 1) { /* add room for reps 2 through firstnum */ in replace_repeat()
931 size += atomlen*(firstnum-1); in replace_repeat()
951 for (i = 1; i < firstnum; i++) { /* copy x reps */ in replace_repeat()
987 int atomlen, int firstnum, int secondnum) in repeat() argument
997 if (firstnum < 2) { in repeat()
1002 firstnum, secondnum, REPEAT_PLUS_APPENDED); in repeat()
1004 } else if (firstnum == secondnum) { /* {n} or {n,n} -> simply repeat n-1 times */ in repeat()
[all …]