Home
last modified time | relevance | path

Searched refs:csize (Results 1 – 25 of 53) sorted by relevance

123

/freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dddt_zap.c61 uint64_t one, csize; in ddt_zap_lookup() local
65 DDT_KEY_WORDS, &one, &csize); in ddt_zap_lookup()
70 ASSERT(csize <= sizeof (cbuf)); in ddt_zap_lookup()
73 DDT_KEY_WORDS, 1, csize, cbuf); in ddt_zap_lookup()
77 ddt_decompress(cbuf, dde->dde_phys, csize, sizeof (dde->dde_phys)); in ddt_zap_lookup()
93 uint64_t csize; in ddt_zap_update() local
95 csize = ddt_compress(dde->dde_phys, cbuf, in ddt_zap_update()
99 DDT_KEY_WORDS, 1, csize, cbuf, tx)); in ddt_zap_update()
119 uint64_t csize = za.za_num_integers; in ddt_zap_walk() local
122 DDT_KEY_WORDS, 1, csize, cbuf); in ddt_zap_walk()
[all …]
/freebsd-12.1/lib/libedit/
H A Dchartype.c50 ct_conv_cbuff_resize(ct_buffer_t *conv, size_t csize) in ct_conv_cbuff_resize() argument
54 if (csize <= conv->csize) in ct_conv_cbuff_resize()
57 conv->csize = csize; in ct_conv_cbuff_resize()
59 p = el_realloc(conv->cbuff, conv->csize * sizeof(*conv->cbuff)); in ct_conv_cbuff_resize()
61 conv->csize = 0; in ct_conv_cbuff_resize()
104 if ((conv->csize - (size_t)used) < 5) { in ct_encode_string()
106 conv->csize + CT_BUFSIZ) == -1) in ct_encode_string()
/freebsd-12.1/stand/libsa/
H A Dufs.c737 size_t csize; local
751 csize = size;
752 if (csize > buf_size)
753 csize = buf_size;
758 addr += csize;
759 size -= csize;
779 size_t csize; local
783 csize = size;
788 if (csize >= 512) csize = 512; /* XXX */
795 addr += csize;
[all …]
H A Dext2fs.c820 size_t csize, buf_size; in ext2fs_read() local
832 csize = size; in ext2fs_read()
833 if (csize > buf_size) in ext2fs_read()
834 csize = buf_size; in ext2fs_read()
836 bcopy(buf, addr, csize); in ext2fs_read()
838 fp->f_seekp += csize; in ext2fs_read()
839 addr = (char *)addr + csize; in ext2fs_read()
840 size -= csize; in ext2fs_read()
H A Dcd9660.c499 size_t buf_size, csize; in cd9660_read() local
511 csize = size > buf_size ? buf_size : size; in cd9660_read()
512 bcopy(buf, addr, csize); in cd9660_read()
514 fp->f_off += csize; in cd9660_read()
515 addr += csize; in cd9660_read()
516 size -= csize; in cd9660_read()
H A Dnandfs.c454 size_t csize, buf_size; in nandfs_read() local
468 csize = size; in nandfs_read()
469 if (csize > buf_size) in nandfs_read()
470 csize = buf_size; in nandfs_read()
472 bcopy(buf, addr, csize); in nandfs_read()
474 fs->nf_offset += csize; in nandfs_read()
475 addr = (char *)addr + csize; in nandfs_read()
476 size -= csize; in nandfs_read()
/freebsd-12.1/contrib/flex/
H A Dmain.c56 csize; variable
262 csize = CSIZE; in check_options()
317 nextecm[csize] = NIL; in check_options()
785 csize = 256;
787 if (csize == 128)
901 numecs, csize);
909 nummecs, csize);
1203 csize = 128;
1207 csize = CSIZE;
1591 if (csize == 256) in readin()
[all …]
H A Dccl.c99 for (i = 0; i < csize; ++i) { in dump_cclp()
107 while (++i < csize && ccl_contains(cclp,i)) ; in dump_cclp()
136 for ( ch = 0; ch < csize; ++ch ) in ccl_set_diff()
251 for (i = 0; i < csize; ++i) {
259 while (++i < csize && cset[i]) ;
H A Dparse.y90 for ( c = 0; c < csize; ++c ) \
99 for ( c = 0; c < csize; ++c ) \
702 ecgroup, csize, csize );
711 ecgroup, csize, csize );
732 nextecm, ecgroup, csize, csize );
H A Ddfa.c197 for (i = 0; i < csize; ++i) {
207 for (i = 0; i < csize; ++i)
419 for (i = 0; i <= csize; ++i) { in ntod()
470 int use_NUL_table = (numecs == csize); in ntod()
478 for (power_of_two = 1; power_of_two <= csize; in ntod()
1047 if (tch < -lastccl || tch >= csize) {
H A Dgen.c444 tbl->td_lolen = csize; in mkecstbl()
449 for (i = 1; i < csize; ++i) { in mkecstbl()
468 out_str_dec (get_int32_decl (), "yy_ec", csize); in genecs()
470 for (i = 1; i < csize; ++i) { in genecs()
480 numrows = csize / 8; in genecs()
483 for (i = j; i < csize; i = i + numrows) { in genecs()
/freebsd-12.1/sys/contrib/zstd/tests/
H A Dtest-zstd-speed.py130 csize = []
138 csize = []
142 csize.append(int(words[1]))
145 return commit, csize, cspeed, dspeed
176 commit, csize, cspeed, dspeed = get_last_results(resultsFileName)
179 …[i], dspeed[i], last_dspeed[i], dspeed[i]/last_dspeed[i], float(last_csize[i])/csize[i], fileName))
184 if (float(last_csize[i])/csize[i] < args.ratioLimit):
185 …t_cSize=%d diff=%.4f %s\n" % (executableName, i+1, csize[i], last_csize[i], float(last_csize[i])/c…
203 last_commit, csize, cspeed, dspeed = get_last_results(resultsFileName)
205 …xecutableName, md5sum, compilerVersion, resultsFileName, filePath, fileName, csize, cspeed, dspeed)
[all …]
/freebsd-12.1/contrib/libarchive/libarchive/
H A Darchive_write_add_filter_lzop.c327 lzo_uint usize, csize; in drive_compressor() local
339 csize = 0; in drive_compressor()
344 p + header_bytes + block_info_bytes, &csize, in drive_compressor()
349 p + header_bytes + block_info_bytes, &csize, in drive_compressor()
354 p + header_bytes + block_info_bytes, &csize, in drive_compressor()
370 if (csize < usize) { in drive_compressor()
372 archive_be32enc(p + header_bytes + 4, (uint32_t)csize); in drive_compressor()
374 header_bytes + block_info_bytes + csize); in drive_compressor()
/freebsd-12.1/sys/arm/arm/
H A Dcpufunc.c283 u_int clevel, csize, i, sel; in get_cachetype_cp15() local
312 : "=r" (csize)); in get_cachetype_cp15()
313 arm_cache_type[sel] = csize; in get_cachetype_cp15()
315 (CPUV7_CT_xSIZE_LEN(csize) + 4); in get_cachetype_cp15()
323 : "=r" (csize)); in get_cachetype_cp15()
324 arm_cache_type[sel] = csize; in get_cachetype_cp15()
/freebsd-12.1/contrib/nvi/common/
H A Dutil.c51 size_t csize; in binc() local
57 csize = p2roundup(MAX(min, 256)); in binc()
58 REALLOC(sp, bp, void *, csize); in binc()
68 memset((char *)bp + *bsizep, 0, csize - *bsizep); in binc()
69 *bsizep = csize; in binc()
/freebsd-12.1/sys/libkern/
H A Diconv.c190 int csize, ucsto, ucsfrom; in iconv_register_cspair() local
194 csize = sizeof(*csp); in iconv_register_cspair()
197 csize += strlen(to) + 1; in iconv_register_cspair()
200 csize += strlen(from) + 1; in iconv_register_cspair()
201 csp = malloc(csize, M_ICONV, M_WAITOK); in iconv_register_cspair()
202 bzero(csp, csize); in iconv_register_cspair()
/freebsd-12.1/sys/geom/
H A Dgeom_sunlabel.c76 u_int u, v, csize; in g_sunlabel_modify() local
84 csize = sl.sl_ntracks * sl.sl_nsectors; in g_sunlabel_modify()
90 ((off_t)v * csize) << 9ULL, in g_sunlabel_modify()
101 ((off_t)v * csize) << 9ULL, in g_sunlabel_modify()
/freebsd-12.1/stand/common/
H A Dbcache.c377 size_t csize, isize, total; in bcache_strategy() local
406 csize = size; in bcache_strategy()
408 csize = cblk * bcache_blksize; in bcache_strategy()
410 ret = read_strategy(devdata, rw, blk, csize, buf+total, &isize); in bcache_strategy()
/freebsd-12.1/contrib/processor-trace/libipt/src/
H A Dpt_section.c437 uint32_t csize; in pt_section_alloc_bcache() local
447 csize = (uint32_t) ssize; in pt_section_alloc_bcache()
449 if (csize != ssize) in pt_section_alloc_bcache()
476 bcache = pt_bcache_alloc(csize); in pt_section_alloc_bcache()
/freebsd-12.1/usr.bin/lex/
H A Dinitparse.c77 for ( c = 0; c < csize; ++c ) \
86 for ( c = 0; c < csize; ++c ) \
1466 ecgroup, csize, csize ); in YYPARSE_DECL()
1475 ecgroup, csize, csize ); in YYPARSE_DECL()
1497 nextecm, ecgroup, csize, csize ); in YYPARSE_DECL()
/freebsd-12.1/contrib/gdb/gdb/
H A Ddcache.c494 int csize = sizeof (struct dcache_block) * DCACHE_SIZE; in dcache_init() local
499 dcache->the_cache = (struct dcache_block *) xmalloc (csize); in dcache_init()
500 memset (dcache->the_cache, 0, csize); in dcache_init()
/freebsd-12.1/sys/contrib/octeon-sdk/
H A Dcvmx-dma-engine.c128 dpi_dmax_ibuff_saddr.s.csize = CVMX_FPA_OUTPUT_BUFFER_POOL_SIZE/8; in cvmx_dma_engine_initialize()
156 dma_control.s.csize = CVMX_FPA_OUTPUT_BUFFER_POOL_SIZE/8; in cvmx_dma_engine_initialize()
218 dma_control.s.csize = CVMX_FPA_OUTPUT_BUFFER_POOL_SIZE/8; in cvmx_dma_engine_initialize()
H A Dcvmx-tim-defs.h805 uint64_t csize : 13; /**< Number of words per chunk */ member
812 uint64_t csize : 13;
1307 uint64_t csize : 13; /**< Number of words per chunk. CSIZE mod(16) should be member
1314 uint64_t csize : 13;
/freebsd-12.1/contrib/gcc/
H A Dtree-dfa.c927 tree csize = TYPE_SIZE (TREE_TYPE (TREE_OPERAND (exp, 0))); in get_ref_base_and_extent() local
932 && csize && host_integerp (csize, 1)) in get_ref_base_and_extent()
934 maxsize = (TREE_INT_CST_LOW (csize) in get_ref_base_and_extent()
/freebsd-12.1/contrib/apr/file_io/unix/
H A Dfilestat.c121 finfo->csize = (apr_off_t)info->st_blocks * (apr_off_t)DEV_BSIZE; in fill_out_finfo()
123 finfo->csize = (apr_off_t)info->st_blocks * (apr_off_t)512; in fill_out_finfo()

123