Home
last modified time | relevance | path

Searched refs:strlcpy (Results 1 – 25 of 160) sorted by relevance

1234567

/external/clang/test/Sema/
Dwarn-strlcpycat-size.c4 size_t strlcpy (char * restrict dst, const char * restrict src, size_t size);
21 strlcpy(s1, s2, sizeof(s1)); // no warning in f()
22strlcpy(s1, s2, sizeof(s2)); // expected-warning {{size argument in 'strlcpy' call appears to be s… in f()
23strlcpy(s1, s3, strlen(s3)+1); // expected-warning {{size argument in 'strlcpy' call appears to be… in f()
25strlcpy(s4.f1, s2, sizeof(s2)); // expected-warning {{size argument in 'strlcpy' call appears to b… in f()
26strlcpy((*s5)->f2[x], s2, sizeof(s2)); // expected-warning {{size argument in 'strlcpy' call appea… in f()
27strlcpy(s1+3, s2, sizeof(s2)); // expected-warning {{size argument in 'strlcpy' call appears to be… in f()
38strlcpy(s->x, str, sizeof(str)); // expected-warning {{size argument in 'strlcpy' call appears to… in flexible_arrays()
46strlcpy(z, str, sizeof(str)); // expected-warning {{size argument in 'strlcpy' call appears to be… in size_1()
54strlcpy(z, str, sizeof(str)); // expected-warning {{size argument in 'strlcpy' call appears to be … in vlas()
Dbuiltins-gnu-mode.c18 int strlcpy; variable
/external/bluetooth/bluedroid/main/
Dbte_conf.c49strlcpy(hci_logfile, config_get_string(config, CONFIG_DEFAULT_SECTION, "BtSnoopFileName", ""), siz… in bte_load_conf()
109strlcpy(record.client_executable_url, config_get_string(config, section_name, "clientExecutableURL… in bte_load_did_conf()
110strlcpy(record.service_description, config_get_string(config, section_name, "serviceDescription", … in bte_load_did_conf()
111strlcpy(record.documentation_url, config_get_string(config, section_name, "documentationURL", ""),… in bte_load_did_conf()
/external/libedit/src/
Dstrlcpy.c32 __weak_alias(strlcpy, _strlcpy) in __weak_alias() argument
43 strlcpy(char *dst, const char *src, size_t siz) in __weak_alias()
Dsys.h100 #define strlcpy libedit_strlcpy macro
101 size_t strlcpy(char *dst, const char *src, size_t size);
/external/dhcpcd/
Dnet.c85 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 …]
Dif-linux-wireless.c74 strlcpy(iwr.ifr_name, ifname, sizeof(iwr.ifr_name)); in getifssid()
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/
Dabspath.c16 strlcpy(cwd, pwd, PATH_MAX); in get_pwd_cwd()
27 if (strlcpy(buf, path, PATH_MAX) >= PATH_MAX) in make_nonrelative_path()
Dpath.c26 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/
Dbta_hf_client_act.c621 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/
Dinline.c124 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/
Dsys-linux.c1164 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 …]
Dsys-solaris.c514 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/
Dmapped_file_unittest.cc70 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/
Dpppoatm.c86 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/
DMakefile.am95 strlcpy.c strlcpy-internal.h strlcpy-internal.h
Dstrlcpy-internal.h15 #define strlcpy _event_strlcpy macro
/external/tcpdump/
Dprint-sunrpc.c101 strlcpy(dstid, "sunrpc", sizeof(dstid)); in sunrpcrequest_print()
169 strlcpy(buf, rp->r_name, sizeof(buf));
/external/clang/test/SemaCXX/
Dwarn-memsize-comparison.cpp14 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/
Dconfigure.ac111 …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/
Dpcap-null.c45 (void)strlcpy(ebuf, nosup, PCAP_ERRBUF_SIZE); in pcap_create_interface()
Dpcap-dlpi.c232 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/
Dstrlcpy.c29 strlcpy(char *dst, const char *src, size_t siz) in strlcpy() function
/external/tcpdump/missing/
Dstrlcpy.c50 strlcpy(char *dst, const char *src, size_t siz) in strlcpy() function
/external/chromium_org/rlz/win/lib/
Dmachine_deal.cc209 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()

1234567