Home
last modified time | relevance | path

Searched refs:strndup (Results 1 – 25 of 85) sorted by relevance

1234

/freebsd-14.2/crypto/openssh/openbsd-compat/
H A Dstrndup.c28 strndup(const char *str, size_t maxlen) in strndup() function
42 DEF_WEAK(strndup);
H A DMakefile.in58 strndup.o \
H A Dopenbsd-compat.h130 char *strndup(const char *s, size_t n);
/freebsd-14.2/contrib/mandoc/
H A Dtest-strndup.c8 s = strndup("123", 2); in main()
H A Dcompat_strndup.c27 strndup(const char *str, size_t maxlen) in strndup() function
H A Dmandoc_aux.c114 p = strndup(ptr, sz); in mandoc_strndup()
/freebsd-14.2/usr.sbin/bhyve/
H A Dconfig.c174 node_name = strndup(path, name - path); in set_config_value()
216 node_name = strndup(path, name - path); in get_raw_config_value()
281 path = strndup(vp, cp - vp); in _expand_config_value()
H A Dpci_fbuf.c266 sc->rfb_host = strndup(value + 1, cp - (value + 1)); in pci_fbuf_parse_config()
287 sc->rfb_host = strndup(value, cp - value); in pci_fbuf_parse_config()
/freebsd-14.2/lib/libc/string/
H A Dstrndup.c24 strndup(const char *str, size_t maxlen) in strndup() function
H A DMakefile.inc19 strncat.c strncmp.c strncpy.c strndup.c strnlen.c strnstr.c \
79 MLINKS+=strdup.3 strndup.3
H A DSymbol.map81 strndup;
/freebsd-14.2/crypto/heimdal/lib/roken/
H A Dstrndup.c42 strndup(const char *old, size_t sz) in strndup() function
/freebsd-14.2/sys/libkern/
H A Dstrndup.c39 strndup(const char *string, size_t maxlen, struct malloc_type *type) in strndup() function
/freebsd-14.2/contrib/openbsm/bin/auditdistd/
H A Dstrndup.h37 strndup(const char *str, size_t len) in strndup() function
H A Dtoken.l76 \"[a-zA-Z0-9_/ !@#\$%\^\&\*\(\)\+\=\|\;\?\,\.\[\]\-\:]*\" { DP; yylval.str = strndup(yytext + 1, st…
/freebsd-14.2/contrib/ofed/libibverbs/
H A Dsysfs.c66 sysfs_path = dup = strndup(env, IBV_SYSFS_PATH_MAX); in ibv_get_sysfs_path()
/freebsd-14.2/sys/contrib/openzfs/tests/zfs-tests/cmd/
H A Dsend_doall.c66 fsname = strndup(tofull, p - tofull); in main()
H A Dbadsend.c78 fsname = strndup(tofull, p - tofull); in main()
/freebsd-14.2/contrib/ncurses/include/
H A Dnc_alloc.h48 #undef strndup /* workaround for #define in GLIBC 2.7 */
/freebsd-14.2/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_lex.l280 yylval.l_str = strndup(v + 1, len - 2);
282 yylval.l_str = strndup(v, len);
419 yylval.l_str = strndup(yytext + 1, yyleng - 2);
/freebsd-14.2/lib/libnetbsd/
H A Defun.c98 char *d = strndup(s, len); in estrndup()
/freebsd-14.2/include/
H A Dstring.h114 char *strndup(const char *, size_t) __malloc_like;
/freebsd-14.2/contrib/llvm-project/clang/lib/Headers/llvm_libc_wrappers/
H A Dstring.h57 char *strndup(const char *, size_t) __LIBC_ATTRS;
/freebsd-14.2/usr.sbin/autofs/
H A Ddefined.c177 name = strndup(string + name_off, name_len); in defined_expand()
/freebsd-14.2/sbin/nvmecontrol/
H A Dnvmecontrol.c175 *ctrlr_str = strndup(gnsid.cdev, sizeof(gnsid.cdev)); in get_nsid()

1234