| /freebsd-14.2/crypto/openssh/openbsd-compat/ |
| H A D | strndup.c | 28 strndup(const char *str, size_t maxlen) in strndup() function 42 DEF_WEAK(strndup);
|
| H A D | Makefile.in | 58 strndup.o \
|
| H A D | openbsd-compat.h | 130 char *strndup(const char *s, size_t n);
|
| /freebsd-14.2/contrib/mandoc/ |
| H A D | test-strndup.c | 8 s = strndup("123", 2); in main()
|
| H A D | compat_strndup.c | 27 strndup(const char *str, size_t maxlen) in strndup() function
|
| H A D | mandoc_aux.c | 114 p = strndup(ptr, sz); in mandoc_strndup()
|
| /freebsd-14.2/usr.sbin/bhyve/ |
| H A D | config.c | 174 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 D | pci_fbuf.c | 266 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 D | strndup.c | 24 strndup(const char *str, size_t maxlen) in strndup() function
|
| H A D | Makefile.inc | 19 strncat.c strncmp.c strncpy.c strndup.c strnlen.c strnstr.c \ 79 MLINKS+=strdup.3 strndup.3
|
| H A D | Symbol.map | 81 strndup;
|
| /freebsd-14.2/crypto/heimdal/lib/roken/ |
| H A D | strndup.c | 42 strndup(const char *old, size_t sz) in strndup() function
|
| /freebsd-14.2/sys/libkern/ |
| H A D | strndup.c | 39 strndup(const char *string, size_t maxlen, struct malloc_type *type) in strndup() function
|
| /freebsd-14.2/contrib/openbsm/bin/auditdistd/ |
| H A D | strndup.h | 37 strndup(const char *str, size_t len) in strndup() function
|
| H A D | token.l | 76 \"[a-zA-Z0-9_/ !@#\$%\^\&\*\(\)\+\=\|\;\?\,\.\[\]\-\:]*\" { DP; yylval.str = strndup(yytext + 1, st…
|
| /freebsd-14.2/contrib/ofed/libibverbs/ |
| H A D | sysfs.c | 66 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 D | send_doall.c | 66 fsname = strndup(tofull, p - tofull); in main()
|
| H A D | badsend.c | 78 fsname = strndup(tofull, p - tofull); in main()
|
| /freebsd-14.2/contrib/ncurses/include/ |
| H A D | nc_alloc.h | 48 #undef strndup /* workaround for #define in GLIBC 2.7 */
|
| /freebsd-14.2/cddl/contrib/opensolaris/lib/libdtrace/common/ |
| H A D | dt_lex.l | 280 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 D | efun.c | 98 char *d = strndup(s, len); in estrndup()
|
| /freebsd-14.2/include/ |
| H A D | string.h | 114 char *strndup(const char *, size_t) __malloc_like;
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Headers/llvm_libc_wrappers/ |
| H A D | string.h | 57 char *strndup(const char *, size_t) __LIBC_ATTRS;
|
| /freebsd-14.2/usr.sbin/autofs/ |
| H A D | defined.c | 177 name = strndup(string + name_off, name_len); in defined_expand()
|
| /freebsd-14.2/sbin/nvmecontrol/ |
| H A D | nvmecontrol.c | 175 *ctrlr_str = strndup(gnsid.cdev, sizeof(gnsid.cdev)); in get_nsid()
|