/titanic_50/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)), \
|
/titanic_50/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_50/usr/src/common/util/ |
H A D | string.h | 67 extern size_t strnlen(const char *, size_t);
|
H A D | string.c | 190 transfer_count = strnlen(sp, prec); in vsnprintf() 736 strnlen(const char *s, size_t maxlen) in strnlen() function
|
/titanic_50/usr/src/lib/smbsrv/libfksmbsrv/common/sys/ |
H A D | sunddi.h | 62 extern size_t strnlen(const char *, size_t) __PURE;
|
/titanic_50/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_50/usr/src/lib/libcryptoutil/common/ |
H A D | passutils.c | 83 if (strnlen(tmpbuf, min_psize) >= min_psize) in pkcs11_get_pass()
|
/titanic_50/usr/src/lib/libuutil/common/ |
H A D | uu_alloc.c | 79 len = strnlen(s, n); in uu_strndup()
|
/titanic_50/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_50/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_50/usr/src/cmd/ndmpd/ndmp/ |
H A D | ndmpd_log.c | 107 len = strnlen(path, PATH_MAX); in mk_pathname()
|
/titanic_50/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_50/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_50/usr/src/test/libc-tests/cfg/symbols/ |
H A D | README | 83 func | strnlen | int | const char *; int | string.h | ALL
|
/titanic_50/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_50/usr/src/lib/libdevinfo/ |
H A D | devinfo_prop_decode.c | 1002 len = strnlen(sp, (maxsp - sp) + 1); in di_slot_names_decode()
|
/titanic_50/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_50/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_50/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()
|
/titanic_50/usr/src/lib/libnwam/common/ |
H A D | libnwam_object.c | 52 if (strnlen(name, NWAM_MAX_NAME_LEN) > NWAM_MAX_NAME_LEN) { in nwam_handle_create()
|
/titanic_50/usr/src/lib/libipadm/common/ |
H A D | ipadm_persist.c | 776 len = strnlen(buf, MAXLINELEN); in ipadm_process_db_line()
|