/external/bison/m4/ |
D | strndup.m4 | 1 # strndup.m4 serial 21 9 dnl Persuade glibc <string.h> to declare strndup(). 14 AC_CHECK_DECLS_ONCE([strndup]) 15 AC_CHECK_FUNCS_ONCE([strndup]) 23 AC_CACHE_CHECK([for working strndup], [gl_cv_func_strndup_works], 32 char *strndup (const char *, size_t); 35 s = strndup ("some longer string", 15); 37 s = strndup ("shorter string", 13);
|
D | string_h.m4 | 31 strdup strncat strndup strnlen strpbrk strsep strcasestr strtok_r
|
/external/clang/test/Analysis/ |
D | malloc-interprocedural.c | 105 char *strndup(const char *str, size_t n) { in strndup() function 126 (void)strndup(0, 20); // no-warning in useStrndup() 129 (void)strndup("hi there", n); // no-warning in useStrndup() 132 (void)strndup("hi there", n); in useStrndup()
|
D | taint-generic.c | 25 char *strndup(const char *s, size_t n); 104 dup = strndup(s, 20); in testUncontrolledFormatString()
|
D | malloc.c | 15 char *strndup(const char *s, size_t n); 255 char *y = strndup(x, 4); // expected-warning{{Use of memory after it is freed}} in f8() 937 char *s2 = strndup(s, size); in testStrndup()
|
/external/bison/lib/ |
D | string.in.h | 400 # undef strndup 401 # define strndup rpl_strndup macro 403 _GL_FUNCDECL_RPL (strndup, char *, (char const *__string, size_t __n) 405 _GL_CXXALIAS_RPL (strndup, char *, (char const *__string, size_t __n)); 408 _GL_FUNCDECL_SYS (strndup, char *, (char const *__string, size_t __n) 411 _GL_CXXALIAS_SYS (strndup, char *, (char const *__string, size_t __n)); 413 _GL_CXXALIASWARN (strndup); 415 # undef strndup 417 _GL_WARN_ON_USE (strndup, "strndup is unportable - "
|
D | xstrndup.c | 32 char *s = strndup (string, n); in xstrndup()
|
D | strndup.c | 26 strndup (char const *s, size_t n) in strndup() function
|
/external/bison/darwin-lib/ |
D | string.h | 712 # undef strndup 713 # define strndup rpl_strndup 715 _GL_FUNCDECL_RPL (strndup, char *, (char const *__string, size_t __n) 717 _GL_CXXALIAS_RPL (strndup, char *, (char const *__string, size_t __n)); 720 _GL_FUNCDECL_SYS (strndup, char *, (char const *__string, size_t __n) 723 _GL_CXXALIAS_SYS (strndup, char *, (char const *__string, size_t __n)); 725 _GL_CXXALIASWARN (strndup); 727 # undef strndup 729 _GL_WARN_ON_USE (strndup, "strndup is unportable - "
|
/external/bison/linux-lib/ |
D | string.h | 712 # undef strndup 713 # define strndup rpl_strndup 715 _GL_FUNCDECL_RPL (strndup, char *, (char const *__string, size_t __n) 717 _GL_CXXALIAS_RPL (strndup, char *, (char const *__string, size_t __n)); 720 _GL_FUNCDECL_SYS (strndup, char *, (char const *__string, size_t __n) 723 _GL_CXXALIAS_SYS (strndup, char *, (char const *__string, size_t __n)); 725 _GL_CXXALIASWARN (strndup); 727 # undef strndup 729 _GL_WARN_ON_USE (strndup, "strndup is unportable - "
|
/external/clang/test/SemaCXX/ |
D | warn-memsize-comparison.cpp | 13 extern "C" char *strndup(const char *src, size_t n); 67 if (strndup(b1, sizeof(b1) != 0)) {} // \ in f() 71 if (strndup(b1, sizeof(b1)) != 0) {} in f()
|
D | warn-memset-bad-sizeof.cpp | 128 extern "C" char *strndup(const char *src, unsigned n); 143 strndup(FOO, sizeof(FOO)); // \ in strcpy_and_friends()
|
/external/clang/test/Sema/ |
D | builtins-gnu-mode.c | 9 int strndup; variable
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/host-darwin-fixup/ |
D | AndroidFixup.h | 30 #define strndup(str, size) strdup(str) macro
|
/external/llvm/test/Transforms/InstCombine/ |
D | objsize.ll | 175 declare noalias i8* @strndup(i8* nocapture, i32) nounwind 188 …%call = tail call i8* @strndup(i8* getelementptr inbounds ([8 x i8]* @.str, i64 0, i64 0), i32 3) … 197 …%call = tail call i8* @strndup(i8* getelementptr inbounds ([8 x i8]* @.str, i64 0, i64 0), i32 7) … 206 …%call = tail call i8* @strndup(i8* getelementptr inbounds ([8 x i8]* @.str, i64 0, i64 0), i32 8) … 215 …%call = tail call i8* @strndup(i8* getelementptr inbounds ([8 x i8]* @.str, i64 0, i64 0), i32 57)…
|
/external/chromium_org/base/android/ |
D | build_info.cc | 73 java_exception_info_ = strndup(info.c_str(), 4096); in set_java_exception_info()
|
/external/elfutils/0.153/host-darwin-fixup/ |
D | AndroidFixup.h | 91 #define strndup(str, size) strdup(str) macro
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/ |
D | exec_cmd.c | 37 argv0_path = strndup(argv0, slash - argv0); in perf_extract_argv0_path()
|
D | cgroup.c | 161 s = strndup(str, e - str); in parse_cgroups()
|
D | path.c | 156 return strndup(path, chomp_trailing_dir_sep(path, path_len)); in strip_path_suffix()
|
D | strfilter.c | 133 cur->r->p = strndup(s, e - s); in strfilter_node__new()
|
D | string.c | 171 t = strndup(p, str-p); in argv_split()
|
/external/chromium_org/third_party/cython/src/Cython/Includes/libc/ |
D | string.pxd | 25 char *strndup (const char *s, size_t size)
|
/external/bison/ |
D | Android.mk | 124 lib/strndup.c \
|
/external/elfutils/0.153/libdwfl/ |
D | find-debuginfo.c | 194 : strndup (file_name, file_basename - 1 - file_name)); in find_debuginfo_in_path()
|