Searched refs:strnlen (Results 1 - 25 of 55) sorted by relevance

123

/illumos-gate/usr/src/lib/libc/port/gen/
H A Dstrnlen.c38 strnlen(const char *str, size_t maxlen) function
H A Dstpncpy.c41 size_t len = strnlen(s2, n);
H A Dstrndup.c40 n = strnlen(s1, n);
H A Dgetlogin.c104 ulen = strnlen(ubuf.ut_user, maxlen);
/illumos-gate/usr/src/common/util/
H A Dstring.h71 extern size_t strnlen(const char *, size_t);
H A Dstring.c195 transfer_count = strnlen(sp, prec);
745 strnlen(const char *s, size_t maxlen) function
/illumos-gate/usr/src/head/
H A Dstring.h93 extern size_t strnlen(const char *, size_t);
161 size_t __len = strnlen(__str, (n)); \
185 __strdupa_len = strnlen(__strdupa_str, (n)), \
/illumos-gate/usr/src/lib/libcryptoutil/common/
H A Dpassutils.c83 if (strnlen(tmpbuf, min_psize) >= min_psize)
/illumos-gate/usr/src/lib/libuutil/common/
H A Duu_alloc.c79 len = strnlen(s, n);
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/sys/
H A Dsunddi.h62 extern size_t strnlen(const char *, size_t) __PURE;
/illumos-gate/usr/src/boot/include/
H A Dstring.h104 size_t strnlen(const char *, size_t) __pure;
/illumos-gate/usr/src/cmd/lms/
H A Dmain.cpp236 towrite = strnlen(pid_buf, 31);
271 towrite = strnlen(pid_buf, 31);
H A DProtocol.cpp1650 if (LMS_MAX_FILENAME_LEN < (strnlen(sysDrive, LMS_MAX_FILENAME_LEN)
1651 + strnlen(dir, LMS_MAX_FILENAME_LEN)
1652 + strnlen(hostFile, LMS_MAX_FILENAME_LEN) + 1)) {
1656 if (LMS_MAX_FILENAME_LEN < (strnlen(sysDrive, LMS_MAX_FILENAME_LEN)
1657 + strnlen(dir, LMS_MAX_FILENAME_LEN)
1658 + strnlen(tmpFile, LMS_MAX_FILENAME_LEN) + 1)) {
1707 while ((LMS_MAX_LINE_LEN == strnlen(line, LMS_MAX_LINE_LEN))
/illumos-gate/usr/src/lib/fm/libfmevent/common/
H A Dfmev_publish.c124 strnlen(ruleset, FMEV_MAX_RULESET_LEN) == FMEV_MAX_RULESET_LEN)
137 if (strnlen(class, FMEV_PUB_MAXCLASSLEN) == FMEV_PUB_MAXCLASSLEN)
149 if (strnlen(subclass, FMEV_PUB_MAXSUBCLASSLEN) ==
H A Dfmev_subscribe.c267 strnlen(pat, FMEV_MAX_CLASS) == FMEV_MAX_CLASS)
364 strnlen(pat, FMEV_MAX_CLASS) == FMEV_MAX_CLASS)
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/chip/
H A Dchip_serial.c106 serial_len = strnlen(prod_info.ifpi_product_serial, FRU_INFO_MAXLEN);
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/x86pi/
H A Dx86pi_subr.c508 if (strnlen(isa, MAXNAMELEN) > 0) {
533 if (strnlen(uts.machine, sizeof (uts.machine)) > 0) {
/illumos-gate/usr/src/uts/common/io/mac/
H A Dmac_ndd.c82 mp->b_wptr += strnlen(cp, len);
308 size_out += strnlen((const char *)mp1->b_rptr, avail);
/illumos-gate/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_log.c107 len = strnlen(path, PATH_MAX);
/illumos-gate/usr/src/uts/sun4v/os/
H A Dsuspend.c469 if ((decoded_len = strnlen(decoded, max_reason_len - 1)) == 0)
/illumos-gate/usr/src/uts/sun4v/io/
H A Dplatsvc.c480 reason_length = strnlen(reason, SUSPEND_MAX_REASON_SIZE - 1);
/illumos-gate/usr/src/cmd/fm/modules/common/ext-event-transport/
H A Dfmevt_inbound.c153 strnlen(ruleset, FMEV_MAX_RULESET_LEN) == FMEV_MAX_RULESET_LEN)
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/sun4vpi/
H A Dpi_subr.c1330 if (strnlen(isa, MAXNAMELEN) > 0) {
1354 if (strnlen(uts.machine, sizeof (uts.machine)) > 0) {
/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevinfo_prop_decode.c1002 len = strnlen(sp, (maxsp - sp) + 1);
/illumos-gate/usr/src/lib/libnwam/common/
H A Dlibnwam_object.c52 if (strnlen(name, NWAM_MAX_NAME_LEN) > NWAM_MAX_NAME_LEN) {

Completed in 79 milliseconds

123