/ndk/sources/host-tools/sed-4.2.1/m4/ |
strnlen.m4 | 0 # strnlen.m4 serial 10 9 dnl Persuade glibc <string.h> to declare strnlen(). 13 AC_CHECK_DECLS_ONCE([strnlen]) 22 # lib/strnlen.c. 23 #AC_LIBOBJ([strnlen]) 24 AC_DEFINE([strnlen], [rpl_strnlen], 30 # Prerequisites of lib/strnlen.c.
|
/external/bison/m4/ |
strnlen.m4 | 0 # strnlen.m4 serial 13 12 dnl Persuade glibc <string.h> to declare strnlen(). 15 AC_CHECK_DECLS_ONCE([strnlen]) 20 dnl Note: AC_FUNC_STRNLEN does AC_LIBOBJ([strnlen]). 29 # Prerequisites of lib/strnlen.c.
|
/external/clang/test/Analysis/ |
string-fail.c | 38 // strnlen() 41 #define strnlen BUILTIN(strnlen) macro 42 size_t strnlen(const char *s, size_t maxlen); 45 if (strnlen(x, 10) < 5) 47 clang_analyzer_eval(strnlen(x, 10) < 5); // expected-warning{{FALSE}} 57 size_t a = strnlen(z.a, 10); 59 size_t b = strnlen(z.a, 10); 65 size_t c = strnlen(z.a, 10); 72 size_t a = strnlen(x, 10) [all...] |
string.c | 158 // strnlen() 161 size_t strnlen(const char *s, size_t maxlen); 164 clang_analyzer_eval(strnlen("123", 10) == 3); // expected-warning{{TRUE}} 169 clang_analyzer_eval(strnlen(a, 10) == 3); // expected-warning{{TRUE}} 174 clang_analyzer_eval(strnlen(a, 10) == 3); // expected-warning{{TRUE}} 176 clang_analyzer_eval(strnlen(a, 10) == 3); // expected-warning{{UNKNOWN}} 180 clang_analyzer_eval(strnlen("123456", 3) == 3); // expected-warning{{TRUE}} 185 clang_analyzer_eval(strnlen(a, 3) == 3); // expected-warning{{TRUE}} 190 clang_analyzer_eval(strnlen(a, 3) == 3); // expected-warning{{TRUE}} 192 clang_analyzer_eval(strnlen(a, 3) == 3); // expected-warning{{UNKNOWN} [all...] |
/external/bison/lib/ |
memchr.valgrind | 4 # implement strnlen). However, we use a safe word read to provide a speedup.
|
strndup.c | 28 size_t len = strnlen (s, n);
|
strnlen.c | 26 strnlen (const char *string, size_t maxlen) function
|
strnlen1.c | 26 /* This is the same as strnlen (string, maxlen - 1) + 1. */
|
strnlen1.h | 30 /* This is the same as strnlen (string, maxlen - 1) + 1. */
|
string.in.h | 428 # undef strnlen macro 429 # define strnlen rpl_strnlen macro 431 _GL_FUNCDECL_RPL (strnlen, size_t, (char const *__string, size_t __maxlen) 434 _GL_CXXALIAS_RPL (strnlen, size_t, (char const *__string, size_t __maxlen)); 437 _GL_FUNCDECL_SYS (strnlen, size_t, (char const *__string, size_t __maxlen) 441 _GL_CXXALIAS_SYS (strnlen, size_t, (char const *__string, size_t __maxlen)); 443 _GL_CXXALIASWARN (strnlen); variable 445 # undef strnlen macro 447 _GL_WARN_ON_USE (strnlen, "strnlen is unportable - [all...] |
/ndk/sources/host-tools/sed-4.2.1/lib/ |
memchr.valgrind | 4 # implement strnlen). However, we use a safe word read to provide a speedup.
|
strndup.c | 31 size_t len = strnlen (s, n);
|
strnlen.c | 29 strnlen (const char *string, size_t maxlen) function
|
/external/valgrind/main/drd/ |
drd_strmem_intercepts.c | 2 /*--- Replacements for strlen() and strnlen(), which run on the ---*/ 40 #define STRNLEN(soname, fnname) \ 50 STRNLEN(VG_Z_LIBC_SONAME, strnlen) 52 STRNLEN(VG_Z_LIBC_SONAME, strnlen)
|
/external/chromium_org/native_client_sdk/src/libraries/xray/ |
stringpool.c | 13 * so that strnlen is available with glibc */ 51 /* Add +1 to strnlen result to account for string termination */ 52 int n = strnlen(src, XRAY_STRING_POOL_NODE_SIZE + 1) + 1;
|
/bionic/libc/arch-x86/string/ |
sse2-strnlen-atom.S | 32 #define STRLEN strnlen
|
/bionic/libc/bionic/ |
strnlen.c | 30 size_t strnlen(const char* str, size_t maxlen) function
|
/bionic/libc/arch-x86/ |
x86.mk | 63 arch-x86/string/sse2-strnlen-atom.S \ 78 bionic/strnlen.c \
|
/external/elfutils/lib/ |
xstrndup.c | 41 size_t len = strnlen (string, n);
|
/external/kernel-headers/original/linux/ |
string.h | 67 extern __kernel_size_t strnlen(const char *,__kernel_size_t);
|
/external/compiler-rt/lib/asan/ |
asan_interceptors.h | 26 DECLARE_REAL(uptr, strnlen, const char *s, uptr maxlen)
|
/external/elfutils/host-darwin-fixup/ |
AndroidFixup.h | 40 static inline size_t strnlen (const char *__string, size_t __maxlen) function
|
/external/compiler-rt/lib/asan/tests/ |
asan_str_test.cc | 68 // Normal strnlen calls. 69 Ident(strnlen(str - 1, 0)); 70 Ident(strnlen(str, size)); 71 Ident(strnlen(str + size - 1, 1)); 73 Ident(strnlen(str, 2 * size)); 75 EXPECT_DEATH(Ident(strnlen(str - 1, 1)), LeftOOBReadMessage(1)); 76 EXPECT_DEATH(Ident(strnlen(str + size, 1)), RightOOBReadMessage(0)); 79 EXPECT_DEATH(Ident(strnlen(str, size + 1)), RightOOBReadMessage(0));
|
/external/llvm/lib/Transforms/Utils/ |
BuildLibCalls.cpp | 61 /// EmitStrNLen - Emit a call to the strnlen function to the builder, for the 66 if (!TLI->has(LibFunc::strnlen)) 77 Constant *StrNLen = M->getOrInsertFunction("strnlen", 84 CallInst *CI = B.CreateCall2(StrNLen, CastToCStr(Ptr, B), MaxLen, "strnlen"); 85 if (const Function *F = dyn_cast<Function>(StrNLen->stripPointerCasts()))
|
/external/valgrind/main/exp-sgcheck/ |
h_intercepts.c | 102 #define STRNLEN(soname, fnname) \ 111 STRNLEN(VG_Z_LIBC_SONAME, strnlen)
|