Home
last modified time | relevance | path

Searched refs:strlcat (Results 1 – 25 of 118) sorted by relevance

12345

/external/llvm-project/clang/test/Analysis/
Dcstring-syntax.c21 size_t strlcat(char *, const char *, size_t);
55 strlcat(dest, "bbbb", (sizeof("bbbb") - 1) - sizeof(dest) - 1); in testStrlcat()
57 strlcat(dest, "910", sizeof(dest)); in testStrlcat()
60 strlcat(dest, "0123456789", badlen / 2); in testStrlcat()
61strlcat(dest, "0123456789", badlen); // expected-warning {{The third argument allows to potentiall… in testStrlcat()
62 strlcat(dest, "0123456789", badlen - strlen(dest) - 1); in testStrlcat()
63 strlcat(dest, src, ulen); in testStrlcat()
65strlcat(dest + 5, src, badlen); // expected-warning {{The third argument allows to potentially cop… in testStrlcat()
66 strlcat(dest, "aaaaaaaaaaaaaaa", 10); // no-warning in testStrlcat()
Dbsd-string.c11 size_t strlcat(char *dst, const char *src, size_t n);
25 len = strlcat(buf, "efgh", sizeof(buf)); // expected-no-warning in f2()
40strlcat(NULL, "abcdef", 6); // expected-warning{{Null pointer passed as 1st argument to string con… in f5()
46 size_t len = strlcat(buf, "defg", 4); in f6()
66 len = strlcat(buf,"456", sizeof(buf)); in f8()
72 len = strlcat(buf,"789", 0); in f8()
95 len = strlcat(buf,"cd", unknown_size); in f9()
115 len = strlcat(buf + 2, unknown_src + 1, sizeof(buf)); in f9()
125 strlcat(buf, "efghi", 9); in f10()
134 strlcat(b, a, sizeof(b)); // no-warning in f11()
[all …]
/external/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Posix/
Dstrlcat.cpp14 len = strlcat(dst, src, sizeof(dst)); in test1()
23 len = strlcat(dst, src, sizeof(dst)); in test2()
32 len = strlcat(dst, src, sizeof(dst)); in test3()
41 len = strlcat(dst, src, sizeof(dst)); in test4()
Dstrlcpy.cpp23 len = strlcat(dst, src, sizeof(dst)); in test2()
32 len = strlcat(dst, src, sizeof(dst)); in test3()
41 len = strlcat(dst, src, sizeof(dst)); in test4()
/external/openssh/
Dmd5crypt.c143 strlcat(passwd, to64(l, 4), sizeof(passwd)); in md5_crypt()
145 strlcat(passwd, to64(l, 4), sizeof(passwd)); in md5_crypt()
147 strlcat(passwd, to64(l, 4), sizeof(passwd)); in md5_crypt()
149 strlcat(passwd, to64(l, 4), sizeof(passwd)); in md5_crypt()
151 strlcat(passwd, to64(l, 4), sizeof(passwd)); in md5_crypt()
153 strlcat(passwd, to64(l, 2), sizeof(passwd)); in md5_crypt()
Dprogressmeter.c187 strlcat(buf, " ", win_size); in refresh_progress_meter()
192 strlcat(buf, "/s ", win_size); in refresh_progress_meter()
201 strlcat(buf, "- stalled -", win_size); in refresh_progress_meter()
203 strlcat(buf, " --:-- ETA", win_size); in refresh_progress_meter()
223 strlcat(buf, " ETA", win_size); in refresh_progress_meter()
225 strlcat(buf, " ", win_size); in refresh_progress_meter()
Dsftp-realpath.c157 resolved_len = strlcat(resolved, next_token, PATH_MAX); in sftp_realpath()
204 left_len = strlcat(symlink, left, sizeof(symlink)); in sftp_realpath()
Dmatch.c338 strlcat(fix_prop, ",", len); in filter_list()
339 strlcat(fix_prop, cp, len); in filter_list()
/external/python/cpython3/Mac/Tools/
Dpythonw.c183 if (strlcat(real_path, slash, sizeof(real_path)) > sizeof(real_path)) { in main()
192 if (strlcat(real_path, "/", sizeof(real_path)) > sizeof(real_path)) { in main()
196 if (strlcat(real_path, path, sizeof(real_path)) > sizeof(real_path)) { in main()
/external/llvm-project/clang/test/Sema/
Dwarn-strlcpycat-size.c5 size_t strlcat (char * restrict dst, const char * restrict src, size_t size);
24strlcat(s2, s3, sizeof(s3)); // expected-warning {{size argument in 'strlcat' call appears to be s… in f()
Dbuiltins-gnu-mode.c19 int strlcat; variable
/external/clang/test/Sema/
Dwarn-strlcpycat-size.c5 size_t strlcat (char * restrict dst, const char * restrict src, size_t size);
24strlcat(s2, s3, sizeof(s3)); // expected-warning {{size argument in 'strlcat' call appears to be s… in f()
Dbuiltins-gnu-mode.c19 int strlcat; variable
Dbuiltins.c213 size_t strlcat(char * restrict dst, const char * restrict src, size_t size);
226strlcat(buf, b, sizeof(b)); // expected-warning {{size argument in 'strlcat' call appears to be si… in Test19()
/external/libcups/cups/
Dtls-gnutls.c1550 strlcat(priority_string, ":-VERS-TLS-ALL", sizeof(priority_string)); in _httpTLSStart()
1553 strlcat(priority_string, ":+", sizeof(priority_string)); in _httpTLSStart()
1554 strlcat(priority_string, versions[version], sizeof(priority_string)); in _httpTLSStart()
1563 strlcat(priority_string, ":+VERS-TLS-ALL:+VERS-SSL3.0", sizeof(priority_string)); in _httpTLSStart()
1571 strlcat(priority_string, ":+VERS-TLS-ALL", sizeof(priority_string)); in _httpTLSStart()
1574 strlcat(priority_string, ":-", sizeof(priority_string)); in _httpTLSStart()
1575 strlcat(priority_string, versions[version], sizeof(priority_string)); in _httpTLSStart()
1580 strlcat(priority_string, ":+ARCFOUR-128", sizeof(priority_string)); in _httpTLSStart()
1582 strlcat(priority_string, ":!ARCFOUR-128", sizeof(priority_string)); in _httpTLSStart()
1584 strlcat(priority_string, ":!ANON-DH", sizeof(priority_string)); in _httpTLSStart()
[all …]
Dlangprintf.c72 strlcat(buffer, "\n", sizeof(buffer)); in _cupsLangPrintError()
182 strlcat(buffer, "\n", sizeof(buffer)); in _cupsLangPrintf()
/external/llvm-project/clang/test/SemaCXX/
Dwarn-memsize-comparison.cpp15 extern "C" size_t strlcat(char *dst, const char *src, size_t size);
81 if (strlcat(b1, b2, sizeof(b1) != 0)) {} // \ in f()
85 if (strlcat(b1, b2, sizeof(b1)) != 0) {} in f()
/external/clang/test/SemaCXX/
Dwarn-memsize-comparison.cpp15 extern "C" size_t strlcat(char *dst, const char *src, size_t size);
79 if (strlcat(b1, b2, sizeof(b1) != 0)) {} // \ in f()
83 if (strlcat(b1, b2, sizeof(b1)) != 0) {} in f()
/external/libcups/scheduler/
Dtestlpd.c415 strlcat(command, " ", sizeof(command)); in remove_job()
416 strlcat(command, args[i], sizeof(command)); in remove_job()
419 strlcat(command, "\n", sizeof(command)); in remove_job()
Dtestspeed.c160 strlcat(options, "E", sizeof(options)); in main()
163 strlcat(options, "v", sizeof(options)); in main()
/external/tcpdump/
Dinterface.h54 extern size_t strlcat(char *, const char *, size_t);
/external/arm-trusted-firmware/lib/libc/
Dstrlcat.c31 strlcat(char * dst, const char * src, size_t dsize) in strlcat() function
/external/openssh/openbsd-compat/
Dstrlcat.c35 strlcat(char *dst, const char *src, size_t siz) in strlcat() function
/external/tcpdump/missing/
Dstrlcat.c48 strlcat(char *dst, const char *src, size_t siz) in strlcat() function
/external/libpcap/
Dportability.h50 #define pcap_strlcat strlcat

12345