Home
last modified time | relevance | path

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

123

/titanic_50/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)), \
/titanic_50/usr/src/lib/libc/port/gen/
H A Dstrnlen.c38 strnlen(const char *str, size_t maxlen) in strnlen() function
H A Dstrndup.c40 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()
/titanic_50/usr/src/common/util/
H A Dstring.h67 extern size_t strnlen(const char *, size_t);
H A Dstring.c190 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 Dsunddi.h62 extern size_t strnlen(const char *, size_t) __PURE;
/titanic_50/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.c267 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 Dpassutils.c83 if (strnlen(tmpbuf, min_psize) >= min_psize) in pkcs11_get_pass()
/titanic_50/usr/src/lib/libuutil/common/
H A Duu_alloc.c79 len = strnlen(s, n); in uu_strndup()
/titanic_50/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()
/titanic_50/usr/src/lib/fm/topo/modules/i86pc/chip/
H A Dchip_serial.c106 serial_len = strnlen(prod_info.ifpi_product_serial, FRU_INFO_MAXLEN); in ipmi_serial_lookup()
/titanic_50/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_log.c107 len = strnlen(path, PATH_MAX); in mk_pathname()
/titanic_50/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()
/titanic_50/usr/src/uts/sun4v/os/
H A Dsuspend.c469 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 DREADME83 func | strnlen | int | const char *; int | string.h | ALL
/titanic_50/usr/src/lib/fm/topo/modules/sun4v/sun4vpi/
H A Dpi_subr.c1330 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 Ddevinfo_prop_decode.c1002 len = strnlen(sp, (maxsp - sp) + 1); in di_slot_names_decode()
/titanic_50/usr/src/cmd/fm/modules/common/ext-event-transport/
H A Dfmevt_inbound.c153 strnlen(ruleset, FMEV_MAX_RULESET_LEN) == FMEV_MAX_RULESET_LEN) in fmevt_rs_burst()
/titanic_50/usr/src/uts/sun4v/io/
H A Dplatsvc.c480 reason_length = strnlen(reason, SUSPEND_MAX_REASON_SIZE - 1); in ps_suspend_send_response()
/titanic_50/usr/src/lib/libdladm/common/
H A Dlibdlbridge.c1241 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 Dlibnwam_object.c52 if (strnlen(name, NWAM_MAX_NAME_LEN) > NWAM_MAX_NAME_LEN) { in nwam_handle_create()
/titanic_50/usr/src/lib/libipadm/common/
H A Dipadm_persist.c776 len = strnlen(buf, MAXLINELEN); in ipadm_process_db_line()

123