Home
last modified time | relevance | path

Searched refs:strnlen (Results 1 – 25 of 70) sorted by relevance

123

/illumos-gate/usr/src/tools/smatch/src/validation/
H A Dsm_strlen3.c4 int strnlen(const char *str, int limit);
9 __smatch_implied(strnlen("foo", 2)); in func()
/illumos-gate/usr/src/head/
H A Dstring.h95 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 Dcc.c132 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 Dstrnlen.c34 strnlen(const char *s, size_t maxlen) in strnlen() function
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dstrnlen.c36 strnlen(const char *str, size_t maxlen) in strnlen() function
H A Dstrndup.c42 n = strnlen(s1, n); in strndup()
H A Dstpncpy.c41 size_t len = strnlen(s2, n); in stpncpy()
H A Dgetlogin.c104 ulen = strnlen(ubuf.ut_user, maxlen); in getl_r_common()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_tftp.c226 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 Dstring.h71 extern size_t strnlen(const char *, size_t);
H A Dstring.c200 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 Dsunddi.h63 extern size_t strnlen(const char *, size_t) __PURE;
/illumos-gate/usr/src/lib/fm/libfmevent/common/
H A Dfmev_publish.c124 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 Dfmev_subscribe.c265 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 Dsunddi.h66 extern size_t strnlen(const char *, size_t) __PURE;
/illumos-gate/usr/src/lib/libcryptoutil/common/
H A Dpassutils.c83 if (strnlen(tmpbuf, min_psize) >= min_psize) in pkcs11_get_pass()
/illumos-gate/usr/src/lib/libuutil/common/
H A Duu_alloc.c79 len = strnlen(s, n); in uu_strndup()
/illumos-gate/usr/src/boot/include/
H A Dstring.h104 size_t strnlen(const char *, size_t) __pure;
/illumos-gate/usr/src/uts/common/io/mac/
H A Dmac_ndd.c82 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 Dchip_serial.c109 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 Dx86pi_subr.c508 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 Dfmemopen.c234 fmp->fmo_pos = strnlen(fmp->fmo_buf, fmp->fmo_alloc); in fmemopen()
/illumos-gate/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_log.c107 len = strnlen(path, PATH_MAX); in mk_pathname()
/illumos-gate/usr/src/uts/common/fs/smbclnt/netsmb/
H A Dsmb_usr.c307 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 DMakefile.inc60 SRCS += $(SASRC)/string/swab.c $(SASRC)/string/strnlen.c
69 strnlen.o

123