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

123

/freebsd-10.0-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.0-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.0-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.0-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.0-release/usr.sbin/ctld/
H A Dpdu.c199 ssize_t ret, total_len; local
208 total_len = iov[0].iov_len;
214 total_len += iov[1].iov_len;
222 total_len += iov[2].iov_len;
233 if (ret != total_len)
/freebsd-10.0-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.0-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-10.0-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.0-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-10.0-release/usr.sbin/iscsid/
H A Dpdu.c234 ssize_t ret, total_len; local
243 total_len = iov[0].iov_len;
249 total_len += iov[1].iov_len;
257 total_len += iov[2].iov_len;
268 if (ret != total_len)
/freebsd-10.0-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.0-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.0-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.0-release/sys/dev/netmap/
H A Dif_re_netmap.h252 uint32_t total_len; local
256 total_len = rxstat & sc->rl_rxlenmask;
258 total_len = (total_len < 4) ? 0 : total_len - 4;
259 kring->ring->slot[j].len = total_len;
/freebsd-10.0-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.0-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 total_len, block_shift);
421 *num_of_mtts = total_len >> block_shift;
/freebsd-10.0-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...]
H A Ddirent_uri.c1039 apr_size_t total_len;
1049 total_len = strlen(base);
1055 if (total_len == 0
1056 || base[total_len - 1] == '/'
1058 || base[total_len - 1] == ':'
1063 saved_lengths[0] = total_len;
1083 total_len = len;
1092 saved_lengths[0] = total_len = len = strlen(s);
1111 total_len += add_separator + len;
1115 total_len
1037 apr_size_t total_len; local
[all...]
/freebsd-10.0-release/sys/dev/ed/
H A Dif_ed_hpp.c560 unsigned short total_len; local
581 total_len = 0;
585 total_len += (len = m->m_len);
629 total_len += (len = m->m_len);
669 return (total_len);
/freebsd-10.0-release/crypto/heimdal/lib/hx509/
H A Dname.c122 append_string(char **str, size_t *total_len, const char *ss, argument
132 s = realloc(*str, len + *total_len + 1);
135 memcpy(s + *total_len, qs, len);
138 s[*total_len + len] = '\0';
140 *total_len += len;
203 size_t total_len = 0; local
285 append_string(str, &total_len, oidname, strlen(oidname), 0);
287 append_string(str, &total_len, "=", 1, 0);
288 append_string(str, &total_len, ss, len, 1);
295 append_string(str, &total_len, "
[all...]
/freebsd-10.0-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

Completed in 420 milliseconds

123