HomeSort by relevance Sort by last modified time
    Searched refs:strlcpy (Results 1 - 25 of 159) sorted by null

1 2 3 4 5 6 7

  /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 18 int strlcpy; variable
  /external/mksh/src/
strlcpy.c 21 __RCSID("$MirOS: src/bin/mksh/strlcpy.c,v 1.8 2013/11/05 22:10:15 tg Exp $");
28 #undef strlcpy macro
30 strlcpy(char *dst, const char *src, size_t siz) function
  /external/chromium_org/third_party/libevent/
strlcpy-internal.h 15 #define strlcpy _event_strlcpy macro
  /external/libedit/src/
strlcpy.c 1 /* $NetBSD: strlcpy.c,v 1.3 2007/06/04 18:19:27 christos Exp $ */
2 /* $OpenBSD: strlcpy.c,v 1.7 2003/04/12 21:56:39 millert Exp $ */
23 __RCSID("$NetBSD: strlcpy.c,v 1.3 2007/06/04 18:19:27 christos Exp $");
32 __weak_alias(strlcpy, _strlcpy)
43 strlcpy(char *dst, const char *src, size_t siz)
sys.h 100 #define strlcpy libedit_strlcpy macro
101 size_t strlcpy(char *dst, const char *src, size_t size);
strlcat.c 85 * Note strlcpy(dst, src, 0) returns strlen(src).
87 return dlen + strlcpy(dst + dlen, src, siz - dlen);
  /bionic/libc/bionic/
__strlcpy_chk.cpp 36 * __strlcpy_chk. Called in place of strlcpy() when we know the
44 * This strlcpy check is called if _FORTIFY_SOURCE is defined and
50 __fortify_chk_fail("strlcpy: prevented write past end of buffer", 0);
53 return strlcpy(dest, src, supplied_size);
strerror_r.cpp 53 length = strlcpy(buf, error_name, buf_len);
  /bionic/libc/upstream-openbsd/lib/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/libpcap/
pcap-null.c 45 (void)strlcpy(ebuf, nosup, PCAP_ERRBUF_SIZE);
  /external/clang/test/CodeGen/
inline.c 15 // CHECK1: define i{{..}} @strlcpy
37 // CHECK2: define available_externally i{{..}} @strlcpy
123 // PR11062; the fact that the function is named strlcpy matters here.
124 inline __typeof(sizeof(int)) strlcpy(char *dest, const char *src, __typeof(sizeof(int)) size) { return 3; } function
125 void test8() { strlcpy(0,0,0); }
  /external/linux-tools-perf/perf-3.12.0/tools/perf/util/
abspath.c 16 strlcpy(cwd, pwd, PATH_MAX);
27 if (strlcpy(buf, path, PATH_MAX) >= PATH_MAX)
path.c 26 size_t strlcpy(char *dest, const char *src, size_t size) function
74 strlcpy(buf, bad_path, n);
  /external/bluetooth/bluedroid/main/
bte_conf.c 49 strlcpy(hci_logfile, config_get_string(config, CONFIG_DEFAULT_SECTION, "BtSnoopFileName", ""), sizeof(hci_logfile));
109 strlcpy(record.client_executable_url, config_get_string(config, section_name, "clientExecutableURL", ""), sizeof(record.client_executable_url));
110 strlcpy(record.service_description, config_get_string(config, section_name, "serviceDescription", ""), sizeof(record.service_description));
111 strlcpy(record.documentation_url, config_get_string(config, section_name, "documentationURL", ""), sizeof(record.documentation_url));
  /external/chromium_org/third_party/android_crazy_linker/src/src/
crazy_linker_error.cpp 18 strlcpy(buff_, message, sizeof(buff_));
  /external/dhcpcd/
