Searched refs:total_len (Results 1 - 25 of 101) sorted by relevance

12345

/freebsd-current/crypto/heimdal/lib/gssapi/krb5/
H A Ddecapsulate.c43 size_t total_len,
50 if (total_len < 1)
54 e = der_get_length (p, total_len - 1, &len, &len_len);
55 if (e || 1 + len_len + len != total_len)
57 if (total_len < 1 + len_len + 1)
62 e = der_get_length (p, total_len - 1 - len_len - 1,
73 size_t total_len,
79 mech_len = _gsskrb5_get_mech (*str, total_len, &p);
85 if (mech_len > total_len)
87 if (p - *str > total_len
42 _gsskrb5_get_mech(const u_char *ptr, size_t total_len, const u_char **mech_ret) argument
72 _gssapi_verify_mech_header(u_char **str, size_t total_len, gss_OID mech) argument
99 _gsskrb5_verify_header(u_char **str, size_t total_len, const void *type, gss_OID oid) argument
[all...]
H A Dencapsulate.c39 size_t *total_len,
48 *total_len = 1 + len_len + *len;
54 size_t *total_len,
57 _gssapi_encap_length(data_len + 2, len, total_len, mech);
37 _gssapi_encap_length(size_t data_len, size_t *len, size_t *total_len, const gss_OID mech) argument
52 _gsskrb5_encap_length(size_t data_len, size_t *len, size_t *total_len, const gss_OID mech) argument
H A Dwrap.c121 size_t len, total_len; local
125 _gsskrb5_encap_length(len, &len, &total_len, GSS_KRB5_MECHANISM);
127 total_len -= req_output_size; /* token length */
128 if (total_len < req_output_size) {
129 *max_input_size = (req_output_size - total_len);
219 size_t len, total_len, padlength, datalen; local
225 _gsskrb5_encap_length (len, &len, &total_len, GSS_KRB5_MECHANISM);
226 total_len += datalen;
232 _gsskrb5_encap_length (len, &len, &total_len, GSS_KRB5_MECHANISM);
235 output_message_buffer->length = total_len;
361 size_t len, total_len, padlength, datalen; local
[all...]
H A Darcfour.c174 size_t len, total_len; local
178 _gsskrb5_encap_length (22, &len, &total_len, GSS_KRB5_MECHANISM);
180 message_token->length = total_len;
181 message_token->value = malloc (total_len);
366 size_t len, total_len, datalen; local
378 _gssapi_encap_length(len, &len, &total_len, GSS_KRB5_MECHANISM);
379 total_len += datalen;
383 _gssapi_encap_length(len, &len, &total_len, GSS_KRB5_MECHANISM);
386 output_message_buffer->length = total_len;
387 output_message_buffer->value = malloc (total_len);
730 size_t len, total_len; local
743 size_t len, total_len; local
[all...]
H A Dget_mic.c57 size_t len, total_len; local
59 _gsskrb5_encap_length (22, &len, &total_len, GSS_KRB5_MECHANISM);
61 message_token->length = total_len;
62 message_token->value = malloc (total_len);
158 size_t len, total_len; local
166 _gsskrb5_encap_length (36, &len, &total_len, GSS_KRB5_MECHANISM);
168 message_token->length = total_len;
169 message_token->value = malloc (total_len);
/freebsd-current/lib/libc/gen/
H A Delf_utils.c108 size_t total_len)
114 memset((char *)tlsbase + len, 0, total_len - len);
120 size_t total_len)
124 INTERPOS_distribute_static_tls])(offset, src, len, total_len);
107 __libc_distribute_static_tls(size_t offset, void *src, size_t len, size_t total_len) argument
119 __pthread_distribute_static_tls(size_t offset, void *src, size_t len, size_t total_len) argument
/freebsd-current/contrib/wpa/src/crypto/
H A Daes-omac1.c49 size_t i, e, left, total_len; local
59 total_len = 0;
61 total_len += len[e];
62 left = total_len;
93 if (left || total_len == 0) {
/freebsd-current/contrib/elftoolchain/libdwarf/
H A Dlibdwarf_loclist.c34 Dwarf_Unsigned *total_len, Dwarf_Error *error)
39 if (total_len != NULL)
40 *total_len = 0;
50 if (total_len != NULL)
51 *total_len += 2 * cu->cu_pointer_size;
72 if (total_len != NULL)
73 *total_len += len;
32 _dwarf_loclist_add_locdesc(Dwarf_Debug dbg, Dwarf_CU cu, Dwarf_Section *ds, Dwarf_Unsigned *off, Dwarf_Locdesc **ld, Dwarf_Signed *ldlen, Dwarf_Unsigned *total_len, Dwarf_Error *error) argument
/freebsd-current/contrib/wpa/src/wps/
H A Dndef.c112 size_t total_len; local
119 total_len = 2; /* flag + type length */
121 total_len += short_record ? sizeof(u8) : sizeof(u32);
123 total_len += 1;
124 total_len += type_length + id_length + payload_length;
125 record = wpabuf_alloc(total_len);
/freebsd-current/contrib/flex/src/
H A Dtables.c194 flex_int32_t i, total_len;
213 total_len = yytbl_calc_total_len (td);
214 for (i = 0; i < total_len; i++) {
236 if (bwritten != (12 + total_len * (int) YYTDFLAGS2BYTES (td->td_flags))) {
431 flex_int32_t i, total_len;
434 total_len = yytbl_calc_total_len (tbl);
436 for (i = 0; i < total_len; i++) {
464 flex_int32_t i, total_len;
485 total_len = yytbl_calc_total_len (tbl);
486 newtbl.td_data = calloc ((size_t) total_len, news
193 flex_int32_t i, total_len; local
430 flex_int32_t i, total_len; local
463 flex_int32_t i, total_len; local
[all...]
/freebsd-current/lib/libiscsiutil/
H A Dpdu.c176 ssize_t ret, total_len; local
189 total_len = iov[0].iov_len;
195 total_len += iov[1].iov_len;
203 total_len += iov[2].iov_len;
214 if (ret != total_len)
/freebsd-current/tests/atf_python/sys/netpfil/ipfw/
H A Dipfw.py39 ("total_len", c_uint32),
80 debug_type, hdr.total_len, hdr.opt_name
100 data = sys.stdin.buffer.read(hdr.total_len)
108 ret.append(self.parse_record(data[off : off + hdr.total_len]))
109 off += hdr.total_len
/freebsd-current/sys/netinet/
H A Dsctp_bsd_addr.c391 int total_len; local
396 * Buffer layout. -sizeof this entry (total_len) -previous end
401 total_len = SCTP_SIZE32((length + (4 * sizeof(int))));
403 if (total_len > SCTP_PACKET_LOG_SIZE) {
417 newval = SCTP_BASE_VAR(packet_log_end) + total_len;
421 thisend = total_len;
431 newval = SCTP_BASE_VAR(packet_log_end) + total_len;
435 thisend = total_len;
456 *lenat = total_len;
/freebsd-current/lib/libthr/thread/
H A Dthr_list.c368 size_t total_len)
372 memset((char *)tlsbase + len, 0, total_len - len);
377 size_t total_len)
384 thr_distribute_static_tls(tlsbase, src, len, total_len);
391 thr_distribute_static_tls(tlsbase, src, len, total_len);
367 thr_distribute_static_tls(uintptr_t tlsbase, void *src, size_t len, size_t total_len) argument
376 __pthread_distribute_static_tls(size_t offset, void *src, size_t len, size_t total_len) argument
/freebsd-current/contrib/wpa/src/drivers/
H A Ddriver_nl80211_android.c27 int total_len; member in struct:android_wifi_priv_cmd
59 priv_cmd.total_len = sizeof(buf);
129 priv_cmd.total_len = bp;
/freebsd-current/sys/contrib/dev/athk/ath10k/
H A Dwow.c88 int total_len = old->pkt_offset + old->pattern_len; local
138 if (total_len > ETH_HLEN)
140 else if (total_len > offsetof(struct ethhdr, h_proto))
141 hdr_80211_end_offset = hdr_len + rfc_len + total_len - ETH_HLEN;
142 else if (total_len > ETH_ALEN)
143 hdr_80211_end_offset = total_len - ETH_ALEN +
146 hdr_80211_end_offset = total_len +
158 if (total_len > ETH_HLEN) {
162 total_len - ETH_HLEN);
165 total_len
[all...]
/freebsd-current/contrib/ntp/sntp/libevent/
H A Dbuffer_iocp.c130 evbuf->total_len += nBytes;
190 if (!buf->total_len) {
194 } else if (at_most < 0 || (size_t)at_most > buf->total_len) {
195 at_most = buf->total_len;
/freebsd-current/sys/dev/mlxfw/
H A Dmlxfw_mfa2_format.h68 __be16 total_len; member in struct:mlxfw_mfa2_tlv_multi
H A Dmlxfw_mfa2_tlv_multi.c63 tlv_len = NLA_ALIGN(tlv_len + be16_to_cpu(multi->total_len));
/freebsd-current/sys/ofed/include/rdma/
H A Drdmavt_mr.h117 u32 total_len; member in struct:rvt_sge_state
/freebsd-current/contrib/libevent/
H A Dbuffer_iocp.c130 evbuf->total_len += nBytes;
190 if (!buf->total_len) {
194 } else if (at_most < 0 || (size_t)at_most > buf->total_len) {
195 at_most = buf->total_len;
/freebsd-current/sys/ddb/
H A Ddb_textdump.c334 u_int i, len, offset, seq, total_len; local
350 total_len = 0;
363 total_len += offset;
367 total_len += offset; /* Without the zero-padding. */
380 total_len);
/freebsd-current/contrib/ofed/opensm/opensm/
H A Dosm_helper.c596 uint32_t total_len = 0; local
605 &total_len) != IB_SUCCESS)
611 &total_len) != IB_SUCCESS)
617 &total_len) != IB_SUCCESS)
623 &total_len) != IB_SUCCESS)
629 &total_len) != IB_SUCCESS)
635 &total_len) != IB_SUCCESS)
641 &total_len) != IB_SUCCESS)
647 &total_len) != IB_SUCCESS)
653 &total_len) !
800 uint32_t total_len = 0; local
[all...]
/freebsd-current/sys/dev/netmap/
H A Dif_re_netmap.h210 uint32_t total_len; local
214 total_len = rxstat & sc->rl_rxlenmask;
216 total_len = (total_len < 4) ? 0 : total_len - 4;
217 ring->slot[nm_i].len = total_len;
/freebsd-current/share/examples/scsi_target/
H A Dscsi_target.h54 uint total_len; /* Total xfer len for this ATIO */ member in struct:atio_descr

Completed in 1067 milliseconds

12345