/external/clang/test/Sema/ |
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 in f() 22 …strlcpy(s1, s2, sizeof(s2)); // expected-warning {{size argument in 'strlcpy' call appears to be s… in f() 23 …strlcpy(s1, s3, strlen(s3)+1); // expected-warning {{size argument in 'strlcpy' call appears to be… in f() 25 …strlcpy(s4.f1, s2, sizeof(s2)); // expected-warning {{size argument in 'strlcpy' call appears to b… in f() 26 …strlcpy((*s5)->f2[x], s2, sizeof(s2)); // expected-warning {{size argument in 'strlcpy' call appea… in f() 27 …strlcpy(s1+3, s2, sizeof(s2)); // expected-warning {{size argument in 'strlcpy' call appears to be… in f() 38 …strlcpy(s->x, str, sizeof(str)); // expected-warning {{size argument in 'strlcpy' call appears to… in flexible_arrays() 46 …strlcpy(z, str, sizeof(str)); // expected-warning {{size argument in 'strlcpy' call appears to be… in size_1() 54 …strlcpy(z, str, sizeof(str)); // expected-warning {{size argument in 'strlcpy' call appears to be … in vlas()
|
D | builtins-gnu-mode.c | 18 int strlcpy; variable
|
/external/openssh/ |
D | logintest.c | 101 strlcpy(username, pw->pw_name, sizeof(username)); in testAPI() 109 strlcpy(li1->progname, "OpenSSH-logintest", sizeof(li1->progname)); in testAPI() 123 strlcpy(li1->hostname, "localhost", sizeof(li1->hostname)); in testAPI() 144 strlcpy(s_t0, ctime(&t0), sizeof(s_t0)); in testAPI() 146 strlcpy(s_t1, ctime(&t1), sizeof(s_t1)); in testAPI() 155 strlcpy(s_logintime, ctime(&logintime), sizeof(s_logintime)); in testAPI() 171 strlcpy(s_logouttime, ctime(&logouttime), sizeof(s_logouttime)); in testAPI() 186 strlcpy(s_t2, ctime(&t2), sizeof(s_t2)); in testAPI()
|
D | loginrec.c | 313 if (strlcpy(li->username, pw->pw_name, sizeof(li->username)) >= in login_get_lastlog() 380 strlcpy(li->username, username, sizeof(li->username)); in login_init_entry() 390 strlcpy(li->hostname, hostname, sizeof(li->hostname)); in login_init_entry() 564 strlcpy(dst, src, dstsize); in line_fullname() 566 strlcpy(dst, "/dev/", dstsize); in line_fullname() 578 strlcpy(dst, src + 5, dstsize); in line_stripname() 580 strlcpy(dst, src, dstsize); in line_stripname() 1230 strlcpy(li->hostname, ut.ut_host, in wtmp_get_entry() 1392 strlcpy(li->hostname, utx.ut_host, in wtmpx_get_entry() 1489 strlcpy(lastlog_file, LASTLOG_FILE, sizeof(lastlog_file)); in lastlog_openseek() [all …]
|
D | sftp-glob.c | 84 strlcpy(ret->d_name, od->dir[od->offset++]->filename, MAXPATHLEN); in fudge_readdir() 86 strlcpy(ret->d_name, od->dir[od->offset++]->filename, in fudge_readdir()
|
/external/google-breakpad/src/client/mac/crash_generation/ |
D | Inspector.h | 67 strlcpy(key, inEntry.key, sizeof(key) ); in KeyValueMessageData() 68 strlcpy(value, inEntry.value, sizeof(value) ); in KeyValueMessageData() 90 strlcpy(minidump_dir_path_, [minidumpDir fileSystemRepresentation], in MinidumpLocation() 100 strlcpy(minidump_id_, next_minidump_id.c_str(), sizeof(minidump_id_)); in MinidumpLocation()
|
/external/openssh/openbsd-compat/ |
D | realpath.c | 69 left_len = strlcpy(left, path + 1, sizeof(left)); in realpath() 72 strlcpy(resolved, ".", PATH_MAX); in realpath() 76 left_len = strlcpy(left, path, sizeof(left)); in realpath() 185 left_len = strlcpy(left, symlink, sizeof(left)); in realpath()
|
D | fake-rfc2553.c | 58 if (strlcpy(serv, tmpserv, servlen) >= servlen) in getnameinfo() 64 if (strlcpy(host, inet_ntoa(sin->sin_addr), in getnameinfo() 75 if (strlcpy(host, hp->h_name, hostlen) >= hostlen) in getnameinfo()
|
D | setproctitle.c | 140 strlcpy(buf, __progname, sizeof(buf)); in setproctitle() 161 len = strlcpy(argv_start, ptitle, argv_env_len); in setproctitle()
|
D | inet_ntop.c | 97 strlcpy(dst, tmp, size); in inet_ntop4() 207 strlcpy(dst, tmp, size); in inet_ntop6()
|
D | bsd-cray.c | 226 strlcpy(hostname, in cray_setup() 322 strlcpy(ue.ue_name, "root", sizeof(ue.ue_name)); in cray_setup() 323 strlcpy(ue.ue_dir, "/", sizeof(ue.ue_dir)); in cray_setup() 324 strlcpy(ue.ue_shell, "/bin/sh", sizeof(ue.ue_shell)); in cray_setup() 504 strlcpy(acct_name, acid2nam(valid_acct), MAXACID); in cray_setup()
|
/external/dhcpcd/ |
D | net.c | 85 strlcpy(ifr.ifr_name, ifname, sizeof(ifr.ifr_name)); in if_nametoindex() 207 strlcpy(ifr.ifr_name, ifname, sizeof(ifr.ifr_name)); in init_interface() 212 strlcpy(iface->name, ifname, sizeof(iface->name)); in init_interface() 227 strlcpy(ifr.ifr_name, ifname, sizeof(ifr.ifr_name)); in init_interface() 278 strlcpy(ifr.ifr_name, iface->name, sizeof(ifr.ifr_name)); in carrier_status() 292 strlcpy(ifmr.ifm_name, iface->name, sizeof(ifmr.ifm_name)); in carrier_status() 312 strlcpy(ifr.ifr_name, iface->name, sizeof(ifr.ifr_name)); in up_interface() 382 strlcpy(ifn, argv[i], sizeof(ifn)); in discover_interfaces() 443 strlcpy(iflr.iflr_name, ifp->name, in discover_interfaces() 588 strlcpy(ifr.ifr_name, ifname, sizeof(ifr.ifr_name)); in do_mtu() [all …]
|
/external/mksh/src/ |
D | strlcpy.c | 28 #undef strlcpy 30 strlcpy(char *dst, const char *src, size_t siz) in strlcpy() function
|
/external/libedit/src/ |
D | strlcpy.c | 32 __weak_alias(strlcpy, _strlcpy) in __weak_alias() argument 43 strlcpy(char *dst, const char *src, size_t siz) in __weak_alias()
|
D | sys.h | 100 #define strlcpy libedit_strlcpy macro 101 size_t strlcpy(char *dst, const char *src, size_t size);
|
/external/linux-tools-perf/src/tools/perf/util/ |
D | abspath.c | 16 strlcpy(cwd, pwd, PATH_MAX); in get_pwd_cwd() 27 if (strlcpy(buf, path, PATH_MAX) >= PATH_MAX) in make_nonrelative_path()
|
D | path.c | 26 size_t strlcpy(char *dest, const char *src, size_t size) in strlcpy() function 74 strlcpy(buf, bad_path, n); in perf_vsnpath()
|
/external/ppp/pppd/ |
D | sys-linux.c | 1197 strlcpy(ifr.ifr_name, ifname, sizeof (ifr.ifr_name)); in netif_set_mtu() 1213 strlcpy(ifr.ifr_name, ifname, sizeof (ifr.ifr_name)); in netif_get_mtu() 1382 strlcpy(req.ifr__name, ifname, sizeof(req.ifr__name)); 1426 strlcpy (proc_path, "/proc", sizeof(proc_path)); in path_to_procfs() 1434 strlcpy(proc_path, mntent->mnt_dir, sizeof(proc_path)); in path_to_procfs() 1443 strlcpy(proc_path + proc_path_len, tail, in path_to_procfs() 1718 strlcpy(arpreq.arp_dev, proxy_arp_dev, sizeof(arpreq.arp_dev)); in sifproxyarp() 1759 strlcpy(arpreq.arp_dev, proxy_arp_dev, sizeof(arpreq.arp_dev)); in cifproxyarp() 1806 strlcpy(ifreq.ifr_name, ifr->ifr_name, sizeof(ifreq.ifr_name)); in get_ether_addr() 1839 strlcpy(name, bestifreq.ifr_name, namelen); in get_ether_addr() [all …]
|
D | sys-solaris.c | 514 strlcpy(lifr.lifr_name, ifname, sizeof(lifr.lifr_name)); 1515 strlcpy(ifr.ifr_name, ifname, sizeof(ifr.ifr_name)); 1527 strlcpy(lifr.lifr_name, ifname, sizeof(lifr.lifr_name)); 1771 strlcpy(ifr.ifr_name, ifname, sizeof(ifr.ifr_name)); 1796 strlcpy(ifr.ifr_name, ifname, sizeof(ifr.ifr_name)); 1847 strlcpy(lifr.lifr_name, ifname, sizeof(lifr.lifr_name)); 1854 strlcpy(lifr.lifr_name, ifname, sizeof(lifr.lifr_name)); 1880 strlcpy(lifr.lifr_name, ifname, sizeof(lifr.lifr_name)); 1887 strlcpy(lifr.lifr_name, ifname, sizeof(lifr.lifr_name)); 1916 strlcpy(lifr.lifr_name, ifname, sizeof(lifr.lifr_name)); [all …]
|
/external/clang/test/CodeGen/ |
D | inline.c | 124 inline __typeof(sizeof(int)) strlcpy(char *dest, const char *src, __typeof(sizeof(int)) size) { ret… in strlcpy() function 125 void test8() { strlcpy(0,0,0); } in test8()
|
/external/tcpdump/ |
D | print-sunrpc.c | 101 strlcpy(dstid, "sunrpc", sizeof(dstid)); in sunrpcrequest_print() 169 strlcpy(buf, rp->r_name, sizeof(buf));
|
/external/clang/test/SemaCXX/ |
D | warn-memsize-comparison.cpp | 14 extern "C" size_t strlcpy(char *dst, const char *src, size_t size); 73 if (strlcpy(b1, b2, sizeof(b1) != 0)) {} // \ in f() 77 if (strlcpy(b1, b2, sizeof(b1)) != 0) {} in f()
|
/external/libedit/ |
D | configure.ac | 111 …mp strchr strcspn strdup strerror strrchr strstr strtol issetugid wcsdup strlcpy strlcat fgetln vi… 113 # strlcpy 114 AC_CHECK_FUNC(strlcpy, found_strlcpy=yes, found_strlcpy=no)
|
/external/ppp/pppd/plugins/pppoatm/ |
D | pppoatm.c | 86 strlcpy(devnam, cp, sizeof devnam); in setdevname_pppoatm() 159 strlcpy(ppp_devnam, devnam, sizeof(ppp_devnam)); in connect_pppoatm()
|
/external/libpcap/ |
D | pcap-null.c | 45 (void)strlcpy(ebuf, nosup, PCAP_ERRBUF_SIZE); in pcap_create_interface()
|