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

12

/freebsd-10.0-release/contrib/openbsm/bin/auditdistd/
H A Dstrndup.h29 * $P4: //depot/projects/trustedbsd/openbsm/bin/auditdistd/strndup.h#1 $
39 strndup(const char *str, size_t len) function
/freebsd-10.0-release/crypto/heimdal/lib/roken/
H A Dstrndup.c42 strndup(const char *old, size_t sz) function
H A Droken.h.in487 #define strndup rk_strndup
489 ROKEN_LIB_FUNCTION char * ROKEN_LIB_CALL strndup(const char *, size_t);
/freebsd-10.0-release/contrib/gcclibs/libiberty/
H A Dstrndup.c1 /* Implement the strndup function.
23 @deftypefn Extension char* strndup (const char *@var{s}, size_t @var{n})
41 strndup (const char *s, size_t n) function
H A DMakefile.in154 strstr.c strtod.c strtol.c strtoul.c strndup.c strverscmp.c \
202 ./strncmp.o ./strndup.o ./strrchr.o ./strstr.o \
1015 ./strndup.o: $(srcdir)/strndup.c $(INCDIR)/ansidecl.h
1017 $(COMPILE.c) $(PICFLAG) $(srcdir)/strndup.c -o pic/$@; \
1019 $(COMPILE.c) $(srcdir)/strndup.c $(OUTPUT_OPTION)
H A Dconfigure4946 funcs="$funcs strndup"
5044 strcasecmp setenv stpcpy stpncpy strchr strdup strncasecmp strndup strrchr strstr \
5824 "strndup.$ac_objext" | \
5825 *" strndup.$ac_objext" | \
5826 "strndup.$ac_objext "* | \
5827 *" strndup.$ac_objext "* ) ;;
5828 *) LIBOBJS="$LIBOBJS strndup.$ac_objext" ;;
5858 asprintf | basename | bcmp | bcopy | bzero | clock | ffs | getpagesize | index | insque | mempcpy | mkstemps | random | rindex | sigsetmask | stpcpy | stpncpy | strdup | strndup | strverscmp | vasprintf | waitpid)
/freebsd-10.0-release/lib/libc/string/
H A Dstrndup.c1 /* $NetBSD: strndup.c,v 1.3 2007/01/14 23:41:24 cbiere Exp $ */
40 strndup(const char *str, size_t n) function
H A DSymbol.map85 strndup;
H A DMakefile.inc15 strncat.c strncmp.c strncpy.c strndup.c strnlen.c strnstr.c \
56 MLINKS+=strdup.3 strndup.3
/freebsd-10.0-release/contrib/ncurses/include/
H A Dnc_alloc.h43 #undef strndup /* workaround for #define in GLIBC 2.7 */ macro
/freebsd-10.0-release/contrib/ofed/libibverbs/src/
H A Dsysfs.c68 sysfs_path = strndup(env, IBV_SYSFS_PATH_MAX);
/freebsd-10.0-release/include/
H A Dstring.h103 char *strndup(const char *, size_t) __malloc_like;
/freebsd-10.0-release/contrib/nvi/common/
H A Dutil.c182 if ((u = strndup(p, t - p)) == NULL)
/freebsd-10.0-release/contrib/gcclibs/libmudflap/
H A Dmf-runtime.h120 #pragma redefine_extname strndup __mfwrap_strndup
H A Dmf-hooks2.c337 WRAPPER2(char *, strndup, const char *s, size_t n)
343 MF_VALIDATE_EXTENT(s, sz, __MF_CHECK_READ, "strndup region"); /* nb: strNdup */
345 /* note: strndup still adds a \0, even with the N limit! */
357 __mf_register (result, CLAMPADD(n,1), __MF_TYPE_HEAP_I, "strndup region");
/freebsd-10.0-release/lib/libc/iconv/
H A Dbsd_iconv.c69 out_noslashes = strndup(out, out_slashes - out);
/freebsd-10.0-release/contrib/llvm/include/llvm/Target/
H A DTargetLibraryInfo.h534 /// char *strndup(const char *s1, size_t n);
535 strndup, enumerator in enum:llvm::LibFunc::Func
/freebsd-10.0-release/contrib/binutils/libiberty/
H A DMakefile.in154 strstr.c strtod.c strtol.c strtoul.c strndup.c strverscmp.c \
202 ./strncmp.o ./strndup.o ./strrchr.o ./strstr.o \
1039 ./strndup.o: $(srcdir)/strndup.c $(INCDIR)/ansidecl.h
1041 $(COMPILE.c) $(PICFLAG) $(srcdir)/strndup.c -o pic/$@; \
1043 $(COMPILE.c) $(srcdir)/strndup.c $(OUTPUT_OPTION)
H A Dconfigure5043 funcs="$funcs strndup"
5141 strcasecmp setenv stpcpy stpncpy strchr strdup strncasecmp strndup strrchr strstr \
5921 "strndup.$ac_objext" | \
5922 *" strndup.$ac_objext" | \
5923 "strndup.$ac_objext "* | \
5924 *" strndup.$ac_objext "* ) ;;
5925 *) LIBOBJS="$LIBOBJS strndup.$ac_objext" ;;
5955 asprintf | basename | bcmp | bcopy | bzero | clock | ffs | getpagesize | index | insque | mempcpy | mkstemps | random | rindex | sigsetmask | stpcpy | stpncpy | strdup | strndup | strverscmp | vasprintf | waitpid)
/freebsd-10.0-release/contrib/file/
H A Dsoftmagic.c346 char * strndup(const char *, size_t);
349 strndup(const char *str, size_t n) function
546 cp = strndup((const char *)ms->search.s, ms->search.rm_len);
H A Dconfigure12809 for ac_func in mmap strerror strndup strtoul mbrtowc mkstemp utimes utime wcwidth strtof fork
/freebsd-10.0-release/contrib/nvi/cl/
H A Dcl_funcs.c638 clp->oname = strndup(s + 1, e - s - 1);
/freebsd-10.0-release/contrib/llvm/lib/Analysis/
H A DMemoryBuiltins.cpp68 {LibFunc::strndup, StrDupLike, 2, 1, -1}
463 // strndup limits strlen
493 // - strdup / strndup
687 // - strdup / strndup
/freebsd-10.0-release/contrib/llvm/lib/Transforms/IPO/
H A DFunctionAttrs.cpp749 case LibFunc::strndup:
/freebsd-10.0-release/contrib/openbsm/
H A Dconfigure13320 for ac_func in arc4random arc4random_buf bzero cap_enter clock_gettime closefrom faccessat fdopendir fstatat ftruncate getresgid getresuid gettimeofday inet_ntoa jail kqueue memset openat pthread_cond_timedwait_relative_np pthread_condattr_setclock pthread_mutex_lock renameat setproctitle sigtimedwait strchr strerror strlcat strlcpy strndup strrchr strstr strtol strtoul unlinkat vis

Completed in 672 milliseconds

12