/titanic_41/usr/src/head/ |
H A D | string.h | 93 extern size_t strnlen(const char *, size_t); 160 size_t __len = strnlen(__str, (n)); \ 184 __strdupa_len = strnlen(__strdupa_str, (n)), \
|
/titanic_41/usr/src/lib/libc/port/gen/ |
H A D | strnlen.c | 38 strnlen(const char *str, size_t maxlen) in strnlen() function
|
H A D | strndup.c | 40 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()
|
/titanic_41/usr/src/common/util/ |
H A D | string.h | 67 extern size_t strnlen(const char *, size_t);
|
H A D | string.c | 193 transfer_count = strnlen(sp, prec); in vsnprintf() 739 strnlen(const char *s, size_t maxlen) in strnlen() function
|
/titanic_41/usr/src/cmd/lms/ |
H A D | main.cpp | 236 towrite = strnlen(pid_buf, 31); in lock_pid_file() 271 towrite = strnlen(pid_buf, 31); in lock_pid_file()
|
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))
|
/titanic_41/usr/src/lib/smbsrv/libfksmbsrv/common/sys/ |
H A D | sunddi.h | 62 extern size_t strnlen(const char *, size_t) __PURE;
|
/titanic_41/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 | 267 strnlen(pat, FMEV_MAX_CLASS) == FMEV_MAX_CLASS) in fmev_shdl_subscribe() 364 strnlen(pat, FMEV_MAX_CLASS) == FMEV_MAX_CLASS) in fmev_shdl_unsubscribe()
|
/titanic_41/usr/src/lib/libcryptoutil/common/ |
H A D | passutils.c | 83 if (strnlen(tmpbuf, min_psize) >= min_psize) in pkcs11_get_pass()
|
/titanic_41/usr/src/lib/libuutil/common/ |
H A D | uu_alloc.c | 79 len = strnlen(s, n); in uu_strndup()
|
/titanic_41/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()
|
/titanic_41/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); in ipmi_serial_lookup()
|
/titanic_41/usr/src/cmd/ndmpd/ndmp/ |
H A D | ndmpd_log.c | 107 len = strnlen(path, PATH_MAX); in mk_pathname()
|
/titanic_41/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()
|
/titanic_41/usr/src/test/libc-tests/cfg/symbols/ |
H A D | README | 72 func strnlen | int | const char *; int | string.h | ALL
|
/titanic_41/usr/src/uts/sun4v/os/ |
H A D | suspend.c | 469 if ((decoded_len = strnlen(decoded, max_reason_len - 1)) == 0) in cluster_error_decode()
|
/titanic_41/usr/src/lib/fm/topo/modules/sun4v/sun4vpi/ |
H A D | pi_subr.c | 1330 if (strnlen(isa, MAXNAMELEN) > 0) { in pi_set_system() 1354 if (strnlen(uts.machine, sizeof (uts.machine)) > 0) { in pi_set_system()
|
/titanic_41/usr/src/uts/sun4v/io/ |
H A D | platsvc.c | 480 reason_length = strnlen(reason, SUSPEND_MAX_REASON_SIZE - 1); in ps_suspend_send_response()
|
/titanic_41/usr/src/lib/libdevinfo/ |
H A D | devinfo_prop_decode.c | 1002 len = strnlen(sp, (maxsp - sp) + 1); in di_slot_names_decode()
|
/titanic_41/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) in fmevt_rs_burst()
|
/titanic_41/usr/src/lib/libdladm/common/ |
H A D | libdlbridge.c | 1241 size_t len = strnlen(bridge, MAXLINKNAMELEN); in dladm_valid_bridgename() 1275 llen = strnlen(link, MAXLINKNAMELEN); in dladm_observe_to_bridge()
|