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

1 2 3 4 5 6 7 8 910

  /bionic/libc/arch-x86/atom/string/
ssse3-strncat-atom.S 31 #define STRCAT strncat
  /bionic/libc/arch-x86_64/string/
sse2-strncat-slm.S 32 #define STRCAT strncat
  /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
4 char *strncat(char *, const char *, size_t);
9 strncat(dest, "AAAAAAAAAAAAAAAAAAAAAAAAAAAAA", sizeof(dest) - 1); // expected-warning {{Potential buffer overflow. Replace with 'sizeof(dest) - strlen(dest) - 1' or use a safer 'strlcat' API}}
10 strncat(dest, "AAAAAAAAAAAAAAAAAAAAAAAAAAA", sizeof(dest)); // expected-warning {{Potential buffer overflow. Replace with}}
11 strncat(dest, "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", sizeof(dest) - strlen(dest)); // expected-warning {{Potential buffer overflow. Replace with}}
12 strncat(dest, src, sizeof(src)); // expected-warning {{Potential buffer overflow. Replace with}}
cstring-syntax-cxx.cpp 18 // Ensure we don't crash on custom-defined strncat.
19 char strncat ();
21 return strncat ();
  /external/clang/test/Sema/
warn-strncat-size.c 15 #define strncat BUILTIN(strncat) macro
16 char *strncat(char *restrict s1, const char *restrict s2, size_t n);
30 strncat(dest, "AAAAAAAAAAAAAAAAAAAAAAAAAAAAA", sizeof(dest) - strlen(dest) - 1); // no-warning
31 strncat(dest, "AAAAAAAAAAAAAAAAAAAAAAAAAAAAA", sizeof(dest) - 1); // no-warning - the code might assume that dest is empty
33 strncat(dest, src, sizeof(src)); // expected-warning {{size argument in 'strncat' call appears to be size of the source}} expected-note {{change the argument to be the free space in the destination buffer minus the terminating null byte}}
35 strncat(dest, src, sizeof(src) - 1); // expected-warning {{size argument in 'strncat' call appears to be size of the source}} expected-note {{change the argument to be the free space in the destination buffer minus the terminating null byte}}
37 strncat(dest, "AAAAAAAAAAAAAAAAAAAAAAAAAAA", sizeof(dest)); // expected-warning{{the value of the size arg (…)
    [all...]
  /bionic/libc/upstream-openbsd/lib/libc/string/
strncat.c 1 /* $OpenBSD: strncat.c,v 1.5 2005/08/08 08:05:37 espie Exp $ */
41 strncat(char *dst, const char *src, size_t n) function
  /external/valgrind/main/memcheck/tests/
overlap.c 87 /* testing strncat() */
97 strncat(b, a, 25);
101 strncat(b, a, 26);
105 strncat(b, a, 27);
112 strncat(a+20, a, 21); // run twice to check 2nd error isn't shown
113 strncat(a, a+20, 21);
overlap.stderr.exp 21 Source and destination overlap in strncat(0x........, 0x........, 21)
22 at 0x........: strncat (vg_replace_strmem.c:...)
25 Source and destination overlap in strncat(0x........, 0x........, 21)
26 at 0x........: strncat (vg_replace_strmem.c:...)
  /development/ndk/sources/android/libportable/common/include/
log_portable.h 62 strncat(&my_portable_tag[0], __progname, MAX_TAG_LEN);
63 strncat(&my_portable_tag[0], ".", MAX_TAG_LEN - strlen(my_portable_tag));
64 strncat(&my_portable_tag[0], PORTABLE_TAG, MAX_TAG_LEN - strlen(my_portable_tag));
  /dalvik/libdex/
OptInvocation.cpp 92 strncat(absoluteFile, "/", kBufLen);
94 strncat(absoluteFile, fileName, kBufLen);
102 strncat(absoluteFile, "/", kBufLen);
103 strncat(absoluteFile, subFileName, kBufLen);
141 strncat(nameBuf, absoluteFile, kBufLen);
  /hardware/ti/omap4xxx/camera/OMXCameraAdapter/
OMXCapabilities.cpp 242 strncat(buffer, cap[i].param, bufferSize - 1);
243 strncat(buffer, PARAM_SEP, bufferSize - 1);
272 strncat(buffer, cap[i].param, bufferSize - 1);
273 strncat(buffer, PARAM_SEP, bufferSize - 1);
287 strncat(buffer, tmpBuffer, bufferSize - 1);
288 strncat(buffer, PARAM_SEP, bufferSize - 1);
294 strncat(buffer, tmpBuffer, bufferSize - 1);
295 strncat(buffer, PARAM_SEP, bufferSize - 1);
338 strncat(buffer, PARAM_SEP, bufferSize - 1);
340 strncat(buffer, cap[i].param, bufferSize - 1)
    [all...]
  /bionic/libstdc++/include/
cstring 57 using ::strncat;
  /ndk/sources/cxx-stl/gabi++/include/
cstring 57 using ::strncat;
  /ndk/sources/cxx-stl/system/include/
cstring 57 using ::strncat;
  /prebuilts/ndk/4/platforms/android-5/arch-x86/usr/include/
cstring 55 using ::strncat;
  /prebuilts/ndk/4/platforms/android-8/arch-x86/usr/include/
cstring 55 using ::strncat;
  /prebuilts/ndk/5/sources/cxx-stl/system/include/
cstring 57 using ::strncat;
  /prebuilts/ndk/6/sources/cxx-stl/system/include/
cstring 57 using ::strncat;
  /prebuilts/ndk/7/sources/cxx-stl/gabi++/include/
cstring 57 using ::strncat;
  /prebuilts/ndk/7/sources/cxx-stl/system/include/
cstring 57 using ::strncat;
  /prebuilts/ndk/8/sources/cxx-stl/gabi++/include/
cstring 57 using ::strncat;
  /prebuilts/ndk/8/sources/cxx-stl/system/include/
cstring 57 using ::strncat;
  /prebuilts/ndk/9/sources/cxx-stl/EH/gabi++/include/
cstring 57 using ::strncat;
  /prebuilts/ndk/9/sources/cxx-stl/llvm-libc++/gabi++/include/
cstring 57 using ::strncat;
  /prebuilts/ndk/9/sources/cxx-stl/system/include/
cstring 57 using ::strncat;

Completed in 486 milliseconds

1 2 3 4 5 6 7 8 910