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

1 2 3 4 5 6 7 8 91011>>

  /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/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);
  /hardware/qcom/display/msm8084/libhwcomposer/
hwc_dump_layers.cpp 66 strlcpy(mDisplayName, "external", sizeof(mDisplayName));
68 strlcpy(mDisplayName, "primary", sizeof(mDisplayName));
119 strlcpy(mDumpPropStrPng, dumpPropStr, sizeof(mDumpPropStrPng));
149 strlcpy(mDumpPropStrRaw, dumpPropStr, sizeof(mDumpPropStrRaw));
379 strlcpy(pixFormatStr, "RGBA_8888", sizeof(pixFormatStr));
382 strlcpy(pixFormatStr, "RGBX_8888", sizeof(pixFormatStr));
385 strlcpy(pixFormatStr, "RGB_888", sizeof(pixFormatStr));
388 strlcpy(pixFormatStr, "RGB_565", sizeof(pixFormatStr));
391 strlcpy(pixFormatStr, "BGRA_8888", sizeof(pixFormatStr));
394 strlcpy(pixFormatStr, "YV12", sizeof(pixFormatStr))
    [all...]
  /hardware/qcom/display/msm8226/libhwcomposer/
hwc_dump_layers.cpp 62 strlcpy(mDisplayName, "external", sizeof(mDisplayName));
64 strlcpy(mDisplayName, "primary", sizeof(mDisplayName));
115 strlcpy(mDumpPropStrPng, dumpPropStr, sizeof(mDumpPropStrPng));
145 strlcpy(mDumpPropStrRaw, dumpPropStr, sizeof(mDumpPropStrRaw));
330 strlcpy(pixFormatStr, "RGBA_8888", sizeof(pixFormatStr));
333 strlcpy(pixFormatStr, "RGBX_8888", sizeof(pixFormatStr));
336 strlcpy(pixFormatStr, "RGB_888", sizeof(pixFormatStr));
339 strlcpy(pixFormatStr, "RGB_565", sizeof(pixFormatStr));
342 strlcpy(pixFormatStr, "BGRA_8888", sizeof(pixFormatStr));
345 strlcpy(pixFormatStr, "YV12", sizeof(pixFormatStr))
    [all...]
  /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);
  /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/mksh/src/
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
  /system/core/include/cutils/
memory.h 34 /* Declaration of strlcpy() for platforms that don't already have it. */
35 size_t strlcpy(char *dst, const char *src, size_t 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)
  /external/tcpdump/missing/
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
  /system/core/libcutils/
memory.c 59 /* Implementation of strlcpy() for platforms that don't already have it. */
67 strlcpy(char *dst, const char *src, size_t siz) function
  /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
  /ndk/sources/android/crazy_linker/src/
crazy_linker_error.cpp 18 strlcpy(buff_, message, sizeof(buff_));
  /bionic/libc/upstream-netbsd/lib/libc/regex/
regerror.c 186 (void)strlcpy(convbuf, r->name, sizeof convbuf);
197 (void)strlcpy(errbuf, s, errbuf_size);
  /system/core/libsync/
sync.c 43 strlcpy(data.name, name, sizeof(data.name));
109 strlcpy(data.name, name, sizeof(data.name));
  /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...]

Completed in 1273 milliseconds

1 2 3 4 5 6 7 8 91011>>