/external/dhcpcd/compat/ |
strlcpy.h | 33 size_t strlcpy(char *, const char *, size_t);
|
strlcpy.c | 30 #include "strlcpy.h" 33 strlcpy(char *dst, const char *src, size_t size) function
|
/external/clang/test/Sema/ |
warn-strlcpycat-size.c | 4 size_t strlcpy (char * restrict dst, const char * restrict src, size_t size); 21 strlcpy(s1, s2, sizeof(s1)); // no warning 22 strlcpy(s1, s2, sizeof(s2)); // expected-warning {{size argument in 'strlcpy' call appears to be size of the source; expected the size of the destination}} expected-note {{change size argument to be the size of the destination}} 23 strlcpy(s1, s3, strlen(s3)+1); // expected-warning {{size argument in 'strlcpy' call appears to be size of the source; expected the size of the destination}} expected-note {{change size argument to be the size of the destination}} 25 strlcpy(s4.f1, s2, sizeof(s2)); // expected-warning {{size argument in 'strlcpy' call appears to be size of the source; expected the size of the destination}} expected-note {{change size argument to be the size of the destination}} 26 strlcpy((*s5)->f2[x], s2, sizeof(s2)); // expected-warning {{size argument in 'strlcpy' call appears to be size of the source; expected the size of the destination}} expected-note {{cha (…) [all...] |
builtins-gnu-mode.c | 26 int strlcpy; variable
|
/bionic/libc/bionic/ |
__strlcpy_chk.cpp | 34 * __strlcpy_chk. Called in place of strlcpy() when we know the 42 * This strlcpy check is called if _FORTIFY_SOURCE is defined and 49 __fortify_chk_fail("strlcpy buffer overflow", 0); 52 return strlcpy(dest, src, supplied_size);
|
utmp.c | 90 (void)strlcpy(utfile, fname, sizeof(utfile));
|
/external/chromium/third_party/libevent/ |
strlcpy-internal.h | 15 #define strlcpy _event_strlcpy macro
|
/external/chromium_org/third_party/libevent/ |
strlcpy-internal.h | 15 #define strlcpy _event_strlcpy macro
|
/bionic/libc/string/ |
strlcpy.c | 1 /* $OpenBSD: strlcpy.c,v 1.11 2006/05/05 15:27:38 millert Exp $ */ 28 strlcpy(char *dst, const char *src, size_t siz) function
|
/external/dropbear/ |
compat.h | 31 size_t strlcpy(char *dst, const char *src, size_t size);
|
/external/libpcap/ |
pcap-null.c | 46 (void)strlcpy(ebuf, nosup, PCAP_ERRBUF_SIZE);
|
/external/mksh/src/ |
strlcpy.c | 21 __RCSID("$MirOS: src/bin/mksh/strlcpy.c,v 1.7 2009/06/10 18:12:50 tg Rel $"); 29 strlcpy(char *dst, const char *src, size_t siz) function
|
/external/openssh/openbsd-compat/ |
strlcpy.c | 1 /* $OpenBSD: strlcpy.c,v 1.10 2005/08/08 08:05:37 espie Exp $ */ 19 /* OPENBSD ORIGINAL: lib/libc/string/strlcpy.c */ 33 strlcpy(char *dst, const char *src, size_t siz) function
|
realpath.c | 69 left_len = strlcpy(left, path + 1, sizeof(left)); 72 strlcpy(resolved, ".", PATH_MAX); 76 left_len = strlcpy(left, path, sizeof(left)); 185 left_len = strlcpy(left, symlink, sizeof(left));
|
/system/core/include/cutils/ |
memory.h | 34 /* Declaration of strlcpy() for platforms that don't already have it. */ 35 size_t strlcpy(char *dst, const char *src, size_t size);
|
/external/clang/test/CodeGen/ |
inline.c | 15 // CHECK1: define i{{..}} @strlcpy 37 // CHECK2: define available_externally i{{..}} @strlcpy 122 // PR11062; the fact that the function is named strlcpy matters here. 123 inline __typeof(sizeof(int)) strlcpy(char *dest, const char *src, __typeof(sizeof(int)) size) { return 3; } function 124 void test8() { strlcpy(0,0,0); }
|
/external/linux-tools-perf/util/ |
abspath.c | 16 strlcpy(cwd, pwd, PATH_MAX); 27 if (strlcpy(buf, path, PATH_MAX) >= PATH_MAX)
|
/external/openssh/ |
logintest.c | 101 strlcpy(username, pw->pw_name, sizeof(username)); 109 strlcpy(li1->progname, "OpenSSH-logintest", sizeof(li1->progname)); 123 strlcpy(li1->hostname, "localhost", sizeof(li1->hostname)); 144 strlcpy(s_t0, ctime(&t0), sizeof(s_t0)); 146 strlcpy(s_t1, ctime(&t1), sizeof(s_t1)); 155 strlcpy(s_logintime, ctime(&logintime), sizeof(s_logintime)); 171 strlcpy(s_logouttime, ctime(&logouttime), sizeof(s_logouttime)); 186 strlcpy(s_t2, ctime(&t2), sizeof(s_t2));
|
/bionic/libc/upstream-netbsd/libc/inet/ |
inet_ntoa.c | 61 strlcpy(ret, "[inet_ntoa error]", sizeof(ret));
|
/external/tcpdump/missing/ |
strlcpy.c | 1 /* $NetBSD: strlcpy.c,v 1.5 1999/09/20 04:39:47 lukem Exp $ */ 2 /* from OpenBSD: strlcpy.c,v 1.4 1999/05/01 18:56:41 millert Exp */ 33 "@(#) $Header: /tcpdump/master/tcpdump/missing/strlcpy.c,v 1.5 2003/11/16 09:36:52 guy Exp $ (LBL)"; 50 strlcpy(char *dst, const char *src, size_t siz) function
|
/system/core/libcutils/ |
memory.c | 59 /* Implementation of strlcpy() for platforms that don't already have it. */ 67 strlcpy(char *dst, const char *src, size_t siz) function
|
/external/chromium/chrome/common/ |
child_process_logging_linux.cc | 35 base::strlcpy(g_active_url, 47 base::strlcpy(g_client_id, str.c_str(), kClientIdSize);
|
/external/dhcpcd/ |
if-linux-wireless.c | 74 strlcpy(iwr.ifr_name, ifname, sizeof(iwr.ifr_name));
|
/bionic/libc/upstream-netbsd/libc/regex/ |
regerror.c | 186 (void)strlcpy(convbuf, r->name, sizeof convbuf); 197 (void)strlcpy(errbuf, s, errbuf_size);
|
/external/chromium/net/disk_cache/ |
mapped_file_unittest.cc | 50 base::strlcpy(buffer1, "the data", arraysize(buffer1)); 72 base::strlcpy(buffer1, "the data", arraysize(buffer1));
|