HomeSort by relevance Sort by last modified time
    Searched refs:strndup (Results 1 - 25 of 41) sorted by null

1 2

  /external/bison/lib/
xstrndup.c 32 char *s = strndup (string, n);
strndup.c 1 /* A replacement function, for systems that lack strndup.
26 strndup (char const *s, size_t n) function
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 is unportable -
    [all...]
  /external/clang/test/Sema/
builtins-gnu-mode.c 9 int strndup; variable
  /bionic/libc/upstream-openbsd/lib/libc/string/
strndup.c 1 /* $OpenBSD: strndup.c,v 1.1 2010/05/18 22:24:55 tedu Exp $ */
26 strndup(const char *str, size_t maxlen) function
  /external/linux-tools-perf/perf-3.12.0/tools/perf/host-darwin-fixup/
AndroidFixup.h 30 #define strndup(str, size) strdup(str) macro
  /external/clang/test/Analysis/
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);
taint-generic.c 25 char *strndup(const char *s, size_t n);
104 dup = strndup(s, 20);
  /development/ndk/platforms/android-3/include/
string.h 71 extern char* strndup(const char *, size_t);
  /external/chromium_org/base/android/
build_info.cc 73 java_exception_info_ = strndup(info.c_str(), 4096);
  /external/elfutils/0.153/host-darwin-fixup/
AndroidFixup.h 91 #define strndup(str, size) strdup(str) macro
  /device/htc/flounder/power/
power_flounder.c 88 max_cpu_freq = strndup(prop_buffer, len);
90 low_power_max_cpu_freq = strndup(prop_buffer, len);
  /external/clang/test/SemaCXX/
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?}}
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) {}
  /dalvik/tools/dmtracedump/
CreateTestTrace.c 84 /* Mac OS doesn't have strndup(), so implement it here.
86 char *strndup(const char *src, size_t len) function
224 records[nextRecord].fullName = strndup(save_cp, len);
234 records[nextRecord].className = strndup(save_cp, len);
241 records[nextRecord].methodName = strndup(save_cp, len);
248 records[nextRecord].signature = strndup(save_cp, len);
  /external/bison/darwin-lib/
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 is unportable -
    [all...]
  /external/bison/linux-lib/
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 is unportable -
    [all...]
  /external/linux-tools-perf/perf-3.12.0/tools/perf/util/
cgroup.c 161 s = strndup(str, e - str);
exec_cmd.c 37 argv0_path = strndup(argv0, slash - argv0);
path.c 156 return strndup(path, chomp_trailing_dir_sep(path, path_len));
strfilter.c 133 cur->r->p = strndup(s, e - s);
string.c 171 t = strndup(p, str-p);
  /external/bison/
Android.mk 124 lib/strndup.c \
  /external/elfutils/0.153/libdwfl/
find-debuginfo.c 194 : strndup (file_name, file_basename - 1 - file_name));
  /external/iproute2/misc/
lnstat_util.c 304 file = strndup(name, colon-name);

Completed in 754 milliseconds

1 2