Home
last modified time | relevance | path

Searched refs:length (Results 26 – 50 of 3835) sorted by relevance

12345678910>>...154

/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/
H A Dtst.substr.d34 int length; member
81 command[i].length = 20;
85 command[i].length = 4;
97 command[i].length = 20;
101 command[i].length = 0;
105 command[i].length = -1;
109 command[i].length = 0;
113 command[i].length = -1;
117 command[i].length = -4;
125 command[i].length = -5;
[all …]
/freebsd/tools/regression/sockets/sendfile/
H A Dsendfile.c74 uint32_t length; member
92 uint32_t offset, uint32_t length);
101 uint32_t *length) in test_th() argument
108 *length = ntohl(th->th_length); in test_th()
255 uint32_t length) in init_th() argument
261 th->th_length = htonl(length); in init_th()
274 int length; in send_test() local
285 if (test.length > 0 && test.length < (uint32_t)length) in send_test()
286 length = test.length; in send_test()
320 if (length == 0) { in send_test()
[all …]
/freebsd/contrib/tcpdump/
H A Dprint-chdlc.c61 if (length < CHDLC_HDRLEN) in chdlc_print()
69 length); in chdlc_print()
72 length -= CHDLC_HDRLEN; in chdlc_print()
77 ip_print(ndo, p, length); in chdlc_print()
80 ip6_print(ndo, p, length); in chdlc_print()
83 chdlc_slarp_print(ndo, p, length); in chdlc_print()
87 mpls_print(ndo, p, length); in chdlc_print()
91 if (length < 2) in chdlc_print()
144 ND_PRINT("SLARP (length: %u), ",length); in chdlc_slarp_print()
145 if (length < SLARP_MIN_LEN) in chdlc_slarp_print()
[all …]
H A Dprint-resp.c217 while (length > 0) { in resp_print()
227 ret_len = resp_parse(ndo, bp, length); in resp_print()
230 length -= ret_len; in resp_print()
245 LCHECK2(length, 1); in resp_parse()
286 int length_cur = length, len, ret_len; in resp_print_string_error_integer()
321 int length_cur = length, string_len; in resp_print_bulk_string()
359 return (length - length_cur); in resp_print_bulk_string()
367 u_int length_cur = length; in resp_print_bulk_array()
398 return (length - length_cur); in resp_print_bulk_array()
406 int length_cur = length; in resp_print_inline()
[all …]
H A Dprint-snmp.c879 length -= i; in asn1_decode()
1240 while (length) { in varbind_print()
1329 length -= count; in snmppdu_print()
1354 length -= count; in snmppdu_print()
1379 length -= count; in snmppdu_print()
1407 length -= count; in trappdu_print()
1422 length -= count; in trappdu_print()
1438 length -= count; in trappdu_print()
1454 length -= count; in trappdu_print()
1469 length -= count; in trappdu_print()
[all …]
H A Dprint-ascii.c71 if (length > caplength) { in ascii_print()
72 length = caplength; in ascii_print()
76 while (length > 0) { in ascii_print()
79 length--; in ascii_print()
117 if (length > caplength) { in hex_and_ascii_print_with_offset()
118 length = caplength; in hex_and_ascii_print_with_offset()
145 if (length & 1) { in hex_and_ascii_print_with_offset()
166 const u_char *cp, u_int length) in hex_and_ascii_print() argument
185 if (length > caplength) { in hex_print_with_offset()
186 length = caplength; in hex_print_with_offset()
[all …]
H A Dprint-802_11.c197 uint8_t length; member
1181 length -= ssid.length; in parse_elements()
1207 length -= challenge.length; in parse_elements()
1231 length -= rates.length; in parse_elements()
1260 length -= ds.length; in parse_elements()
1284 length -= cf.length; in parse_elements()
1317 length -= tim.length; in parse_elements()
1333 length -= tim.length - 3; in parse_elements()
1614 length -= 2; in handle_auth()
1617 length -= 2; in handle_auth()
[all …]
H A Dprint-arcnet.c135 length); in arcnet_print()
146 length); in arcnet_print()
155 length); in arcnet_print()
165 (flag + 3) / 2, length); in arcnet_print()
172 flag/2 + 1, length); in arcnet_print()
185 u_int length = h->len; in arcnet_if_print() local
246 length -= archdrlen; in arcnet_if_print()
278 u_int length = h->len; in arcnet_linux_if_print() local
314 length -= archdrlen; in arcnet_linux_if_print()
344 ip6_print(ndo, p, length); in arcnet_encap_print()
[all …]
/freebsd/crypto/heimdal/lib/asn1/
H A Dasn1_print.c61 size_t length; in loop() local
93 if (length == ASN1_INDEFINITE) { in loop()
108 length = len; in loop()
109 } else if (length > len) { in loop()
144 if (length <= sizeof(val)) { in loop()
162 (unsigned long)length, p); in loop()
183 if (ret || sz > str.length || in loop()
278 if (loop_length < length) in loop()
279 length = loop_length; in loop()
285 buf += length; in loop()
[all …]
/freebsd/crypto/heimdal/appl/telnet/telnet/
H A Dutilities.c103 while (length) { in Dump()
131 if (length < 0) { in Dump()
297 length -= 2; in printsub()
299 if (length < 1) { in printsub()
311 (int)(length-2), in printsub()
407 if (length < 3) { in printsub()
445 while (i < length) in printsub()
486 if (length < 3) { in printsub()
548 if (length < 3) { in printsub()
601 if (length < 3) { in printsub()
[all …]
/freebsd/contrib/telnet/telnet/
H A Dutilities.c132 while (length) { in Dump()
160 if (length < 0) { in Dump()
318 length -= 2; in printsub()
320 if (length < 1) { in printsub()
344 if (length < 2) { in printsub()
426 if (length < 3) { in printsub()
464 while (i < length) in printsub()
505 if (length < 3) { in printsub()
567 if (length < 3) { in printsub()
620 if (length < 3) { in printsub()
[all …]
/freebsd/lib/libc/string/
H A Dbcopy.c59 (void *dst0, const void *src0, size_t length) in memcpy() argument
93 t = length; in memcpy()
96 length -= t; in memcpy()
102 t = length / wsize; in memcpy()
105 t = length & wmask; in memcpy()
113 src += length; in memcpy()
114 dst += length; in memcpy()
118 t = length; in memcpy()
121 length -= t; in memcpy()
124 t = length / wsize; in memcpy()
[all …]
/freebsd/crypto/openssl/crypto/x509/
H A Dv3_addr.c106 if (bs->length < 0 || bs->length > length) in addr_expand()
108 if (bs->length > 0) { in addr_expand()
118 memset(addr + bs->length, fill, length - bs->length); in addr_expand()
137 if (bs->length < 0) in i2r_address()
159 for (i = 0; i < bs->length; i++) in i2r_address()
295 prefixlen_a = length * 8; in IPAddressOrRange_cmp()
308 prefixlen_b = length * 8; in IPAddressOrRange_cmp()
439 if (memcmp(min, max, length) > 0) in make_addressRange()
689 int len = ((a->length <= b->length) ? a->length : b->length); in IPAddressFamily_cmp()
691 return cmp ? cmp : a->length - b->length; in IPAddressFamily_cmp()
[all …]
/freebsd/sys/libkern/
H A Dbcopy.c60 memcpy(void *dst0, const void *src0, size_t length) in memcpy() argument
91 t = length; in memcpy()
96 length -= t; in memcpy()
102 t = length / wsize; in memcpy()
105 t = length & wmask; in memcpy()
113 src += length; in memcpy()
114 dst += length; in memcpy()
119 t = length; in memcpy()
124 length -= t; in memcpy()
127 t = length / wsize; in memcpy()
[all …]
/freebsd/stand/ficl/
H A Dfileaccess.c41 filename[length] = 0; in ficlFopen()
121 filename[length] = 0; in ficlDeleteFile()
128 int length; in ficlRenameFile() local
137 to[length] = 0; in ficlRenameFile()
144 from[length] = 0; in ficlRenameFile()
158 filename[length] = 0; in ficlFileStatus()
326 length = strlen(address); in ficlReadLine()
327 flag = (length > 0); in ficlReadLine()
328 if (length && ((address[length - 1] == '\r') || (address[length - 1] == '\n'))) in ficlReadLine()
329 length--; in ficlReadLine()
[all …]
/freebsd/crypto/heimdal/appl/telnet/telnetd/
H A Dutility.c219 int length; in netclear() local
227 good += length; in netclear()
549 if (length >= 3) { in printsub()
578 length -= 2; in printsub()
590 (int)(length-2), in printsub()
603 if (length < 2) { in printsub()
625 if (length < 2) { in printsub()
654 if (length < 2) { in printsub()
684 if (length < 2) { in printsub()
972 if (length < 2) { in printsub()
[all …]
/freebsd/crypto/openssl/crypto/buffer/
H A Dbuffer.c78 if (str->length >= len) { in BUF_MEM_grow()
79 str->length = len; in BUF_MEM_grow()
84 memset(&str->data[str->length], 0, len - str->length); in BUF_MEM_grow()
85 str->length = len; in BUF_MEM_grow()
104 memset(&str->data[str->length], 0, len - str->length); in BUF_MEM_grow()
105 str->length = len; in BUF_MEM_grow()
118 str->length = len; in BUF_MEM_grow_clean()
122 memset(&str->data[str->length], 0, len - str->length); in BUF_MEM_grow_clean()
123 str->length = len; in BUF_MEM_grow_clean()
142 memset(&str->data[str->length], 0, len - str->length); in BUF_MEM_grow_clean()
[all …]
/freebsd/sys/arm/nvidia/drm2/
H A Dhdmi.c90 size_t length; in hdmi_avi_infoframe_pack() local
92 length = HDMI_INFOFRAME_HEADER_SIZE + frame->length; in hdmi_avi_infoframe_pack()
151 return length; in hdmi_avi_infoframe_pack()
197 size_t length; in hdmi_spd_infoframe_pack() local
199 length = HDMI_INFOFRAME_HEADER_SIZE + frame->length; in hdmi_spd_infoframe_pack()
221 return length; in hdmi_spd_infoframe_pack()
262 size_t length; in hdmi_audio_infoframe_pack() local
264 length = HDMI_INFOFRAME_HEADER_SIZE + frame->length; in hdmi_audio_infoframe_pack()
296 return length; in hdmi_audio_infoframe_pack()
359 length = HDMI_INFOFRAME_HEADER_SIZE + frame->length; in hdmi_vendor_infoframe_pack()
[all …]
/freebsd/sys/compat/linuxkpi/common/src/
H A Dlinux_hdmi.c113 size_t length; in hdmi_avi_infoframe_pack_only() local
120 length = HDMI_INFOFRAME_HEADER_SIZE + frame->length; in hdmi_avi_infoframe_pack_only()
179 return length; in hdmi_avi_infoframe_pack_only()
284 size_t length; in hdmi_spd_infoframe_pack_only() local
291 length = HDMI_INFOFRAME_HEADER_SIZE + frame->length; in hdmi_spd_infoframe_pack_only()
313 return length; in hdmi_spd_infoframe_pack_only()
416 length = HDMI_INFOFRAME_HEADER_SIZE + frame->length; in hdmi_audio_infoframe_pack_only()
578 length = HDMI_INFOFRAME_HEADER_SIZE + frame->length; in hdmi_vendor_infoframe_pack_only()
718 length = HDMI_INFOFRAME_HEADER_SIZE + frame->length; in hdmi_drm_infoframe_pack_only()
1752 hvf->length = length; in hdmi_vendor_any_infoframe_unpack()
[all …]
/freebsd/crypto/heimdal/lib/krb5/
H A Dsalt-des.c59 ((i < cell.length) ? in krb5_DES_AFS3_CMU_string_to_key()
90 if(pw.length < sizeof(password)) { in krb5_DES_AFS3_Transarc_string_to_key()
91 int len = min(cell.length, sizeof(password) - pw.length); in krb5_DES_AFS3_Transarc_string_to_key()
94 memcpy(password + pw.length, cell.data, len); in krb5_DES_AFS3_Transarc_string_to_key()
95 for (i = pw.length; i < pw.length + len; ++i) in krb5_DES_AFS3_Transarc_string_to_key()
98 passlen = min(sizeof(password), pw.length + cell.length); in krb5_DES_AFS3_Transarc_string_to_key()
126 if(password.length > 8) in DES_AFS3_string_to_key()
150 for (i = 0; i < length; i++) { in DES_string_to_key_int()
183 if (opaque.length == 1) { in krb5_DES_string_to_key()
192 len = password.length + salt.saltvalue.length; in krb5_DES_string_to_key()
[all …]
/freebsd/crypto/heimdal/lib/ntlm/
H A Dntlm.c178 p->length = 0; in heim_ntlm_free_buf()
332 buf->length = desc->length; in ret_buf()
435 data->length = d.length; in heim_ntlm_encode_targetinfo()
654 data->length = d.length; in heim_ntlm_encode_type1()
766 targetinfo.length = type2->targetinfo.length; in heim_ntlm_encode_type2()
798 data->length = d.length; in heim_ntlm_encode_type2()
956 lm.length = type3->lm.length; in heim_ntlm_encode_type3()
960 ntlm.length = type3->ntlm.length; in heim_ntlm_encode_type3()
964 sessionkey.length = type3->sessionkey.length; in heim_ntlm_encode_type3()
1000 data->length = d.length; in heim_ntlm_encode_type3()
[all …]
/freebsd/sys/dev/e1000/
H A De1000_manage.c56 for (i = 0; i < length; i++) in e1000_calculate_checksum()
202 length >>= 2; in e1000_mng_write_cmd_header_generic()
237 if (length == 0 || offset + length > E1000_HI_MAX_MNG_DATA_LENGTH) in e1000_mng_host_if_write_generic()
255 remaining = length & 0x3; in e1000_mng_host_if_write_generic()
256 length -= remaining; in e1000_mng_host_if_write_generic()
259 length >>= 2; in e1000_mng_host_if_write_generic()
298 u16 length) in e1000_mng_write_dhcp_info_generic() argument
412 if (length == 0 || length & 0x3 || in e1000_host_interface_command()
426 length >>= 2; in e1000_host_interface_command()
492 if (length == 0 || length & 0x3 || length > E1000_HI_FW_MAX_LENGTH) { in e1000_load_firmware()
[all …]
/freebsd/usr.bin/fmt/
H A Dfmt.c443 size_t length; in process_stream() local
470 if (length == 0 in process_stream()
484 if (length == 0) in process_stream()
508 while (n < length) { in process_stream()
636 output_buffer_length += length; in output_word()
689 size_t length; in center_stream() local
694 size_t l = length; in center_stream()
700 length = l; in center_stream()
731 static size_t length = 0; in get_line() local
740 length = 100; in get_line()
[all …]
/freebsd/contrib/libarchive/libarchive/
H A Darchive_string.c469 dest->length + length + 1)) in archive_wstring_append_from_mbs_in_codepage()
507 u16.length = dest->length << 1;; in archive_wstring_append_from_mbs_in_codepage()
514 dest->length = u16.length >> 1; in archive_wstring_append_from_mbs_in_codepage()
550 length = mbsnbytes(s, length); in archive_wstring_append_from_mbs_in_codepage()
557 buffsize = dest->length + length + 1; in archive_wstring_append_from_mbs_in_codepage()
2011 length = sc->utftmp.length; in archive_strncat_l()
3629 as16->length + (length + 1) * 2) == NULL) in win_strncat_to_utf16()
3802 as16->length + (length + 1) * 2) == NULL) in best_effort_strncat_to_utf16()
4000 *length = aes->aes_mbs_in_locale.length; in archive_mstring_get_mbs_l()
4023 *length = aes->aes_mbs.length; in archive_mstring_get_mbs_l()
[all …]
/freebsd/contrib/wpa/src/tls/
H A Dtlsv1_client_ocsp.c146 end = hdr.payload + hdr.length; in tls_process_ocsp_single_response()
168 name_hash_len = hdr.length; in tls_process_ocsp_single_response()
193 key_hash_len = hdr.length; in tls_process_ocsp_single_response()
210 hdr.length < 1 || hdr.length > X509_MAX_SERIAL_NUM_LEN) { in tls_process_ocsp_single_response()
249 hdr.payload, hdr.length); in tls_process_ocsp_single_response()
391 resp_data_len = hdr.length; in tls_process_basic_ocsp_response()
407 if (hdr.length < 1) in tls_process_basic_ocsp_response()
420 pos += hdr.length; in tls_process_basic_ocsp_response()
523 key_hash, hdr.length); in tls_process_basic_ocsp_response()
557 responses_len = hdr.length; in tls_process_basic_ocsp_response()
[all …]

12345678910>>...154