| /NextBSD/contrib/jemalloc/src/ |
| HD | base.c | 45 size_t csize, nsize; in base_chunk_alloc() local 52 csize = CHUNK_CEILING(minsize + nsize); in base_chunk_alloc() 53 addr = chunk_alloc_base(csize); in base_chunk_alloc() 59 base_mapped += csize; in base_chunk_alloc() 63 csize -= nsize; in base_chunk_alloc() 69 extent_node_init(node, NULL, addr, csize, true, true); in base_chunk_alloc() 82 size_t csize, usize; in base_alloc() local 90 csize = CACHELINE_CEILING(size); in base_alloc() 92 usize = s2u(csize); in base_alloc() 101 node = base_chunk_alloc(csize); in base_alloc() [all …]
|
| /NextBSD/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
| HD | ddt_zap.c | 61 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 …]
|
| /NextBSD/lib/libedit/ |
| HD | chartype.c | 46 ct_conv_cbuff_resize(ct_buffer_t *conv, size_t csize) in ct_conv_cbuff_resize() argument 50 if (csize <= conv->csize) in ct_conv_cbuff_resize() 53 conv->csize = csize; in ct_conv_cbuff_resize() 55 p = el_realloc(conv->cbuff, conv->csize * sizeof(*conv->cbuff)); in ct_conv_cbuff_resize() 57 conv->csize = 0; in ct_conv_cbuff_resize() 100 if ((conv->csize - (size_t)used) < 5) { in ct_encode_string() 102 conv->csize + CT_BUFSIZ) == -1) in ct_encode_string()
|
| /NextBSD/lib/libstand/ |
| HD | ufs.c | 730 size_t csize; local 744 csize = size; 745 if (csize > buf_size) 746 csize = buf_size; 748 bcopy(buf, addr, csize); 750 fp->f_seekp += csize; 751 addr += csize; 752 size -= csize; 772 size_t csize; local 776 csize = size; [all …]
|
| HD | ext2fs.c | 820 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()
|
| HD | cd9660.c | 463 size_t buf_size, csize; in cd9660_read() local 475 csize = size > buf_size ? buf_size : size; in cd9660_read() 476 bcopy(buf, addr, csize); in cd9660_read() 478 fp->f_off += csize; in cd9660_read() 479 addr += csize; in cd9660_read() 480 size -= csize; in cd9660_read()
|
| HD | nandfs.c | 454 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()
|
| /NextBSD/contrib/flex/ |
| HD | main.c | 56 csize; variable 258 if (csize == unspecified) { in check_options() 260 csize = DEFAULT_CSIZE; in check_options() 262 csize = CSIZE; in check_options() 312 for (i = 2; i <= csize; ++i) { in check_options() 317 nextecm[csize] = NIL; in check_options() 322 for (i = 1; i <= csize; ++i) { in check_options() 780 if (csize == unspecified) 785 csize = 256; 787 if (csize == 128) [all …]
|
| HD | ccl.c | 99 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]) ;
|
| HD | parse.y | 90 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 );
|
| HD | dfa.c | 197 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) {
|
| HD | gen.c | 444 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()
|
| /NextBSD/contrib/libarchive/libarchive/ |
| HD | archive_write_add_filter_lzop.c | 327 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()
|
| /NextBSD/contrib/nvi/common/ |
| HD | util.c | 51 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()
|
| /NextBSD/sys/libkern/ |
| HD | iconv.c | 188 int csize, ucsto, ucsfrom; in iconv_register_cspair() local 192 csize = sizeof(*csp); in iconv_register_cspair() 195 csize += strlen(to) + 1; in iconv_register_cspair() 198 csize += strlen(from) + 1; in iconv_register_cspair() 199 csp = malloc(csize, M_ICONV, M_WAITOK); in iconv_register_cspair() 200 bzero(csp, csize); in iconv_register_cspair()
|
| /NextBSD/sys/geom/ |
| HD | geom_sunlabel.c | 72 u_int u, v, csize; in g_sunlabel_modify() local 80 csize = sl.sl_ntracks * sl.sl_nsectors; in g_sunlabel_modify() 86 ((off_t)v * csize) << 9ULL, in g_sunlabel_modify() 97 ((off_t)v * csize) << 9ULL, in g_sunlabel_modify()
|
| /NextBSD/sys/arm/arm/ |
| HD | cpufunc.c | 722 u_int clevel, csize, i, sel; in get_cachetype_cp15() local 759 : "=r" (csize)); in get_cachetype_cp15() 760 arm_cache_type[sel] = csize; in get_cachetype_cp15() 762 (CPUV7_CT_xSIZE_LEN(csize) + 4); in get_cachetype_cp15() 770 : "=r" (csize)); in get_cachetype_cp15() 771 arm_cache_type[sel] = csize; in get_cachetype_cp15()
|
| HD | elf_trampoline.c | 262 u_int clevel, csize, i, sel; in get_cachetype_cp15() local 300 : "=r" (csize)); in get_cachetype_cp15() 301 arm_cache_type[sel] = csize; in get_cachetype_cp15() 308 : "=r" (csize)); in get_cachetype_cp15() 309 arm_cache_type[sel] = csize; in get_cachetype_cp15()
|
| /NextBSD/usr.bin/lex/ |
| HD | initparse.c | 75 for ( c = 0; c < csize; ++c ) \ 84 for ( c = 0; c < csize; ++c ) \ 1464 ecgroup, csize, csize ); in YYPARSE_DECL() 1473 ecgroup, csize, csize ); in YYPARSE_DECL() 1495 nextecm, ecgroup, csize, csize ); in YYPARSE_DECL()
|
| /NextBSD/contrib/gdb/gdb/ |
| HD | dcache.c | 494 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()
|
| /NextBSD/sys/contrib/octeon-sdk/ |
| HD | cvmx-dma-engine.c | 128 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()
|
| /NextBSD/contrib/libarchive/cpio/test/ |
| HD | test.h | 198 #define assertMakeBinFile(path, mode, csize, contents) \ argument 199 assertion_make_file(__FILE__, __LINE__, path, mode, csize, contents)
|
| /NextBSD/contrib/libarchive/tar/test/ |
| HD | test.h | 200 #define assertMakeBinFile(path, mode, csize, contents) \ argument 201 assertion_make_file(__FILE__, __LINE__, path, mode, csize, contents)
|
| /NextBSD/contrib/gcc/ |
| HD | tree-dfa.c | 927 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()
|
| /NextBSD/contrib/libarchive/libarchive/test/ |
| HD | test.h | 198 #define assertMakeBinFile(path, mode, csize, contents) \ argument 199 assertion_make_file(__FILE__, __LINE__, path, mode, csize, contents)
|