Home
last modified time | relevance | path

Searched refs:asize (Results 1 – 25 of 30) sorted by relevance

12

/NextBSD/contrib/subversion/subversion/libsvn_delta/
HDxdelta.c273 apr_size_t asize, in find_match() argument
290 max_delta = asize - apos - MATCH_BLOCKSIZE < bsize - bpos - MATCH_BLOCKSIZE in find_match()
291 ? asize - apos - MATCH_BLOCKSIZE in find_match()
321 apr_size_t asize, in store_delta_trailer() argument
328 apr_size_t max_len = asize > (bsize - start) ? bsize - start : asize; in store_delta_trailer()
332 end_match = svn_cstring__reverse_match_length(a + asize, b + bsize, in store_delta_trailer()
342 asize - end_match, end_match, NULL, pool); in store_delta_trailer()
373 apr_size_t asize, in compute_delta() argument
385 lo = svn_cstring__match_length(a, b, asize > bsize ? bsize : asize); in compute_delta()
397 if ((bsize - lo < MATCH_BLOCKSIZE) || (asize < MATCH_BLOCKSIZE)) in compute_delta()
[all …]
/NextBSD/contrib/ipfilter/lib/
HDparseipfexpr.c39 int not, items, asize, *oplist, osize, i; local
44 asize = 0;
123 osize = asize;
124 asize += 4 + (items * e->ipoe_nbasearg * e->ipoe_argsize);
126 oplist = calloc(1, sizeof(int) * (asize + 2));
128 oplist = realloc(oplist, sizeof(int) * (asize + 2));
141 for (s = arg; (*s != '\0') && (osize < asize); s = t) {
267 for (i = asize; i > 0; i--)
270 oplist[0] = asize + 2;
271 oplist[asize + 1] = IPF_EXP_END;
/NextBSD/contrib/gcclibs/libcpp/
HDcharset.c101 size_t asize; member
467 outbytesleft = to->asize - to->len; in conversion_loop()
478 to->len = to->asize - outbytesleft; in conversion_loop()
488 to->asize += OUTBUF_BLOCK_SIZE; in conversion_loop()
489 to->text = XRESIZEVEC (uchar, to->text, to->asize); in conversion_loop()
490 outbuf = to->text + to->asize - outbytesleft; in conversion_loop()
538 if (to->len + flen > to->asize) in convert_no_conversion()
540 to->asize = to->len + flen; in convert_no_conversion()
541 to->text = XRESIZEVEC (uchar, to->text, to->asize); in convert_no_conversion()
566 outbytesleft = to->asize - to->len; in convert_using_iconv()
[all …]
HDpch.c377 size_t asize; member
390 if (nl->n_defs == nl->asize) in collect_ht_nodes()
392 nl->asize *= 2; in collect_ht_nodes()
393 nl->defs = XRESIZEVEC (cpp_hashnode *, nl->defs, nl->asize); in collect_ht_nodes()
497 nl.asize = 10; in cpp_valid_state()
498 nl.defs = XNEWVEC (cpp_hashnode *, nl.asize); in cpp_valid_state()
/NextBSD/sys/dev/snc/
HDdp83932subr.c589 size_t asize = 4 - (noffset & 3); in snc_nec16_copyfrombuf() local
592 bptr, asize); in snc_nec16_copyfrombuf()
593 bptr += asize; in snc_nec16_copyfrombuf()
594 noffset += asize; in snc_nec16_copyfrombuf()
595 size -= asize; in snc_nec16_copyfrombuf()
627 size_t asize = 4 - (noffset & 3); in snc_nec16_copytobuf() local
630 bptr, asize); in snc_nec16_copytobuf()
631 bptr += asize; in snc_nec16_copytobuf()
632 noffset += asize; in snc_nec16_copytobuf()
633 size -= asize; in snc_nec16_copytobuf()
[all …]
/NextBSD/usr.bin/sed/
HDcompile.c473 int asize, size; in compile_subst() local
484 asize = 2 * _POSIX2_LINE_MAX + 1; in compile_subst()
485 if ((text = malloc(asize)) == NULL) in compile_subst()
542 if (asize - size < _POSIX2_LINE_MAX + 1) { in compile_subst()
543 asize *= 2; in compile_subst()
544 if ((text = realloc(text, asize)) == NULL) in compile_subst()
738 int asize, esc_nl, size; in compile_text() local
742 asize = 2 * _POSIX2_LINE_MAX + 1; in compile_text()
743 if ((text = malloc(asize)) == NULL) in compile_text()
760 if (asize - size < _POSIX2_LINE_MAX + 1) { in compile_text()
[all …]
/NextBSD/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
HDvdev_root.c57 vdev_root_open(vdev_t *vd, uint64_t *asize, uint64_t *max_asize, in vdev_root_open() argument
84 *asize = 0; in vdev_root_open()
HDvdev_raidz.c461 uint64_t q, r, c, bc, col, acols, scols, coff, devidx, asize, tot; in vdev_raidz_map_alloc() local
511 asize = 0; in vdev_raidz_map_alloc()
535 asize += rm->rm_col[c].rc_size; in vdev_raidz_map_alloc()
538 ASSERT3U(asize, ==, tot << unit_shift); in vdev_raidz_map_alloc()
539 rm->rm_asize = roundup(asize, (nparity + 1) << unit_shift); in vdev_raidz_map_alloc()
541 ASSERT3U(rm->rm_asize - asize, ==, rm->rm_nskip << unit_shift); in vdev_raidz_map_alloc()
1484 vdev_raidz_open(vdev_t *vd, uint64_t *asize, uint64_t *max_asize, in vdev_raidz_open() argument
1512 *asize = MIN(*asize - 1, cvd->vdev_asize - 1) + 1; in vdev_raidz_open()
1519 *asize *= vd->vdev_children; in vdev_raidz_open()
1690 uint64_t asize; in vdev_raidz_asize() local
[all …]
HDdsl_dir.c1117 dsl_dir_tempreserve_impl(dsl_dir_t *dd, uint64_t asize, boolean_t netfree, in dsl_dir_tempreserve_impl() argument
1131 ASSERT3S(asize, >, 0); in dsl_dir_tempreserve_impl()
1154 asize, est_inflight, &used_on_disk, &ref_rsrv); in dsl_dir_tempreserve_impl()
1203 quota>>10, asize>>10, retval); in dsl_dir_tempreserve_impl()
1209 dd->dd_tempreserved[txgidx] += asize; in dsl_dir_tempreserve_impl()
1212 asize - ref_rsrv); in dsl_dir_tempreserve_impl()
1217 tr->tr_size = asize; in dsl_dir_tempreserve_impl()
1238 dsl_dir_tempreserve_space(dsl_dir_t *dd, uint64_t lsize, uint64_t asize, in dsl_dir_tempreserve_space() argument
1244 if (asize == 0) { in dsl_dir_tempreserve_space()
1252 ASSERT3S(asize, >, 0); in dsl_dir_tempreserve_space()
[all …]
HDmetaslab.c2127 metaslab_group_alloc(metaslab_group_t *mg, uint64_t psize, uint64_t asize, in metaslab_group_alloc() argument
2151 if (msp->ms_weight < asize) { in metaslab_group_alloc()
2157 mg, msp, psize, asize, msp->ms_weight); in metaslab_group_alloc()
2195 if (msp->ms_weight < asize || (was_active && in metaslab_group_alloc()
2225 if ((offset = metaslab_block_alloc(msp, asize)) != -1ULL) in metaslab_group_alloc()
2235 range_tree_add(msp->ms_alloctree[txg & TXG_MASK], offset, asize); in metaslab_group_alloc()
2257 uint64_t asize; in metaslab_alloc_dva() local
2376 asize = vdev_psize_to_asize(vd, psize); in metaslab_alloc_dva()
2377 ASSERT(P2PHASE(asize, 1ULL << vd->vdev_ashift) == 0); in metaslab_alloc_dva()
2379 offset = metaslab_group_alloc(mg, psize, asize, txg, distance, in metaslab_alloc_dva()
[all …]
HDzio.c734 uint64_t asize = DVA_GET_ASIZE(&bp->blk_dva[i]); in zfs_blkptr_verify() local
736 asize = vdev_psize_to_asize(vd, SPA_GANGBLOCKSIZE); in zfs_blkptr_verify()
737 if (offset + asize > vd->vdev_asize) { in zfs_blkptr_verify()
1975 uint64_t asize; in zio_write_gang_member_ready() local
1991 asize = DVA_GET_ASIZE(&pdva[d]); in zio_write_gang_member_ready()
1992 asize += DVA_GET_ASIZE(&cdva[d]); in zio_write_gang_member_ready()
1993 DVA_SET_ASIZE(&pdva[d], asize); in zio_write_gang_member_ready()
2728 uint64_t asize = P2ROUNDUP(zio->io_size, align); in zio_vdev_io_start() local
2732 abuf = zio_buf_alloc(asize); in zio_vdev_io_start()
2736 bzero(abuf + zio->io_size, asize - zio->io_size); in zio_vdev_io_start()
[all …]
HDvdev_mirror.c223 vdev_mirror_open(vdev_t *vd, uint64_t *asize, uint64_t *max_asize, in vdev_mirror_open() argument
245 *asize = MIN(*asize - 1, cvd->vdev_asize - 1) + 1; in vdev_mirror_open()
HDvdev.c189 uint64_t asize = P2ROUNDUP(psize, 1ULL << vd->vdev_top->vdev_ashift); in vdev_default_asize() local
194 asize = MAX(asize, csize); in vdev_default_asize()
197 return (asize); in vdev_default_asize()
1238 uint64_t asize, max_asize, psize; in vdev_open() local
1342 asize = osize - (VDEV_LABEL_START_SIZE + VDEV_LABEL_END_SIZE); in vdev_open()
1353 asize = osize; in vdev_open()
1362 if (asize < vd->vdev_min_asize) { in vdev_open()
1384 vd->vdev_asize = asize; in vdev_open()
1404 if (vd->vdev_state == VDEV_STATE_HEALTHY && asize > vd->vdev_asize && in vdev_open()
1406 vd->vdev_asize = asize; in vdev_open()
HDspa_misc.c1832 uint64_t asize = DVA_GET_ASIZE(dva); in dva_get_dsize_sync() local
1833 uint64_t dsize = asize; in dva_get_dsize_sync()
1837 if (asize != 0 && spa->spa_deflate) { in dva_get_dsize_sync()
1843 (u_longlong_t)vdev, (u_longlong_t)asize); in dva_get_dsize_sync()
1845 dsize = (asize >> SPA_MINBLOCKSHIFT) * vd->vdev_deflate_ratio; in dva_get_dsize_sync()
HDdmu_tx.c1120 uint64_t memory, asize, fsize, usize; in dmu_tx_try_assign() local
1197 asize = spa_get_asize(tx->tx_pool->dp_spa, towrite + tooverwrite); in dmu_tx_try_assign()
1211 tx->tx_space_towrite = asize + in dmu_tx_try_assign()
1218 if (tx->tx_dir && asize != 0) { in dmu_tx_try_assign()
1220 asize, fsize, usize, &tx->tx_tempreserve_cookie, tx); in dmu_tx_try_assign()
/NextBSD/lib/libc/rpc/
HDclnt_bcast.c270 u_int asize; /* Size of the addr buf */ in rpc_broadcast_exp() member
336 fdlist[fdlistno].asize = __rpc_get_a_size(si.si_af); in rpc_broadcast_exp()
463 (size_t)fdlist[i].asize) != in rpc_broadcast_exp()
488 (size_t)fdlist[i].asize) != in rpc_broadcast_exp()
550 &fdlist[i].asize); in rpc_broadcast_exp()
/NextBSD/usr.sbin/rpc.ypupdated/
HDypupdated_main.c193 int asize = sizeof (saddr); in main() local
215 if (getsockname(0, (struct sockaddr *)&saddr, &asize) == 0) { in main()
/NextBSD/usr.sbin/rpc.ypxfrd/
HDypxfrd_main.c200 int asize = sizeof (saddr); in main() local
216 if (getsockname(0, (struct sockaddr *)&saddr, &asize) == 0) { in main()
/NextBSD/usr.sbin/rpc.yppasswdd/
HDyppasswdd_main.c165 socklen_t asize = sizeof (saddr); in main() local
255 if (getsockname(0, (struct sockaddr *)&saddr, &asize) == 0) { in main()
/NextBSD/contrib/gcc/
HDtree-dfa.c969 tree asize = TYPE_SIZE (TREE_TYPE (TREE_OPERAND (exp, 0))); in get_ref_base_and_extent() local
974 && asize && host_integerp (asize, 1)) in get_ref_base_and_extent()
976 maxsize = (TREE_INT_CST_LOW (asize) in get_ref_base_and_extent()
/NextBSD/sys/cddl/boot/zfs/
HDzfssubr.c1114 uint64_t q, r, c, bc, col, acols, scols, coff, devidx, asize, tot; in vdev_raidz_map_alloc() local
1144 asize = 0; in vdev_raidz_map_alloc()
1167 asize += rm->rm_col[c].rc_size; in vdev_raidz_map_alloc()
1170 ASSERT3U(asize, ==, tot << unit_shift); in vdev_raidz_map_alloc()
1171 rm->rm_asize = roundup(asize, (nparity + 1) << unit_shift); in vdev_raidz_map_alloc()
1173 ASSERT3U(rm->rm_asize - asize, ==, rm->rm_nskip << unit_shift); in vdev_raidz_map_alloc()
/NextBSD/sbin/dump/
HDtape.c290 asize += tenths; in flushtape()
294 (blocksthisvol >= blocksperfile) : (asize > tsize))) { in flushtape()
635 asize = 0; in startnewtape()
HDdump.h73 long asize; /* number of 0.1" units written on current tape */ variable
/NextBSD/contrib/libarchive/libarchive/
HDarchive_read_disk_posix.c645 size_t asize; in setup_suitable_read_buffer() local
655 asize = cf->max_xfer_size + xfer_align; in setup_suitable_read_buffer()
664 asize = xfer_align; in setup_suitable_read_buffer()
666 asize = cf->min_xfer_size; in setup_suitable_read_buffer()
670 while (asize < 1024*64) in setup_suitable_read_buffer()
671 asize += incr; in setup_suitable_read_buffer()
674 asize += xfer_align; in setup_suitable_read_buffer()
676 cf->allocation_ptr = malloc(asize); in setup_suitable_read_buffer()
697 cf->buff_size = asize - xfer_align; in setup_suitable_read_buffer()
/NextBSD/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/
HDdsl_dir.h140 uint64_t asize, uint64_t fsize, uint64_t usize, void **tr_cookiep,

12