/external/llvm-project/clang/test/Analysis/ |
D | cstring-syntax.c | 21 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() 61 …strlcat(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() 65 …strlcat(dest + 5, src, badlen); // expected-warning {{The third argument allows to potentially cop… in testStrlcat() 66 strlcat(dest, "aaaaaaaaaaaaaaa", 10); // no-warning in testStrlcat()
|
D | bsd-string.c | 11 size_t strlcat(char *dst, const char *src, size_t n); 25 len = strlcat(buf, "efgh", sizeof(buf)); // expected-no-warning in f2() 40 …strlcat(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/ |
D | strlcat.cpp | 14 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()
|
D | strlcpy.cpp | 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()
|
/external/openssh/ |
D | md5crypt.c | 143 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()
|
D | progressmeter.c | 187 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()
|
D | sftp-realpath.c | 157 resolved_len = strlcat(resolved, next_token, PATH_MAX); in sftp_realpath() 204 left_len = strlcat(symlink, left, sizeof(symlink)); in sftp_realpath()
|
D | match.c | 338 strlcat(fix_prop, ",", len); in filter_list() 339 strlcat(fix_prop, cp, len); in filter_list()
|
/external/python/cpython3/Mac/Tools/ |
D | pythonw.c | 183 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/ |
D | warn-strlcpycat-size.c | 5 size_t strlcat (char * restrict dst, const char * restrict src, size_t size); 24 …strlcat(s2, s3, sizeof(s3)); // expected-warning {{size argument in 'strlcat' call appears to be s… in f()
|
D | builtins-gnu-mode.c | 19 int strlcat; variable
|
/external/clang/test/Sema/ |
D | warn-strlcpycat-size.c | 5 size_t strlcat (char * restrict dst, const char * restrict src, size_t size); 24 …strlcat(s2, s3, sizeof(s3)); // expected-warning {{size argument in 'strlcat' call appears to be s… in f()
|
D | builtins-gnu-mode.c | 19 int strlcat; variable
|
D | builtins.c | 213 size_t strlcat(char * restrict dst, const char * restrict src, size_t size); 226 …strlcat(buf, b, sizeof(b)); // expected-warning {{size argument in 'strlcat' call appears to be si… in Test19()
|
/external/libcups/cups/ |
D | tls-gnutls.c | 1550 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 …]
|
D | langprintf.c | 72 strlcat(buffer, "\n", sizeof(buffer)); in _cupsLangPrintError() 182 strlcat(buffer, "\n", sizeof(buffer)); in _cupsLangPrintf()
|
/external/llvm-project/clang/test/SemaCXX/ |
D | warn-memsize-comparison.cpp | 15 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/ |
D | warn-memsize-comparison.cpp | 15 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/ |
D | testlpd.c | 415 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()
|
D | testspeed.c | 160 strlcat(options, "E", sizeof(options)); in main() 163 strlcat(options, "v", sizeof(options)); in main()
|
/external/tcpdump/ |
D | interface.h | 54 extern size_t strlcat(char *, const char *, size_t);
|
/external/arm-trusted-firmware/lib/libc/ |
D | strlcat.c | 31 strlcat(char * dst, const char * src, size_t dsize) in strlcat() function
|
/external/openssh/openbsd-compat/ |
D | strlcat.c | 35 strlcat(char *dst, const char *src, size_t siz) in strlcat() function
|
/external/tcpdump/missing/ |
D | strlcat.c | 48 strlcat(char *dst, const char *src, size_t siz) in strlcat() function
|
/external/libpcap/ |
D | portability.h | 50 #define pcap_strlcat strlcat
|