Searched defs:strndup (Results 1 - 6 of 6) sorted by relevance

/external/bison/lib/
H A Dstrndup.c1 /* A replacement function, for systems that lack strndup.
26 strndup (char const *s, size_t n) function
H A Dstring.in.h400 # 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 Dbuiltins-gnu-mode.c9 int strndup; variable
/external/clang/test/Analysis/
H A Dmalloc-interprocedural.c105 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);
/external/bison/darwin-lib/
H A Dstring.h712 # 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 Dstring.h712 # 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...]

Completed in 432 milliseconds