| /freebsd/contrib/libarchive/cpio/test/ |
| H A D | test_basic.c | 129 strncat(result, in DEFINE_TEST() 132 strncat(result, in DEFINE_TEST() 135 strncat(result, in DEFINE_TEST() 144 strncat(result, in DEFINE_TEST() 147 strncat(result, in DEFINE_TEST() 150 strncat(result, in DEFINE_TEST() 160 strncat(result, in DEFINE_TEST() 163 strncat(result, in DEFINE_TEST() 166 strncat(result, in DEFINE_TEST() 176 strncat(result, in DEFINE_TEST() [all …]
|
| H A D | test_format_newc.c | 117 strncat(result, in DEFINE_TEST() 120 strncat(result, strerror(ERANGE), in DEFINE_TEST() 122 strncat(result, "\n", in DEFINE_TEST() 126 strncat(result, in DEFINE_TEST() 129 strncat(result, strerror(ERANGE), in DEFINE_TEST() 131 strncat(result, "\n", in DEFINE_TEST() 135 strncat(result, in DEFINE_TEST() 138 strncat(result, strerror(ERANGE), in DEFINE_TEST() 140 strncat(result, "\n", in DEFINE_TEST() 144 strncat(result, in DEFINE_TEST() [all …]
|
| /freebsd/crypto/krb5/src/kdc/ |
| H A D | kdc_transit.c | 241 strncat(exp, current, sizeof(exp) - 1 - strlen(exp)); in add_to_transited() 250 strncat(exp, prev, sizeof(exp) - 1 - strlen(exp)); in add_to_transited() 306 strncat(current, ",", sizeof(current) - 1 - strlen(current)); in add_to_transited() 308 strncat(current, realm, (unsigned) pl); in add_to_transited() 311 strncat(current, realm+strlen(realm)+pl, (unsigned) (-pl)); in add_to_transited() 334 strncat(current, realm, (unsigned) pl1); in add_to_transited() 337 strncat(current, realm+strlen(realm)+pl1, (unsigned) (-pl1)); in add_to_transited() 346 strncat(current, " ", sizeof(current) - 1 - strlen(current)); in add_to_transited() 353 strncat(current, realm, sizeof(current) - 1 - strlen(current)); in add_to_transited() 360 strncat(current,",", sizeof(current) - 1 - strlen(current)); in add_to_transited() [all …]
|
| /freebsd/crypto/krb5/src/lib/rpc/ |
| H A D | clnt_perror.c | 92 strncat (str, ": ", BUFSIZ - 1 - strlen (bufstart)); in clnt_sperror() 94 strncat (str, clnt_sperrno(e.re_status), BUFSIZ - 1 - strlen (bufstart)); in clnt_sperror() 263 (void) strncat(str, clnt_sperrno(rpc_createerr.cf_stat), BUFSIZ - 1); in clnt_spcreateerror() 266 (void) strncat(str, " - ", BUFSIZ - 1 - strlen(str)); in clnt_spcreateerror() 267 (void) strncat(str, in clnt_spcreateerror() 273 (void) strncat(str, " - ", BUFSIZ - 1 - strlen(str)); in clnt_spcreateerror() 277 (void) strncat(str, m, BUFSIZ - 1 - strlen(str)); in clnt_spcreateerror() 304 (void) strncat(str, "\n", BUFSIZ - 1 - strlen(str)); in clnt_spcreateerror()
|
| /freebsd/crypto/krb5/src/util/ss/ |
| H A D | list_rqs.c | 87 strncat(buffer, *name, sizeof(buffer) - 1 - strlen(buffer)); in ss_list_requests() 90 strncat(buffer, ", ", sizeof(buffer) - 1 - strlen(buffer)); in ss_list_requests() 94 strncat(buffer, NL, sizeof(buffer) - 1 - strlen(buffer)); in ss_list_requests() 99 strncat(buffer, twentyfive_spaces, sizeof(buffer) - 1 - (25-spacing)); in ss_list_requests() 101 strncat(buffer, NL, sizeof(buffer) - 1 - strlen(buffer)); in ss_list_requests()
|
| H A D | help.c | 57 (void) strncat(buffer, "/", sizeof(buffer) - 1 - strlen(buffer)); in ss_help() 58 (void) strncat(buffer, argv[1], sizeof(buffer) - 1 - strlen(buffer)); in ss_help() 59 (void) strncat(buffer, ".info", sizeof(buffer) - 1 - strlen(buffer)); in ss_help() 66 strncat(buf, argv[1], sizeof(buf) - 1 - strlen(buf)); in ss_help()
|
| /freebsd/contrib/netbsd-tests/lib/libc/string/ |
| H A D | t_strcat.c | 136 ATF_CHECK(strncat(buf, "xxx", 0) == buf); in ATF_TC_BODY() 138 ATF_CHECK(strncat(buf, "xxx", 1) == buf); in ATF_TC_BODY() 140 ATF_CHECK(strncat(buf, "xxx", 2) == buf); in ATF_TC_BODY() 142 ATF_CHECK(strncat(buf, "\0", 1) == buf); in ATF_TC_BODY()
|
| /freebsd/contrib/libarchive/tar/test/ |
| H A D | test_print_longpath.c | 23 strncat(buff, "0123456789", in DEFINE_TEST() 25 strncat(buff, "/", sizeof(buff) - strlen(buff) -1); in DEFINE_TEST() 27 strncat(buff, "\n", sizeof(buff) - strlen(buff) -1); in DEFINE_TEST()
|
| /freebsd/lib/libc/rpc/ |
| H A D | clnt_perror.c | 244 (void)strncat(str, clnt_sperrno(rpc_createerr.cf_stat), len - 1); in clnt_spcreateerror() 247 (void) strncat(str, " - ", len - 1); in clnt_spcreateerror() 248 (void) strncat(str, in clnt_spcreateerror() 253 (void)strncat(str, " - ", len - 1); in clnt_spcreateerror() 254 (void)strncat(str, strerror(rpc_createerr.cf_error.re_errno), in clnt_spcreateerror()
|
| /freebsd/crypto/krb5/src/util/et/ |
| H A D | com_err.c | 56 strncat (errbuf, whoami, sizeof(errbuf) - 1 - strlen(errbuf)); in default_com_err_proc() 57 strncat (errbuf, ": ", sizeof(errbuf) - 1 - strlen(errbuf)); in default_com_err_proc() 61 strncat (errbuf, error_message(code), sizeof(errbuf) - 1 - strlen(errbuf)); in default_com_err_proc() 62 strncat (errbuf, " ", sizeof(errbuf) - 1 - strlen(errbuf)); in default_com_err_proc()
|
| /freebsd/usr.sbin/bluetooth/hccontrol/ |
| H A D | util.c | 143 strncat(buffer, t[n], size - len); in hci_hmode2str() 2916 strncat(buffer, t[n][i], size - len0); in hci_commands2str() 3031 strncat(buffer, t[n][i], size - len0); in hci_features2str() 3145 strncat(buffer, t[n][i], size - len0); in hci_le_features2str() 3355 strncat( in hci_le_chanmap2str()
|
| /freebsd/lib/libc/string/ |
| H A D | strncat.c | 37 #undef strncat /* _FORTIFY_SOURCE */ 44 strncat(char * __restrict dst, const char * __restrict src, size_t n) in strncat() function
|
| /freebsd/lib/libc/amd64/string/ |
| H A D | strncat.c | 11 #undef strncat /* _FORTIFY_SOURCE */ 16 strncat(char *dest, const char *src, size_t n) in strncat() function
|
| /freebsd/lib/libc/aarch64/string/ |
| H A D | strncat.c | 11 #undef strncat /* _FORTIFY_SOURCE */ 16 strncat(char *dest, const char *src, size_t n) in strncat() function
|
| /freebsd/crypto/krb5/src/ccapi/common/win/ |
| H A D | win-utils.c | 51 strncat(_clientEndpoint, UUID, UUID_SIZE); in clientEndpoint() 59 strncat(_serverEndpoint, user, UUID_SIZE); in serverEndpoint()
|
| /freebsd/crypto/krb5/src/lib/ |
| H A D | win_glue.c | 248 strncat(buf, "Please upgrade it.", sizeof(buf) - 1 - strlen(buf)); in do_timebomb() 250 strncat(buf, TIMEBOMB_INFO, sizeof(buf) - 1 - strlen(buf)); in do_timebomb() 262 strncat(buf, "Please upgrade it soon.", sizeof(buf) - 1 - strlen(buf)); in do_timebomb() 264 strncat(buf, TIMEBOMB_INFO, sizeof(buf) - 1 - strlen(buf)); in do_timebomb()
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/memprof/ |
| H A D | memprof_interceptors.cpp | 188 INTERCEPTOR(char *, strncat, char *to, const char *from, usize size) { in INTERCEPTOR() argument 190 MEMPROF_INTERCEPTOR_ENTER(ctx, strncat); in INTERCEPTOR() 198 return REAL(strncat)(to, from, size); in INTERCEPTOR() 320 MEMPROF_INTERCEPT_FUNC(strncat); in InitializeMemprofInterceptors()
|
| /freebsd/crypto/krb5/src/appl/sample/sclient/ |
| H A D | sclient.c | 169 strncat(mbuf, abuf, sizeof(mbuf) - strlen(mbuf) - 1); in main() 170 strncat(mbuf, " port ", sizeof(mbuf) - strlen(mbuf) - 1); in main() 171 strncat(mbuf, pbuf, sizeof(mbuf) - strlen(mbuf) - 1); in main()
|
| /freebsd/include/ssp/ |
| H A D | string.h | 121 __ssp_bos_icheck3_restrict(strncat, char *, const char *) 138 #define strncat(dst, src, len) __ssp_bos_check3(strncat, dst, src, len) macro
|
| /freebsd/tools/test/stress2/misc/ |
| H A D | credleak.sh | 109 strncat(name, d, sizeof(name) - 1); 124 strncat(name, d, sizeof(name) - 1);
|
| H A D | cmp.sh | 133 strncat(name, d, sizeof(name) - 1); 148 strncat(name, d, sizeof(name) - 1);
|
| /freebsd/usr.sbin/lpr/chkprintcap/ |
| H A D | skimprintcap.c | 157 strncat(skim_entryname, curline, QENTRY_MAXLEN in skim_printcap() 161 strncat(skim_entryname, curline, (ch - curline in skim_printcap()
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/nsan/ |
| H A D | nsan_interceptors.cpp | 179 INTERCEPTOR(char *, strncat, char *dst, const char *src, usize size) { in INTERCEPTOR() argument 181 char *res = REAL(strncat)(dst, src, size); in INTERCEPTOR() 257 INTERCEPT_FUNCTION(strncat); in InitializeInterceptors()
|
| /freebsd/contrib/bionic-x86_64-string/ |
| H A D | sse2-strncat-slm.S | 32 #define STRCAT strncat
|
| /freebsd/crypto/krb5/src/appl/sample/sserver/ |
| H A D | sserver.c | 221 strncat(repbuf, cname, sizeof(repbuf) - 1 - strlen(repbuf)); in main() 222 strncat(repbuf, "\n", sizeof(repbuf) - 1 - strlen(repbuf)); in main()
|