/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/syslinux/com32/lib/ |
H A D | strndup.c | 2 * strndup.c 8 char *strndup(const char *s, size_t n) function
|
/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);
|
/external/toybox/toys/pending/ |
H A D | mdev.c | 110 char *regex = strndup(pos, end2-pos); 141 char *str = strndup(pos, s-pos); 152 char *str = strndup(s, end2-s);
|
/external/libmojo/base/android/ |
H A D | build_info.cc | 76 java_exception_info_ = strndup(info.c_str(), 4096);
|
/external/syslinux/com32/include/ |
H A D | string.h | 28 __extern char *strndup(const char *, size_t);
|
/external/clang/test/SemaCXX/ |
H A D | warn-memset-bad-sizeof.cpp | 130 extern "C" char *strndup(const char *src, unsigned n); 145 strndup(FOO, sizeof(FOO)); // \ 146 // 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/syslinux/gpxe/src/core/ |
H A D | string.c | 338 char * strndup(const char *s, size_t n) function 354 return strndup(s, ~((size_t)0));
|
/external/syslinux/gpxe/src/include/ |
H A D | string.h | 47 char * __malloc strndup(const char *s, size_t n) __nonnull;
|
/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/selinux/libselinux/src/ |
H A D | label_support.c | 47 *entry = strndup(tmp_buf, *len);
|
/external/minijail/ |
H A D | bpf.c | 260 begin->label = strndup(label, MAX_BPF_LABEL_LEN); 279 begin->label = strndup(label, MAX_BPF_LABEL_LEN);
|
/external/libmicrohttpd/src/spdy2http/ |
H A D | proxy.c | 605 if(NULL == (proxy->version = strndup(line, i - pos))) 611 if(NULL == (status = strndup(&(line[pos]), i - pos))) 620 if(NULL == (proxy->status_msg = strndup(&(line[pos]), i - pos))) 631 if(NULL == (name = strndup(line, i - pos))) 654 if(NULL == (value = strndup(&(line[pos]), i - pos)))
|
/external/bison/ |
H A D | Android.mk | 124 lib/strndup.c \
|
/external/libmicrohttpd/src/microspdy/ |
H A D | structures.c | 586 if(NULL == (name = strndup(stream + offset, name_size))) 601 if(NULL == (value = strndup(stream + offset, value_size)))
|
/external/elfutils/libdwfl/ |
H A D | find-debuginfo.c | 218 : strndup (file_name, file_basename - 1 - file_name));
|
/external/iproute2/misc/ |
H A D | lnstat_util.c | 308 file = strndup(name, colon-name);
|
/external/mmc-utils/ |
H A D | mmc.c | 239 (*commands)[c] = strndup(s, l);
|
/external/selinux/libsepol/src/ |
H A D | util.c | 226 *str = strndup(tmp_buf, *len);
|