/freebsd-11.0-release/contrib/ofed/management/infiniband-diags/src/ |
H A D | mcm_rereg_test.c | 106 uint8_t *umad, int len, int method, ibmad_gid_t port_gid) 114 if(umad_send(port, agent, umad, len, TMO, 0) < 0) { 125 uint8_t *umad, int len, ibmad_gid_t port_gid) 134 if(umad_send(port, agent, umad, len, TMO, 0) < 0) { 143 if(umad_send(port, agent, umad, len, TMO, 0) < 0) { 163 int len = umad_size() + 256; local 168 umad = calloc(1, len); 175 ret = rereg_port_gid(port, agent, dport, umad, len, list[i].gid); 198 int len, ret = 0; 202 len 105 rereg_send(int port, int agent, ib_portid_t *dport, uint8_t *umad, int len, int method, ibmad_gid_t port_gid) argument 124 rereg_port_gid(int port, int agent, ib_portid_t *dport, uint8_t *umad, int len, ibmad_gid_t port_gid) argument 224 int len = length; local 247 int len = umad_size() + 256; local 302 int len = umad_size() + 256; local 434 int len; local [all...] |
/freebsd-11.0-release/contrib/subversion/subversion/libsvn_fs_base/util/ |
H A D | fs_skels.c | 78 int len = svn_skel__list_length(skel); 80 if ((len == 2) 92 int len = svn_skel__list_length(skel); 94 if (len != 5) 120 int len; 131 len = svn_skel__list_length(window); 132 if ((len < 3) || (len > 4)) 138 if ((len == 4) 159 int len 76 int len = svn_skel__list_length(skel); local 90 int len = svn_skel__list_length(skel); local 118 int len; local 157 int len = svn_skel__list_length(skel); local 215 int len = svn_skel__list_length(skel); local 256 int len = svn_skel__list_length(skel); local 416 int len; local 759 int len = svn_skel__list_length(skel); local [all...] |
/freebsd-11.0-release/contrib/sendmail/src/ |
H A D | stab.c | 51 int len; local 113 len = sizeof(s->s_class); 117 len = sizeof(s->s_mailer); 121 len = sizeof(s->s_alias); 125 len = sizeof(s->s_mapclass); 129 len = sizeof(s->s_map); 133 len = sizeof(s->s_hostsig); 137 len = sizeof(s->s_namecanon); 141 len = sizeof(s->s_macro); 145 len [all...] |
H A D | sm_resolve.c | 162 ** len -- len of data 170 parse_dns_reply(data, len) 172 int len; 192 status = dn_expand(data, data + len, p, host, sizeof(host)); 212 while (p < data + len && ui < ans_cnt) 216 status = dn_expand(data, data + len, p, host, sizeof(host)); 228 if (p + size > data + len) 237 "ERROR: DNS RDLENGTH=%d > data len=%d", 238 size, len 396 int len; local [all...] |
/freebsd-11.0-release/usr.sbin/ppp/ |
H A D | link.c | 103 while (queue->len) 122 size_t len; local 124 for (i = 0, len = 0; i < LINK_QUEUES(l); i++) 125 len += l->Queue[i].len; 127 return len; 134 size_t len, bytes; local 138 for (i = 0, len = 0; i < LINK_QUEUES(l); i++) { 139 len = l->Queue[i].len; 155 size_t len; local 276 link_PullPacket(struct link *l, char *buf, size_t len, struct bundle *b) argument 298 memcpy(MBUF_CTOP(lbp[0]), buf, len); local [all...] |
/freebsd-11.0-release/sys/kern/ |
H A D | subr_sglist.c | 79 * Append a single (paddr, len) to a sglist. sg is the list and ss is 85 vm_paddr_t paddr, size_t len) 91 ss->ss_len += len; 97 ss->ss_len = len; 109 _sglist_append_buf(struct sglist *sg, void *buf, size_t len, pmap_t pmap, argument 120 if (len == 0) 130 seglen = MIN(len, PAGE_SIZE - offset); 143 len -= seglen; 147 while (len > 0) { 148 seglen = MIN(len, PAGE_SIZ 84 _sglist_append_range(struct sglist *sg, struct sglist_seg **ssp, vm_paddr_t paddr, size_t len) argument 170 sglist_count(void *buf, size_t len) argument 199 sglist_count_vmpages(vm_page_t *m, size_t pgoff, size_t len) argument 257 sglist_append(struct sglist *sg, void *buf, size_t len) argument 295 sglist_append_phys(struct sglist *sg, vm_paddr_t paddr, size_t len) argument 355 sglist_append_vmpages(struct sglist *sg, vm_page_t *m, size_t pgoff, size_t len) argument 400 sglist_append_user(struct sglist *sg, void *buf, size_t len, struct thread *td) argument 474 int error, len; local 519 sglist_build(void *buf, size_t len, int mflags) argument [all...] |
/freebsd-11.0-release/crypto/openssl/crypto/evp/ |
H A D | e_aes_cbc_hmac_sha1.c | 149 void sha1_block_data_order(void *c, const void *p, size_t len); 151 static void sha1_update(SHA_CTX *c, const void *data, size_t len) argument 158 if (len < res) 159 res = len; 162 len -= res; 165 res = len % SHA_CBLOCK; 166 len -= res; 168 if (len) { 169 sha1_block_data_order(c, ptr, len / SHA_CBLOCK); 171 ptr += len; 267 unsigned int len = (i == (x4 - 1) ? last : frag); local 343 unsigned int len = (i == (x4 - 1) ? last : frag), local 410 unsigned int len = (i == (x4 - 1) ? last : frag), pad, j; local 456 aesni_cbc_hmac_sha1_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t len) argument 851 unsigned int len; local [all...] |
/freebsd-11.0-release/sys/dev/iscsi/ |
H A D | icl_soft.c | 145 icl_conn_receive(struct icl_conn *ic, size_t len) argument 155 uio.uio_resid = len; 253 uint32_t len = 0; local 255 len += request->ip_bhs->bhs_data_segment_len[0]; 256 len <<= 8; 257 len += request->ip_bhs->bhs_data_segment_len[1]; 258 len <<= 8; 259 len += request->ip_bhs->bhs_data_segment_len[2]; 261 return (len); 273 icl_pdu_set_data_segment_length(struct icl_pdu *response, uint32_t len) argument 294 size_t len; local 412 size_t len; local 462 size_t len, padding = 0; local 574 size_t len; local 1082 icl_pdu_append_data(struct icl_pdu *request, const void *addr, size_t len, int flags) argument 1116 icl_soft_conn_pdu_append_data(struct icl_conn *ic, struct icl_pdu *request, const void *addr, size_t len, int flags) argument 1124 icl_pdu_get_data(struct icl_pdu *ip, size_t off, void *addr, size_t len) argument 1131 icl_soft_conn_pdu_get_data(struct icl_conn *ic, struct icl_pdu *ip, size_t off, void *addr, size_t len) argument [all...] |
/freebsd-11.0-release/contrib/libarchive/libarchive/ |
H A D | archive_read_support_format_mtree.c | 273 ssize_t len; local 275 len = 0; 276 while (len < avail) { 283 if (avail-len > 1 && b[1] == '\n') { 286 return (len+2); 292 return (len+1); 295 len++; 308 ssize_t len; local 314 len = 0; 316 len 355 bid_keycmp(const char *p, const char *key, ssize_t len) argument 386 bid_keyword(const char *p, ssize_t len) argument 455 bid_keyword_list(const char *p, ssize_t len, int unset, int last_is_path) argument 511 bid_entry(const char *p, ssize_t len, ssize_t nl, int *last_is_path) argument 625 ssize_t detected_bytes = 0, len, nl; local 746 add_option(struct archive_read *a, struct mtree_option **global, const char *value, size_t len) argument 768 remove_option(struct mtree_option **global, const char *value, size_t len) argument 795 size_t len; local 824 size_t len; local 859 size_t name_len, len; local 956 ssize_t len; local [all...] |
/freebsd-11.0-release/contrib/gdb/gdb/ |
H A D | remote-sds.c | 281 tob64 (unsigned char *inbuf, char *outbuf, int len) 286 if (len % 3 != 0) 290 for (i = 0; i < len; i += 3) 307 fromb64 (char *inbuf, char *outbuf, int len) 311 if (len % 4 != 0) 314 for (i = 0; i < len; i += 4) 329 return (len / 4) * 3; 549 sds_write_bytes (CORE_ADDR memaddr, char *myaddr, int len) 561 origlen = len; 562 while (len > 280 tob64(unsigned char *inbuf, char *outbuf, int len) argument 306 fromb64(char *inbuf, char *outbuf, int len) argument 545 sds_write_bytes(CORE_ADDR memaddr, char *myaddr, int len) argument 593 sds_read_bytes(CORE_ADDR memaddr, char *myaddr, int len) argument 646 sds_xfer_memory(CORE_ADDR memaddr, char *myaddr, int len, int should_write, struct mem_attrib *attrib, struct target_ops *target) argument 698 compute_checksum(int csum, char *buf, int len) argument 713 sds_send(unsigned char *buf, int len) argument 723 putmessage(unsigned char *buf, int len) argument 860 int val, i, len, csum; local 1093 int i, len, retlen; local [all...] |
/freebsd-11.0-release/tools/tools/net80211/w00t/expand/ |
H A D | expand.c | 53 int len; member in struct:queue 86 int wanted(struct params *p, struct ieee80211_frame *wh, int len) argument 114 void enque(struct params *p, char **buf, struct ieee80211_frame *wh, int len) argument 153 q->len = len; 185 int len; local 232 int ptl = q->len; 247 len = p->prga_len + 1 - 4; 250 if (len < sizeof(payload)) { 251 need_frag = len; 319 got_mcast(struct params *p, struct ieee80211_frame *wh, int len) argument [all...] |
/freebsd-11.0-release/sys/netinet/ |
H A D | tcp_output.c | 137 #define TCP_XMIT_TIMER_ASSERT(tp, len, th_flags) \ 138 KASSERT(((len) == 0 && ((th_flags) & (TH_SYN | TH_FIN)) == 0) ||\ 145 long len, int tso); 153 struct tcpopt *to, long len, int tso) 161 hhook_data.len = len; 188 long len, recwin, sendwin; local 276 len = 0; 303 len = ((long)ulmin(cwin, 306 len 152 hhook_run_tcp_est_out(struct tcpcb *tp, struct tcphdr *th, struct tcpopt *to, long len, int tso) argument [all...] |
/freebsd-11.0-release/crypto/heimdal/lib/krb5/ |
H A D | expand_path.c | 56 size_t len; local 66 len = strlen(tpath); 68 if (len > 0 && tpath[len - 1] == '\\') 69 tpath[len - 1] = '\0'; 149 DWORD len = 0; local 177 if (!GetTokenInformation(hToken, TokenOwner, NULL, 0, &len)) { 186 if (len == 0) { 193 pOwner = malloc(len); 205 if (!GetTokenInformation(hToken, TokenOwner, pOwner, len, 244 size_t len; local 408 size_t len = 0; local [all...] |
H A D | build_ap_req.c | 47 size_t len; local 59 decode_Ticket(cred->ticket.data, cred->ticket.length, &t, &len); 68 &ap, &len, ret); 69 if(ret == 0 && retdata->length != len)
|
/freebsd-11.0-release/crypto/openssl/crypto/aes/ |
H A D | aes_ige.c | 84 size_t len = length; local 90 len = length / AES_BLOCK_SIZE; 100 while (len) { 112 --len; 126 while (len) { 137 --len; 152 while (len) { 165 --len; 179 while (len) { 191 --len; 214 size_t len = length; local [all...] |
/freebsd-11.0-release/contrib/libc-vis/ |
H A D | vis.c | 354 size_t len; local 357 len = strlen(src); 358 if ((dst = calloc(len + MAXEXTRAS, sizeof(*dst))) == NULL) 361 if ((flags & VIS_NOLOCALE) || mbstowcs(dst, src, len) == (size_t)-1) { 363 for (i = 0; i < len; i++) 365 d = dst + len; 396 size_t len, olen; local 482 len = src - psrc; 486 * processed two characters, c and nextc. Reset len back to 489 if (mblength < len) 651 strsvisx(char *mbdst, const char *mbsrc, size_t len, int flags, const char *mbextra) argument 657 strsnvisx(char *mbdst, size_t dlen, const char *mbsrc, size_t len, int flags, const char *mbextra) argument 664 strsenvisx(char *mbdst, size_t dlen, const char *mbsrc, size_t len, int flags, const char *mbextra, int *cerr_ptr) argument 744 strvisx(char *mbdst, const char *mbsrc, size_t len, int flags) argument 750 strnvisx(char *mbdst, size_t dlen, const char *mbsrc, size_t len, int flags) argument 756 strenvisx(char *mbdst, size_t dlen, const char *mbsrc, size_t len, int flags, int *cerr_ptr) argument [all...] |
/freebsd-11.0-release/sbin/dhclient/ |
H A D | options.c | 118 int len, code; local 129 len = 65536; 137 len = s[1]; 147 if (s + len + 2 > end) { 151 dhcp_options[code].name, len, 170 if (!(t = calloc(1, len + 1))) 177 memcpy(t, &s[2], len); 178 t[len] = 0; 179 packet->options[code].len = len; 625 pretty_print_option(unsigned int code, unsigned char *data, int len, int emit_commas, int emit_quotes) argument 862 do_packet(struct interface_info *interface, struct dhcp_packet *packet, int len, unsigned int from_port, struct iaddr from, struct hardware *hfrom) argument [all...] |
/freebsd-11.0-release/crypto/heimdal/lib/roken/ |
H A D | parse_units.c | 187 * with maximum length `len'. The actual length is the function value. 191 unparse_something (int num, const struct units *units, char *s, size_t len, argument 200 return snprintf (s, len, "%s", zero_string); 208 tmp = (*print) (s, len, divisor, u->name, num); 211 if (tmp > (int) len) { 212 len = 0; 215 len -= tmp; 225 print_unit (char *s, size_t len, int divisor, const char *name, int rem) argument 227 return snprintf (s, len, "%u %s%s%s", 249 unparse_units (int num, const struct units *units, char *s, size_t len) argument 258 unparse_units_approx(int num, const struct units *units, char *s, size_t len) argument 300 print_flag(char *s, size_t len, int divisor, const char *name, int rem) argument 312 unparse_flags(int num, const struct units *units, char *s, size_t len) argument [all...] |
/freebsd-11.0-release/contrib/llvm/tools/lldb/source/Host/netbsd/ |
H A D | HostInfoNetBSD.cpp | 99 ssize_t len; local 104 len = ::readlink(name, buf, PATH_MAX - 1); 105 if (len != -1) 107 buf[len] = '\0';
|
/freebsd-11.0-release/contrib/tcp_wrappers/ |
H A D | misc.c | 30 char *xgets(ptr, len, fp) 32 int len; 38 while (fgets(ptr, len, fp)) { 49 len -= got;
|
/freebsd-11.0-release/contrib/wpa/src/crypto/ |
H A D | md5.h | 15 const u8 *addr[], const size_t *len, u8 *mac);
|
H A D | md5_i.h | 20 unsigned len);
|
H A D | sha1-pbkdf2.c | 22 size_t len[2]; local 26 len[0] = ssid_len; 28 len[1] = 4; 40 if (hmac_sha1_vector((u8 *) passphrase, passphrase_len, 2, addr, len,
|
H A D | sha1_i.h | 19 void SHA1Update(struct SHA1Context *context, const void *data, u32 len);
|
/freebsd-11.0-release/contrib/wpa/src/eap_peer/ |
H A D | eap_otp.c | 34 size_t password_len, len; local 37 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_OTP, reqData, &len); 43 pos, len); 55 eap_sm_request_otp(sm, (const char *) pos, len);
|