/illumos-gate/usr/src/tools/smatch/src/validation/ |
H A D | sm_strlen3.c | 4 int strnlen(const char *str, int limit); 9 __smatch_implied(strnlen("foo", 2)); in func()
|
/illumos-gate/usr/src/head/ |
H A D | string.h | 95 extern size_t strnlen(const char *, size_t); 162 size_t __len = strnlen(__str, (n)); \ 186 __strdupa_len = strnlen(__strdupa_str, (n)), \
|
/illumos-gate/usr/src/uts/common/inet/cc/ |
H A D | cc.c | 132 if (strnlen(name, CC_ALGO_NAME_MAX) >= CC_ALGO_NAME_MAX) { in cc_load_algo() 179 nlen = strnlen(add_cc->name, CC_ALGO_NAME_MAX); in cc_register_algo()
|
/illumos-gate/usr/src/boot/libsa/string/ |
H A D | strnlen.c | 34 strnlen(const char *s, size_t maxlen) in strnlen() function
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | strnlen.c | 36 strnlen(const char *str, size_t maxlen) in strnlen() function
|
H A D | strndup.c | 42 n = strnlen(s1, n); in strndup()
|
H A D | stpncpy.c | 41 size_t len = strnlen(s2, n); in stpncpy()
|
H A D | getlogin.c | 104 ulen = strnlen(ubuf.ut_user, maxlen); in getl_r_common()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_tftp.c | 226 if (idx + strnlen(buf, size) + 1 > sizeof (tftp_options)) in tftp_parse_oack() 255 if (idx + strnlen(buf, size) + 1 > sizeof (tftp_options)) in tftp_parse_oack()
|
/illumos-gate/usr/src/common/util/ |
H A D | string.h | 71 extern size_t strnlen(const char *, size_t);
|
H A D | string.c | 200 transfer_count = strnlen(sp, prec); in vsnprintf() 804 strnlen(const char *s, size_t maxlen) in strnlen() function
|
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/sys/ |
H A D | sunddi.h | 63 extern size_t strnlen(const char *, size_t) __PURE;
|
/illumos-gate/usr/src/lib/fm/libfmevent/common/ |
H A D | fmev_publish.c | 124 strnlen(ruleset, FMEV_MAX_RULESET_LEN) == FMEV_MAX_RULESET_LEN) in vrfy_ruleset() 137 if (strnlen(class, FMEV_PUB_MAXCLASSLEN) == FMEV_PUB_MAXCLASSLEN) in vrfy_class() 149 if (strnlen(subclass, FMEV_PUB_MAXSUBCLASSLEN) == in vrfy_subclass()
|
H A D | fmev_subscribe.c | 265 strnlen(pat, FMEV_MAX_CLASS) == FMEV_MAX_CLASS) in fmev_shdl_subscribe() 362 strnlen(pat, FMEV_MAX_CLASS) == FMEV_MAX_CLASS) in fmev_shdl_unsubscribe()
|
/illumos-gate/usr/src/lib/smbclnt/libfknsmb/common/sys/ |
H A D | sunddi.h | 66 extern size_t strnlen(const char *, size_t) __PURE;
|
/illumos-gate/usr/src/lib/libcryptoutil/common/ |
H A D | passutils.c | 83 if (strnlen(tmpbuf, min_psize) >= min_psize) in pkcs11_get_pass()
|
/illumos-gate/usr/src/lib/libuutil/common/ |
H A D | uu_alloc.c | 79 len = strnlen(s, n); in uu_strndup()
|
/illumos-gate/usr/src/boot/include/ |
H A D | string.h | 104 size_t strnlen(const char *, size_t) __pure;
|
/illumos-gate/usr/src/uts/common/io/mac/ |
H A D | mac_ndd.c | 82 mp->b_wptr += strnlen(cp, len); in mac_add_name() 308 size_out += strnlen((const char *)mp1->b_rptr, avail); in mac_ndd_get_ioctl()
|
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/chip/ |
H A D | chip_serial.c | 109 serial_len = strnlen(prod_info.ifpi_product_serial, FRU_INFO_MAXLEN); in ipmi_serial_lookup()
|
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/x86pi/ |
H A D | x86pi_subr.c | 508 if (strnlen(isa, MAXNAMELEN) > 0) { in x86pi_set_system() 533 if (strnlen(uts.machine, sizeof (uts.machine)) > 0) { in x86pi_set_system()
|
/illumos-gate/usr/src/lib/libc/port/stdio/ |
H A D | fmemopen.c | 234 fmp->fmo_pos = strnlen(fmp->fmo_buf, fmp->fmo_alloc); in fmemopen()
|
/illumos-gate/usr/src/cmd/ndmpd/ndmp/ |
H A D | ndmpd_log.c | 107 len = strnlen(path, PATH_MAX); in mk_pathname()
|
/illumos-gate/usr/src/uts/common/fs/smbclnt/netsmb/ |
H A D | smb_usr.c | 307 nmlen = strnlen(ioc->ioc_name, SMBIOC_MAX_NAME-1); in smb_usr_ntcreate() 396 nmlen = strnlen(ioc->ioc_title, SMBIOC_MAX_NAME-1); in smb_usr_printjob()
|
/illumos-gate/usr/src/boot/libsa/ |
H A D | Makefile.inc | 60 SRCS += $(SASRC)/string/swab.c $(SASRC)/string/strnlen.c 69 strnlen.o
|