Home
last modified time | relevance | path

Searched refs:strncat (Results 1 – 25 of 78) sorted by relevance

1234

/freebsd-14-stable/contrib/libarchive/cpio/test/
HDtest_basic.c129 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 …]
HDtest_format_newc.c110 strncat(result, in DEFINE_TEST()
113 strncat(result, strerror(ERANGE), in DEFINE_TEST()
115 strncat(result, "\n", in DEFINE_TEST()
119 strncat(result, in DEFINE_TEST()
122 strncat(result, strerror(ERANGE), in DEFINE_TEST()
124 strncat(result, "\n", in DEFINE_TEST()
128 strncat(result, in DEFINE_TEST()
131 strncat(result, strerror(ERANGE), in DEFINE_TEST()
133 strncat(result, "\n", in DEFINE_TEST()
137 strncat(result, in DEFINE_TEST()
[all …]
/freebsd-14-stable/contrib/netbsd-tests/lib/libc/string/
HDt_strcat.c136 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-14-stable/contrib/libarchive/tar/test/
HDtest_print_longpath.c23 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()
HDtest_option_b.c24 strncat(testprog_ustar, USTAR_OPT, testprog_ustar_len); in DEFINE_TEST()
/freebsd-14-stable/lib/libc/rpc/
HDclnt_perror.c248 (void)strncat(str, clnt_sperrno(rpc_createerr.cf_stat), len - 1); in clnt_spcreateerror()
251 (void) strncat(str, " - ", len - 1); in clnt_spcreateerror()
252 (void) strncat(str, in clnt_spcreateerror()
257 (void)strncat(str, " - ", len - 1); in clnt_spcreateerror()
258 (void)strncat(str, strerror(rpc_createerr.cf_error.re_errno), in clnt_spcreateerror()
/freebsd-14-stable/usr.sbin/bluetooth/hccontrol/
HDutil.c143 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-14-stable/contrib/llvm-project/compiler-rt/lib/memprof/
HDmemprof_interceptors.cpp188 INTERCEPTOR(char *, strncat, char *to, const char *from, uptr 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-14-stable/tools/test/stress2/misc/
HDcredleak.sh109 strncat(name, d, sizeof(name) - 1);
124 strncat(name, d, sizeof(name) - 1);
HDcmp.sh133 strncat(name, d, sizeof(name) - 1);
148 strncat(name, d, sizeof(name) - 1);
/freebsd-14-stable/usr.sbin/lpr/chkprintcap/
HDskimprintcap.c157 strncat(skim_entryname, curline, QENTRY_MAXLEN in skim_printcap()
161 strncat(skim_entryname, curline, (ch - curline in skim_printcap()
/freebsd-14-stable/contrib/llvm-project/compiler-rt/lib/nsan/
HDnsan_interceptors.cpp178 INTERCEPTOR(char *, strncat, char *dst, const char *src, uptr size) { in INTERCEPTOR() argument
180 char *res = REAL(strncat)(dst, src, size); in INTERCEPTOR()
227 INTERCEPT_FUNCTION(strncat); in InitializeInterceptors()
/freebsd-14-stable/contrib/bionic-x86_64-string/
HDsse2-strncat-slm.S32 #define STRCAT strncat
/freebsd-14-stable/contrib/netbsd-tests/lib/libc/ssp/
HDt_ssp.sh335 atf_test_case strncat
459 atf_add_test_case strncat
HDh_strncat.c44 (void)strncat(b, "1020202020202", len); in main()
/freebsd-14-stable/sys/libkern/
HDstrncat.c44 strncat(char *dst, const char *src, size_t n) in strncat() function
/freebsd-14-stable/lib/libc/string/
HDstrncat.c45 strncat(char * __restrict dst, const char * __restrict src, size_t n) in strncat() function
HDMakefile.inc19 strncat.c strncmp.c strncpy.c strndup.c strnlen.c strnstr.c \
71 MLINKS+=strcat.3 strncat.3
/freebsd-14-stable/lib/libc/amd64/string/
HDstrncat.c14 strncat(char *dest, const char *src, size_t n) in strncat() function
HDMakefile.inc21 strncat.c \
/freebsd-14-stable/contrib/libarchive/libarchive/test/
HDmain.c2778 strncat(tried, buff, tried_size - strlen(tried) - 1); in get_refdir()
2779 strncat(tried, "\n", tried_size - strlen(tried) - 1); in get_refdir()
2796 strncat(tried, buff, tried_size - strlen(tried) - 1); in get_refdir()
2797 strncat(tried, "\n", tried_size - strlen(tried) - 1); in get_refdir()
2802 strncat(tried, buff, tried_size - strlen(tried) - 1); in get_refdir()
2803 strncat(tried, "\n", tried_size - strlen(tried) - 1); in get_refdir()
2812 strncat(tried, buff, tried_size - strlen(tried) - 1); in get_refdir()
2813 strncat(tried, "\n", tried_size - strlen(tried) - 1); in get_refdir()
2819 strncat(tried, buff, tried_size - strlen(tried) - 1); in get_refdir()
2820 strncat(tried, "\n", tried_size - strlen(tried) - 1); in get_refdir()
[all …]
/freebsd-14-stable/stand/common/
HDinterp_forth.c111 strncat(line, cp, len); in bf_command()
123 strncat(line, tail, len); in bf_command()
/freebsd-14-stable/contrib/llvm-project/libcxx/include/
HDcstring32 char* strncat(char* restrict s1, const char* restrict s2, size_t n);
84 using ::strncat _LIBCPP_USING_IF_EXISTS;
/freebsd-14-stable/contrib/libarchive/test_utils/
HDtest_main.c3714 strncat(tried, buff, tried_size - strlen(tried) - 1); in get_refdir()
3715 strncat(tried, "\n", tried_size - strlen(tried) - 1); in get_refdir()
3732 strncat(tried, buff, tried_size - strlen(tried) - 1); in get_refdir()
3733 strncat(tried, "\n", tried_size - strlen(tried) - 1); in get_refdir()
3738 strncat(tried, buff, tried_size - strlen(tried) - 1); in get_refdir()
3739 strncat(tried, "\n", tried_size - strlen(tried) - 1); in get_refdir()
3748 strncat(tried, buff, tried_size - strlen(tried) - 1); in get_refdir()
3749 strncat(tried, "\n", tried_size - strlen(tried) - 1); in get_refdir()
3755 strncat(tried, buff, tried_size - strlen(tried) - 1); in get_refdir()
3756 strncat(tried, "\n", tried_size - strlen(tried) - 1); in get_refdir()
[all …]
/freebsd-14-stable/contrib/llvm-project/libcxx/modules/std.compat/
HDcstring.inc26 using ::strncat _LIBCPP_USING_IF_EXISTS;

1234