| /netbsd-src/external/gpl3/gcc/dist/libcc1/ |
| H A D | libcc1plugin.cc | 391 unsigned long size_in_bytes) in plugin_finish_record_or_union() argument 414 TYPE_SIZE (record_or_union_type) = bitsize_int (size_in_bytes in plugin_finish_record_or_union() 416 TYPE_SIZE_UNIT (record_or_union_type) = size_int (size_in_bytes); in plugin_finish_record_or_union() 561 int is_unsigned, unsigned long size_in_bytes, in plugin_int_check() argument 570 gcc_assert (TYPE_PRECISION (result) == BITS_PER_UNIT * size_in_bytes); in plugin_int_check() 580 int is_unsigned, unsigned long size_in_bytes) in plugin_int_type_v0() argument 582 tree result = c_common_type_for_size (BITS_PER_UNIT * size_in_bytes, in plugin_int_type_v0() 585 return plugin_int_check (self, is_unsigned, size_in_bytes, result); in plugin_int_type_v0() 590 int is_unsigned, unsigned long size_in_bytes, in plugin_int_type() argument 594 return plugin_int_type_v0 (self, is_unsigned, size_in_bytes); in plugin_int_type() [all …]
|
| H A D | libcp1plugin.cc | 1740 unsigned long size_in_bytes) in plugin_finish_class_type() argument 1749 size_in_bytes) == 0); in plugin_finish_class_type() 3251 int is_unsigned, unsigned long size_in_bytes, in plugin_get_int_type() argument 3262 result = c_common_type_for_size (BITS_PER_UNIT * size_in_bytes, in plugin_get_int_type() 3271 gcc_assert (TYPE_PRECISION (result) == BITS_PER_UNIT * size_in_bytes); in plugin_get_int_type() 3287 unsigned long size_in_bytes, in plugin_get_float_type() argument 3298 gcc_assert (BITS_PER_UNIT * size_in_bytes == TYPE_PRECISION (result)); in plugin_get_float_type() 3303 if (BITS_PER_UNIT * size_in_bytes == TYPE_PRECISION (float_type_node)) in plugin_get_float_type() 3305 if (BITS_PER_UNIT * size_in_bytes == TYPE_PRECISION (double_type_node)) in plugin_get_float_type() 3307 if (BITS_PER_UNIT * size_in_bytes == TYPE_PRECISION (long_double_type_node)) in plugin_get_float_type()
|
| /netbsd-src/external/gpl3/gcc.old/dist/libcc1/ |
| H A D | libcc1plugin.cc | 546 unsigned long size_in_bytes) in plugin_finish_record_or_union() argument 569 TYPE_SIZE (record_or_union_type) = bitsize_int (size_in_bytes in plugin_finish_record_or_union() 571 TYPE_SIZE_UNIT (record_or_union_type) = size_int (size_in_bytes); in plugin_finish_record_or_union() 719 int is_unsigned, unsigned long size_in_bytes, in plugin_int_check() argument 728 gcc_assert (TYPE_PRECISION (result) == BITS_PER_UNIT * size_in_bytes); in plugin_int_check() 738 int is_unsigned, unsigned long size_in_bytes) in plugin_int_type_v0() argument 740 tree result = c_common_type_for_size (BITS_PER_UNIT * size_in_bytes, in plugin_int_type_v0() 743 return plugin_int_check (self, is_unsigned, size_in_bytes, result); in plugin_int_type_v0() 748 int is_unsigned, unsigned long size_in_bytes, in plugin_int_type() argument 752 return plugin_int_type_v0 (self, is_unsigned, size_in_bytes); in plugin_int_type() [all …]
|
| H A D | libcp1plugin.cc | 1896 unsigned long size_in_bytes) in plugin_finish_class_type() argument 1905 size_in_bytes) == 0); in plugin_finish_class_type() 3410 int is_unsigned, unsigned long size_in_bytes, in plugin_get_int_type() argument 3421 result = c_common_type_for_size (BITS_PER_UNIT * size_in_bytes, in plugin_get_int_type() 3430 gcc_assert (TYPE_PRECISION (result) == BITS_PER_UNIT * size_in_bytes); in plugin_get_int_type() 3446 unsigned long size_in_bytes, in plugin_get_float_type() argument 3457 gcc_assert (BITS_PER_UNIT * size_in_bytes == TYPE_PRECISION (result)); in plugin_get_float_type() 3462 if (BITS_PER_UNIT * size_in_bytes == TYPE_PRECISION (float_type_node)) in plugin_get_float_type() 3464 if (BITS_PER_UNIT * size_in_bytes == TYPE_PRECISION (double_type_node)) in plugin_get_float_type() 3466 if (BITS_PER_UNIT * size_in_bytes == TYPE_PRECISION (long_double_type_node)) in plugin_get_float_type()
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/ |
| H A D | asan.cc | 586 HOST_WIDE_INT size_in_bytes in has_mem_ref_been_instrumented() local 589 return size_in_bytes != -1 in has_mem_ref_been_instrumented() 590 && has_mem_ref_been_instrumented (ref->start, size_in_bytes); in has_mem_ref_been_instrumented() 2311 report_error_func (bool is_store, bool recover_p, HOST_WIDE_INT size_in_bytes, in report_error_func() argument 2335 if (size_in_bytes == -1) in report_error_func() 2341 int size_log2 = exact_log2 (size_in_bytes); in report_error_func() 2349 check_func (bool is_store, bool recover_p, HOST_WIDE_INT size_in_bytes, in check_func() argument 2371 if (size_in_bytes == -1) in check_func() 2377 int size_log2 = exact_log2 (size_in_bytes); in check_func() 2600 HOST_WIDE_INT size_in_bytes, gimple_stmt_iterator *iter, in build_check_stmt() argument [all …]
|
| H A D | sancov.cc | 148 HOST_WIDE_INT size_in_bytes = int_size_in_bytes (TREE_TYPE (index)); in instrument_switch() local 149 if (size_in_bytes == -1 || size_in_bytes > 8) in instrument_switch() 190 size_in_bytes * BITS_PER_UNIT)); in instrument_switch()
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/ |
| H A D | asan.c | 515 HOST_WIDE_INT size_in_bytes in has_mem_ref_been_instrumented() local 518 return size_in_bytes != -1 in has_mem_ref_been_instrumented() 519 && has_mem_ref_been_instrumented (ref->start, size_in_bytes); in has_mem_ref_been_instrumented() 1900 report_error_func (bool is_store, bool recover_p, HOST_WIDE_INT size_in_bytes, in report_error_func() argument 1922 if (size_in_bytes == -1) in report_error_func() 1928 int size_log2 = exact_log2 (size_in_bytes); in report_error_func() 1936 check_func (bool is_store, bool recover_p, HOST_WIDE_INT size_in_bytes, in check_func() argument 1958 if (size_in_bytes == -1) in check_func() 1964 int size_log2 = exact_log2 (size_in_bytes); in check_func() 2187 HOST_WIDE_INT size_in_bytes, gimple_stmt_iterator *iter, [all …]
|
| H A D | sancov.c | 148 HOST_WIDE_INT size_in_bytes = int_size_in_bytes (TREE_TYPE (index)); in instrument_switch() local 149 if (size_in_bytes == -1 || size_in_bytes > 8) in instrument_switch() 190 size_in_bytes * BITS_PER_UNIT)); in instrument_switch()
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/radeon/ |
| H A D | radeon_si_dma.c | 245 u32 size_in_bytes, cur_size_in_bytes; in si_copy_dma() local 251 size_in_bytes = (num_gpu_pages << RADEON_GPU_PAGE_SHIFT); in si_copy_dma() 252 num_loops = DIV_ROUND_UP(size_in_bytes, 0xfffff); in si_copy_dma() 264 cur_size_in_bytes = size_in_bytes; in si_copy_dma() 267 size_in_bytes -= cur_size_in_bytes; in si_copy_dma()
|
| H A D | radeon_cik_sdma.c | 593 u32 size_in_bytes, cur_size_in_bytes; in cik_copy_dma() local 599 size_in_bytes = (num_gpu_pages << RADEON_GPU_PAGE_SHIFT); in cik_copy_dma() 600 num_loops = DIV_ROUND_UP(size_in_bytes, 0x1fffff); in cik_copy_dma() 612 cur_size_in_bytes = size_in_bytes; in cik_copy_dma() 615 size_in_bytes -= cur_size_in_bytes; in cik_copy_dma()
|
| /netbsd-src/external/bsd/pdisk/dist/ |
| H A D | file_media.c | 229 a->m.size_in_bytes = (long long) off; in open_file_as_media() 273 …} else if (offset + (long long) count > a->m.size_in_bytes && a->m.size_in_bytes != (long long) 0)… in read_file_media() 321 if (off + (long long) count > a->m.size_in_bytes) { in write_file_media() 322 a->m.size_in_bytes = off + count; in write_file_media()
|
| H A D | ATA_media.c | 494 a->m.size_in_bytes = ((long long)1000) * a->m.grain; /* XXX not right */ in open_ata_as_media() 496 a->m.size_in_bytes = ((long long)total) * a->m.grain; in open_ata_as_media() 535 } else if (offset + count > a->m.size_in_bytes) { in read_ata_media() 578 } else if (offset + count > a->m.size_in_bytes) { in write_ata_media() 805 a->m.size_in_bytes = ((long long)blocks) * a->m.grain; in open_atapi_as_media() 846 } else if (offset + count > a->m.size_in_bytes) { in read_atapi_media()
|
| H A D | deblock_media.c | 151 a->m.size_in_bytes = media_total_size(m); in open_deblock_media() 296 a->m.size_in_bytes = media_total_size(a->next_media); in write_deblock_media()
|
| H A D | media.h | 71 long long size_in_bytes; /* offset granularity */ member
|
| H A D | media.c | 107 return m->size_in_bytes; in media_total_size()
|
| H A D | SCSI_media.c | 308 a->m.size_in_bytes = ((long long)blockCount) * blockSize; in open_scsi_as_media() 345 } else if (offset + count > a->m.size_in_bytes) { in read_scsi_media() 388 } else if (offset + count > a->m.size_in_bytes) { in write_scsi_media()
|
| /netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/asan/ |
| H A D | asan_malloc_linux.cc | 41 static void *AllocateFromLocalPool(uptr size_in_bytes) { in AllocateFromLocalPool() argument 42 uptr size_in_words = RoundUpTo(size_in_bytes, kWordSize) / kWordSize; in AllocateFromLocalPool() 64 uptr size_in_bytes) { in PosixMemalignFromLocalPool() argument 72 uptr aligned_size = RoundUpTo(size_in_bytes, kWordSize); in PosixMemalignFromLocalPool()
|
| /netbsd-src/sys/external/bsd/compiler_rt/dist/lib/asan/ |
| H A D | asan_malloc_linux.cc | 43 static void *AllocateFromLocalPool(uptr size_in_bytes) { in AllocateFromLocalPool() argument 44 uptr size_in_words = RoundUpTo(size_in_bytes, kWordSize) / kWordSize; in AllocateFromLocalPool() 66 uptr size_in_bytes) { in PosixMemalignFromLocalPool() argument 74 uptr aligned_size = RoundUpTo(size_in_bytes, kWordSize); in PosixMemalignFromLocalPool()
|
| /netbsd-src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/ |
| H A D | sanitizer_allocator_dlsym.h | 34 static void *Allocate(uptr size_in_bytes) { in Allocate() 35 void *ptr = InternalAlloc(size_in_bytes, nullptr, kWordSize); in Allocate()
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/analyzer/ |
| H A D | sm-taint.cc | 1129 const svalue *size_in_bytes, in check_dynamic_size_for_taint() argument 1132 gcc_assert (size_in_bytes); in check_dynamic_size_for_taint() 1153 state = smap->get_state (size_in_bytes, *ext_state); in check_dynamic_size_for_taint() 1156 if (taint_sm.get_taint (state, size_in_bytes->get_type (), &b)) in check_dynamic_size_for_taint() 1158 tree arg = get_representative_tree (size_in_bytes); in check_dynamic_size_for_taint()
|
| H A D | region-model.h | 714 const region *create_region_for_heap_alloc (const svalue *size_in_bytes, 716 const region *create_region_for_alloca (const svalue *size_in_bytes, 743 const svalue *size_in_bytes, 839 const svalue *size_in_bytes,
|
| H A D | store.h | 292 byte_range (byte_offset_t start_byte_offset, byte_size_t size_in_bytes) in byte_range() 294 m_size_in_bytes (size_in_bytes) in byte_range()
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/amd/amdkfd/ |
| H A D | kfd_crat.c | 227 uint64_t size_in_bytes; in kfd_parse_subtype_mem() local 252 size_in_bytes = in kfd_parse_subtype_mem() 264 props->size_in_bytes += size_in_bytes; in kfd_parse_subtype_mem() 274 props->size_in_bytes = size_in_bytes; in kfd_parse_subtype_mem()
|
| H A D | kfd_dbgdev.c | 54 uint32_t *packet_buff, size_t size_in_bytes) in dbgdev_diq_submit_ib() argument 67 if (WARN_ON(!size_in_bytes)) in dbgdev_diq_submit_ib() 102 ((size_in_bytes / 4) & 0xfffff); in dbgdev_diq_submit_ib()
|
| H A D | kfd_topology.h | 105 uint64_t size_in_bytes; member
|