/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/bluetooth/bluedroid/main/ |
D | bte_conf.c | 49 …strlcpy(hci_logfile, config_get_string(config, CONFIG_DEFAULT_SECTION, "BtSnoopFileName", ""), siz… in bte_load_conf() 109 …strlcpy(record.client_executable_url, config_get_string(config, section_name, "clientExecutableURL… in bte_load_did_conf() 110 …strlcpy(record.service_description, config_get_string(config, section_name, "serviceDescription", … in bte_load_did_conf() 111 …strlcpy(record.documentation_url, config_get_string(config, section_name, "documentationURL", ""),… in bte_load_did_conf()
|
/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/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 …]
|
D | if-linux-wireless.c | 74 strlcpy(iwr.ifr_name, ifname, sizeof(iwr.ifr_name)); in getifssid()
|
/external/linux-tools-perf/perf-3.12.0/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/bluetooth/bluedroid/bta/hf_client/ |
D | bta_hf_client_act.c | 621 strlcpy(evt.operator.name, name, BTA_HF_CLIENT_OPERATOR_NAME_LEN + 1); in bta_hf_client_operator_name() 644 strlcpy(evt.number.number, number, BTA_HF_CLIENT_NUMBER_LEN + 1); in bta_hf_client_clip() 666 strlcpy(evt.number.number, number, BTA_HF_CLIENT_NUMBER_LEN + 1); in bta_hf_client_ccwa() 718 strlcpy(evt.clcc.number, number, BTA_HF_CLIENT_NUMBER_LEN + 1); in bta_hf_client_clcc() 742 strlcpy(evt.cnum.number, number, BTA_HF_CLIENT_NUMBER_LEN + 1); in bta_hf_client_cnum() 764 strlcpy(evt.number.number, number, BTA_HF_CLIENT_NUMBER_LEN + 1); in bta_hf_client_binp()
|
/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/ppp/pppd/ |
D | sys-linux.c | 1164 strlcpy(ifr.ifr_name, ifname, sizeof (ifr.ifr_name)); in netif_set_mtu() 1180 strlcpy(ifr.ifr_name, ifname, sizeof (ifr.ifr_name)); in netif_get_mtu() 1349 strlcpy(req.ifr__name, ifname, sizeof(req.ifr__name)); 1393 strlcpy (proc_path, "/proc", sizeof(proc_path)); in path_to_procfs() 1401 strlcpy(proc_path, mntent->mnt_dir, sizeof(proc_path)); in path_to_procfs() 1410 strlcpy(proc_path + proc_path_len, tail, in path_to_procfs() 1687 strlcpy(arpreq.arp_dev, proxy_arp_dev, sizeof(arpreq.arp_dev)); in sifproxyarp() 1728 strlcpy(arpreq.arp_dev, proxy_arp_dev, sizeof(arpreq.arp_dev)); in cifproxyarp() 1775 strlcpy(ifreq.ifr_name, ifr->ifr_name, sizeof(ifreq.ifr_name)); in get_ether_addr() 1808 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)); 1512 strlcpy(ifr.ifr_name, ifname, sizeof(ifr.ifr_name)); 1524 strlcpy(lifr.lifr_name, ifname, sizeof(lifr.lifr_name)); 1768 strlcpy(ifr.ifr_name, ifname, sizeof(ifr.ifr_name)); 1793 strlcpy(ifr.ifr_name, ifname, sizeof(ifr.ifr_name)); 1844 strlcpy(lifr.lifr_name, ifname, sizeof(lifr.lifr_name)); 1851 strlcpy(lifr.lifr_name, ifname, sizeof(lifr.lifr_name)); 1877 strlcpy(lifr.lifr_name, ifname, sizeof(lifr.lifr_name)); 1884 strlcpy(lifr.lifr_name, ifname, sizeof(lifr.lifr_name)); 1913 strlcpy(lifr.lifr_name, ifname, sizeof(lifr.lifr_name)); [all …]
|
/external/chromium_org/net/disk_cache/blockfile/ |
D | mapped_file_unittest.cc | 70 base::strlcpy(buffer1, "the data", arraysize(buffer1)); in TEST_F() 89 base::strlcpy(buffer1, "the data", arraysize(buffer1)); in TEST_F() 122 base::strlcpy(static_cast<char*>(file_block1.buffer()), "the data", in TEST_F()
|
/external/ppp/pppd/plugins/pppoatm/ |
D | pppoatm.c | 86 strlcpy(devnam, cp, sizeof devnam); in setdevname_pppoatm() 162 strlcpy(ppp_devnam, devnam, sizeof(ppp_devnam)); in connect_pppoatm() 184 strlcpy(ifr.ifr_name, ifname, sizeof(ifr.ifr_name)); in send_config_pppoa()
|
/external/chromium_org/third_party/libevent/ |
D | Makefile.am | 95 strlcpy.c strlcpy-internal.h strlcpy-internal.h
|
D | strlcpy-internal.h | 15 #define strlcpy _event_strlcpy macro
|
/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/libpcap/ |
D | pcap-null.c | 45 (void)strlcpy(ebuf, nosup, PCAP_ERRBUF_SIZE); in pcap_create_interface()
|
D | pcap-dlpi.c | 232 strlcpy(p->errbuf, pcap_strerror(errno), in pcap_read_dlpi() 301 strlcpy(p->errbuf, "send: Not supported on this version of this OS", in pcap_inject_dlpi() 370 strlcpy(dname, p->opt.source, sizeof(dname)); 372 strlcpy(dname, cp + 1, sizeof(dname)); 437 strlcpy(dname, p->opt.source, sizeof(dname)); 456 strlcpy(dname2, dname, sizeof(dname)); 893 strlcpy(ebuf,
|
/external/mksh/src/ |
D | strlcpy.c | 29 strlcpy(char *dst, const char *src, size_t siz) in strlcpy() function
|
/external/tcpdump/missing/ |
D | strlcpy.c | 50 strlcpy(char *dst, const char *src, size_t siz) in strlcpy() function
|
/external/chromium_org/rlz/win/lib/ |
D | machine_deal.cc | 209 base::strlcpy(new_dcc, new_dcc_value.c_str(), new_dcc_size); in GetNewCodeFromPingResponse() 243 base::strlcpy(cgi, cgi_arg.c_str(), cgi_size); in GetAsCgi()
|