Home
last modified time | relevance | path

Searched refs:kflag (Results 1 – 25 of 49) sorted by relevance

12

/openbsd/usr.sbin/kgmon/
H A Dkgmon.c64 int bflag, cflag, hflag, kflag, rflag, pflag; variable
91 kflag = 1; in main()
136 ++kflag; in main()
185 if (!kflag) { in openfiles()
249 if (kflag) { in getprof()
278 if (!kflag) { in setprof()
341 if (kflag) { in dumpstate()
364 if (kflag) { in dumpstate()
380 if (kflag) { in dumpstate()
427 if (kflag) { in getprofhz()
[all …]
/openbsd/usr.bin/mg/
H A Dyank.c116 kchunk(char *cp1, RSIZE chunk, int kflag) in kchunk() argument
123 kflag = KFORW; in kchunk()
125 if (kflag & KFORW) { in kchunk()
127 if (kgrow(kflag) == FALSE) in kchunk()
131 } else if (kflag & KBACK) { in kchunk()
133 if (kgrow(kflag) == FALSE) in kchunk()
/openbsd/gnu/usr.bin/cvs/src/
H A Dadmin.c93 char *kflag; member
364 if (admin_data.kflag != NULL)
369 admin_data.kflag = RCS_check_kflag (optarg);
499 if (admin_data.kflag != NULL)
500 send_arg (admin_data.kflag);
528 if (admin_data.kflag != NULL)
529 free (admin_data.kflag);
684 if (admin_data->kflag != NULL)
686 char *kflag = admin_data->kflag + 2; local
688 if (oldexpand == NULL || strcmp (oldexpand, kflag) != 0)
[all …]
/openbsd/usr.bin/du/
H A Ddu.c64 int Hflag, Lflag, cflag, hflag, kflag; in main() local
73 Hflag = Lflag = cflag = hflag = kflag = listfiles = 0; in main()
105 kflag = 0; in main()
108 kflag = 1; in main()
155 else if (kflag) in main()
/openbsd/usr.bin/rcs/
H A Drcsclean.c43 static int kflag = RCS_KWEXP_ERR; variable
61 kflag = rcs_kflag_get(rcs_optarg); in rcsclean_main()
62 if (RCS_KWEXP_INVAL(kflag)) { in rcsclean_main()
156 rcs_kwexp_set(file, kflag); in rcsclean_file()
H A Drcsmerge.c40 int fd, ch, flags, kflag, status; in rcsmerge_main() local
67 kflag = rcs_kflag_get(rcs_optarg); in rcsmerge_main()
68 if (RCS_KWEXP_INVAL(kflag)) { in rcsmerge_main()
H A Dco.c49 int fd, i, ch, flags, kflag, ret; in checkout_main() local
58 kflag = RCS_KWEXP_ERR; in checkout_main()
77 kflag = rcs_kflag_get(rcs_optarg); in checkout_main()
78 if (RCS_KWEXP_INVAL(kflag)) { in checkout_main()
169 if ((flags & CO_LOCK) && (kflag & RCS_KWEXP_VAL)) { in checkout_main()
182 rcs_kwexp_set(file, kflag); in checkout_main()
H A Drcsprog.c185 int i, j, ch, flags, kflag, lkmode; in rcs_main() local
196 kflag = RCS_KWEXP_ERR; in rcs_main()
232 kflag = rcs_kflag_get(rcs_optarg); in rcs_main()
233 if (RCS_KWEXP_INVAL(kflag)) { in rcs_main()
433 rcs_kwexp_set(file, kflag); in rcs_main()
H A Drcsdiff.c45 static int kflag = RCS_KWEXP_ERR; variable
116 kflag = rcs_kflag_get(rcs_optarg); in rcsdiff_main()
117 if (RCS_KWEXP_INVAL(kflag)) { in rcsdiff_main()
223 rcs_kwexp_set(file, kflag); in rcsdiff_main()
/openbsd/usr.bin/compress/
H A Dznew62 if test $kflag -eq 1 && smaller "$filez" "$tmp"; then
103 kflag=0
115 K) kflag=1;;
/openbsd/usr.bin/tmux/
H A Dcmd-move-window.c70 int idx, kflag, dflag, sflag, before; in cmd_move_window_exec() local
89 kflag = args_has(args, 'k'); in cmd_move_window_exec()
103 if (server_link_window(src, wl, dst, idx, kflag, !dflag, &cause) != 0) { in cmd_move_window_exec()
/openbsd/regress/usr.bin/cvs/
H A DMakefile40 cvs-checkout-kflag-k-rflag-HEAD \
59 cvs-checkout-kflag-kv-rflag-1.1 \
60 cvs-update-Aflag-kflag-kv \
61 cvs-update-Aflag-kflag-k-rflag-1.1 \
127 test-cvs-checkout-kflag-k-rflag-HEAD:
138 test-cvs-checkout-kflag-kv-rflag-1.1:
294 test-cvs-update-Aflag-kflag-kv:
299 test-cvs-update-Aflag-kflag-k-rflag-1.1:
/openbsd/usr.bin/cvs/
H A Dimport.c85 kflag = rcs_kflag_get(koptstr); in cvs_import()
86 if (RCS_KWEXP_INVAL(kflag)) { in cvs_import()
135 if (kflag) in cvs_import()
379 if (kflag) in import_new()
380 rcs_kwexp_set(cf->file_rcs, kflag); in import_new()
449 if (kflag) in import_update()
450 rcs_kwexp_set(cf->file_rcs, kflag); in import_update()
H A Dupdate.c108 kflag = rcs_kflag_get(koptstr); in cvs_update()
109 if (RCS_KWEXP_INVAL(kflag)) { in cvs_update()
158 if (kflag) in cvs_update()
345 if (kflag && cf->file_rcs != NULL) in cvs_update_local()
346 rcs_kwexp_set(cf->file_rcs, kflag); in cvs_update_local()
385 if (kflag) in cvs_update_local()
395 if ((kflag && (kflag != ent_kflag)) || in cvs_update_local()
H A Dadmin.c90 kflag = rcs_kflag_get(koptstr); in cvs_admin()
91 if (RCS_KWEXP_INVAL(kflag)) { in cvs_admin()
321 if (kflag) { in cvs_admin_local()
324 rcs_kwexp_set(cf->file_rcs, kflag); in cvs_admin_local()
H A Dcheckout.c121 kflag = rcs_kflag_get(koptstr); in cvs_checkout()
122 if (RCS_KWEXP_INVAL(kflag)) { in cvs_checkout()
196 kflag = rcs_kflag_get(koptstr); in cvs_export()
197 if (RCS_KWEXP_INVAL(kflag)) { in cvs_export()
258 if (kflag) in checkout_check_repository()
592 if (kflag || cf_kflag != RCS_KWEXP_DEFAULT) in cvs_checkout_file()
H A Dadd.c40 int kflag = 0; variable
69 kflag = rcs_kflag_get(optarg); in cvs_add()
70 if (RCS_KWEXP_INVAL(kflag)) { in cvs_add()
99 if (kflag) in cvs_add()
552 cvs_ent_line_str(cf->file_name, "0", tbuf, kflag ? kbuf : "", in add_entry()
H A Ddiff.c130 kflag = rcs_kflag_get(koptstr); in cvs_diff()
131 if (RCS_KWEXP_INVAL(kflag)) { in cvs_diff()
226 if (kflag) in cvs_diff()
381 if (kflag && cf->file_rcs != NULL) in cvs_diff_local()
382 rcs_kwexp_set(cf->file_rcs, kflag); in cvs_diff_local()
/openbsd/sbin/swapctl/
H A Dswapctl.c96 int kflag; /* display in 1K blocks */ variable
148 kflag = 1; in main()
216 list_swap(pri, kflag, pflag, 1); in main()
220 list_swap(pri, kflag, pflag, 0); in main()
H A Dswaplist.c46 list_swap(int pri, int kflag, int pflag, int dolong) in list_swap() argument
70 if (kflag) { in list_swap()
/openbsd/usr.bin/pctr/
H A Dpctr.c51 static int cflag, eflag, iflag, kflag, uflag; variable
99 kflag = 1; in main()
441 if (kflag) in pctr_set_cntr()
445 if (func && (!kflag && !uflag)) in pctr_set_cntr()
488 if (kflag) in pctr_set_cntr()
492 if (func && (!kflag && !uflag)) in pctr_set_cntr()
/openbsd/bin/df/
H A Ddf.c67 int hflag, iflag, kflag, lflag, nflag, Pflag; variable
87 kflag = 0; in main()
93 kflag = 1; in main()
356 if (kflag) { in bsdprint()
393 if (kflag) { in posixprint()
/openbsd/usr.bin/csplit/
H A Dcsplit.c77 int kflag; /* Keep output if error occurs */ variable
106 kflag = sflag = 0; in main()
115 kflag = 1; in main()
145 if (!kflag) { in main()
/openbsd/bin/ps/
H A Dps.c102 int prtheader, showthreads, wflag, kflag, what, Uflag, xflg; in main() local
123 all = fmt = prtheader = showthreads = wflag = kflag = Uflag = xflg = 0; in main()
164 kflag = 1; in main()
349 } else if (kflag) { in main()
/openbsd/usr.bin/sort/
H A Dsort.h65 bool kflag; member

12