/external/mesa3d/src/util/ |
H A D | strndup.h | 34 char *strndup(const char *str, size_t max);
|
H A D | strndup.c | 27 #include "strndup.h" 30 strndup(const char *str, size_t max) function
|
/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);
|
/external/libmtp/src/ |
H A D | util.h | 30 char *strndup (const char *s, size_t n);
|
H A D | util.c | 138 char *strndup (const char *s, size_t n) function
|
/external/libxcam/xcore/ |
H A D | analyzer_loader.cpp | 30 _path = strndup (lib_path, XCAM_MAX_STR_SIZE); 32 _symbol = strndup (symbol, XCAM_MAX_STR_SIZE);
|
H A D | worker.cpp | 30 _name = strndup (name, XCAM_MAX_STR_SIZE); 49 _name = strndup (name, XCAM_MAX_STR_SIZE);
|
H A D | image_handler.cpp | 29 _name = strndup (name, XCAM_MAX_STR_SIZE);
|
H A D | file_handle.cpp | 69 _file_name = strndup (name, 512);
|
H A D | xcam_thread.cpp | 34 _name = strndup (name, XCAM_MAX_STR_SIZE);
|
H A D | fake_poll_thread.cpp | 37 _raw_path = strndup (raw_path, XCAM_MAX_STR_SIZE);
|
/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/libxkbcommon/xkbcommon/src/compose/ |
H A D | paths.c | 119 match = strndup(right, right_len); 125 match = strndup(left, left_len);
|
/external/libmojo/base/android/ |
H A D | build_info.cc | 76 java_exception_info_ = strndup(info.c_str(), 4096);
|
/external/libxcam/modules/isp/iq/ |
H A D | x3a_ciq_tuning_handler.cpp | 33 _name = strndup (name, XCAM_MAX_STR_SIZE);
|
/external/strace/ |
H A D | xmalloc.c | 137 p = strndup(str, n);
|
/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/libxcam/tests/ |
H A D | test-binary-kernel.cpp | 77 kernel_name = strndup (optarg, 1024);
|
/external/syslinux/gpxe/src/include/ |
H A D | string.h | 47 char * __malloc strndup(const char *s, size_t n) __nonnull;
|
/external/libxcam/modules/isp/ |
H A D | x3a_analyzer_aiq.cpp | 43 : _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);
|