/openbsd/sys/arch/powerpc/ddb/ |
H A D | db_disasm.c | 611 strlcat (disasm_buf, lbuf, bufsize); in disasm_process_field() 626 strlcat (disasm_buf, "a", bufsize); in disasm_process_field() 664 strlcat (disasm_buf, lbuf, bufsize); in disasm_process_field() 719 strlcat (disasm_buf, ",", bufsize); in disasm_process_field() 729 strlcat (disasm_buf, in disasm_process_field() 743 strlcat (disasm_buf, lbuf, bufsize); in disasm_process_field() 751 strlcat (disasm_buf, lbuf, bufsize); in disasm_process_field() 764 strlcat (disasm_buf, "l", bufsize); in disasm_process_field() 796 strlcat (disasm_buf, "o", bufsize); in disasm_process_field() 801 strlcat (disasm_buf, ".", bufsize); in disasm_process_field() [all …]
|
/openbsd/sys/arch/powerpc64/powerpc64/ |
H A D | db_disasm.c | 611 strlcat (disasm_buf, lbuf, bufsize); in disasm_process_field() 626 strlcat (disasm_buf, "a", bufsize); in disasm_process_field() 664 strlcat (disasm_buf, lbuf, bufsize); in disasm_process_field() 719 strlcat (disasm_buf, ",", bufsize); in disasm_process_field() 729 strlcat (disasm_buf, in disasm_process_field() 743 strlcat (disasm_buf, lbuf, bufsize); in disasm_process_field() 751 strlcat (disasm_buf, lbuf, bufsize); in disasm_process_field() 764 strlcat (disasm_buf, "l", bufsize); in disasm_process_field() 796 strlcat (disasm_buf, "o", bufsize); in disasm_process_field() 801 strlcat (disasm_buf, ".", bufsize); in disasm_process_field() [all …]
|
/openbsd/usr.sbin/ldapd/ |
H A D | schema.c | 167 strlcat(oid, ".", sz); in lookup_symbolic_oid() 168 strlcat(oid, colon + 1, sz); in lookup_symbolic_oid() 1115 strlcat(buf, desc, size) >= size) in schema_dump_names() 1123 strlcat(buf, "'", size) >= size) in schema_dump_names() 1133 if (strlcat(buf, ")", size) >= size) in schema_dump_names() 1150 strlcat(buf, desc, size) >= size) in schema_dump_attrlist() 1171 if (strlcat(buf, ")", size) >= size) in schema_dump_attrlist() 1188 strlcat(buf, desc, size) >= size) in schema_dump_objlist() 1208 if (strlcat(buf, ")", size) >= size) in schema_dump_objlist() 1228 strlcat(buf, "'", size) >= size) in schema_dump_object() [all …]
|
/openbsd/usr.sbin/smtpd/ |
H A D | to.c | 200 (void)strlcat(dst, buf, sizeof dst); in duration_to_text() 204 (void)strlcat(dst, buf, sizeof dst); in duration_to_text() 208 (void)strlcat(dst, buf, sizeof dst); in duration_to_text() 212 (void)strlcat(dst, buf, sizeof dst); in duration_to_text() 420 (void)strlcat(buf, " !", sizeof buf); in rule_to_text() 427 (void)strlcat(buf, " !", sizeof buf); in rule_to_text() 433 (void)strlcat(buf, " ", sizeof buf); in rule_to_text() 449 (void)strlcat(buf, " !", sizeof buf); in rule_to_text() 462 (void)strlcat(buf, " !", sizeof buf); in rule_to_text() 469 (void)strlcat(buf, " !", sizeof buf); in rule_to_text() [all …]
|
H A D | ioev.c | 597 (void)strlcat(buf, "rw", sizeof buf); in io_strflags() 600 (void)strlcat(buf, "R", sizeof buf); in io_strflags() 603 (void)strlcat(buf, "W", sizeof buf); in io_strflags() 606 (void)strlcat(buf, "RW", sizeof buf); in io_strflags() 611 (void)strlcat(buf, ",F_PI", sizeof buf); in io_strflags() 613 (void)strlcat(buf, ",F_PO", sizeof buf); in io_strflags() 641 (void)strlcat(buf, "|", sizeof(buf)); in io_evstr() 649 (void)strlcat(buf, "|", sizeof(buf)); in io_evstr() 657 (void)strlcat(buf, "|", sizeof(buf)); in io_evstr() 665 (void)strlcat(buf, "|", sizeof(buf)); in io_evstr() [all …]
|
H A D | expand.c | 42 (void)strlcat(buf, ", ", sz); in expand_to_text() 43 if (strlcat(buf, expandnode_to_text(xn), sz) >= sz) in expand_to_text() 289 (void)strlcat(buffer, ":", sizeof buffer); in expandnode_info() 290 if (strlcat(buffer, value, sizeof buffer) >= sizeof buffer) in expandnode_info() 294 if (strlcat(buffer, tmp, sizeof buffer) >= sizeof buffer) in expandnode_info() 298 if (strlcat(buffer, tmp, sizeof buffer) >= sizeof buffer) in expandnode_info() 303 if (strlcat(buffer, tmp, sizeof buffer) >= sizeof buffer) in expandnode_info() 307 if (strlcat(buffer, "]", sizeof buffer) >= sizeof buffer) in expandnode_info()
|
/openbsd/sbin/ttyflags/ |
H A D | ttyflags.c | 172 (void)strlcat(strflags, "local", sizeof strflags); in ttyflags() 178 (void)strlcat(strflags, "|", sizeof strflags); in ttyflags() 179 (void)strlcat(strflags, "rtscts", sizeof strflags); in ttyflags() 184 (void)strlcat(strflags, "|", sizeof strflags); in ttyflags() 190 (void)strlcat(strflags, "|", sizeof strflags); in ttyflags() 191 (void)strlcat(strflags, "mdmbuf", sizeof strflags); in ttyflags() 222 (void)strlcat(strflags, "local", sizeof strflags); in ttyflags() 227 (void)strlcat(strflags, "|", sizeof strflags); in ttyflags() 228 (void)strlcat(strflags, "rtscts", sizeof strflags); in ttyflags() 232 (void)strlcat(strflags, "|", sizeof strflags); in ttyflags() [all …]
|
/openbsd/games/hack/ |
H A D | hack.objnam.c | 226 strlcat(buf, "s", len); in xname() 231 strlcat(buf, un, len); in xname() 233 strlcat(buf, " of ", len); in xname() 234 strlcat(buf, an, len); in xname() 245 strlcat(buf, "s", len); in xname() 249 strlcat(buf, " of ", len); in xname() 250 strlcat(buf, an, len); in xname() 253 strlcat(buf, un, len); in xname() 256 strlcat(buf, dn, len); in xname() 290 strlcat(buf, " stone", len); in xname() [all …]
|
H A D | hack.options.c | 247 (void) strlcat(buf, flags.female ? "female," : "male,", sizeof buf); in doset() 248 if(flags.standout) (void) strlcat(buf,"standout,", sizeof buf); in doset() 249 if(flags.nonull) (void) strlcat(buf,"nonull,", sizeof buf); in doset() 250 if(flags.nonews) (void) strlcat(buf,"nonews,", sizeof buf); in doset() 251 if(flags.time) (void) strlcat(buf,"time,", sizeof buf); in doset() 252 if(flags.notombstone) (void) strlcat(buf,"notombstone,", sizeof buf); in doset() 254 (void) strlcat(buf,"!rest_on_space,", sizeof buf); in doset() 259 if(flags.end_own) (void) strlcat(buf, "/own scores", sizeof buf); in doset()
|
/openbsd/usr.sbin/tcpdump/ |
H A D | pfctl_osfp.c | 502 strlcat(buf, " ", len); in pfctl_lookup_fingerprint() 506 strlcat(buf, " ", len); in pfctl_lookup_fingerprint() 509 strlcat(buf, ".", len); in pfctl_lookup_fingerprint() 511 strlcat(buf, " ", len); in pfctl_lookup_fingerprint() 1013 strlcat(buf, ":", sizeof(buf)); in print_ioctl() 1016 strlcat(buf, tmp, sizeof(buf)); in print_ioctl() 1017 strlcat(buf, ":", sizeof(buf)); in print_ioctl() 1023 strlcat(buf, ":", sizeof(buf)); in print_ioctl() 1033 strlcat(buf, ":", sizeof(buf)); in print_ioctl() 1079 strlcat(buf, ":", sizeof(buf)); in print_ioctl() [all …]
|
/openbsd/sbin/pfctl/ |
H A D | pfctl_osfp.c | 504 strlcat(buf, " ", len); in pfctl_lookup_fingerprint() 508 strlcat(buf, " ", len); in pfctl_lookup_fingerprint() 511 strlcat(buf, ".", len); in pfctl_lookup_fingerprint() 513 strlcat(buf, " ", len); in pfctl_lookup_fingerprint() 1016 strlcat(buf, ":", sizeof(buf)); in print_ioctl() 1019 strlcat(buf, tmp, sizeof(buf)); in print_ioctl() 1020 strlcat(buf, ":", sizeof(buf)); in print_ioctl() 1026 strlcat(buf, ":", sizeof(buf)); in print_ioctl() 1036 strlcat(buf, ":", sizeof(buf)); in print_ioctl() 1082 strlcat(buf, ":", sizeof(buf)); in print_ioctl() [all …]
|
/openbsd/usr.bin/rcs/ |
H A D | rcsdiff.c | 68 if (strlcat(diffargs, " -a", sizeof(diffargs)) >= in rcsdiff_main() 74 if (strlcat(diffargs, " -b", sizeof(diffargs)) >= in rcsdiff_main() 80 (void)strlcat(diffargs, " -C", sizeof(diffargs)); in rcsdiff_main() 91 if (strlcat(diffargs, " -c", sizeof(diffargs)) >= in rcsdiff_main() 97 if (strlcat(diffargs, " -d", sizeof(diffargs)) >= in rcsdiff_main() 103 if (strlcat(diffargs, " -i", sizeof(diffargs)) >= in rcsdiff_main() 109 (void)strlcat(diffargs, " -I", sizeof(diffargs)); in rcsdiff_main() 123 if (strlcat(diffargs, " -n", sizeof(diffargs)) >= in rcsdiff_main() 129 if (strlcat(diffargs, " -p", sizeof(diffargs)) >= in rcsdiff_main() 447 strlcat(diff_ignore_pats, "|", len); in push_ignore_pats() [all …]
|
/openbsd/usr.bin/stat/ |
H A D | stat.c | 720 (void)strlcat(smode, "*", in format1() 794 (void)strlcat(lfmt, "%", sizeof(lfmt)); in format1() 796 (void)strlcat(lfmt, "#", sizeof(lfmt)); in format1() 798 (void)strlcat(lfmt, " ", sizeof(lfmt)); in format1() 800 (void)strlcat(lfmt, "+", sizeof(lfmt)); in format1() 802 (void)strlcat(lfmt, "-", sizeof(lfmt)); in format1() 804 (void)strlcat(lfmt, "0", sizeof(lfmt)); in format1() 857 (void)strlcat(lfmt, tmp, sizeof(lfmt)); in format1() 874 (void)strlcat(buf, "0", blen); in format1() 883 (void)strlcat(lfmt, tmp, sizeof(lfmt)); in format1() [all …]
|
/openbsd/regress/lib/libc/dirname/ |
H A D | dirname_test.c | 27 strlcat(path, dir, sizeof(path)); in main() 28 strlcat(dname, dir, sizeof(dname)); in main() 29 strlcat(path, fname, sizeof(path)); in main() 64 strlcat(path, "/", sizeof(path)); /* path cleared above */ in main() 72 strlcat(path, dir, sizeof(path)); in main() 73 strlcat(path, fname, sizeof(path)); in main()
|
/openbsd/regress/lib/libc/basename/ |
H A D | basename_test.c | 24 strlcat(path, dir, sizeof(path)); in main() 25 strlcat(path, fname, sizeof(path)); in main() 60 strlcat(path, "/", sizeof(path)); /* path cleared above */ in main() 67 strlcat(path, dir, sizeof(path)); in main() 69 strlcat(path, fname, sizeof(path)); in main()
|
/openbsd/usr.bin/tmux/ |
H A D | key-string.c | 347 strlcat(out, "C-", sizeof out); in key_string_lookup_key() 349 strlcat(out, "M-", sizeof out); in key_string_lookup_key() 351 strlcat(out, "S-", sizeof out); in key_string_lookup_key() 415 strlcat(out, tmp, sizeof out); in key_string_lookup_key() 453 strlcat(out, tmp, sizeof out); in key_string_lookup_key() 457 strlcat(out, s, sizeof out); in key_string_lookup_key() 461 strlcat(out, "[", sizeof out); in key_string_lookup_key() 463 strlcat(out, "L", sizeof out); in key_string_lookup_key() 465 strlcat(out, "K", sizeof out); in key_string_lookup_key() 467 strlcat(out, "C", sizeof out); in key_string_lookup_key() [all …]
|
H A D | screen.c | 701 strlcat(tmp, "CURSOR,", sizeof tmp); in screen_mode_to_string() 703 strlcat(tmp, "INSERT,", sizeof tmp); in screen_mode_to_string() 705 strlcat(tmp, "KCURSOR,", sizeof tmp); in screen_mode_to_string() 707 strlcat(tmp, "KKEYPAD,", sizeof tmp); in screen_mode_to_string() 709 strlcat(tmp, "WRAP,", sizeof tmp); in screen_mode_to_string() 719 strlcat(tmp, "MOUSE_UTF8,", sizeof tmp); in screen_mode_to_string() 721 strlcat(tmp, "MOUSE_SGR,", sizeof tmp); in screen_mode_to_string() 725 strlcat(tmp, "FOCUSON,", sizeof tmp); in screen_mode_to_string() 727 strlcat(tmp, "MOUSE_ALL,", sizeof tmp); in screen_mode_to_string() 729 strlcat(tmp, "ORIGIN,", sizeof tmp); in screen_mode_to_string() [all …]
|
/openbsd/regress/lib/libc/strlcat/ |
H A D | strlcattest.c | 56 len = strlcat(buf, "abcd", bufsize); in main() 74 len = strlcat(buf, "abcd", bufsize); in main() 92 len = strlcat(buf, "abcd", bufsize); in main() 113 len = strlcat(buf, "efgh", bufsize); in main() 146 len = strlcat(NULL, "abcd", sizeof(buf)); in main() 160 len = strlcat(buf, NULL, sizeof(buf)); in main()
|
/openbsd/usr.bin/cvs/ |
H A D | diff.c | 84 strlcat(diffargs, " -a", sizeof(diffargs)); in cvs_diff() 88 strlcat(diffargs, " -b", sizeof(diffargs)); in cvs_diff() 92 strlcat(diffargs, " -c", sizeof(diffargs)); in cvs_diff() 99 strlcat(diffargs, " -C ", sizeof(diffargs)); in cvs_diff() 100 strlcat(diffargs, optarg, sizeof(diffargs)); in cvs_diff() 104 strlcat(diffargs, " -d", sizeof(diffargs)); in cvs_diff() 125 strlcat(diffargs, " -i", sizeof(diffargs)); in cvs_diff() 143 strlcat(diffargs, " -n", sizeof(diffargs)); in cvs_diff() 147 strlcat(diffargs, " -N", sizeof(diffargs)); in cvs_diff() 151 strlcat(diffargs, " -p", sizeof(diffargs)); in cvs_diff() [all …]
|
H A D | util.c | 168 if (strlcat(buf, tmp, len) >= len) in cvs_modetostr() 174 if (strlcat(buf, ",", len) >= len) in cvs_modetostr() 182 if (strlcat(buf, tmp, len) >= len) in cvs_modetostr() 188 if (strlcat(buf, ",", len) >= len) in cvs_modetostr() 196 if (strlcat(buf, tmp, len) >= len) in cvs_modetostr() 476 if (strlcat(dst, "/", len) >= len) in cvs_get_repository_name() 480 if (strlcat(dst, dir, len) >= len) in cvs_get_repository_name() 610 len = strlcat(repo, "/", sizeof(repo)); in cvs_mkpath() 615 len = strlcat(repo, sp, sizeof(repo)); in cvs_mkpath() 626 len = strlcat(rpath, sp, sizeof(rpath)); in cvs_mkpath() [all …]
|
/openbsd/games/cribbage/ |
H A D | score.c | 117 strlcat(expl_string, "His Nobs", sizeof expl_string); in scorehand() 124 strlcat(expl_string, ", ", sizeof expl_string); in scorehand() 128 strlcat(expl_string, "Five-flush", sizeof expl_string); in scorehand() 133 strlcat(expl_string, ", Four-flush", sizeof expl_string); in scorehand() 139 strlcat(expl_string, ", ", sizeof expl_string); in scorehand() 148 strlcat(expl_string, buf, sizeof expl_string); in scorehand() 150 strlcat(expl_string, "No fifteens", sizeof expl_string); in scorehand() 159 strlcat(expl_string, buf, sizeof expl_string); in scorehand() 161 strlcat(expl_string, ", No pairs/runs", sizeof expl_string); in scorehand()
|
/openbsd/regress/sys/kern/noexec/ |
H A D | noexec.c | 228 (void) strlcat(label, "text", sizeof(label)); in worker() 244 (void) strlcat(label, "data", sizeof(label)); in worker() 260 (void) strlcat(label, "bss", sizeof(label)); in worker() 267 (void)strlcat(label, "mutable", sizeof(label)); in worker() 275 (void) strlcat(label, "heap", sizeof(label)); in worker() 280 (void) strlcat(label, "stack", sizeof(label)); in worker() 296 (void) strlcat(label, "-mmap", sizeof(label)); in worker() 300 (void) strlcat(label, "mmap", sizeof(label)); in worker() 314 (void) strlcat(label, "-mprotect", sizeof(label)); in worker()
|
/openbsd/usr.sbin/npppd/common/ |
H A D | net_utils.c | 154 strlcat(buf, hbuf, lbuf); in addrport_tostring() 155 strlcat(buf, "]:", lbuf); in addrport_tostring() 156 strlcat(buf, sbuf, lbuf); in addrport_tostring() 160 strlcat(buf, ":", lbuf); in addrport_tostring() 161 strlcat(buf, sbuf, lbuf); in addrport_tostring()
|
/openbsd/usr.sbin/lpd/ |
H A D | io.c | 529 (void)strlcat(buf, "rw", sizeof buf); in io_strflags() 532 (void)strlcat(buf, "R", sizeof buf); in io_strflags() 535 (void)strlcat(buf, "W", sizeof buf); in io_strflags() 538 (void)strlcat(buf, "RW", sizeof buf); in io_strflags() 543 (void)strlcat(buf, ",F_PI", sizeof buf); in io_strflags() 545 (void)strlcat(buf, ",F_PO", sizeof buf); in io_strflags() 573 (void)strlcat(buf, "|", sizeof(buf)); in io_strevents() 581 (void)strlcat(buf, "|", sizeof(buf)); in io_strevents() 589 (void)strlcat(buf, "|", sizeof(buf)); in io_strevents() 597 (void)strlcat(buf, "|", sizeof(buf)); in io_strevents() [all …]
|
/openbsd/lib/libc/sys/ |
H A D | stack_protector.c | 66 strlcat(buf, __progname, sizeof(buf) / 2 ); in __stack_smash_handler() 68 strlcat(buf, ": stack overflow in function ", sizeof buf); in __stack_smash_handler() 69 strlcat(buf, func, sizeof buf); in __stack_smash_handler()
|