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

1234

/external/mesa3d/src/util/
H A Dstrndup.h34 char *strndup(const char *str, size_t max);
H A Dstrndup.c27 #include "strndup.h"
30 strndup(const char *str, size_t max) function
/external/clang/test/Sema/
H A Dbuiltins-gnu-mode.c9 int strndup; variable
/external/syslinux/com32/lib/
H A Dstrndup.c2 * strndup.c
8 char *strndup(const char *s, size_t n) function
/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/libmtp/src/
H A Dutil.h30 char *strndup (const char *s, size_t n);
H A Dutil.c138 char *strndup (const char *s, size_t n) function
/external/libxcam/xcore/
H A Danalyzer_loader.cpp30 _path = strndup (lib_path, XCAM_MAX_STR_SIZE);
32 _symbol = strndup (symbol, XCAM_MAX_STR_SIZE);
H A Dworker.cpp30 _name = strndup (name, XCAM_MAX_STR_SIZE);
49 _name = strndup (name, XCAM_MAX_STR_SIZE);
H A Dimage_handler.cpp29 _name = strndup (name, XCAM_MAX_STR_SIZE);
H A Dfile_handle.cpp69 _file_name = strndup (name, 512);
H A Dxcam_thread.cpp34 _name = strndup (name, XCAM_MAX_STR_SIZE);
H A Dfake_poll_thread.cpp37 _raw_path = strndup (raw_path, XCAM_MAX_STR_SIZE);
/external/toybox/toys/pending/
H A Dmdev.c110 char *regex = strndup(pos, end2-pos);
141 char *str = strndup(pos, s-pos);
152 char *str = strndup(s, end2-s);
/external/libxkbcommon/xkbcommon/src/compose/
H A Dpaths.c119 match = strndup(right, right_len);
125 match = strndup(left, left_len);
/external/libmojo/base/android/
H A Dbuild_info.cc76 java_exception_info_ = strndup(info.c_str(), 4096);
/external/libxcam/modules/isp/iq/
H A Dx3a_ciq_tuning_handler.cpp33 _name = strndup (name, XCAM_MAX_STR_SIZE);
/external/strace/
H A Dxmalloc.c137 p = strndup(str, n);
/external/syslinux/com32/include/
H A Dstring.h28 __extern char *strndup(const char *, size_t);
/external/clang/test/SemaCXX/
H A Dwarn-memset-bad-sizeof.cpp130 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 Dwarn-memsize-comparison.cpp13 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 Dstring.c338 char * strndup(const char *s, size_t n) function
354 return strndup(s, ~((size_t)0));
/external/libxcam/tests/
H A Dtest-binary-kernel.cpp77 kernel_name = strndup (optarg, 1024);
/external/syslinux/gpxe/src/include/
H A Dstring.h47 char * __malloc strndup(const char *s, size_t n) __nonnull;
/external/libxcam/modules/isp/
H A Dx3a_analyzer_aiq.cpp43 : _name (strndup(name, XCAM_MAX_STR_SIZE))
75 _cpf_path = strndup (cpf_path, XCAM_MAX_STR_SIZE);
91 _cpf_path = strndup (cpf_path, XCAM_MAX_STR_SIZE);

Completed in 644 milliseconds

1234