/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()
|
/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/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/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/toybox/toys/pending/ |
D | mdev.c | 110 char *regex = strndup(pos, end2-pos); in make_device() 141 char *str = strndup(pos, s-pos); in make_device() 152 char *str = strndup(s, end2-s); in make_device()
|
/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 | 130 extern "C" char *strndup(const char *src, unsigned n); 145 strndup(FOO, sizeof(FOO)); // \ in strcpy_and_friends()
|
/external/clang/test/Sema/ |
D | builtins-gnu-mode.c | 9 int strndup; variable
|
/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], [8 x i8]* @.str, i64 0, i64 0… 197 …%call = tail call i8* @strndup(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0… 206 …%call = tail call i8* @strndup(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0… 215 …%call = tail call i8* @strndup(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0…
|
/external/libselinux/src/ |
D | label_support.c | 51 *entry = strndup(tmp_buf, *len); in read_spec_entry()
|
/external/minijail/ |
D | bpf.c | 236 begin->label = strndup(label, MAX_BPF_LABEL_LEN); in bpf_label_id() 249 begin->label = strndup(label, MAX_BPF_LABEL_LEN); in bpf_label_id()
|
D | minijail0.c | 192 filter_path = strndup(optarg, path_max); in parse_args()
|
/external/libmicrohttpd/src/spdy2http/ |
D | proxy.c | 605 if(NULL == (proxy->version = strndup(line, i - pos))) in curl_header_cb() 611 if(NULL == (status = strndup(&(line[pos]), i - pos))) in curl_header_cb() 620 if(NULL == (proxy->status_msg = strndup(&(line[pos]), i - pos))) in curl_header_cb() 631 if(NULL == (name = strndup(line, i - pos))) in curl_header_cb() 654 if(NULL == (value = strndup(&(line[pos]), i - pos))) in curl_header_cb()
|
/external/selinux/libselinux/src/ |
D | label_support.c | 37 *entry = strndup(tmp_buf, *len); in read_spec_entry()
|
/external/libxml2/vms/ |
D | config.vms | 54 /* Define if you have the strndup function. */ 120 /* Define to 1 if you have the `strndup' function. */
|
/external/libmicrohttpd/src/microspdy/ |
D | structures.c | 586 if(NULL == (name = strndup(stream + offset, name_size))) in SPDYF_name_value_from_stream() 601 if(NULL == (value = strndup(stream + offset, value_size))) in SPDYF_name_value_from_stream()
|
/external/selinux/libsepol/src/ |
D | util.c | 225 *str = strndup(tmp_buf, *len); in tokenize_str()
|
/external/bison/ |
D | Android.mk | 124 lib/strndup.c \
|
/external/mmc-utils/ |
D | mmc.c | 239 (*commands)[c] = strndup(s, l); in split_command()
|
/external/iproute2/misc/ |
D | lnstat_util.c | 308 file = strndup(name, colon-name); in lnstat_find_field()
|