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

1234

/freebsd-11-stable/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)
60 e = der_get_length (p, total_len - 1 - len_len - 1,
71 size_t total_len,
77 mech_len = _gsskrb5_get_mech (*str, total_len, &p);
94 size_t total_len,
102 ret = _gssapi_verify_mech_header(str, total_len, oid);
106 len = total_len
42 _gsskrb5_get_mech(const u_char *ptr, size_t total_len, const u_char **mech_ret) argument
70 _gssapi_verify_mech_header(u_char **str, size_t total_len, gss_OID mech) argument
93 _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 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);
148 size_t len, total_len; local
156 _gsskrb5_encap_length (36, &len, &total_len, GSS_KRB5_MECHANISM);
158 message_token->length = total_len;
159 message_token->value = malloc (total_len);
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);
356 size_t len, total_len, datalen; local
368 _gssapi_encap_length(len, &len, &total_len, GSS_KRB5_MECHANISM);
369 total_len += datalen;
373 _gssapi_encap_length(len, &len, &total_len, GSS_KRB5_MECHANISM);
376 output_message_buffer->length = total_len;
377 output_message_buffer->value = malloc (total_len);
701 size_t len, total_len; local
714 size_t len, total_len; local
[all...]
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;
352 size_t len, total_len, padlength, datalen; local
[all...]
/freebsd-11-stable/contrib/groff/src/utils/lkbib/
H A Dlkbib.cpp111 int total_len = 0; local
114 total_len += strlen(argv[i]);
115 total_len += argc - optind - 1 + 1; // for spaces and '\0'
116 char *buffer = new char[total_len];
/freebsd-11-stable/lib/libc/gen/
H A Delf_utils.c90 size_t total_len)
96 memset((char *)tlsbase + len, 0, total_len - len);
102 size_t total_len)
106 INTERPOS_distribute_static_tls])(offset, src, len, total_len);
89 __libc_distribute_static_tls(size_t offset, void *src, size_t len, size_t total_len) argument
101 __pthread_distribute_static_tls(size_t offset, void *src, size_t len, size_t total_len) argument
/freebsd-11-stable/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-11-stable/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-11-stable/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-11-stable/contrib/flex/
H A Dtables.c195 flex_int32_t i, total_len;
214 total_len = yytbl_calc_total_len (td);
215 for (i = 0; i < total_len; i++) {
237 if (bwritten != (int) (12 + total_len * YYTDFLAGS2BYTES (td->td_flags))) {
432 flex_uint32_t i, total_len;
435 total_len = yytbl_calc_total_len (tbl);
437 for (i = 0; i < total_len; i++) {
465 flex_int32_t i, newsz, total_len;
485 total_len = yytbl_calc_total_len (tbl);
486 newtbl.td_data = calloc (total_len, news
194 flex_int32_t i, total_len; local
431 flex_uint32_t i, total_len; local
464 flex_int32_t i, newsz, total_len; local
[all...]
/freebsd-11-stable/usr.sbin/ctld/
H A Dpdu.c214 ssize_t ret, total_len; local
230 total_len = iov[0].iov_len;
236 total_len += iov[1].iov_len;
244 total_len += iov[2].iov_len;
255 if (ret != total_len)
/freebsd-11-stable/sys/netinet/
H A Dsctp_bsd_addr.c409 int total_len; local
414 * Buffer layout. -sizeof this entry (total_len) -previous end
419 total_len = SCTP_SIZE32((length + (4 * sizeof(int))));
421 if (total_len > SCTP_PACKET_LOG_SIZE) {
435 newval = SCTP_BASE_VAR(packet_log_end) + total_len;
439 thisend = total_len;
449 newval = SCTP_BASE_VAR(packet_log_end) + total_len;
453 thisend = total_len;
475 *lenat = total_len;
/freebsd-11-stable/usr.sbin/iscsid/
H A Dpdu.c254 ssize_t ret, total_len; local
270 total_len = iov[0].iov_len;
276 total_len += iov[1].iov_len;
284 total_len += iov[2].iov_len;
295 if (ret != total_len)
/freebsd-11-stable/lib/libthr/thread/
H A Dthr_list.c369 size_t total_len)
373 memset((char *)tlsbase + len, 0, total_len - len);
378 size_t total_len)
385 thr_distribute_static_tls(tlsbase, src, len, total_len);
392 thr_distribute_static_tls(tlsbase, src, len, total_len);
368 thr_distribute_static_tls(uintptr_t tlsbase, void *src, size_t len, size_t total_len) argument
377 __pthread_distribute_static_tls(size_t offset, void *src, size_t len, size_t total_len) argument
/freebsd-11-stable/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-11-stable/contrib/ntp/sntp/libevent/
H A Dbuffer_iocp.c129 evbuf->total_len += nBytes;
189 if (!buf->total_len) {
193 } else if (at_most < 0 || (size_t)at_most > buf->total_len) {
194 at_most = buf->total_len;
/freebsd-11-stable/share/examples/scsi_target/
H A Dscsi_target.h54 uint total_len; /* Total xfer len for this ATIO */ member in struct:atio_descr
/freebsd-11-stable/sys/ofed/include/rdma/
H A Drdmavt_mr.h119 u32 total_len; member in struct:rvt_sge_state
/freebsd-11-stable/sys/dev/mlxfw/
H A Dmlxfw_mfa2_format.h70 __be16 total_len; member in struct:mlxfw_mfa2_tlv_multi
/freebsd-11-stable/sys/ddb/
H A Ddb_textdump.c333 u_int i, len, offset, seq, total_len; local
349 total_len = 0;
362 total_len += offset;
366 total_len += offset; /* Without the zero-padding. */
379 total_len);
/freebsd-11-stable/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-11-stable/contrib/gcclibs/libiberty/
H A Dfloatformat.c262 unsigned int total_len, unsigned int start, unsigned int len)
270 start = total_len - (start + len);
276 cur_byte = (total_len - start - 1) / FLOATFORMAT_CHAR_BIT;
427 unsigned int total_len, unsigned int start, unsigned int len,
435 start = total_len - (start + len);
441 cur_byte = (total_len - start - 1) / FLOATFORMAT_CHAR_BIT;
260 get_field(const unsigned char *data, enum floatformat_byteorders order, unsigned int total_len, unsigned int start, unsigned int len) argument
424 put_field(unsigned char *data, enum floatformat_byteorders order, unsigned int total_len, unsigned int start, unsigned int len, unsigned long stuff_to_put) argument
/freebsd-11-stable/contrib/binutils/libiberty/
H A Dfloatformat.c262 unsigned int total_len, unsigned int start, unsigned int len)
270 start = total_len - (start + len);
276 cur_byte = (total_len - start - 1) / FLOATFORMAT_CHAR_BIT;
427 unsigned int total_len, unsigned int start, unsigned int len,
435 start = total_len - (start + len);
441 cur_byte = (total_len - start - 1) / FLOATFORMAT_CHAR_BIT;
260 get_field(const unsigned char *data, enum floatformat_byteorders order, unsigned int total_len, unsigned int start, unsigned int len) argument
424 put_field(unsigned char *data, enum floatformat_byteorders order, unsigned int total_len, unsigned int start, unsigned int len, unsigned long stuff_to_put) argument
/freebsd-11-stable/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;

Completed in 241 milliseconds

1234