| /netbsd-src/external/lgpl3/gmp/dist/mpn/sparc64/ |
| H A D | divrem_1.c | 88 mp_size_t size, xsize, total_size, adj; in mpn_divrem_1() local 96 total_size = size + xsize; in mpn_divrem_1() 114 total_size--; in mpn_divrem_1() 128 total_size--; in mpn_divrem_1() 129 if (total_size == 0) in mpn_divrem_1() 179 mp_size_t size, xsize, total_size; in mpn_divrem_1() local 187 total_size = total_size_limbs; in mpn_divrem_1() 190 qp += total_size; /* above high limb */ in mpn_divrem_1() 203 total_size--; in mpn_divrem_1() 204 if (total_size == 0) in mpn_divrem_1()
|
| /netbsd-src/sys/external/bsd/compiler_rt/dist/lib/asan/ |
| H A D | asan_memory_profile.cc | 28 uptr total_size; member 54 return a.total_size > b.total_size; in Print() 69 Printf("%zd byte(s) (%zd%%) in %zd allocation(s)\n", a.total_size, in Print() 70 a.total_size * 100 / total_allocated_user_size_, a.count); in Print() 72 total_shown += a.total_size; in Print() 90 allocations_[i].total_size += size; in Insert()
|
| /netbsd-src/external/gpl3/gcc/dist/libsanitizer/asan/ |
| H A D | asan_memory_profile.cpp | 27 uptr total_size; member 53 return a.total_size > b.total_size; in Print() 68 Printf("%zd byte(s) (%zd%%) in %zd allocation(s)\n", a.total_size, in Print() 69 a.total_size * 100 / total_allocated_user_size_, a.count); in Print() 71 total_shown += a.total_size; in Print() 89 allocations_[i].total_size += size; in Insert()
|
| /netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/asan/ |
| H A D | asan_memory_profile.cc | 26 uptr total_size; member 52 return a.total_size > b.total_size; in Print() 67 Printf("%zd byte(s) (%zd%%) in %zd allocation(s)\n", a.total_size, in Print() 68 a.total_size * 100 / total_allocated_user_size_, a.count); in Print() 70 total_shown += a.total_size; in Print() 88 allocations_[i].total_size += size; in Insert()
|
| /netbsd-src/external/public-domain/xz/dist/tests/ |
| H A D | test_index.c | 48 lzma_vli total_size = 0; in create_big() local 57 total_size += (t + 3) & ~LZMA_VLI_C(3); in create_big() 62 expect(lzma_index_total_size(i) == total_size); in create_big() 119 || ra.block.total_size in is_equal() 120 != rb.block.total_size) in is_equal() 181 lzma_vli total_size = 0; in test_read() local 190 total_size += r.block.total_size; in test_read() 198 stream_offset += r.block.total_size; in test_read() 202 expect(lzma_index_total_size(i) == total_size); in test_read() 437 expect(r.block.total_size == 32); in test_locate() [all …]
|
| /netbsd-src/external/lgpl3/gmp/dist/ |
| H A D | tal-reent.c | 58 size_t total_size; in __gmp_tmp_reentrant_alloc() local 62 total_size = size + HSIZ; in __gmp_tmp_reentrant_alloc() 63 p = __GMP_ALLOCATE_FUNC_TYPE (total_size, char); in __gmp_tmp_reentrant_alloc() 64 P->size = total_size; in __gmp_tmp_reentrant_alloc()
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/vboxvideo/ |
| H A D | vbox_hgsmi.c | 57 size_t total_size; in hgsmi_buffer_alloc() local 60 total_size = size + sizeof(*h) + sizeof(*t); in hgsmi_buffer_alloc() 61 h = gen_pool_dma_alloc(guest_pool, total_size, &offset); in hgsmi_buffer_alloc() 83 size_t total_size = h->data_size + sizeof(*h) + in hgsmi_buffer_free() local 86 gen_pool_free(guest_pool, (unsigned long)h, total_size); in hgsmi_buffer_free()
|
| /netbsd-src/sys/arch/x86/x86/ |
| H A D | cpu_ucode_intel.c | 115 uint32_t data_size, total_size, payload_size, ext_size; in cpu_ucode_intel_verify() local 135 total_size = data_size + 48; in cpu_ucode_intel_verify() 137 total_size = buf->uh_total_size; in cpu_ucode_intel_verify() 138 if ((total_size % 1024) != 0) in cpu_ucode_intel_verify() 140 if (total_size > sc->sc_blobsize) in cpu_ucode_intel_verify() 156 ext_size = total_size - payload_size; in cpu_ucode_intel_verify()
|
| /netbsd-src/sys/external/bsd/sljit/dist/sljit_src/ |
| H A D | sljitExecAllocator.c | 167 static sljit_uw total_size; variable 239 total_size += chunk_size; in sljit_malloc_exec() 300 if (total_size - free_block->size > (allocated_size * 3 / 2)) { in sljit_free_exec() 301 total_size -= free_block->size; in sljit_free_exec() 322 total_size -= free_block->size; in sljit_free_unused_memory_exec() 329 SLJIT_ASSERT((total_size && free_blocks) || (!total_size && !free_blocks)); in sljit_free_unused_memory_exec()
|
| H A D | sljitProtExecAllocator.c | 239 static sljit_uw total_size; variable 318 total_size += chunk_size; in sljit_malloc_exec() 385 if (total_size - free_block->size > (allocated_size * 3 / 2)) { in sljit_free_exec() 386 total_size -= free_block->size; in sljit_free_exec() 407 total_size -= free_block->size; in sljit_free_unused_memory_exec() 414 SLJIT_ASSERT((total_size && free_blocks) || (!total_size && !free_blocks)); in sljit_free_unused_memory_exec()
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/selftests/ |
| H A D | test-drm_mm.c | 1240 unsigned int total_size, in evict_nothing() argument 1250 for (n = 0; n < total_size; n++) { in evict_nothing() 1258 for (n = 0; n < total_size; n++) { in evict_nothing() 1274 for (n = 0; n < total_size; n++) { in evict_nothing() 1287 unsigned int total_size, in evict_everything() argument 1296 drm_mm_scan_init(&scan, mm, total_size, 0, 0, 0); in evict_everything() 1297 for (n = 0; n < total_size; n++) { in evict_everything() 1320 if (!assert_one_hole(mm, 0, total_size)) in evict_everything() 2160 const unsigned int total_size = min(8192u, max_iterations); in igt_color_evict() local 2176 nodes = vzalloc(array_size(total_size, sizeof(*nodes))); in igt_color_evict() [all …]
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/vmwgfx/device_include/ |
| H A D | svga3d_surfacedefs.h | 1196 u32 slice_size, total_size; in svga3dsurface_get_image_buffer_size() local 1201 total_size = clamped_umul32(image_blocks.width, in svga3dsurface_get_image_buffer_size() 1203 total_size = clamped_umul32(total_size, image_blocks.depth); in svga3dsurface_get_image_buffer_size() 1204 total_size = clamped_umul32(total_size, desc->bytes_per_block); in svga3dsurface_get_image_buffer_size() 1205 return total_size; in svga3dsurface_get_image_buffer_size() 1212 total_size = clamped_umul32(slice_size, image_blocks.depth); in svga3dsurface_get_image_buffer_size() 1214 return total_size; in svga3dsurface_get_image_buffer_size() 1227 u32 total_size = 0; in svga3dsurface_get_serialized_size() local 1233 total_size += svga3dsurface_get_image_buffer_size(desc, in svga3dsurface_get_serialized_size() 1237 return total_size * num_layers; in svga3dsurface_get_serialized_size() [all …]
|
| /netbsd-src/sys/arch/ia64/stand/common/ |
| H A D | calloc.c | 11 u_int total_size = size1 * size2; in calloc() local 14 if(( (ptr = alloc(total_size)) != NULL)) { in calloc() 15 memset(ptr, 0, total_size); in calloc()
|
| /netbsd-src/sys/external/isc/libsodium/dist/src/libsodium/sodium/ |
| H A D | utils.c | 525 size_t total_size; in _sodium_malloc() local 537 total_size = page_size + page_size + unprotected_size + page_size; in _sodium_malloc() 538 if ((base_ptr = _alloc_aligned(total_size)) == NULL) { in _sodium_malloc() 576 size_t total_size; in sodium_allocarray() local 582 total_size = count * size; in sodium_allocarray() 584 return sodium_malloc(total_size); in sodium_allocarray() 600 size_t total_size; in sodium_free() local 610 total_size = page_size + page_size + unprotected_size + page_size; in sodium_free() 611 _mprotect_readwrite(base_ptr, total_size); in sodium_free() 622 _free_aligned(base_ptr, total_size); in sodium_free()
|
| /netbsd-src/external/gpl3/binutils/dist/opcodes/ |
| H A D | crx-dis.c | 362 int inst_bit_size, total_size; in make_argument() local 419 total_size = a->size + 10; /* sizeof(rbase + ridx + scl2) = 10. */ in make_argument() 420 p = makelongparameter (allWords, inst_bit_size - total_size, in make_argument() 421 inst_bit_size - (total_size - 4)); in make_argument() 423 p = makelongparameter (allWords, inst_bit_size - (total_size - 4), in make_argument() 424 inst_bit_size - (total_size - 8)); in make_argument() 426 p = makelongparameter (allWords, inst_bit_size - (total_size - 8), in make_argument() 427 inst_bit_size - (total_size - 10)); in make_argument() 429 p = makelongparameter (allWords, inst_bit_size - (total_size - 10), in make_argument()
|
| /netbsd-src/external/gpl3/binutils.old/dist/opcodes/ |
| H A D | crx-dis.c | 362 int inst_bit_size, total_size; in make_argument() local 419 total_size = a->size + 10; /* sizeof(rbase + ridx + scl2) = 10. */ in make_argument() 420 p = makelongparameter (allWords, inst_bit_size - total_size, in make_argument() 421 inst_bit_size - (total_size - 4)); in make_argument() 423 p = makelongparameter (allWords, inst_bit_size - (total_size - 4), in make_argument() 424 inst_bit_size - (total_size - 8)); in make_argument() 426 p = makelongparameter (allWords, inst_bit_size - (total_size - 8), in make_argument() 427 inst_bit_size - (total_size - 10)); in make_argument() 429 p = makelongparameter (allWords, inst_bit_size - (total_size - 10), in make_argument()
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/config/lm32/ |
| H A D | lm32.c | 53 HOST_WIDE_INT total_size; /* number of bytes of entire frame. */ member 380 if (current_frame_info.total_size > 0) in lm32_expand_prologue() 383 stack_adjust (-current_frame_info.total_size); in lm32_expand_prologue() 419 if (current_frame_info.total_size > 0) in lm32_expand_epilogue() 429 stack_adjust (current_frame_info.total_size); in lm32_expand_epilogue() 447 HOST_WIDE_INT total_size, locals_size, args_size, pretend_size, callee_size; in lm32_compute_frame_size() local 479 total_size = pretend_size + args_size + locals_size + callee_size; in lm32_compute_frame_size() 482 total_size = (total_size + 3) & ~3; in lm32_compute_frame_size() 485 current_frame_info.total_size = total_size; in lm32_compute_frame_size() 492 return total_size; in lm32_compute_frame_size()
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/config/lm32/ |
| H A D | lm32.cc | 53 HOST_WIDE_INT total_size; /* number of bytes of entire frame. */ member 380 if (current_frame_info.total_size > 0) in lm32_expand_prologue() 383 stack_adjust (-current_frame_info.total_size); in lm32_expand_prologue() 419 if (current_frame_info.total_size > 0) in lm32_expand_epilogue() 429 stack_adjust (current_frame_info.total_size); in lm32_expand_epilogue() 447 HOST_WIDE_INT total_size, locals_size, args_size, pretend_size, callee_size; in lm32_compute_frame_size() local 479 total_size = pretend_size + args_size + locals_size + callee_size; in lm32_compute_frame_size() 482 total_size = (total_size + 3) & ~3; in lm32_compute_frame_size() 485 current_frame_info.total_size = total_size; in lm32_compute_frame_size() 492 return total_size; in lm32_compute_frame_size()
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/i915/ |
| H A D | i915_query.c | 222 u32 flags, total_size; in query_perf_config_data() local 228 total_size = in query_perf_config_data() 233 return total_size; in query_perf_config_data() 235 if (query_item->length < total_size) { in query_perf_config_data() 237 query_item->length, total_size); in query_perf_config_data() 241 if (!access_ok(user_query_config_ptr, total_size)) in query_perf_config_data() 332 ret = total_size; in query_perf_config_data()
|
| /netbsd-src/external/bsd/libbind/dist/isc/ |
| H A D | memcluster.c | 250 size_t total_size; in __memget_record() local 276 total_size = mem_target; in __memget_record() 281 total_size = mem_target_fudge; in __memget_record() 283 total_size = mem_target; in __memget_record() 284 new = malloc(total_size); in __memget_record() 291 frags = total_size / new_size; in __memget_record()
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/ |
| H A D | hsa-brig.c | 159 unsigned total_size; member 236 total_size = sizeof (BrigSectionHeader) + strlen (section_name); in init() 239 header_byte_delta = total_size; in init() 241 header_byte_count = total_size; in init() 264 section_header.byteCount = lendian64 (total_size); in output() 284 unsigned offset = total_size; in add() 295 total_size += len; in add() 305 unsigned padding, res = total_size % factor; in round_size_up() 311 total_size += padding; in round_size_up() 327 gcc_assert (offset < total_size); in get_ptr_by_offset() [all …]
|
| H A D | data-streamer-out.c | 96 unsigned int start = string_stream->total_size; in streamer_string_index() 286 obs->total_size += size; in streamer_write_uhwi_stream() 344 obs->total_size += size; in streamer_write_hwi_stream() 379 obs->total_size += copy; in streamer_write_data_stream()
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/ |
| H A D | data-streamer-out.cc | 96 unsigned int start = string_stream->total_size; in streamer_string_index() 295 obs->total_size += size; in streamer_write_uhwi_stream() 353 obs->total_size += size; in streamer_write_hwi_stream() 388 obs->total_size += copy; in streamer_write_data_stream()
|
| /netbsd-src/external/public-domain/xz/dist/src/liblzma/common/ |
| H A D | index.c | 155 lzma_vli total_size; member 386 i->total_size = 0; in index_init_plain() 521 return i->total_size; in lzma_index_total_size() 529 return LZMA_STREAM_HEADER_SIZE + i->total_size in lzma_index_stream_size() 710 i->total_size += vli_ceil4(unpadded_size); in lzma_index_append() 851 dest->total_size += src->total_size; in lzma_index_cat() 935 dest->total_size = src->total_size; in lzma_index_dup() 1065 iter->block.total_size = vli_ceil4(iter->block.unpadded_size); in iter_set_info()
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/config/epiphany/ |
| H A D | epiphany.cc | 970 unsigned int total_size; /* # bytes that the entire frame takes up. */ member 1086 unsigned int total_size, var_size, args_size, pretend_size, reg_size; in epiphany_compute_frame_size() local 1097 total_size = args_size + var_size; in epiphany_compute_frame_size() 1170 if (((total_size + reg_size in epiphany_compute_frame_size() 1187 if (total_size + reg_size < 0x3fc) in epiphany_compute_frame_size() 1189 first_slot_offset = EPIPHANY_STACK_ALIGN (total_size + reg_size); in epiphany_compute_frame_size() 1196 last_slot_offset = EPIPHANY_STACK_ALIGN (total_size); in epiphany_compute_frame_size() 1202 else if (total_size + reg_size < 0x1ffc && first_slot >= 0) in epiphany_compute_frame_size() 1204 first_slot_offset = EPIPHANY_STACK_ALIGN (total_size + reg_size); in epiphany_compute_frame_size() 1209 if (total_size + reg_size <= (unsigned) epiphany_stack_offset) in epiphany_compute_frame_size() [all …]
|