HomeSort by relevance Sort by last modified time
    Searched full:strlcpy (Results 1 - 25 of 388) 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...]
  /external/chromium/third_party/libevent/
strlcpy-internal.h 15 #define strlcpy _event_strlcpy macro
strlcpy.c 1 /* $OpenBSD: strlcpy.c,v 1.5 2001/05/13 15:40:16 deraadt Exp $ */
31 static char *rcsid = "$OpenBSD: strlcpy.c,v 1.5 2001/05/13 15:40:16 deraadt Exp $";
41 #include "strlcpy-internal.h"
  /external/linux-tools-perf/util/
abspath.c 16 strlcpy(cwd, pwd, PATH_MAX);
27 if (strlcpy(buf, path, PATH_MAX) >= PATH_MAX)
  /bionic/libc/bionic/
__strlcpy_chk.cpp 34 * __strlcpy_chk. Called in place of strlcpy() when we know the
42 * This strlcpy check is called if _FORTIFY_SOURCE is defined and
49 __fortify_chk_fail("strlcpy buffer overflow", 0);
52 return strlcpy(dest, src, supplied_size);
  /external/dhcpcd/
config.h 9 #include "compat/strlcpy.h"
config.mk 16 COMPAT_SRCS+= compat/strlcpy.c
  /external/openssh/openbsd-compat/
strlcpy.c 1 /* $OpenBSD: strlcpy.c,v 1.10 2005/08/08 08:05:37 espie Exp $ */
19 /* OPENBSD ORIGINAL: lib/libc/string/strlcpy.c */
33 strlcpy(char *dst, const char *src, size_t siz) function
  /external/linux-tools-perf/config/
feature-tests.mak 121 extern size_t strlcpy(char *dest, const char *src, size_t size);
125 strlcpy(NULL, NULL, 0);
  /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
113 // PR11062; the fact that the function is named strlcpy matters here.
114 inline __typeof(sizeof(int)) strlcpy(char *dest, const char *src, __typeof(sizeof(int)) size) { return 3; } function
115 void test8() { strlcpy(0,0,0); }
  /external/clang/test/Analysis/
cstring-syntax.c 1 // RUN: %clang_cc1 -analyze -analyzer-checker=unix.cstring.BadSizeArg -analyzer-store=region -Wno-strncat-size -Wno-strlcpy-strlcat-size -Wno-sizeof-array-argument -Wno-sizeof-pointer-memaccess -verify %s
  /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
  /bionic/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/chromium/net/disk_cache/
mapped_file_unittest.cc 50 base::strlcpy(buffer1, "the data", arraysize(buffer1));
72 base::strlcpy(buffer1, "the data", arraysize(buffer1));
  /external/dhcpcd/compat/
strlcpy.c 30 #include "strlcpy.h"
33 strlcpy(char *dst, const char *src, size_t size) function
strlcpy.h 33 size_t strlcpy(char *, const char *, size_t);
  /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
  /hardware/qcom/audio/legacy/alsa_sound/
AudioHardwareALSA.cpp 791 strlcpy(alsa_handle.useCase, SND_USE_CASE_VERB_IP_VOICECALL, sizeof(alsa_handle.useCase));
793 strlcpy(alsa_handle.useCase, SND_USE_CASE_MOD_PLAY_VOIP, sizeof(alsa_handle.useCase));
882 strlcpy(alsa_handle.useCase, SND_USE_CASE_VERB_HIFI2 , sizeof(alsa_handle.useCase));
884 strlcpy(alsa_handle.useCase, SND_USE_CASE_MOD_PLAY_MUSIC2, sizeof(alsa_handle.useCase));
    [all...]
AudioStreamInALSA.cpp 152 strlcpy(mHandle->useCase, SND_USE_CASE_MOD_CAPTURE_VOICE,
158 strlcpy(mHandle->useCase, SND_USE_CASE_MOD_CAPTURE_VOICE_UL_DL,
165 strlcpy(mHandle->useCase, SND_USE_CASE_MOD_CAPTURE_VOICE,
171 strlcpy(mHandle->useCase, SND_USE_CASE_MOD_CAPTURE_VOICE_DL,
177 strlcpy(mHandle->useCase, SND_USE_CASE_MOD_CAPTURE_FM, sizeof(mHandle->useCase));
179 strlcpy(mHandle->useCase, SND_USE_CASE_MOD_CAPTURE_A2DP_FM, sizeof(mHandle->useCase));
182 strlcpy(mHandle->useCase, SND_USE_CASE_MOD_PLAY_VOIP, sizeof(mHandle->useCase));
187 strlcpy(mHandle->useCase, SND_USE_CASE_MOD_CAPTURE_LOWLATENCY_MUSIC, sizeof(mHandle->useCase));
189 strlcpy(mHandle->useCase, SND_USE_CASE_MOD_CAPTURE_MUSIC, sizeof(mHandle->useCase));
201 strlcpy(mHandle->useCase, SND_USE_CASE_VERB_INCALL_REC
    [all...]
AudioStreamOutALSA.cpp 132 strlcpy(mHandle->useCase, SND_USE_CASE_VERB_IP_VOICECALL,
135 strlcpy(mHandle->useCase, SND_USE_CASE_VERB_HIFI2,
138 strlcpy(mHandle->useCase, SND_USE_CASE_VERB_HIFI,
141 strlcpy(mHandle->useCase, SND_USE_CASE_VERB_HIFI_LOWLATENCY_MUSIC,
146 strlcpy(mHandle->useCase, SND_USE_CASE_MOD_PLAY_VOIP,
149 strlcpy(mHandle->useCase, SND_USE_CASE_MOD_PLAY_MUSIC2,
152 strlcpy(mHandle->useCase, SND_USE_CASE_MOD_PLAY_MUSIC,
155 strlcpy(mHandle->useCase, SND_USE_CASE_MOD_PLAY_LOWLATENCY_MUSIC,
  /external/chromium/chrome/common/
child_process_logging_linux.cc 35 base::strlcpy(g_active_url,
47 base::strlcpy(g_client_id, str.c_str(), kClientIdSize);
  /external/openssh/
logintest.c 101 strlcpy(username, pw->pw_name, sizeof(username));
109 strlcpy(li1->progname, "OpenSSH-logintest", sizeof(li1->progname));
123 strlcpy(li1->hostname, "localhost", sizeof(li1->hostname));
144 strlcpy(s_t0, ctime(&t0), sizeof(s_t0));
146 strlcpy(s_t1, ctime(&t1), sizeof(s_t1));
155 strlcpy(s_logintime, ctime(&logintime), sizeof(s_logintime));
171 strlcpy(s_logouttime, ctime(&logouttime), sizeof(s_logouttime));
186 strlcpy(s_t2, ctime(&t2), sizeof(s_t2));
  /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
  /system/core/libsync/
sync.c 43 strlcpy(data.name, name, sizeof(data.name));
109 strlcpy(data.name, name, sizeof(data.name));

Completed in 827 milliseconds

1 2 3 4 5 6 7 8 91011>>