/dragonfly/crypto/libressl/ssl/ |
H A D | bs_cbs.c | 390 const size_t num_bytes = length_byte & 0x7f; in cbs_get_any_asn1_element_internal() local 394 if (num_bytes == 0x7f) in cbs_get_any_asn1_element_internal() 398 if (num_bytes == 0) { in cbs_get_any_asn1_element_internal() 414 if (num_bytes > 4) in cbs_get_any_asn1_element_internal() 417 if (!cbs_get_u(&header, &len32, num_bytes)) in cbs_get_any_asn1_element_internal() 425 if ((len32 >> ((num_bytes - 1) * 8)) == 0) in cbs_get_any_asn1_element_internal() 430 if (len + 2 + num_bytes < len) in cbs_get_any_asn1_element_internal() 434 len += 2 + num_bytes; in cbs_get_any_asn1_element_internal() 436 *out_header_len = 2 + num_bytes; in cbs_get_any_asn1_element_internal()
|
/dragonfly/crypto/libressl/crypto/bytestring/ |
H A D | bs_cbs.c | 390 const size_t num_bytes = length_byte & 0x7f; in cbs_get_any_asn1_element_internal() local 394 if (num_bytes == 0x7f) in cbs_get_any_asn1_element_internal() 398 if (num_bytes == 0) { in cbs_get_any_asn1_element_internal() 414 if (num_bytes > 4) in cbs_get_any_asn1_element_internal() 417 if (!cbs_get_u(&header, &len32, num_bytes)) in cbs_get_any_asn1_element_internal() 425 if ((len32 >> ((num_bytes - 1) * 8)) == 0) in cbs_get_any_asn1_element_internal() 430 if (len + 2 + num_bytes < len) in cbs_get_any_asn1_element_internal() 434 len += 2 + num_bytes; in cbs_get_any_asn1_element_internal() 436 *out_header_len = 2 + num_bytes; in cbs_get_any_asn1_element_internal()
|
/dragonfly/crypto/libressl/apps/openssl/ |
H A D | rand.c | 105 char *num_bytes = NULL; in rand_main() local 121 if (options_parse(argc, argv, rand_options, &num_bytes, NULL) != 0) { in rand_main() 126 if (num_bytes != NULL) { in rand_main() 127 r = sscanf(num_bytes, "%d", &num); in rand_main()
|
/dragonfly/sys/dev/drm/include/drm/ |
H A D | drm_dp_mst_helper.h | 184 u8 num_bytes; member 200 u8 num_bytes; member 255 u8 num_bytes; member 261 u8 num_bytes; member 271 u8 num_bytes; member 283 u8 num_bytes; member
|
H A D | drm_displayid.h | 64 u8 num_bytes; member
|
/dragonfly/contrib/gdb-7/gdb/ |
H A D | ser-base.c | 260 int num_bytes = -1; in ser_base_read_error_fd() local 263 num_bytes = (scb->ops->avail)(scb, scb->error_fd); in ser_base_read_error_fd() 265 if (num_bytes != -1) in ser_base_read_error_fd() 266 to_read = (num_bytes < to_read) ? num_bytes : to_read; in ser_base_read_error_fd()
|
H A D | charset.c | 470 const gdb_byte *bytes, unsigned int num_bytes, in convert_between_encodings() argument 483 obstack_grow (output, bytes, num_bytes); in convert_between_encodings() 492 inleft = num_bytes; in convert_between_encodings() 495 space_request = num_bytes; in convert_between_encodings()
|
H A D | charset.h | 66 unsigned int num_bytes,
|
/dragonfly/contrib/flex/src/ |
H A D | misc.c | 149 size_t num_bytes = (size_t) size * element_size; in allocate_array() local 151 malloc(num_bytes); in allocate_array() 666 size_t num_bytes = (size_t) size * element_size; in reallocate_array() local 668 realloc(array, num_bytes); in reallocate_array()
|
/dragonfly/sys/dev/drm/ |
H A D | drm_dp_mst_topology.c | 248 buf[idx] = (req->u.dpcd_read.num_bytes); in drm_dp_encode_sideband_req() 260 buf[idx] = (req->u.dpcd_write.num_bytes); in drm_dp_encode_sideband_req() 263 idx += req->u.dpcd_write.num_bytes; in drm_dp_encode_sideband_req() 272 buf[idx] = req->u.i2c_read.transactions[i].num_bytes; in drm_dp_encode_sideband_req() 275 idx += req->u.i2c_read.transactions[i].num_bytes; in drm_dp_encode_sideband_req() 292 buf[idx] = (req->u.i2c_write.num_bytes); in drm_dp_encode_sideband_req() 295 idx += req->u.i2c_write.num_bytes; in drm_dp_encode_sideband_req() 441 repmsg->u.remote_dpcd_read_ack.num_bytes = raw->msg[idx]; in drm_dp_sideband_parse_remote_dpcd_read() 475 repmsg->u.remote_i2c_read_ack.num_bytes = raw->msg[idx]; in drm_dp_sideband_parse_remote_i2c_read_ack() 674 req.u.dpcd_write.num_bytes = num_bytes; in build_dpcd_write() [all …]
|
H A D | drm_edid.c | 4595 if (block->num_bytes % 20) in add_displayid_detailed_1_modes() 4598 num_timings = block->num_bytes / 20; in add_displayid_detailed_1_modes() 4633 idx + sizeof(struct displayid_block) + block->num_bytes <= length && in add_displayid_detailed_modes() 4634 block->num_bytes > 0) { in add_displayid_detailed_modes() 4635 idx += block->num_bytes + sizeof(struct displayid_block); in add_displayid_detailed_modes() 5059 idx + sizeof(struct displayid_block) + block->num_bytes <= length && in drm_parse_display_id() 5060 block->num_bytes > 0) { in drm_parse_display_id() 5061 idx += block->num_bytes + sizeof(struct displayid_block); in drm_parse_display_id() 5063 block->tag, block->rev, block->num_bytes); in drm_parse_display_id()
|
/dragonfly/sys/dev/drm/radeon/ |
H A D | atombios_dp.c | 57 void radeon_atom_copy_swap(u8 *dst, u8 *src, u8 num_bytes, bool to_le) in radeon_atom_copy_swap() argument 62 u8 align_num_bytes = ALIGN(num_bytes, 4); in radeon_atom_copy_swap() 65 memcpy(src_tmp, src, num_bytes); in radeon_atom_copy_swap() 73 memcpy(dst, dst_tmp, num_bytes); in radeon_atom_copy_swap() 76 memcpy(dst, src, num_bytes); in radeon_atom_copy_swap()
|
/dragonfly/contrib/ldns/ |
H A D | dnssec.c | 1870 const long sig_len, int num_bytes) in ldns_convert_ecdsa_rrsig_asn1len2rdf() argument 1886 if(BN_num_bytes(r) > num_bytes || in ldns_convert_ecdsa_rrsig_asn1len2rdf() 1887 BN_num_bytes(s) > num_bytes) { in ldns_convert_ecdsa_rrsig_asn1len2rdf() 1891 data = LDNS_XMALLOC(unsigned char, num_bytes*2); in ldns_convert_ecdsa_rrsig_asn1len2rdf() 1898 memset(data, 0, num_bytes*2); in ldns_convert_ecdsa_rrsig_asn1len2rdf() 1899 BN_bn2bin(r, data+num_bytes-BN_num_bytes(r)); in ldns_convert_ecdsa_rrsig_asn1len2rdf() 1900 BN_bn2bin(s, data+num_bytes*2-BN_num_bytes(s)); in ldns_convert_ecdsa_rrsig_asn1len2rdf() 1901 rdf = ldns_rdf_new(LDNS_RDF_TYPE_B64, (size_t)(num_bytes*2), data); in ldns_convert_ecdsa_rrsig_asn1len2rdf()
|
/dragonfly/sys/dev/netif/oce/ |
H A D | oce_sysctl.c | 289 uint32_t optype = 0, size = 0, start = 0, num_bytes = 0; in oce_be3_flashdata() local 397 num_bytes = 32*1024; in oce_be3_flashdata() 399 num_bytes = size; in oce_be3_flashdata() 400 size -= num_bytes; in oce_be3_flashdata() 407 memcpy(req->data_buffer, p, num_bytes); in oce_be3_flashdata() 408 p += num_bytes; in oce_be3_flashdata() 411 &dma_mem, num_bytes); in oce_be3_flashdata()
|
/dragonfly/contrib/wpa_supplicant/src/crypto/ |
H A D | crypto_wolfssl.c | 1060 int num_bytes, offset; in crypto_bignum_to_bin() local 1068 num_bytes = (mp_count_bits((mp_int *) a) + 7) / 8; in crypto_bignum_to_bin() 1069 if ((size_t) num_bytes > buflen) in crypto_bignum_to_bin() 1071 if (padlen > (size_t) num_bytes) in crypto_bignum_to_bin() 1072 offset = padlen - num_bytes; in crypto_bignum_to_bin() 1079 return num_bytes + offset; in crypto_bignum_to_bin()
|
H A D | crypto_openssl.c | 1298 int num_bytes, offset; in crypto_bignum_to_bin() local 1318 num_bytes = BN_num_bytes((const BIGNUM *) a); in crypto_bignum_to_bin() 1319 if ((size_t) num_bytes > buflen) in crypto_bignum_to_bin() 1321 if (padlen > (size_t) num_bytes) in crypto_bignum_to_bin() 1322 offset = padlen - num_bytes; in crypto_bignum_to_bin() 1329 return num_bytes + offset; in crypto_bignum_to_bin()
|
/dragonfly/sys/dev/drm/amd/amdgpu/ |
H A D | amdgpu_atombios.h | 202 void amdgpu_atombios_copy_swap(u8 *dst, u8 *src, u8 num_bytes, bool to_le);
|
H A D | amdgpu_atombios.c | 1741 void amdgpu_atombios_copy_swap(u8 *dst, u8 *src, u8 num_bytes, bool to_le) in amdgpu_atombios_copy_swap() argument 1746 u8 align_num_bytes = ALIGN(num_bytes, 4); in amdgpu_atombios_copy_swap() 1749 memcpy(src_tmp, src, num_bytes); in amdgpu_atombios_copy_swap() 1757 memcpy(dst, dst_tmp, num_bytes); in amdgpu_atombios_copy_swap() 1760 memcpy(dst, src, num_bytes); in amdgpu_atombios_copy_swap()
|
H A D | amdgpu_ttm.c | 1985 unsigned num_dw, num_bytes; in amdgpu_map_buffer() local 2003 num_bytes = num_pages * 8; in amdgpu_map_buffer() 2005 r = amdgpu_job_alloc_with_ib(adev, num_dw * 4 + num_bytes, &job); in amdgpu_map_buffer() 2015 dst_addr, num_bytes); in amdgpu_map_buffer()
|
/dragonfly/contrib/ldns/ldns/ |
H A D | dnssec.h | 544 const long sig_len, int num_bytes);
|
/dragonfly/contrib/gcc-4.7/gcc/ |
H A D | lower-subreg.c | 639 unsigned int byte, num_bytes; in can_decompose_p() local 641 num_bytes = GET_MODE_SIZE (GET_MODE (x)); in can_decompose_p() 642 for (byte = 0; byte < num_bytes; byte += UNITS_PER_WORD) in can_decompose_p()
|
/dragonfly/contrib/dialog/ |
H A D | inputstr.c | 402 size_t num_bytes = strlen(string); in dlg_index_columns() local 419 num_bytes - (size_t) inx_wchars[inx], in dlg_index_columns()
|
/dragonfly/contrib/gcc-8.0/gcc/ |
H A D | lower-subreg.c | 833 unsigned int byte, num_bytes, num_words; in can_decompose_p() local 835 if (!interesting_mode_p (GET_MODE (x), &num_bytes, &num_words)) in can_decompose_p() 837 for (byte = 0; byte < num_bytes; byte += UNITS_PER_WORD) in can_decompose_p()
|
/dragonfly/crypto/openssh/ |
H A D | umac.c | 553 static void endian_convert(void *buf, UWORD bpw, UINT32 num_bytes) in endian_convert() argument 557 UWORD iters = num_bytes / bpw; in endian_convert()
|
/dragonfly/contrib/binutils-2.34/binutils/ |
H A D | dwarf.c | 228 dwarf_vmatoa_1 (const char *fmtch, dwarf_vma value, unsigned num_bytes) in dwarf_vmatoa_1() argument 243 if (num_bytes) in dwarf_vmatoa_1() 249 if (num_bytes > 8) in dwarf_vmatoa_1() 250 num_bytes = 8; in dwarf_vmatoa_1() 251 return ret + (16 - 2 * num_bytes); in dwarf_vmatoa_1() 277 print_dwarf_vma (dwarf_vma value, unsigned num_bytes) in print_dwarf_vma() argument 279 printf ("%s ", dwarf_vmatoa_1 (NULL, value, num_bytes)); in print_dwarf_vma() 287 print_dwarf_view (dwarf_vma value, unsigned num_bytes, int force) in print_dwarf_view() argument 290 if (!num_bytes) in print_dwarf_view() 293 len = num_bytes * 2; in print_dwarf_view()
|