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

123

/freebsd-9.3-release/crypto/heimdal/lib/gssapi/krb5/
H A Ddecapsulate.c45 size_t total_len,
52 if (total_len < 1)
56 e = der_get_length (p, total_len - 1, &len, &len_len);
57 if (e || 1 + len_len + len != total_len)
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);
96 size_t total_len,
104 ret = _gssapi_verify_mech_header(str, total_len, oid);
108 len = total_len
44 _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
95 _gsskrb5_verify_header(u_char **str, size_t total_len, const void *type, gss_OID oid) argument
[all...]
H A Dencapsulate.c41 size_t *total_len,
50 *total_len = 1 + len_len + *len;
56 size_t *total_len,
59 _gssapi_encap_length(data_len + 2, len, total_len, mech);
39 _gssapi_encap_length(size_t data_len, size_t *len, size_t *total_len, const gss_OID mech) argument
54 _gsskrb5_encap_length(size_t data_len, size_t *len, size_t *total_len, const gss_OID mech) argument
H A Dget_mic.c56 size_t len, total_len; local
58 _gsskrb5_encap_length (22, &len, &total_len, GSS_KRB5_MECHANISM);
60 message_token->length = total_len;
61 message_token->value = malloc (total_len);
143 size_t len, total_len; local
151 _gsskrb5_encap_length (36, &len, &total_len, GSS_KRB5_MECHANISM);
153 message_token->length = total_len;
154 message_token->value = malloc (total_len);
H A Dwrap.c123 size_t len, total_len; local
127 _gsskrb5_encap_length(len, &len, &total_len, GSS_KRB5_MECHANISM);
129 total_len -= req_output_size; /* token length */
130 if (total_len < req_output_size) {
131 *max_input_size = (req_output_size - total_len);
211 size_t len, total_len, padlength, datalen; local
216 _gsskrb5_encap_length (len, &len, &total_len, GSS_KRB5_MECHANISM);
218 output_message_buffer->length = total_len;
219 output_message_buffer->value = malloc (total_len);
333 size_t len, total_len, padlengt local
[all...]
H A Darcfour.c176 size_t len, total_len; local
180 _gsskrb5_encap_length (22, &len, &total_len, GSS_KRB5_MECHANISM);
182 message_token->length = total_len;
183 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);
699 size_t len, total_len; local
712 size_t len, total_len; local
[all...]
/freebsd-9.3-release/contrib/wpa/src/crypto/
H A Daes-omac1.c54 size_t i, e, left, total_len; local
61 total_len = 0;
63 total_len += len[e];
64 left = total_len;
88 if (left || total_len == 0) {
/freebsd-9.3-release/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-9.3-release/contrib/wpa/src/wps/
H A Dndef.c110 size_t total_len; local
116 total_len = 2; /* flag + type length */
118 total_len += short_record ? sizeof(u8) : sizeof(u32);
120 total_len += 1;
121 total_len += type_length + id_length + payload_length;
122 record = wpabuf_alloc(total_len);
/freebsd-9.3-release/contrib/ofed/management/opensm/opensm/
H A Dosm_helper.c569 uint32_t total_len = 0; local
578 &total_len) != IB_SUCCESS)
584 &total_len) != IB_SUCCESS)
590 &total_len) != IB_SUCCESS)
596 &total_len) != IB_SUCCESS)
602 &total_len) != IB_SUCCESS)
608 &total_len) != IB_SUCCESS)
614 &total_len) != IB_SUCCESS)
620 &total_len) != IB_SUCCESS)
626 &total_len) !
[all...]
/freebsd-9.3-release/sys/netinet/
H A Dsctp_bsd_addr.c422 int total_len; local
427 * Buffer layout. -sizeof this entry (total_len) -previous end
432 total_len = SCTP_SIZE32((length + (4 * sizeof(int))));
434 if (total_len > SCTP_PACKET_LOG_SIZE) {
448 newval = SCTP_BASE_VAR(packet_log_end) + total_len;
452 thisend = total_len;
462 newval = SCTP_BASE_VAR(packet_log_end) + total_len;
466 thisend = total_len;
488 *lenat = total_len;
/freebsd-9.3-release/sys/ofed/drivers/net/mlx4/
H A Den_frag.c94 iph->ip_len = htons(session->total_len);
115 session->total_len += data_len;
150 if (unlikely(session->offset + session->total_len !=
152 session->total_len + mb->m_pkthdr.len > 65536)) {
168 session->total_len = ip_len;
/freebsd-9.3-release/share/examples/scsi_target/
H A Dscsi_target.h54 uint total_len; /* Total xfer len for this ATIO */ member in struct:atio_descr
/freebsd-9.3-release/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;
H A Dbuffer.c325 buf->total_len += chain->off;
486 new_size = buffer->total_len;
612 result = (buffer->total_len);
778 buf->total_len += added;
801 dst->total_len = 0;
866 src->total_len = 0;
880 dst->total_len = src->total_len;
894 dst->total_len += src->total_len;
[all...]
/freebsd-9.3-release/sys/ddb/
H A Ddb_textdump.c320 u_int i, len, offset, seq, total_len; local
336 total_len = 0;
349 total_len += offset;
353 total_len += offset; /* Without the zero-padding. */
366 total_len);
/freebsd-9.3-release/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-9.3-release/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-9.3-release/sys/dev/netmap/
H A Dif_re_netmap.h213 uint32_t total_len; local
217 total_len = rxstat & sc->rl_rxlenmask;
219 total_len = (total_len < 4) ? 0 : total_len - 4;
220 ring->slot[nm_i].len = total_len;
/freebsd-9.3-release/contrib/nvi/common/
H A Dcut.c313 text_init(sp, p, len, total_len)
316 size_t len, total_len;
324 if ((tp->lb_len = total_len) != 0) {
/freebsd-9.3-release/contrib/libucl/src/
H A Dxxhash.c299 U64 total_len; member in struct:XXH_state32_t
325 state->total_len = 0;
349 state->total_len += len;
422 if (state->total_len >= 16)
431 h32 += (U32) state->total_len;
/freebsd-9.3-release/sys/dev/ed/
H A Dif_ed_hpp.c560 unsigned short total_len; local
585 total_len = 0;
589 total_len += (len = m->m_len);
633 total_len += (len = m->m_len);
673 return (total_len);
/freebsd-9.3-release/crypto/heimdal/lib/hx509/
H A Dname.c117 append_string(char **str, size_t *total_len, const char *ss, argument
127 s = realloc(*str, len + *total_len + 1);
130 memcpy(s + *total_len, qs, len);
133 s[*total_len + len] = '\0';
135 *total_len += len;
197 size_t total_len = 0; local
261 append_string(str, &total_len, oidname, strlen(oidname), 0);
263 append_string(str, &total_len, "=", 1, 0);
265 append_string(str, &total_len, ss, len, 1);
273 append_string(str, &total_len, "
[all...]
/freebsd-9.3-release/contrib/gdb/gdb/
H A Ddoublest.c51 unsigned int total_len, unsigned int start, unsigned int len)
63 I.e, we need to properly handle the case where total_len is
67 int excess = FLOATFORMAT_CHAR_BIT - (total_len % FLOATFORMAT_CHAR_BIT);
68 cur_byte = (total_len / FLOATFORMAT_CHAR_BIT)
227 unsigned int total_len, unsigned int start, unsigned int len,
236 int excess = FLOATFORMAT_CHAR_BIT - (total_len % FLOATFORMAT_CHAR_BIT);
237 cur_byte = (total_len / FLOATFORMAT_CHAR_BIT)
50 get_field(unsigned char *data, enum floatformat_byteorders order, unsigned int total_len, unsigned int start, unsigned int len) argument
225 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-9.3-release/contrib/bind9/lib/dns/
H A Dspnego.c694 size_t total_len,
701 if (total_len < 1U)
705 e = der_get_length(p, total_len - 1, &len, &len_len);
706 if (e || 1 + len_len + len != total_len)
711 e = der_get_length(p, total_len - 1 - len_len - 1,
1372 size_t *total_len,
1381 *total_len = 1 + len_len + *len;
1470 size_t total_len,
1477 if (total_len < 1U)
1481 e = der_get_length (p, total_len
693 gssapi_verify_mech_header(u_char ** str, size_t total_len, const gss_OID mech) argument
1370 gssapi_encap_length(size_t data_len, size_t *len, size_t *total_len, const gss_OID mech) argument
1469 gssapi_krb5_get_mech(const u_char *ptr, size_t total_len, const u_char **mech_ret) argument
[all...]
/freebsd-9.3-release/sys/net/
H A Dslcompress.c456 * Uncompress a packet of total length total_len. The first buflen
463 sl_uncompress_tcp_core(buf, buflen, total_len, type, comp, hdrp, hlenp)
465 int buflen, total_len;
587 total_len += cs->cs_hlen - vjlen;
588 cs->cs_ip.ip_len = htons(total_len);

Completed in 263 milliseconds

123