Searched defs:length (Results 226 - 250 of 1334) sorted by relevance

1234567891011>>

/freebsd-head/crypto/heimdal/lib/asn1/
H A Dgen_decode.c186 const char *length,
195 name, length, r->max, forwstr);
201 name, length, r->min, forwstr);
207 name, length, r->min, forwstr);
284 range_check(name, "length", forwstr, t->range);
607 "(%s)->u.%s.length = len;\n"
716 "data->_save.length = ret;\n"
185 range_check(const char *name, const char *length, const char *forwstr, struct range *r) argument
/freebsd-head/crypto/heimdal/lib/gssapi/krb5/
H A Dsequence.c41 OM_uint32 length; member in struct:gss_msg_order
95 (*o)->length = 0;
125 if (o->length > after_slot)
127 (o->length - after_slot - 1) * sizeof(o->elem[0]));
131 if (o->length < o->jitter_window)
132 o->length++;
164 || o->length == 0)
174 assert(o->length > 0);
177 if (seq_num < o->elem[o->length - 1]) {
184 if (seq_num == o->elem[o->length
251 int32_t i, flags, start, length, jitter_window, first_seq; local
[all...]
/freebsd-head/crypto/heimdal/lib/hx509/
H A Dfile.c39 size_t length; local
43 ret = rk_undumpdata(fn, &data, &length);
46 os->length = length;
58 _hx509_write_file(const char *fn, const void *data, size_t length) argument
60 rk_dumpdata(fn, data, length);
80 size_t length; local
97 length = size;
98 if (length > ENCODE_LINE_LENGTH)
99 length
[all...]
H A Dsel.h62 size_t length; member in struct:hx_expr_input
/freebsd-head/crypto/heimdal/lib/krb5/
H A Dsalt-des.c58 char c = ((i < pw.length) ? ((char*)pw.data)[i] : 0) ^
59 ((i < cell.length) ?
89 memcpy(password, pw.data, min(pw.length, sizeof(password)));
90 if(pw.length < sizeof(password)) {
91 int len = min(cell.length, sizeof(password) - pw.length);
94 memcpy(password + pw.length, cell.data, len);
95 for (i = pw.length; i < pw.length + len; ++i)
98 passlen = min(sizeof(password), pw.length
138 DES_string_to_key_int(unsigned char *data, size_t length, DES_cblock *key) argument
[all...]
/freebsd-head/contrib/atf/atf-c/detail/
H A Ddynstr_test.c324 ATF_TC(length); variable
325 ATF_TC_HEAD(length, tc)
327 atf_tc_set_md_var(tc, "descr", "Checks the method to obtain the length");
329 ATF_TC_BODY(length, tc)
619 ATF_TP_ADD_TC(tp, length);
/freebsd-head/contrib/elftoolchain/libdwarf/
H A Dlibdwarf_loc.c33 * Given an array of bytes of length 'len' representing a
313 * The first byte is address byte length, followed by
314 * the address value. If the length is 0, the address
372 int *length, Dwarf_Error *error)
612 if (length)
613 *length = p - out;
370 _dwarf_loc_expr_add_atom(Dwarf_Debug dbg, uint8_t *out, uint8_t *end, Dwarf_Small atom, Dwarf_Unsigned operand1, Dwarf_Unsigned operand2, int *length, Dwarf_Error *error) argument
/freebsd-head/contrib/wpa/src/tls/
H A Dtlsv1_record.c144 * @out_len: Buffer for returning the used buf length
154 u8 *pos, *ct_start, *length, *cpayload; local
169 /* uint16 length */
170 length = pos;
171 WPA_PUT_BE16(length, payload_len);
193 * opaque fragment[TLSPlaintext.length]
194 * (opaque content[TLSCompressed.length] in GenericBlockCipher)
204 * TLSCompressed.version + TLSCompressed.length +
215 /* type + version + length + fragment */
254 WPA_PUT_BE16(length, po
[all...]
/freebsd-head/contrib/ntp/lib/isc/
H A Dbase64.c46 mem_tobuffer(isc_buffer_t *target, void *base, unsigned int length);
63 while (source->length > 2) {
74 if (source->length != 0 &&
81 if (source->length == 2) {
89 } else if (source->length == 1) {
103 int length; /*%< Desired length of binary data or -1 */ member in struct:__anon223
111 base64_decode_init(base64_decode_ctx_t *ctx, int length, isc_buffer_t *target) argument
115 ctx->length = length;
180 isc_base64_tobuffer(isc_lex_t *lexer, isc_buffer_t *target, int length) argument
243 mem_tobuffer(isc_buffer_t *target, void *base, unsigned int length) argument
[all...]
H A Dhex.c46 mem_tobuffer(isc_buffer_t *target, void *base, unsigned int length);
61 while (source->length > 0) {
68 if (source->length != 0 &&
82 int length; /*%< Desired length of binary data or -1 */ member in struct:__anon230
89 hex_decode_init(hex_decode_ctx_t *ctx, int length, isc_buffer_t *target) argument
92 ctx->length = length;
108 if (ctx->length >= 0) {
109 if (ctx->length
129 isc_hex_tobuffer(isc_lex_t *lexer, isc_buffer_t *target, int length) argument
192 mem_tobuffer(isc_buffer_t *target, void *base, unsigned int length) argument
[all...]
/freebsd-head/sys/dev/usb/
H A Duftdiio.h68 * IO is done in 16-bit words at the chip level; offset and length are in bytes,
78 uint16_t length; member in struct:uftdi_eeio
/freebsd-head/contrib/subversion/subversion/libsvn_diff/
H A Dlcs.c42 * minimum number of insertions + deletions. Since there is a known length
48 * Let 'k' be the difference in remaining length between the files, i.e.
160 lcs->length = position[1]->offset - start_position[1]->offset;
223 new_lcs->length = lines;
241 apr_off_t length[2]; local
265 lcs->length = 0;
294 length[0] = position_list1->offset - position_list1->next->offset + 1
296 length[1] = position_list2->offset - position_list2->next->offset + 1
303 sizeof(*fp) * (apr_size_t)(length[0] + length[
[all...]
/freebsd-head/contrib/subversion/subversion/libsvn_fs_base/bdb/
H A Dstrings-table.c84 locate_key(apr_size_t *length,
100 /* Set up the DBT for reading the length of the record. */
130 zero length buf), so we need to re-run the operation to make
143 *length = (apr_size_t) result.size;
153 get_next_length(apr_size_t *length, DBC *cursor, DBT *query)
158 /* Set up the DBT for reading the length of the record. */
179 zero length buf), so we need to re-run the operation to make
189 *length = (apr_size_t) result.size;
206 apr_size_t length, bytes_read = 0;
210 SVN_ERR(locate_key(&length,
82 locate_key(apr_size_t *length, DBC **cursor, DBT *query, svn_fs_t *fs, trail_t *trail, apr_pool_t *pool) argument
151 get_next_length(apr_size_t *length, DBC *cursor, DBT *query) argument
204 apr_size_t length, bytes_read = 0; local
415 apr_size_t length; local
[all...]
/freebsd-head/contrib/tcpdump/
H A Dprint-ascii.c59 const u_char *cp, u_int length)
65 if (length > caplength)
66 length = caplength;
68 while (length > 0) {
70 length--;
81 if (length > 1 && *cp != '\n')
95 register const u_char *cp, register u_int length, register u_int oset)
105 if (length > caplength)
106 length = caplength;
107 nshorts = length / sizeo
58 ascii_print(netdissect_options *ndo, const u_char *cp, u_int length) argument
94 hex_and_ascii_print_with_offset(netdissect_options *ndo, register const char *ident, register const u_char *cp, register u_int length, register u_int oset) argument
145 hex_and_ascii_print(netdissect_options *ndo, register const char *ident, register const u_char *cp, register u_int length) argument
155 hex_print_with_offset(netdissect_options *ndo, const char *ident, const u_char *cp, u_int length, u_int oset) argument
187 hex_print(netdissect_options *ndo,const char *ident, const u_char *cp, u_int length) argument
[all...]
H A Dprint-cdp.c95 const u_char *pptr, u_int length, u_int caplen)
111 ND_PRINT((ndo, ", checksum: 0x%04x (unverified), length %u", EXTRACT_16BITS(tptr+CDP_HEADER_CHECKSUM_OFFSET), length));
114 while (tptr < (pptr+length)) {
117 len = EXTRACT_16BITS(tptr+CDP_TLV_LEN_OFFSET); /* object length includes the 4 bytes header length */
120 ND_PRINT((ndo, "\n\t%s (0x%02x), TLV length: %u byte%s (too short)",
126 ND_PRINT((ndo, ", %s TLV length %u too short",
139 ND_PRINT((ndo, "\n\t%s (0x%02x), value length: %u byte%s: ",
260 ND_PRINT((ndo, ", length
94 cdp_print(netdissect_options *ndo, const u_char *pptr, u_int length, u_int caplen) argument
[all...]
H A Dprint-igrp.c105 igrp_print(netdissect_options *ndo, register const u_char *bp, u_int length) argument
130 length -= sizeof(*hdr);
131 while (length >= IGRP_RTE_SIZE) {
145 ND_PRINT((ndo, " [extra bytes %d]", length));
149 length -= IGRP_RTE_SIZE;
H A Dprint-ipx.c50 uint16_t length; /* Length, in bytes, including header */ member in struct:ipxHdr
72 ipx_print(netdissect_options *ndo, const u_char *p, u_int length) argument
88 /* take length from ipx header */
89 ND_TCHECK(ipx->length);
90 length = EXTRACT_16BITS(&ipx->length);
92 ipx_decode(ndo, ipx, p + ipxSize, length - ipxSize);
95 ND_PRINT((ndo, "[|ipx %d]", length));
110 ipx_decode(netdissect_options *ndo, const struct ipxHdr *ipx, const u_char *datap, u_int length) argument
117 ND_PRINT((ndo, "ipx-ncp %d", length));
150 ipx_sap_print(netdissect_options *ndo, const u_short *ipx, u_int length) argument
202 ipx_rip_print(netdissect_options *ndo, const u_short *ipx, u_int length) argument
[all...]
H A Dprint-medsa.c141 const u_char *bp, u_int length, u_int caplen,
157 length -= 8;
163 if (llc_print(ndo, bp, length, caplen, src, dst) < 0) {
174 if (ethertype_print(ndo, ether_type, bp, length, caplen, src, dst) == 0) {
140 medsa_print(netdissect_options *ndo, const u_char *bp, u_int length, u_int caplen, const struct lladdr_info *src, const struct lladdr_info *dst) argument
H A Dprint-rip.c179 const u_char *dat, u_int length)
190 if (i > length)
191 i = length;
217 print_unknown_data(ndo, (const uint8_t *)&rp->rip_cmd, "\n\t", length); local
221 ND_PRINT((ndo, ", %s, length: %u",
225 length));
233 j = length / sizeof(*ni);
260 if(!print_unknown_data(ndo, (const uint8_t *)rp, "\n\t", length))
267 if(!print_unknown_data(ndo, (const uint8_t *)rp, "\n\t", length))
178 rip_print(netdissect_options *ndo, const u_char *dat, u_int length) argument
H A Dprint-sunrpc.c169 register u_int length, register const u_char *bp2)
194 ipaddr_string(ndo, &ip->ip_dst), dstid, length));
200 ip6addr_string(ndo, &ip6->ip6_dst), dstid, length));
203 ND_PRINT((ndo, "%s.%s > %s.%s: %d", "?", srcid, "?", dstid, length));
168 sunrpcrequest_print(netdissect_options *ndo, register const u_char *bp, register u_int length, register const u_char *bp2) argument
/freebsd-head/sbin/growfs/
H A Ddebug.c809 dbg_dump_iblk(struct fs *sb, const char *comment, char *block, size_t length) argument
827 for (i = 0; (size_t)i < MIN(howmany(sb->fs_bsize, size), length);
831 if ((size_t)(i + j) < length)
/freebsd-head/sys/dev/e1000/
H A De1000_manage.c40 * @length: size of EEPROM to calculate a checksum for
42 * Calculates the checksum for some buffer on a specified length. The
45 u8 e1000_calculate_checksum(u8 *buffer, u32 length) argument
55 for (i = 0; i < length; i++)
193 u16 i, length = sizeof(struct e1000_host_mng_command_header); local
199 hdr->checksum = e1000_calculate_checksum((u8 *)hdr, length);
201 length >>= 2;
203 for (i = 0; i < length; i++) {
216 * @length: size of the buffer
225 u16 length, u1
224 e1000_mng_host_if_write_generic(struct e1000_hw *hw, u8 *buffer, u16 length, u16 offset, u8 *sum) argument
296 e1000_mng_write_dhcp_info_generic(struct e1000_hw *hw, u8 *buffer, u16 length) argument
395 e1000_host_interface_command(struct e1000_hw *hw, u8 *buffer, u32 length) argument
468 e1000_load_firmware(struct e1000_hw *hw, u8 *buffer, u32 length) argument
[all...]
/freebsd-head/contrib/ofed/libibnetdisc/
H A Dquery_smp.c168 int length = umad_size() + IB_MAD_SIZE; local
173 if ((rc = umad_recv(engine->umad_fd, umad, &length,
/freebsd-head/contrib/ofed/librdmacm/
H A Drdma_verbs.h68 rdma_reg_msgs(struct rdma_cm_id *id, void *addr, size_t length) argument
70 return ibv_reg_mr(id->pd, addr, length, IBV_ACCESS_LOCAL_WRITE);
74 rdma_reg_read(struct rdma_cm_id *id, void *addr, size_t length) argument
76 return ibv_reg_mr(id->pd, addr, length, IBV_ACCESS_LOCAL_WRITE |
81 rdma_reg_write(struct rdma_cm_id *id, void *addr, size_t length) argument
83 return ibv_reg_mr(id->pd, addr, length, IBV_ACCESS_LOCAL_WRITE |
172 size_t length, struct ibv_mr *mr)
177 (((uint8_t *) addr + length) <= ((uint8_t *) mr->addr + mr->length)));
179 sge.length
171 rdma_post_recv(struct rdma_cm_id *id, void *context, void *addr, size_t length, struct ibv_mr *mr) argument
186 rdma_post_send(struct rdma_cm_id *id, void *context, void *addr, size_t length, struct ibv_mr *mr, int flags) argument
199 rdma_post_read(struct rdma_cm_id *id, void *context, void *addr, size_t length, struct ibv_mr *mr, int flags, uint64_t remote_addr, uint32_t rkey) argument
213 rdma_post_write(struct rdma_cm_id *id, void *context, void *addr, size_t length, struct ibv_mr *mr, int flags, uint64_t remote_addr, uint32_t rkey) argument
227 rdma_post_ud_send(struct rdma_cm_id *id, void *context, void *addr, size_t length, struct ibv_mr *mr, int flags, struct ibv_ah *ah, uint32_t remote_qpn) argument
[all...]
/freebsd-head/lib/libgeom/
H A Dgeom_util.c169 g_delete(int fd, off_t offset, off_t length) argument
174 arg[1] = length;

Completed in 190 milliseconds

1234567891011>>