/external/tlsdate/src/common/ |
strnlen.c | 2 * Trivial strnlen(3) implementation 7 #include "strnlen.h" 10 strnlen(const char *s, size_t limit) function
|
strnlen.h | 6 size_t strnlen(const char *, size_t);
|
/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.
|
/toolchain/binutils/binutils-2.25/libiberty/ |
strnlen.c | 1 /* Portable version of strnlen. 6 @deftypefn Supplemental size_t strnlen (const char *@var{s}, size_t @var{maxlen}) 22 strnlen (const char *s, size_t maxlen) function
|
/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...] |
/external/llvm/test/CodeGen/SystemZ/ |
strlen-01.ll | 6 declare i64 @strnlen(i8 *%src, i64 %len) 25 ; Test strnlen with its proper i64 prototype. 37 %res = call i64 @strnlen(i8 *%src, i64 %len)
|
strlen-02.ll | 6 declare i32 @strnlen(i8 *%src, i32 %len) 25 ; Test strnlen with an i32-based prototype. 37 %res = call i32 @strnlen(i8 *%src, i32 %len)
|
/external/clang/test/Sema/ |
enable_if.c | 24 size_t strnlen(const char *s, size_t maxlen) // expected-note{{candidate function}} 29 inline size_t strnlen(const char *s, size_t maxlen) // expected-note{{candidate function}} function 37 size_t strnlen(const char *s, size_t maxlen) // expected-note{{candidate disabled: chosen when 'maxlen' is known to be less than or equal to the buffer size}} 45 size_t strnlen(const char *s, size_t maxlen) // expected-note{{candidate function has been explicitly made unavailable}} 56 strnlen(s, i); 58 strnlen(s, 999); 60 strnlen(c, 1); 62 strnlen(c, i); 65 strnlen(c, 999); // expected-error{{call to unavailable function 'strnlen': 'maxlen' is larger than the buffer size} [all...] |
/bionic/libc/arch-arm64/ |
arm64.mk | 19 arch-arm64/generic/bionic/strnlen.S \ 25 bionic/strnlen.c \
|
/bionic/libc/arch-x86/atom/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/upstream-openbsd/lib/libc/string/ |
strndup.c | 31 len = strnlen(str, maxlen);
|
/external/elfutils/lib/ |
xstrndup.c | 42 size_t len = strnlen (string, n);
|
/hardware/intel/bootstub/ |
bootstub.c | 98 static size_t strnlen(const char *s, size_t maxlen) function 158 cmdline_len = strnlen((const char *)aosp->cmdline, sizeof(aosp->cmdline)); 159 extra_cmdline_len = strnlen((const char *)aosp->extra_cmdline, sizeof(aosp->extra_cmdline)); 174 cmdline_len = strnlen((const char *)CMDLINE_OFFSET, CMDLINE_SIZE); 383 dst = (char *)mb.cmdline + strnlen((const char *)mb.cmdline, CMDLINE_SIZE) - 1; 387 for (i = 0 ;i < strnlen((const char *)CMDLINE_OFFSET, CMDLINE_SIZE);i++) {
|
/external/e2fsprogs/misc/ |
e4defrag.c | 1114 !memcmp(file, lost_found_dir, strnlen(lost_found_dir, PATH_MAX))) { 1293 strnlen(frag_rank[j - 1].msg_buffer, 1307 strnlen(file, PATH_MAX)); [all...] |
/external/libhevc/decoder/ |
ihevcd_version.c | 117 u4_len = strnlen(ac_version_tmp, MAXVERSION_STRLEN) + 1;
|
/external/valgrind/drd/ |
drd_strmem_intercepts.c | 2 /*--- Replacements for strlen() and strnlen(), which run on the ---*/
|
/bionic/libc/arch-arm64/generic/bionic/ |
strnlen.S | 71 ENTRY(strnlen) function 174 END(strnlen)
|