/external/bison/lib/ |
H A D | xstrndup.c | 32 char *s = strndup (string, n);
|
H A D | strndup.c | 1 /* A replacement function, for systems that lack strndup. 26 strndup (char const *s, size_t n) function
|
H A D | string.in.h | 400 # undef strndup macro 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); variable 415 # undef strndup macro 417 _GL_WARN_ON_USE (strndup, "strndup i [all...] |
/external/clang/test/Sema/ |
H A D | builtins-gnu-mode.c | 9 int strndup; variable
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/host-darwin-fixup/ |
H A D | AndroidFixup.h | 30 #define strndup(str, size) strdup(str) macro
|
/external/clang/test/Analysis/ |
H A D | malloc-interprocedural.c | 105 char *strndup(const char *str, size_t n) { function 126 (void)strndup(0, 20); // no-warning 129 (void)strndup("hi there", n); // no-warning 132 (void)strndup("hi there", n);
|
H A D | taint-generic.c | 25 char *strndup(const char *s, size_t n); 104 dup = strndup(s, 20);
|
H A 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}} 937 char *s2 = strndup(s, size);
|
/external/chromium_org/base/android/ |
H A D | build_info.cc | 73 java_exception_info_ = strndup(info.c_str(), 4096);
|
/external/elfutils/0.153/host-darwin-fixup/ |
H A D | AndroidFixup.h | 91 #define strndup(str, size) strdup(str) macro
|
/external/clang/test/SemaCXX/ |
H A D | warn-memset-bad-sizeof.cpp | 128 extern "C" char *strndup(const char *src, unsigned n); 143 strndup(FOO, sizeof(FOO)); // \ 144 // expected-warning {{'strndup' call operates on objects of type 'const char' while the size is based on a different type 'const char *'}} expected-note{{did you mean to provide an explicit length?}}
|
H A D | warn-memsize-comparison.cpp | 13 extern "C" char *strndup(const char *src, size_t n); 67 if (strndup(b1, sizeof(b1) != 0)) {} // \ 68 expected-warning{{size argument in 'strndup' call is a comparison}} \ 71 if (strndup(b1, sizeof(b1)) != 0) {}
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/ |
H A D | cgroup.c | 161 s = strndup(str, e - str);
|
H A D | exec_cmd.c | 37 argv0_path = strndup(argv0, slash - argv0);
|
H A D | path.c | 156 return strndup(path, chomp_trailing_dir_sep(path, path_len));
|
H A D | strfilter.c | 133 cur->r->p = strndup(s, e - s);
|
H A D | string.c | 171 t = strndup(p, str-p);
|
H A D | probe-event.c | 948 arg->name = strndup(str, tmp - str); 975 arg->var = strndup(str, tmp - str); 1013 (*fieldp)->name = strndup(str, tmp - str); 1148 tp->module = strndup(argv[1], p - argv[1]);
|
/external/bison/darwin-lib/ |
H A 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); variable 727 # undef strndup macro 729 _GL_WARN_ON_USE (strndup, "strndup i [all...] |
/external/bison/linux-lib/ |
H A 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); variable 727 # undef strndup macro 729 _GL_WARN_ON_USE (strndup, "strndup i [all...] |
/external/bison/ |
H A D | Android.mk | 124 lib/strndup.c \
|
/external/elfutils/0.153/libdwfl/ |
H A D | find-debuginfo.c | 194 : strndup (file_name, file_basename - 1 - file_name));
|
/external/iproute2/misc/ |
H A D | lnstat_util.c | 304 file = strndup(name, colon-name);
|
/external/llvm/include/llvm/Target/ |
H A D | TargetLibraryInfo.h | 587 /// char *strndup(const char *s1, size_t n); 588 strndup, enumerator in enum:llvm::LibFunc::Func
|
/external/compiler-rt/lib/msan/ |
H A D | msan_interceptors.cc | 296 INTERCEPTOR(char *, strndup, char *src, SIZE_T n) { 300 char *res = REAL(strndup)(src, n); 1509 INTERCEPT_FUNCTION(strndup);
|