Searched defs:strncat (Results 1 - 6 of 6) sorted by relevance
/external/clang/test/Sema/ |
H A D | 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(des [all...] |
/external/valgrind/main/coregrind/m_demangle/ |
H A D | vg_libciface.h | 61 #define strncat(_dd,_ss,_nn) VG_(strncat)((_dd),(_ss),(_nn)) macro
|
/external/valgrind/main/coregrind/ |
H A D | m_libcbase.c | 245 Char* VG_(strncat) ( Char* dest, const Char* src, SizeT n ) function
|
/external/clang/test/Analysis/ |
H A D | string.c | 547 // strncat() 555 #define strncat(a,b,c) __strncat_chk(a,b,c, (size_t)-1) macro 559 #define strncat BUILTIN(strncat) macro 560 char *strncat(char *restrict s1, const char *restrict s2, size_t n); 566 strncat(NULL, x, 4); // expected-warning{{Null pointer argument in call to string copy function}} 570 strncat(x, NULL, 4); // expected-warning{{Null pointer argument in call to string copy function}} 574 strncat(x, (char*)&strncat_fn, 4); // expected-warning{{Argument to string copy function is the address of the function 'strncat_fn', which is not a null-terminated string}} 585 clang_analyzer_eval(strncat(x, y, strlen(y)) == x); // expected-warning{{TRUE}} 592 strncat( [all...] |
/external/llvm/include/llvm/Target/ |
H A D | TargetLibraryInfo.h | 289 /// char *strncat(char *s1, const char *s2, size_t n); 290 strncat, enumerator in enum:llvm::LibFunc::Func
|
/external/grub/stage2/ |
H A D | shared.h | 367 #define strncat grub_strncat macro
|
Completed in 1120 milliseconds