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

123

/freebsd-10.2-release/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-10.2-release/contrib/wpa/src/crypto/
H A Daes-omac1.c48 size_t i, e, left, total_len; local
55 total_len = 0;
57 total_len += len[e];
58 left = total_len;
82 if (left || total_len == 0) {
/freebsd-10.2-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-10.2-release/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-10.2-release/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-10.2-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-10.2-release/sys/netinet/
H A Dsctp_bsd_addr.c420 int total_len; local
425 * Buffer layout. -sizeof this entry (total_len) -previous end
430 total_len = SCTP_SIZE32((length + (4 * sizeof(int))));
432 if (total_len > SCTP_PACKET_LOG_SIZE) {
446 newval = SCTP_BASE_VAR(packet_log_end) + total_len;
450 thisend = total_len;
460 newval = SCTP_BASE_VAR(packet_log_end) + total_len;
464 thisend = total_len;
486 *lenat = total_len;
/freebsd-10.2-release/contrib/wpa/src/wps/
H A Dndef.c105 size_t total_len; local
112 total_len = 2; /* flag + type length */
114 total_len += short_record ? sizeof(u8) : sizeof(u32);
116 total_len += 1;
117 total_len += type_length + id_length + payload_length;
118 record = wpabuf_alloc(total_len);
/freebsd-10.2-release/usr.sbin/iscsid/
H A Dpdu.c247 ssize_t ret, total_len; local
263 total_len = iov[0].iov_len;
269 total_len += iov[1].iov_len;
277 total_len += iov[2].iov_len;
288 if (ret != total_len)
/freebsd-10.2-release/sys/cam/ctl/
H A Dctl_tpc.c446 int alloc_len, total_len; local
454 total_len = sizeof(*data) + 4;
457 ctsio->kern_data_ptr = malloc(total_len, M_CTL, M_WAITOK | M_ZERO);
461 if (total_len < alloc_len) {
462 ctsio->residual = alloc_len - total_len;
463 ctsio->kern_data_len = total_len;
464 ctsio->kern_total_len = total_len;
525 int alloc_len, total_len; local
554 total_len = sizeof(*data);
557 ctsio->kern_data_ptr = malloc(total_len, M_CT
607 int alloc_len, total_len; local
679 int alloc_len, total_len; local
2154 int alloc_len, total_len, token_len; local
2251 int alloc_len, total_len, tokens, i; local
[all...]
/freebsd-10.2-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;
/freebsd-10.2-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-10.2-release/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-10.2-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-10.2-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-10.2-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-10.2-release/contrib/apr-util/buckets/
H A Dapr_brigade.c495 apr_size_t total_len; local
501 total_len = 0;
503 total_len += vec[i].iov_len;
509 if (total_len > APR_BUCKET_BUFF_SIZE) {
543 if (remaining >= total_len) {
552 e->length += total_len;
572 total_len -= (buf - start_buf);
603 e->length = total_len;
/freebsd-10.2-release/sys/ofed/drivers/infiniband/hw/mlx4/
H A Dmr.c330 u64 total_len = 0; local
390 total_len += current_block_len;
410 total_len += current_block_len;
412 total_len += (first_block_start & ((1ULL<<block_shift)-1ULL));
415 total_len += (last_block_aligned_end - last_block_end);
417 WARN((total_len & ((1ULL<<block_shift)-1ULL)),
419 (long long)total_len, (long long)block_shift);
421 *num_of_mtts = total_len >> block_shift;
/freebsd-10.2-release/contrib/subversion/subversion/libsvn_subr/
H A Dpath.c158 apr_size_t total_len;
168 total_len = strlen(base);
172 if (total_len == 1 && *base == '/')
176 total_len = sizeof(SVN_EMPTY_PATH) - 1;
180 saved_lengths[0] = total_len;
202 total_len = len;
218 total_len = 0;
220 total_len += len;
224 total_len += 1 + len;
230 if (base_is_root && total_len
155 apr_size_t total_len; local
[all...]
/freebsd-10.2-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-10.2-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);

Completed in 223 milliseconds

123