/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | strnlen.c | 38 strnlen(const char *str, size_t maxlen) function
|
H A D | stpncpy.c | 41 size_t len = strnlen(s2, n);
|
H A D | strndup.c | 40 n = strnlen(s1, n);
|
H A D | getlogin.c | 104 ulen = strnlen(ubuf.ut_user, maxlen);
|
/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 | 195 transfer_count = strnlen(sp, prec); 745 strnlen(const char *s, size_t maxlen) function
|
/illumos-gate/usr/src/head/ |
H A D | string.h | 93 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 D | passutils.c | 83 if (strnlen(tmpbuf, min_psize) >= min_psize)
|
/illumos-gate/usr/src/lib/libuutil/common/ |
H A D | uu_alloc.c | 79 len = strnlen(s, n);
|
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/sys/ |
H A D | sunddi.h | 62 extern size_t strnlen(const char *, size_t) __PURE;
|
/illumos-gate/usr/src/boot/include/ |
H A D | string.h | 104 size_t strnlen(const char *, size_t) __pure;
|
/illumos-gate/usr/src/cmd/lms/ |
H A D | main.cpp | 236 towrite = strnlen(pid_buf, 31); 271 towrite = strnlen(pid_buf, 31);
|
H A D | Protocol.cpp | 1650 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 D | fmev_publish.c | 124 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 D | fmev_subscribe.c | 267 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 D | chip_serial.c | 106 serial_len = strnlen(prod_info.ifpi_product_serial, FRU_INFO_MAXLEN);
|
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/x86pi/ |
H A D | x86pi_subr.c | 508 if (strnlen(isa, MAXNAMELEN) > 0) { 533 if (strnlen(uts.machine, sizeof (uts.machine)) > 0) {
|
/illumos-gate/usr/src/uts/common/io/mac/ |
H A D | mac_ndd.c | 82 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 D | ndmpd_log.c | 107 len = strnlen(path, PATH_MAX);
|
/illumos-gate/usr/src/uts/sun4v/os/ |
H A D | suspend.c | 469 if ((decoded_len = strnlen(decoded, max_reason_len - 1)) == 0)
|
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | platsvc.c | 480 reason_length = strnlen(reason, SUSPEND_MAX_REASON_SIZE - 1);
|
/illumos-gate/usr/src/cmd/fm/modules/common/ext-event-transport/ |
H A D | fmevt_inbound.c | 153 strnlen(ruleset, FMEV_MAX_RULESET_LEN) == FMEV_MAX_RULESET_LEN)
|
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/sun4vpi/ |
H A D | pi_subr.c | 1330 if (strnlen(isa, MAXNAMELEN) > 0) { 1354 if (strnlen(uts.machine, sizeof (uts.machine)) > 0) {
|
/illumos-gate/usr/src/lib/libdevinfo/ |
H A D | devinfo_prop_decode.c | 1002 len = strnlen(sp, (maxsp - sp) + 1);
|
/illumos-gate/usr/src/lib/libnwam/common/ |
H A D | libnwam_object.c | 52 if (strnlen(name, NWAM_MAX_NAME_LEN) > NWAM_MAX_NAME_LEN) {
|