Home
last modified time | relevance | path

Searched refs:cp_len (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/libpcap/
H A Dcharconv.c98 int cp_len; in utf_16le_to_cp() local
107 cp_len = WideCharToMultiByte(codepage, WC_COMPOSITECHECK, in utf_16le_to_cp()
109 if (cp_len == 0) { in utf_16le_to_cp()
120 cp_string = malloc(cp_len * sizeof (char)); in utf_16le_to_cp()
132 cp_len = WideCharToMultiByte(codepage, WC_COMPOSITECHECK, in utf_16le_to_cp()
133 utf16le_string, -1, cp_string, cp_len, NULL, NULL); in utf_16le_to_cp()
134 if (cp_len == 0) { in utf_16le_to_cp()
/freebsd/sys/netinet/
H A Dsctputil.c5531 ssize_t cp_len = 0; in sctp_sorecvmsg() local
6037 cp_len = uio->uio_resid; in sctp_sorecvmsg()
6039 if (cp_len > my_len) { in sctp_sorecvmsg()
6041 cp_len = my_len; in sctp_sorecvmsg()
6047 if (cp_len > 0) in sctp_sorecvmsg()
6064 if (cp_len == SCTP_BUF_LEN(m)) { in sctp_sorecvmsg()
6080 copied_so_far += cp_len; in sctp_sorecvmsg()
6092 copied_so_far += cp_len; in sctp_sorecvmsg()
6132 SCTP_BUF_RESV_UF(m, cp_len); in sctp_sorecvmsg()
6142 copied_so_far += cp_len; in sctp_sorecvmsg()
[all …]
/freebsd/contrib/wpa/src/common/
H A Ddpp_crypto.c2131 size_t cp_len; in dpp_validate_csr() local
2161 cp = base64_decode((const char *) attr, attr_len, &cp_len); in dpp_validate_csr()
2167 if (cp_len != DPP_CP_LEN) { in dpp_validate_csr()
2170 cp_len); in dpp_validate_csr()
2174 cp, cp_len); in dpp_validate_csr()