Searched refs:strndup (Results 1 - 25 of 30) sorted by relevance

12

/external/bison/lib/
H A Dstrndup.h20 /* Get strndup() declaration. */
28 extern char *strndup (const char *string, size_t n);
H A Dxstrndup.c26 #include "strndup.h"
35 char *s = strndup (string, n);
H A Dstrndup.c25 # include "strndup.h"
40 # undef strndup macro
44 # define __strndup strndup
65 weak_alias (__strndup, strndup)
H A DMakefile45 strdup.c strdup.h strerror.c strndup.c strndup.h strnlen.c \
69 $(top_srcdir)/m4/strndup.m4 $(top_srcdir)/m4/strnlen.m4 \
391 include $(DEPDIR)/strndup.Po
/external/linux-tools-perf/host-darwin-fixup/
H A DAndroidFixup.h27 #define strndup(str, size) strdup(str) macro
/external/elfutils/host-darwin-fixup/
H A DAndroidFixup.h91 #define strndup(str, size) strdup(str) macro
/external/clang/test/SemaCXX/
H A Dwarn-memset-bad-sizeof.cpp128 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?}}
/external/linux-tools-perf/util/
H A Dcgroup.c162 s = strndup(str, e - str);
H A Dexec_cmd.c37 argv0_path = strndup(argv0, slash - argv0);
H A Dpath.c156 return strndup(path, chomp_trailing_dir_sep(path, path_len));
H A Dstrfilter.c133 cur->r->p = strndup(s, e - s);
H A Dstring.c171 t = strndup(p, str-p);
H A Dparse-events.c552 evt_name = strndup(evt_name, comma_loc - evt_name);
557 evt_name = strndup(evt_name, flags - evt_name);
H A Dprobe-event.c843 arg->name = strndup(str, tmp - str);
870 arg->var = strndup(str, tmp - str);
908 (*fieldp)->name = strndup(str, tmp - str);
/external/clang/test/Analysis/
H A Dtaint-generic.c25 char *strndup(const char *s, size_t n);
104 dup = strndup(s, 20);
H A Dmalloc.c14 char *strndup(const char *s, size_t n);
253 char *y = strndup(x, 4); // expected-warning{{Use of memory after it is freed}}
678 char *s2 = strndup(s, size);
/external/elfutils/libdwfl/
H A Dfind-debuginfo.c168 : strndup (file_name, file_basename - 1 - file_name));
/external/bison/
H A Dconfig.hin114 /* Define to 1 if you have the declaration of `strndup', and to 0 if you
224 /* Define if you have the strndup() function and it works. */
403 #undef strndup
/external/iproute2/misc/
H A Dlnstat_util.c304 file = strndup(name, colon-name);
/external/llvm/include/llvm/Target/
H A DTargetLibraryInfo.h295 /// char *strndup(const char *s1, size_t n);
296 strndup, enumerator in enum:llvm::LibFunc::Func
/external/valgrind/main/memcheck/tests/
H A Dstr_tester.c1287 it = "strndup";
1288 p = strndup("abcdef", 12);
1293 q = strndup(p + 1, 2);
1300 p = strndup("abc def", 3);
1518 /* strndup. */
/external/bison/build-aux/
H A DMakefile62 $(top_srcdir)/m4/strndup.m4 $(top_srcdir)/m4/strnlen.m4 \
/external/bison/data/
H A DMakefile62 $(top_srcdir)/m4/strndup.m4 $(top_srcdir)/m4/strnlen.m4 \
/external/bison/src/
H A DMakefile64 $(top_srcdir)/m4/strndup.m4 $(top_srcdir)/m4/strnlen.m4 \
/external/bison/tests/
H A DMakefile61 $(top_srcdir)/m4/strndup.m4 $(top_srcdir)/m4/strnlen.m4 \

Completed in 314 milliseconds

12