Home
last modified time | relevance | path

Searched refs:chunksize (Results 1 – 25 of 48) sorted by relevance

12

/netbsd-src/external/lgpl3/gmp/dist/mpz/
H A Drrandomb.c67 unsigned cap_chunksize, chunksize; in gmp_rrandomb() local
85 chunksize = 1 + ranm % cap_chunksize; in gmp_rrandomb()
86 bi = (bi < chunksize) ? 0 : bi - chunksize; in gmp_rrandomb()
94 chunksize = 1 + ranm % cap_chunksize; in gmp_rrandomb()
95 bi = (bi < chunksize) ? 0 : bi - chunksize; in gmp_rrandomb()
/netbsd-src/external/lgpl3/gmp/dist/mpn/generic/
H A Drandom2.c70 unsigned cap_chunksize, chunksize; in gmp_rrandomb() local
88 chunksize = 1 + ranm % cap_chunksize; in gmp_rrandomb()
89 bi = (bi < chunksize) ? 0 : bi - chunksize; in gmp_rrandomb()
97 chunksize = 1 + ranm % cap_chunksize; in gmp_rrandomb()
98 bi = (bi < chunksize) ? 0 : bi - chunksize; in gmp_rrandomb()
/netbsd-src/external/lgpl3/gmp/dist/mpn/arm/neon/
H A Dpopcount.asm57 C (8*2^16-1)/32 = 0x3fff limbs. We use a chunksize close to that, but which
60 define(`chunksize',0x3f80)
153 1: mov n, #chunksize C count for this invocation
155 add ap2, ap2, #chunksize*4 C point at next chunk
158 sub r3, r3, #chunksize
159 cmp r3, #chunksize
H A Dhamdist.asm66 cmp n, #chunksize
179 1: mov n, #chunksize C count for this invocation
181 add ap2, ap2, #chunksize*4 C point at next chunk
182 add bp2, bp2, #chunksize*4 C point at next chunk
186 sub r3, r3, #chunksize
187 cmp r3, #chunksize
/netbsd-src/external/bsd/ipf/dist/ipsd/
H A Dsnit.c126 int ret, offset, fd, snaplen= 76, chunksize = BUFSPACE; local
190 si.ic_len = sizeof(chunksize);
191 si.ic_dp = (char*)&chunksize;
194 if (ioctl(fd, NIOCGCHUNK, (char*)&chunksize) == -1)
199 printf("NIT buffer size: %d\n", chunksize);
H A Dsdlpi.c158 int i, offset, fd, snaplen= 58, chunksize = BUFSPACE; local
/netbsd-src/share/examples/refuse/ian/libfetch/
H A Dhttp.c127 size_t chunksize; /* remaining size of current chunk */ member
154 io->chunksize = io->chunksize * 16 + in _http_new_chunk()
157 io->chunksize = io->chunksize * 16 + in _http_new_chunk()
164 io->total += io->chunksize; in _http_new_chunk()
165 if (io->chunksize == 0) in _http_new_chunk()
169 __func__, (unsigned long)io->chunksize, in _http_new_chunk()
174 return (io->chunksize); in _http_new_chunk()
217 if (io->chunksize == 0) { in _http_fillbuf()
228 if (len > io->chunksize) in _http_fillbuf()
229 len = io->chunksize; in _http_fillbuf()
[all …]
/netbsd-src/sys/uvm/
H A Duvm_readahead.c143 const size_t chunksize = RA_IOCHUNK; in ra_startio() local
150 KASSERT((chunksize & (chunksize - 1)) == 0); in ra_startio()
152 bytelen = ((off + chunksize) & -(off_t)chunksize) - off; in ra_startio()
H A Duvm_amap.c854 vsize_t chunksize; in amap_copy() local
857 chunksize = UVM_AMAP_CHUNK << PAGE_SHIFT; in amap_copy()
858 startva = (startva / chunksize) * chunksize; in amap_copy()
859 endva = roundup(endva, chunksize); in amap_copy()
/netbsd-src/lib/libc/stdlib/
H A Djemalloc.c682 static size_t chunksize; variable
1019 incr = (intptr_t)chunksize in base_pages_alloc()
1277 if (size == chunksize) { in chunk_alloc()
1314 if (size + chunksize > size) { in chunk_alloc()
1387 stats_chunks.nchunks += (size / chunksize); in chunk_alloc()
1388 stats_chunks.curchunks += (size / chunksize); in chunk_alloc()
1449 for (offset = 0; offset < size; offset += chunksize) { in chunk_dealloc()
1456 node->size = chunksize; in chunk_dealloc()
1471 if (size == chunksize) { in chunk_dealloc()
1475 node->size = chunksize; in chunk_dealloc()
[all …]
/netbsd-src/external/gpl2/dtc/dist/
H A Ddata.c87 size_t chunksize, ret; in data_copy_file() local
90 chunksize = 4096; in data_copy_file()
92 chunksize = maxlen - d.len; in data_copy_file()
94 d = data_grow_for(d, chunksize); in data_copy_file()
95 ret = fread(d.val + d.len, 1, chunksize, f); in data_copy_file()
/netbsd-src/external/gpl2/lvm2/dist/test/
H A Dt-lvcreate-usage.sh95 not lvcreate -L 8m -n $lv2 -s --chunksize 3k $vg/$lv1
96 not lvcreate -L 8m -n $lv2 -s --chunksize 1024k $vg/$lv1
97 lvcreate -L 8m -n $lv2 -s --chunksize 4k $vg/$lv1
100 lvcreate -L 8m -n $lv3 -s --chunksize 512k $vg/$lv1
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/internal/math/
H A Dbiguintcore.d1365 auto chunksize = CACHELIMIT / y.length; in mulInternal() local
1366 immutable residual = x.length % chunksize; in mulInternal()
1369 chunksize -= y.length; in mulInternal()
1373 mulSimple(result[0 .. chunksize + y.length], x[0 .. chunksize], y); in mulInternal()
1374 auto done = chunksize; in mulInternal()
1379chunksize = (done + (CACHELIMIT / y.length) < x.length) ? (CACHELIMIT / y.length) : x.length - do… in mulInternal()
1382 mulSimple(result[done .. done+chunksize+y.length], x[done .. done+chunksize], y); in mulInternal()
1383 addAssignSimple(result[done .. done+chunksize + y.length], partial[0 .. y.length]); in mulInternal()
1384 done += chunksize; in mulInternal()
1401 auto chunksize = y.length; in mulInternal() local
[all …]
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/internal/math/
H A Dbiguintcore.d1669 auto chunksize = CACHELIMIT / y.length;
1670 immutable residual = x.length % chunksize;
1673 chunksize -= y.length;
1677 mulSimple(result[0 .. chunksize + y.length], x[0 .. chunksize], y);
1678 auto done = chunksize;
1683chunksize = (done + (CACHELIMIT / y.length) < x.length) ? (CACHELIMIT / y.length) : x.length - do…
1686 mulSimple(result[done .. done+chunksize+y.length], x[done .. done+chunksize], y);
1687 addAssignSimple(result[done .. done+chunksize + y.length], partial[0 .. y.length]);
1688 done += chunksize;
1705 auto chunksize = y.length;
[all …]
/netbsd-src/external/gpl3/binutils/dist/gold/
H A DMakefile.am342 TESTS += bootstrap-test-treehash-chunksize
343 MOSTLYCLEANFILES += bootstrap-test-treehash-chunksize
381 TESTS += bootstrap-test-treehash-chunksize
382 MOSTLYCLEANFILES += bootstrap-test-treehash-chunksize
392 bootstrap-test-treehash-chunksize: ld1 ld4
H A DMakefile.in122 @GCC_TRUE@@NATIVE_LINKER_TRUE@@THREADS_TRUE@am__append_6 = bootstrap-test-treehash-chunksize
123 @GCC_TRUE@@NATIVE_LINKER_TRUE@@THREADS_TRUE@am__append_7 = bootstrap-test-treehash-chunksize
884 @GCC_TRUE@@NATIVE_LINKER_TRUE@ bootstrap-test-treehash-chunksize \
888 @GCC_TRUE@@NATIVE_LINKER_TRUE@ bootstrap-test-treehash-chunksize \
1435 bootstrap-test-treehash-chunksize.log: bootstrap-test-treehash-chunksize
1698 @GCC_TRUE@@NATIVE_LINKER_TRUE@bootstrap-test-treehash-chunksize: ld1 ld4
/netbsd-src/external/gpl3/binutils.old/dist/gold/
H A DMakefile.am342 TESTS += bootstrap-test-treehash-chunksize
343 MOSTLYCLEANFILES += bootstrap-test-treehash-chunksize
381 TESTS += bootstrap-test-treehash-chunksize
382 MOSTLYCLEANFILES += bootstrap-test-treehash-chunksize
392 bootstrap-test-treehash-chunksize: ld1 ld4
H A DMakefile.in122 @GCC_TRUE@@NATIVE_LINKER_TRUE@@THREADS_TRUE@am__append_6 = bootstrap-test-treehash-chunksize
123 @GCC_TRUE@@NATIVE_LINKER_TRUE@@THREADS_TRUE@am__append_7 = bootstrap-test-treehash-chunksize
860 @GCC_TRUE@@NATIVE_LINKER_TRUE@ bootstrap-test-treehash-chunksize \
864 @GCC_TRUE@@NATIVE_LINKER_TRUE@ bootstrap-test-treehash-chunksize \
1411 bootstrap-test-treehash-chunksize.log: bootstrap-test-treehash-chunksize
1674 @GCC_TRUE@@NATIVE_LINKER_TRUE@bootstrap-test-treehash-chunksize: ld1 ld4
/netbsd-src/external/cddl/osnet/dist/cmd/ztest/
H A Dztest.c3548 uint64_t chunksize = (1000 + ztest_random(1000)) * sizeof (uint64_t); in ztest_dmu_read_write() local
3581 ztest_od_init(&od[0], id, FTAG, 0, DMU_OT_UINT64_OTHER, 0, chunksize); in ztest_dmu_read_write()
3582 ztest_od_init(&od[1], id, FTAG, 1, DMU_OT_UINT64_OTHER, 0, chunksize); in ztest_dmu_read_write()
3589 chunksize = od[0].od_gen; in ztest_dmu_read_write()
3590 ASSERT(chunksize == od[1].od_gen); in ztest_dmu_read_write()
3600 dmu_prefetch(os, bigobj, 0, n * chunksize, s * chunksize, in ztest_dmu_read_write()
3612 bigoff = n * chunksize; in ztest_dmu_read_write()
3613 bigsize = s * chunksize; in ztest_dmu_read_write()
3680 bigH = (bufwad_t *)((char *)bigbuf + i * chunksize); in ztest_dmu_read_write()
3682 bigT = (bufwad_t *)((char *)bigH + chunksize) - 1; in ztest_dmu_read_write()
[all …]
/netbsd-src/usr.bin/ftp/
H A Dfetch.c1717 long chunksize; in fetch_url()
1720 chunksize = 0; in fetch_url()
1729 chunksize = strtol(xferbuf, &ep, 16); in fetch_url()
1734 if (errno == ERANGE || chunksize < 0) { in fetch_url()
1760 (LLT)chunksize); in fetch_url()
1761 if (chunksize == 0) { in fetch_url()
1775 bufrem = MIN(chunksize, bufrem); in fetch_url()
1800 chunksize -= flen; in fetch_url()
1801 if (chunksize <= 0) in fetch_url()
1814 if (ischunked && chunksize < in fetch_url()
1712 long chunksize; fetch_url() local
[all...]
/netbsd-src/external/gpl2/lvm2/dist/lib/report/
H A Dcolumns.h125 FIELD(SEGS, seg, NUM, "Chunk", list, 5, chunksize, "chunksize", "For snapshots, the unit of data us…
126 FIELD(SEGS, seg, NUM, "Chunk", list, 5, chunksize, "chunk_size", "For snapshots, the unit of data u…
/netbsd-src/external/gpl3/binutils.old/dist/gas/
H A Dsubsegs.c38 obstack_begin (&frchains, chunksize); in subsegs_begin()
127 obstack_begin (&newP->frch_obstack, chunksize); in subseg_set_rest()
/netbsd-src/external/gpl3/binutils/dist/gas/
H A Dsubsegs.c38 obstack_begin (&frchains, chunksize); in subsegs_begin()
126 obstack_begin (&newP->frch_obstack, chunksize); in subseg_set_rest()
H A Das.c91 int chunksize = 0; variable
1290 chunksize = 64; in gas_early_init()
1302 obstack_begin (&notes, chunksize); in gas_early_init()
/netbsd-src/external/lgpl3/gmp/dist/mpn/arm64/
H A Dhamdist.asm59 define(`chunksize',0x1ff0)

12