if-linux-wireless.c 74 strlcpy(iwr.ifr_name, ifname, sizeof(iwr.ifr_name));
config.mk 16 COMPAT_SRCS+= compat/strlcpy.c
net.c 85 strlcpy(ifr.ifr_name, ifname, sizeof(ifr.ifr_name));
207 strlcpy(ifr.ifr_name, ifname, sizeof(ifr.ifr_name));
212 strlcpy(iface->name, ifname, sizeof(iface->name));
227 strlcpy(ifr.ifr_name, ifname, sizeof(ifr.ifr_name));
278 strlcpy(ifr.ifr_name, iface->name, sizeof(ifr.ifr_name));
292 strlcpy(ifmr.ifm_name, iface->name, sizeof(ifmr.ifm_name));
312 strlcpy(ifr.ifr_name, iface->name, sizeof(ifr.ifr_name));
382 strlcpy(ifn, argv[i], sizeof(ifn));
443 strlcpy(iflr.iflr_name, ifp->name,
588 strlcpy(ifr.ifr_name, ifname, sizeof(ifr.ifr_name))
    [all...]
  /bionic/libc/upstream-netbsd/lib/libc/regex/
regerror.c 186 (void)strlcpy(convbuf, r->name, sizeof convbuf);
197 (void)strlcpy(errbuf, s, errbuf_size);
  /device/moto/shamu/dataservices/rmnetctl/src/
librmnetctl.c 56 #define strlcpy g_strlcpy macro
379 str_len = strlcpy((char *)(request.data), dev_name, RMNET_MAX_STR_LEN);
409 str_len = strlcpy((char *)(request.data), dev_name, RMNET_MAX_STR_LEN);
444 str_len = strlcpy((char *)(request.data_format.dev),
483 str_len = strlcpy((char *)(request.data_format.dev),
521 str_len = strlcpy((char *)(request.data_format.dev),
558 str_len = strlcpy((char *)(request.data_format.dev),
602 str_len = strlcpy((char *)(request.local_ep_config.dev),
608 str_len = strlcpy((char *)(request.local_ep_config.next_dev),
644 str_len = strlcpy((char *)(request.local_ep_config.dev)
    [all...]
  /bionic/libc/upstream-freebsd/lib/libc/stdlib/
realpath.c 82 left_len = strlcpy(left, path + 1, sizeof(left));
94 left_len = strlcpy(left, path, sizeof(left));
238 left_len = strlcpy(left, symlink, sizeof(left));
  /external/chromium_org/net/disk_cache/blockfile/
mapped_file_unittest.cc 70 base::strlcpy(buffer1, "the data", arraysize(buffer1));
89 base::strlcpy(buffer1, "the data", arraysize(buffer1));
122 base::strlcpy(static_cast<char*>(file_block1.buffer()), "the data",
  /bionic/libc/dns/net/
getnameinfo.c 154 strlcpy(host, sun->sun_path,
223 strlcpy(serv, sp->s_name, servlen);
228 strlcpy(serv, numserv, servlen);
302 strlcpy(host, numaddr, hostlen);
324 strlcpy(host, hp->h_name, hostlen);
370 strlcpy(host, numaddr, hostlen);
  /external/bluetooth/bluedroid/bta/hf_client/
bta_hf_client_act.c 621 strlcpy(evt.operator.name, name, BTA_HF_CLIENT_OPERATOR_NAME_LEN + 1);
644 strlcpy(evt.number.number, number, BTA_HF_CLIENT_NUMBER_LEN + 1);
666 strlcpy(evt.number.number, number, BTA_HF_CLIENT_NUMBER_LEN + 1);
718 strlcpy(evt.clcc.number, number, BTA_HF_CLIENT_NUMBER_LEN + 1);
742 strlcpy(evt.cnum.number, number, BTA_HF_CLIENT_NUMBER_LEN + 1);
764 strlcpy(evt.number.number, number, BTA_HF_CLIENT_NUMBER_LEN + 1);

Completed in 1051 milliseconds

1 2 3 4 5 6 7