Lines Matching full:factor
1 /* factor.c - Factor integers
5 * See https://man7.org/linux/man-pages/man1/factor.1.html
7 USE_FACTOR(NEWTOY(factor, 0, TOYFLAG_USR|TOYFLAG_BIN))
9 config FACTOR
10 bool "factor"
13 usage: factor NUMBER...
15 Factor integers.
20 static void factor(char *s) in factor() function
42 // Negative numbers have -1 as a factor in factor()
78 if (toys.optc) for (ss = toys.optargs; *ss; ss++) factor(*ss); in factor_main()
81 factor(s); in factor_main()