/external/dhcpcd/compat/ |
H A D | strlcpy.h | 33 size_t strlcpy(char *, const char *, size_t);
|
H A D | strlcpy.c | 30 #include "strlcpy.h" 33 strlcpy(char *dst, const char *src, size_t size) function
|
/external/clang/test/Sema/ |
H A D | 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' cal [all...] |
H A D | builtins-gnu-mode.c | 26 int strlcpy; variable
|
/external/chromium/third_party/libevent/ |
H A D | strlcpy-internal.h | 15 #define strlcpy _event_strlcpy macro
|
/external/chromium_org/third_party/libevent/ |
H A D | strlcpy-internal.h | 15 #define strlcpy _event_strlcpy macro
|
/external/dropbear/ |
H A D | compat.h | 31 size_t strlcpy(char *dst, const char *src, size_t size);
|
H A D | fake-rfc2553.c | 55 if (strlcpy(serv, tmpserv, servlen) >= servlen) 61 if (strlcpy(host, inet_ntoa(sin->sin_addr), 72 if (strlcpy(host, hp->h_name, hostlen) >= hostlen)
|
/external/libpcap/ |
H A D | pcap-null.c | 46 (void)strlcpy(ebuf, nosup, PCAP_ERRBUF_SIZE);
|
/external/mksh/src/ |
H A D | 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/ |
H A D | 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
|
H A D | 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));
|
H A D | fake-rfc2553.c | 58 if (strlcpy(serv, tmpserv, servlen) >= servlen) 64 if (strlcpy(host, inet_ntoa(sin->sin_addr), 75 if (strlcpy(host, hp->h_name, hostlen) >= hostlen)
|
/external/clang/test/CodeGen/ |
H A D | 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/ |
H A D | abspath.c | 16 strlcpy(cwd, pwd, PATH_MAX); 27 if (strlcpy(buf, path, PATH_MAX) >= PATH_MAX)
|
/external/openssh/ |
H A D | 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));
|
H A D | sftp-glob.c | 83 strlcpy(ret->d_name, od->dir[od->offset++]->filename, MAXPATHLEN); 85 strlcpy(ret->d_name, od->dir[od->offset++]->filename,
|
/external/tcpdump/missing/ |
H A D | 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
|
/external/chromium_org/chrome/common/ |
H A D | child_process_logging_posix.cc | 63 base::strlcpy(g_active_url, url.possibly_invalid_spec().c_str(), 74 base::strlcpy(g_client_id, str.c_str(), kClientIdSize); 94 base::strlcpy(g_extension_ids, extension_str.c_str(), 103 base::strlcpy(g_gpu_gl_vendor, gpu_info.gl_vendor.c_str(), 105 base::strlcpy(g_gpu_gl_renderer, gpu_info.gl_renderer.c_str(), 107 base::strlcpy(g_gpu_driver_ver, gpu_info.driver_version.c_str(), 109 base::strlcpy(g_gpu_ps_ver, gpu_info.pixel_shader_version.c_str(), 111 base::strlcpy(g_gpu_vs_ver, gpu_info.vertex_shader_version.c_str(), 125 base::strlcpy(g_printer_info, printer_info_str.c_str(), 147 base::strlcpy(g_switche [all...] |
/external/chromium/chrome/common/ |
H A D | child_process_logging_linux.cc | 35 base::strlcpy(g_active_url, 47 base::strlcpy(g_client_id, str.c_str(), kClientIdSize);
|
/external/dhcpcd/ |
H A D | if-linux-wireless.c | 74 strlcpy(iwr.ifr_name, ifname, sizeof(iwr.ifr_name));
|
H A D | config.mk | 16 COMPAT_SRCS+= compat/strlcpy.c
|
/external/chromium/net/disk_cache/ |
H A D | mapped_file_unittest.cc | 50 base::strlcpy(buffer1, "the data", arraysize(buffer1)); 72 base::strlcpy(buffer1, "the data", arraysize(buffer1));
|
/external/chromium_org/net/disk_cache/ |
H A D | mapped_file_unittest.cc | 53 base::strlcpy(buffer1, "the data", arraysize(buffer1)); 72 base::strlcpy(buffer1, "the data", arraysize(buffer1));
|
/external/ppp/pppd/plugins/pppoatm/ |
H A D | pppoatm.c | 86 strlcpy(devnam, cp, sizeof devnam); 162 strlcpy(ppp_devnam, devnam, sizeof(ppp_devnam)); 184 strlcpy(ifr.ifr_name, ifname, sizeof(ifr.ifr_name));
|