/netbsd/external/bsd/jemalloc/dist/test/unit/ |
H A D | stats.c | 7 sz = sizeof(size_t); in TEST_BEGIN() 33 size_t sz; in TEST_BEGIN() local 42 sz = sizeof(size_t); in TEST_BEGIN() 46 sz = sizeof(uint64_t); in TEST_BEGIN() 71 size_t sz; in TEST_BEGIN() local 93 sz = sizeof(size_t); in TEST_BEGIN() 145 size_t sz, allocated; in TEST_BEGIN() local 160 sz = sizeof(size_t); in TEST_BEGIN() 200 sz = sizeof(size_t); in TEST_BEGIN() 268 sz = sizeof(size_t); in TEST_BEGIN() [all …]
|
H A D | mallctl.c | 7 size_t sz; in TEST_BEGIN() local 23 sz = sizeof(epoch)-1; in TEST_BEGIN() 26 sz = sizeof(epoch)+1; in TEST_BEGIN() 44 size_t sz; in TEST_BEGIN() local 67 sz = sizeof(epoch)-1; in TEST_BEGIN() 71 sz = sizeof(epoch)+1; in TEST_BEGIN() 245 size_t sz, psz, qsz; in TEST_BEGIN() local 252 sz = sizeof(unsigned); in TEST_BEGIN() 340 sz = sizeof(unsigned); in TEST_BEGIN() 370 size_t sz; in TEST_BEGIN() local [all …]
|
/netbsd/external/gpl3/gdb/dist/gas/testsuite/gas/aarch64/ |
H A D | advsimd-armv8_3.s | 4 .macro three_same op, sz 6 .irp d, 1.\sz, 2.\sz, 5.\sz, 13.\sz, 27.\sz 7 .irp m, 2.\sz, 3.\sz, 5.\sz, 14.\sz, 31.\sz 8 .irp n, 3.\sz, 4.\sz, 6.\sz, 15.\sz, 30.\sz 28 .macro three_same_rot op, sz 30 .irp d, 1.\sz, 2.\sz, 5.\sz, 13.\sz, 27.\sz 31 .irp m, 2.\sz, 3.\sz, 5.\sz, 14.\sz, 31.\sz 32 .irp n, 3.\sz, 4.\sz, 6.\sz, 15.\sz, 30.\sz
|
H A D | advsimd-compnum.s | 3 .macro three_same_no_rot op, sz 4 .irp d, 1.\sz, 2.\sz, 5.\sz, 13.\sz, 27.\sz 5 .irp m, 2.\sz, 3.\sz, 5.\sz, 14.\sz, 31.\sz 6 .irp n, 3.\sz, 4.\sz, 6.\sz, 15.\sz, 30.\sz
|
/netbsd/external/gpl3/gdb.old/dist/gas/testsuite/gas/aarch64/ |
H A D | advsimd-armv8_3.s | 4 .macro three_same op, sz 6 .irp d, 1.\sz, 2.\sz, 5.\sz, 13.\sz, 27.\sz 7 .irp m, 2.\sz, 3.\sz, 5.\sz, 14.\sz, 31.\sz 8 .irp n, 3.\sz, 4.\sz, 6.\sz, 15.\sz, 30.\sz 28 .macro three_same_rot op, sz 30 .irp d, 1.\sz, 2.\sz, 5.\sz, 13.\sz, 27.\sz 31 .irp m, 2.\sz, 3.\sz, 5.\sz, 14.\sz, 31.\sz 32 .irp n, 3.\sz, 4.\sz, 6.\sz, 15.\sz, 30.\sz
|
H A D | advsimd-compnum.s | 3 .macro three_same_no_rot op, sz 4 .irp d, 1.\sz, 2.\sz, 5.\sz, 13.\sz, 27.\sz 5 .irp m, 2.\sz, 3.\sz, 5.\sz, 14.\sz, 31.\sz 6 .irp n, 3.\sz, 4.\sz, 6.\sz, 15.\sz, 30.\sz
|
/netbsd/external/bsd/mdocml/dist/ |
H A D | mandoc.c | 128 *sz = 0; in mandoc_escape() 139 *sz = 2; in mandoc_escape() 212 *sz = 2; in mandoc_escape() 237 *sz = 1; in mandoc_escape() 246 *sz = 2; in mandoc_escape() 311 *sz = 1; in mandoc_escape() 335 *sz = 2; in mandoc_escape() 352 *sz = 1; in mandoc_escape() 378 *sz = 1; in mandoc_escape() 428 if (*sz < 6 || *sz > 7 || in mandoc_escape() [all …]
|
/netbsd/external/bsd/jemalloc/dist/test/integration/ |
H A D | xallocx.c | 23 size_t sz, tsz; in TEST_BEGIN() local 38 size_t sz, tsz; in TEST_BEGIN() local 44 tsz = xallocx(p, sz, sz-42, 0); in TEST_BEGIN() 53 size_t sz, tsz; in TEST_BEGIN() local 321 sz = szmax; in test_zero() 325 sz); in test_zero() 336 sz = szmin; in test_zero() 337 if (xallocx(p, sz, 0, flags) != sz) { in test_zero() 344 for (sz = szmin; sz < szmax; sz = nsz) { in test_zero() 352 assert_false(validate_fill(p, 0x00, sz, nsz-sz), in test_zero() [all …]
|
H A D | mallocx.c | 118 size_t sz; in TEST_BEGIN() local 120 for (sz = 1; sz < MAXSZ; sz = nallocx(sz, 0) + 1) { in TEST_BEGIN() 123 nsz = nallocx(sz, 0); in TEST_BEGIN() 125 p = mallocx(sz, 0); in TEST_BEGIN() 133 p = mallocx(sz, 0); in TEST_BEGIN() 176 for (sz = 1; in TEST_BEGIN() 177 sz < 3 * alignment && sz < (1U << 31); in TEST_BEGIN() 184 "size=%zu (%#zx)", alignment, sz, sz); in TEST_BEGIN() 189 "size=%zu (%#zx)", alignment, sz, sz); in TEST_BEGIN() 191 assert_zu_ge(rsz, sz, in TEST_BEGIN() [all …]
|
H A D | thread_tcache_enabled.c | 6 size_t sz = sizeof(bool); in thd_start() local 12 assert_d_eq(mallctl("thread.tcache.enabled", (void *)&e0, &sz, in thd_start() 13 (void *)&e1, sz), 0, "Unexpected mallctl() error"); in thd_start() 19 (void *)&e1, sz), 0, "Unexpected mallctl() error"); in thd_start() 24 (void *)&e1, sz), 0, "Unexpected mallctl() error"); in thd_start() 29 (void *)&e1, sz), 0, "Unexpected mallctl() error"); in thd_start() 34 (void *)&e1, sz), 0, "Unexpected mallctl() error"); in thd_start() 40 (void *)&e1, sz), 0, "Unexpected mallctl() error"); in thd_start() 46 (void *)&e1, sz), 0, "Unexpected mallctl() error"); in thd_start() 52 (void *)&e1, sz), 0, "Unexpected mallctl() error"); in thd_start() [all …]
|
H A D | allocated.c | 17 size_t sz, usize; in thd_start() local 19 sz = sizeof(a0); in thd_start() 27 sz = sizeof(ap0); in thd_start() 39 sz = sizeof(d0); in thd_start() 47 sz = sizeof(dp0); in thd_start() 63 sz = sizeof(a1); in thd_start() 64 mallctl("thread.allocated", (void *)&a1, &sz, NULL, 0); in thd_start() 65 sz = sizeof(ap1); in thd_start() 66 mallctl("thread.allocatedp", (void *)&ap1, &sz, NULL, 0); in thd_start() 80 sz = sizeof(d1); in thd_start() [all …]
|
/netbsd/external/lgpl3/gmp/dist/mini-gmp/tests/ |
H A D | t-signed.c | 39 if (mpz_get_si (sz) != si) in check_si() 47 if (mpz_cmp (t, sz) != 0) in check_si() 63 if (mpz_cmp (sz, oz) != c) in check_si_cmp() 69 if (mpz_fits_slong_p (sz)) in check_si_cmp() 116 mpz_t sz, oz; in try_op_si() local 120 mpz_init_set_si (sz, si); in try_op_si() 123 mpz_init_set (oz, sz); in try_op_si() 130 mpz_mul_2exp (sz, sz, 1); in try_op_si() 140 mpz_sub_ui (oz, sz, 1); in try_op_si() 142 mpz_add_ui (oz, sz, 1); in try_op_si() [all …]
|
/netbsd/sys/arch/m68k/m68k/ |
H A D | db_disasm.c | 223 int sz; in opcode_bitmanip() local 521 sz = 0; in opcode_move() 565 int sz; in opcode_misc() local 676 sz = 0; in opcode_misc() 1113 int sz; in opcode_1011() local 1171 int sz; in opcode_1000() local 1243 int sz; in opcode_1100() local 1578 int sz; in opcode_fmove_ext() local 1580 sz = 0; in opcode_fmove_ext() 2831 int sz; in get_fpustdGEN() local [all …]
|
/netbsd/external/gpl2/groff/dist/src/libs/libgroff/ |
H A D | string.cpp | 100 sz = 0; in string() 129 ptr = sfree_alloc(ptr, sz, s.len, &sz); in operator =() 142 sz = 0; in operator =() 146 ptr = sfree_alloc(ptr, sz, slen, &sz); in operator =() 155 ptr = sfree_alloc(ptr, sz, 1, &sz); in operator =() 166 sz = s.sz; in move() 174 ptr = srealloc(ptr, sz, len, len + 1, &sz); in grow1() 183 ptr = srealloc(ptr, sz, len, newlen, &sz); in operator +=() 195 ptr = srealloc(ptr, sz, len, newlen, &sz); in operator +=() 207 ptr = srealloc(ptr, sz, len, newlen, &sz); in append() [all …]
|
/netbsd/sys/arch/i386/stand/efiboot/ |
H A D | efichar.c | 74 size_t len, sz; in ucs2_to_utf8() local 91 if (len++ < sz) in ucs2_to_utf8() 93 if (len++ < sz) in ucs2_to_utf8() 95 if (len++ < sz) in ucs2_to_utf8() 108 if (len >= sz) { in ucs2_to_utf8() 125 size_t sz; in utf8_to_ucs2() local 136 *len = sz; in utf8_to_ucs2() 175 sz -= 2; in utf8_to_ucs2() 178 if (sz < 2) { in utf8_to_ucs2() 185 sz -= 2; in utf8_to_ucs2() [all …]
|
/netbsd/sys/stand/efiboot/ |
H A D | efichar.c | 74 size_t len, sz; in ucs2_to_utf8() local 91 if (len++ < sz) in ucs2_to_utf8() 93 if (len++ < sz) in ucs2_to_utf8() 95 if (len++ < sz) in ucs2_to_utf8() 108 if (len >= sz) { in ucs2_to_utf8() 125 size_t sz; in utf8_to_ucs2() local 136 *len = sz; in utf8_to_ucs2() 175 sz -= 2; in utf8_to_ucs2() 178 if (sz < 2) { in utf8_to_ucs2() 185 sz -= 2; in utf8_to_ucs2() [all …]
|
/netbsd/sys/arch/ia64/stand/efi/libefi/ |
H A D | efifs.c | 134 sz = size; in efifs_read() 147 size -= sz; in efifs_read() 148 bufp += sz; in efifs_read() 165 sz = size; in efifs_write() 192 UINTN sz; in efifs_seek() local 230 UINTN sz; in efifs_stat() local 237 sz = 1024; in efifs_stat() 267 UINTN sz; in efifs_readdir() local 272 sz = 1024; in efifs_readdir() 314 UINTN sz; in efifs_dev_init() local [all …]
|
/netbsd/crypto/external/bsd/openssl/dist/crypto/ffc/ |
H A D | ffc_dh.c | 16 # define FFDHE(sz, keylength) { \ argument 17 SN_ffdhe##sz, NID_ffdhe##sz, \ 18 sz, \ 20 &ossl_bignum_ffdhe##sz##_p, &ossl_bignum_ffdhe##sz##_q, \ 24 # define MODP(sz, keylength) { \ argument 25 SN_modp_##sz, NID_modp_##sz, \ 26 sz, \ 28 &ossl_bignum_modp_##sz##_p, &ossl_bignum_modp_##sz##_q, \ 42 # define FFDHE(sz, keylength) { SN_ffdhe##sz, NID_ffdhe##sz } argument 43 # define MODP(sz, keylength) { SN_modp_##sz, NID_modp_##sz } argument [all …]
|
/netbsd/external/gpl3/gcc/dist/libsanitizer/tsan/ |
H A D | tsan_mman.cc | 168 ReportOutOfMemory(sz, &stack); in user_alloc_internal() 171 OnUserAlloc(thr, pc, (uptr)p, sz, true); in user_alloc_internal() 205 ctx->metamap.AllocBlock(thr, pc, p, sz); in OnUserAlloc() 209 MemoryResetRange(thr, pc, (uptr)p, sz); in OnUserAlloc() 217 MemoryRangeFreed(thr, pc, (uptr)p, sz); in OnUserFree() 225 if (!sz) { in user_realloc() 232 internal_memcpy(new_p, p, min(old_sz, sz)); in user_realloc() 250 uptr sz) { in user_posix_memalign() argument 288 ReportPvallocOverflow(sz, &stack); in user_pvalloc() 291 sz = sz ? RoundUpTo(sz, PageSize) : PageSize; in user_pvalloc() [all …]
|
/netbsd/sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/ |
H A D | tsan_mman.cc | 170 ReportOutOfMemory(sz, &stack); in user_alloc_internal() 173 OnUserAlloc(thr, pc, (uptr)p, sz, true); in user_alloc_internal() 207 ctx->metamap.AllocBlock(thr, pc, p, sz); in OnUserAlloc() 211 MemoryResetRange(thr, pc, (uptr)p, sz); in OnUserAlloc() 219 MemoryRangeFreed(thr, pc, (uptr)p, sz); in OnUserFree() 227 if (!sz) { in user_realloc() 234 internal_memcpy(new_p, p, min(old_sz, sz)); in user_realloc() 252 uptr sz) { in user_posix_memalign() argument 290 ReportPvallocOverflow(sz, &stack); in user_pvalloc() 293 sz = sz ? RoundUpTo(sz, PageSize) : PageSize; in user_pvalloc() [all …]
|
/netbsd/external/gpl3/gcc.old/dist/libsanitizer/tsan/ |
H A D | tsan_mman.cc | 168 ReportOutOfMemory(sz, &stack); in user_alloc_internal() 171 OnUserAlloc(thr, pc, (uptr)p, sz, true); in user_alloc_internal() 205 ctx->metamap.AllocBlock(thr, pc, p, sz); in OnUserAlloc() 209 MemoryResetRange(thr, pc, (uptr)p, sz); in OnUserAlloc() 217 MemoryRangeFreed(thr, pc, (uptr)p, sz); in OnUserFree() 225 if (!sz) { in user_realloc() 232 internal_memcpy(new_p, p, min(old_sz, sz)); in user_realloc() 250 uptr sz) { in user_posix_memalign() argument 288 ReportPvallocOverflow(sz, &stack); in user_pvalloc() 291 sz = sz ? RoundUpTo(sz, PageSize) : PageSize; in user_pvalloc() [all …]
|
/netbsd/sys/arch/zaurus/stand/zbsdmod/ |
H A D | zbsdmod.c | 163 while (sz > 0) { in elf32bsdboot() 164 sz--; in elf32bsdboot() 165 ((char *)minv - BOOTARGS_BUFSIZ)[sz] = bootargs[sz]; in elf32bsdboot() 196 sz--; in elf32bsdboot() 212 while (sz > 0) { in elf32bsdboot() 213 sz--; in elf32bsdboot() 214 ((char *)elfv)[sz] = ((char *)elf)[sz]; in elf32bsdboot() 217 while (sz > 0) { in elf32bsdboot() 218 sz--; in elf32bsdboot() 219 ((char *)shpv)[sz] = ((char *)shp)[sz]; in elf32bsdboot() [all …]
|
/netbsd/crypto/dist/ipsec-tools/src/racoon/ |
H A D | debugrm.h | 41 #define racoon_malloc(sz) malloc((sz)) argument 44 #define racoon_calloc(cnt, sz) calloc((cnt), (sz)) argument 47 #define racoon_realloc(old, sz) realloc((old), (sz)) argument 57 #define racoon_malloc(sz) \ argument 58 DRM_malloc(__FILE__, __LINE__, __func__, (sz)) 61 #define racoon_calloc(cnt, sz) \ argument 62 DRM_calloc(__FILE__, __LINE__, __func__, (cnt), (sz)) 65 #define racoon_realloc(old, sz) \ argument 87 #define vmalloc(sz) \ argument 88 DRM_vmalloc(__FILE__, __LINE__, __func__, (sz)) [all …]
|
/netbsd/external/gpl3/gdb/dist/gdbsupport/ |
H A D | new-op.cc | 48 operator new (std::size_t sz) in operator new() argument 51 if (sz == 0) in operator new() 52 sz = 1; in operator new() 54 void *p = malloc (sz); /* ARI: malloc */ in operator new() 65 malloc_failure (sz); in operator new() 79 if (sz == 0) in operator new() 80 sz = 1; in operator new() 81 return malloc (sz); /* ARI: malloc */ in operator new() 85 operator new[] (std::size_t sz) in operator new[]() argument 87 return ::operator new (sz); in operator new[]() [all …]
|
/netbsd/external/gpl3/gdb.old/dist/gdbsupport/ |
H A D | new-op.cc | 48 operator new (std::size_t sz) in operator new() argument 51 if (sz == 0) in operator new() 52 sz = 1; in operator new() 54 void *p = malloc (sz); /* ARI: malloc */ in operator new() 65 malloc_failure (sz); in operator new() 79 if (sz == 0) in operator new() 80 sz = 1; in operator new() 81 return malloc (sz); /* ARI: malloc */ in operator new() 85 operator new[] (std::size_t sz) in operator new[]() argument 87 return ::operator new (sz); in operator new[]() [all …]
|