/minix/external/bsd/llvm/dist/clang/test/Analysis/ |
H A 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()
|
H A D | taint-generic.c | 25 char *strndup(const char *s, size_t n); 104 dup = strndup(s, 20); in testUncontrolledFormatString()
|
H A D | malloc.c | 15 char *strndup(const char *s, size_t n); 255 char *y = strndup(x, 4); // expected-warning{{Use of memory after it is freed}} in f8() 937 char *s2 = strndup(s, size); in testStrndup()
|
/minix/lib/libc/string/ |
H A D | strndup.c | 53 __weak_alias(strndup,_strndup) in __weak_alias() argument 58 strndup(const char *str, size_t n) in __weak_alias()
|
H A D | Makefile.inc | 15 strtok_r.c strxfrm.c __strsignal.c strerror_r.c strndup.c \ 66 MLINKS+=strdup.3 strndup.3
|
/minix/minix/usr.bin/toproto/ |
H A D | toproto.c | 87 entry->path = strndup(line, MAX_LINE_SIZE); in convert_to_entry() 122 entry->uid = strndup(value, MAX_LINE_SIZE); in convert_to_entry() 124 entry->gid = strndup(value, MAX_LINE_SIZE); in convert_to_entry() 126 entry->time = strndup(value, MAX_LINE_SIZE); in convert_to_entry() 128 entry->size = strndup(value, MAX_LINE_SIZE); in convert_to_entry() 130 entry->link = strndup(value, MAX_LINE_SIZE); in convert_to_entry()
|
/minix/external/bsd/llvm/dist/clang/test/Sema/ |
H A D | builtins-gnu-mode.c | 9 int strndup; variable
|
/minix/external/bsd/llvm/dist/clang/test/SemaCXX/ |
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)) {} // \ in f() 71 if (strndup(b1, sizeof(b1)) != 0) {} in f()
|
H A D | warn-memset-bad-sizeof.cpp | 128 extern "C" char *strndup(const char *src, unsigned n); 143 strndup(FOO, sizeof(FOO)); // \ in strcpy_and_friends()
|
/minix/crypto/external/bsd/heimdal/dist/lib/roken/ |
H A D | strndup.c | 44 strndup(const char *old, size_t sz) in strndup() function
|
/minix/sbin/ifconfig/ |
H A D | media.c | 191 val = strndup(prop_data_data_nocopy(data), prop_data_size(data)); in setmedia() 222 val = strndup(prop_data_data_nocopy(data), prop_data_size(data)); in setmediaopt() 249 val = strndup(prop_data_data_nocopy(data), prop_data_size(data)); in unsetmediaopt() 309 val = strndup(prop_data_data_nocopy(data), prop_data_size(data)); in setmediamode()
|
/minix/lib/libc/citrus/ |
H A D | citrus_lc_monetary.c | 184 *p_string = strndup(s, n - 1); in _citrus_LC_MONETARY_init_fallback() 191 t = strndup(s, n - 1); in _citrus_LC_MONETARY_init_fallback()
|
H A D | citrus_lc_messages.c | 145 *p = strndup(s, n - 1); in _citrus_LC_MESSAGES_init_fallback()
|
H A D | citrus_lc_numeric.c | 148 *p = strndup(s, n - 1); in _citrus_LC_NUMERIC_init_fallback()
|
H A D | citrus_lc_time.c | 196 *p = strndup(s, n - 1); in _citrus_LC_TIME_init_fallback()
|
/minix/external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/ |
H A D | objsize.ll | 175 declare noalias i8* @strndup(i8* nocapture, i32) nounwind 188 …%call = tail call i8* @strndup(i8* getelementptr inbounds ([8 x i8]* @.str, i64 0, i64 0), i32 3) … 197 …%call = tail call i8* @strndup(i8* getelementptr inbounds ([8 x i8]* @.str, i64 0, i64 0), i32 7) … 206 …%call = tail call i8* @strndup(i8* getelementptr inbounds ([8 x i8]* @.str, i64 0, i64 0), i32 8) … 215 …%call = tail call i8* @strndup(i8* getelementptr inbounds ([8 x i8]* @.str, i64 0, i64 0), i32 57)…
|
/minix/include/ |
H A D | string.h | 104 char *strndup(const char *, size_t);
|
/minix/lib/libutil/ |
H A D | efun.c | 98 char *d = strndup(s, len); in estrndup()
|
/minix/usr.bin/nbperf/ |
H A D | nbperf.c | 229 if ((keys[curlen] = strndup(line, line_len)) == NULL) in main()
|
/minix/minix/lib/libc/sys/ |
H A D | mount.c | 209 input = strndup(args_line,20); in find_rslabel()
|
/minix/usr.sbin/syslogd/ |
H A D | syslogd.c | 1061 buffer->host = strndup(start, p - start); in printline_syslogprotocol() 1079 buffer->prog = strndup(start, p - start); in printline_syslogprotocol() 1096 buffer->pid = strndup(start, p - start); in printline_syslogprotocol() 1115 buffer->msgid = strndup(start, p - start); in printline_syslogprotocol() 1134 buffer->sd = strndup(p, sdlen); in printline_syslogprotocol() 1175 buffer->msg = strndup(start, p - start); in printline_syslogprotocol() 1275 buffer->host = strndup(start, p - start); in printline_bsdsyslog() 1281 buffer->prog = strndup(start, p - start); in printline_bsdsyslog() 1318 buffer->pid = strndup(start, p - start); in printline_bsdsyslog() 1362 buffer->msgid = strndup(p, msgidlen); in printline_bsdsyslog() [all …]
|
H A D | syslogd.h | 125 char *strndup(const char *str, size_t n);
|
/minix/tools/compat/ |
H A D | configure.ac | 163 strndup strnlen strsep strsuftoll strtoi strtoll strtou \ 172 AC_CHECK_DECLS([strndup, strnlen],,,[#include <string.h>])
|
H A D | Makefile | 21 strndup.c strnlen.c \
|
/minix/external/bsd/file/dist/ |
H A D | configure.ac | 142 AC_CHECK_FUNCS(strerror strndup strtoul mkstemp mkostemp utimes utime wcwidth strtof newlocale usel…
|