Home
last modified time | relevance | path

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

/freebsd/usr.bin/split/
H A Dsplit.c57 static long numlines; /* Line count to split on. */ variable
91 if (numlines != 0) in main()
93 numlines = ch - '0'; in main()
95 while (numlines >= 0 && *p >= '0' && *p <= '9') in main()
96 numlines = numlines * 10 + *p++ - '0'; in main()
97 if (numlines <= 0 || *p != '\0') in main()
127 if (numlines != 0) in main()
129 numlines = strtonum(optarg, 1, LONG_MAX, &errstr); in main()
179 if (pflag && (numlines ! in main()
[all...]
/freebsd/lib/libdpv/
H A Ddprompt.c112 int numlines; in dprompt_init() local
141 numlines = dialog_prompt_numlines(pprompt, 0); in dprompt_init()
143 warnx("`-p text' is %i line%s long", numlines, in dprompt_init()
144 numlines == 1 ? "" : "s"); in dprompt_init()
145 dheight += numlines; in dprompt_init()
162 nthfile = numlines = 0; in dprompt_init()
168 numlines += dialog_prompt_numlines(curfile->name, nls); in dprompt_init()
170 if (numlines > fheight) in dprompt_init()
171 fheight = numlines; in dprompt_init()
172 numlines = nthfile = 0; in dprompt_init()
[all …]
/freebsd/contrib/diff/src/
H A Ddiff3.c842 lin numlines; in create_diff3_block() local
856 numlines = D_NUMLINES (result, FILE0); in create_diff3_block()
857 if (numlines) in create_diff3_block()
859 D_LINEARRAY (result, FILE0) = xcalloc (numlines, sizeof (char *)); in create_diff3_block()
860 D_LENARRAY (result, FILE0) = xcalloc (numlines, sizeof (size_t)); in create_diff3_block()
868 numlines = D_NUMLINES (result, FILE1); in create_diff3_block()
869 if (numlines) in create_diff3_block()
871 D_LINEARRAY (result, FILE1) = xcalloc (numlines, sizeof (char *)); in create_diff3_block()
872 D_LENARRAY (result, FILE1) = xcalloc (numlines, sizeof (size_t)); in create_diff3_block()
880 numlines = D_NUMLINES (result, FILE2); in create_diff3_block()
[all …]
/freebsd/contrib/dialog/
H A Dutil.c1469 int numlines = 2; in dlg_auto_sizefile() local
1513 *height = MIN(SLINES, count + numlines + boxlines); in dlg_auto_sizefile()