Home
last modified time | relevance | path

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

12

/openbsd-src/usr.bin/aucat/
H A Dafile.c275 afile_wav_readfmt(struct afile *f, unsigned int csize) in afile_checkpar()
280 if (csize < WAV_FMT_SIZE) { in afile_checkpar()
281 logx(1, "%s: %u: bogus format chunk size", f->path, csize); in afile_checkpar()
284 if (csize > WAV_FMT_EXT_SIZE) in afile_checkpar()
285 csize = WAV_FMT_EXT_SIZE; in afile_checkpar()
286 if (read(f->fd, &fmt, csize) != csize) { in afile_checkpar()
293 if (csize != WAV_FMT_EXT_SIZE) { in afile_wav_readfmt()
340 unsigned int csize, rsize, pos = 0; in afile_wav_readfmt()
360 csize in afile_wav_readhdr()
290 afile_wav_readfmt(struct afile * f,unsigned int csize) afile_wav_readfmt() argument
362 unsigned int csize, rsize, pos = 0; afile_wav_readhdr() local
452 afile_aiff_readcomm(struct afile * f,unsigned int csize,int comp,unsigned int * nfr) afile_aiff_readcomm() argument
513 afile_aiff_readdata(struct afile * f,unsigned int csize,unsigned int * roffs) afile_aiff_readdata() argument
539 unsigned int csize, rsize, nfr = 0, pos = 0, offs; afile_aiff_readhdr() local
[all...]
/openbsd-src/usr.bin/vi/common/
H A Dutil.c38 size_t csize; in binc() local
44 csize = *bsizep + MAXIMUM(min, 256); in binc()
45 REALLOC(sp, bp, csize); in binc()
55 memset((char *)bp + *bsizep, 0, csize - *bsizep); in binc()
56 *bsizep = csize; in binc()
/openbsd-src/usr.bin/lex/
H A Dmain.c58 int C_plus_plus, long_align, use_read, yytext_is_array, do_yywrap, csize; variable
251 if (csize == unspecified) { in check_options()
253 csize = DEFAULT_CSIZE; in check_options()
255 csize = CSIZE; in check_options()
297 * We loop all the way up to csize, since ecgroup[csize] is in check_options()
302 for (i = 2; i <= csize; ++i) { in check_options()
307 nextecm[csize] = NIL; in check_options()
310 for (i = 1; i <= csize; ++i) { in check_options()
756 if (csize
[all...]
H A Dccl.c100 for (i = 0; i < csize; ++i) { in dump_cclp()
108 while (++i < csize && ccl_contains(cclp, i)); in dump_cclp()
138 for (ch = 0; ch < csize; ++ch) in ccl_set_diff()
253 for (i = 0; i < csize; ++i) {
261 while (++i < csize && cset[i]);
H A Dparse.y92 for ( c = 0; c < csize; ++c ) \
101 for ( c = 0; c < csize; ++c ) \
701 ecgroup, csize, csize );
710 ecgroup, csize, csize );
731 nextecm, ecgroup, csize, csize );
H A Ddfa.c191 for (i = 0; i < csize; ++i) {
201 for (i = 0; i < csize; ++i)
413 for (i = 0; i <= csize; ++i) { in ntod()
464 int use_NUL_table = (numecs == csize); in ntod()
472 for (power_of_two = 1; power_of_two <= csize; in ntod()
1038 if (tch < -lastccl || tch >= csize) {
H A Dgen.c459 tbl->td_lolen = csize; in mkecstbl()
464 for (i = 1; i < csize; ++i) { in mkecstbl()
484 out_str_dec(get_int32_decl(), "yy_ec", csize); in genecs()
486 for (i = 1; i < csize; ++i) { in genecs()
496 numrows = csize / 8; in genecs()
499 for (i = j; i < csize; i = i + numrows) { in genecs()
H A Dnfa.c655 /* Map NUL's to csize. */
656 mkechar(sym ? sym : csize, nextecm, ecgroup);
H A Dmisc.c216 if (c >= csize)
H A Dflexdef.h350 * csize - size of character set for the scanner we're generating;
372 extern int csize;
/openbsd-src/lib/libc/gen/
H A Dpw_dup.c51 size_t nsize, psize, csize, gsize, dsize, ssize, total; in pw_dup() local
58 PW_SIZE(pw_class, csize); in pw_dup()
76 PW_COPY(pw_class, csize); in pw_dup()
/openbsd-src/lib/libedit/
H A Dchartype.c49 if (mincsize > conv->csize) { in ct_conv_buff_resize()
50 conv->csize = mincsize; in ct_conv_buff_resize()
51 p = reallocarray(conv->cbuff, conv->csize, sizeof(char)); in ct_conv_buff_resize()
53 conv->csize = 0; in ct_conv_buff_resize()
88 used = conv->csize - (dst - conv->cbuff); in ct_encode_string()
91 ct_conv_buff_resize(conv, conv->csize + CT_BUFSIZ, 0); in ct_encode_string()
H A Dchartype.h58 size_t csize; member
H A Deln.c296 if (!el->el_lgcyconv.csize) in el_get()
/openbsd-src/sys/lib/libsa/
H A Dufs2.c615 size_t csize, buf_size; in ufs2_read() local
626 csize = size; in ufs2_read()
627 if (csize > buf_size) in ufs2_read()
628 csize = buf_size; in ufs2_read()
630 bcopy(buf, addr, csize); in ufs2_read()
632 fp->f_seekp += csize; in ufs2_read()
633 addr += csize; in ufs2_read()
634 size -= csize; in ufs2_read()
H A Dufs.c619 size_t csize, buf_size; in ufs_read() local
630 csize = size; in ufs_read()
631 if (csize > buf_size) in ufs_read()
632 csize = buf_size; in ufs_read()
634 bcopy(buf, addr, csize); in ufs_read()
636 fp->f_seekp += csize; in ufs_read()
637 addr += csize; in ufs_read()
638 size -= csize; in ufs_read()
/openbsd-src/sys/arch/landisk/stand/xxboot/
H A Dufs12.c684 size_t csize, buf_size; in ufs12_read() local
700 csize = size; in ufs12_read()
701 if (csize > buf_size) in ufs12_read()
702 csize = buf_size; in ufs12_read()
704 bcopy(buf, addr, csize); in ufs12_read()
706 fp->f_seekp += csize; in ufs12_read()
707 addr += csize; in ufs12_read()
708 size -= csize; in ufs12_read()
/openbsd-src/sys/arch/riscv64/riscv64/
H A Dmachdep.c685 uint32_t csize, size = round_page(fdt_get_size(config)); in initriscv()
691 for (va = vstart, csize = size; csize > 0; in initriscv()
692 csize -= PAGE_SIZE, va += PAGE_SIZE, pa += PAGE_SIZE) in initriscv()
701 uint32_t csize, size = round_page(mmap_size); in initriscv()
715 for (va = vstart, csize = size; csize > 0; in initriscv()
716 csize -= PAGE_SIZE, va += PAGE_SIZE, pa += PAGE_SIZE) in initriscv()
686 uint32_t csize, size = round_page(fdt_get_size(config)); initriscv() local
702 uint32_t csize, size = round_page(mmap_size); initriscv() local
/openbsd-src/sys/arch/arm64/arm64/
H A Dmachdep.c939 uint32_t csize, size = round_page(fdt_get_size(config)); in initarm()
945 for (va = vstart, csize = size; csize > 0; in initarm()
946 csize -= PAGE_SIZE, va += PAGE_SIZE, pa += PAGE_SIZE) in initarm()
955 uint32_t csize, size = round_page(mmap_size); in initarm()
969 for (va = vstart, csize = size; csize > 0; in initarm()
970 csize -= PAGE_SIZE, va += PAGE_SIZE, pa += PAGE_SIZE) in initarm()
952 uint32_t csize, size = round_page(fdt_get_size(config)); initarm() local
968 uint32_t csize, size = round_page(mmap_size); initarm() local
/openbsd-src/gnu/usr.bin/binutils/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()
/openbsd-src/gnu/usr.bin/gcc/gcc/java/
H A Dzextract.c161 ulg csize; member
175 ulg csize; member
/openbsd-src/gnu/gcc/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()
H A Dggc-zone.c1010 size_t csize; in ggc_alloc_zone_stat() local
1143 csize = chunk->size; in ggc_alloc_zone_stat()
1144 if (csize > size) in ggc_alloc_zone_stat()
1151 zone->cached_free_size = csize - size; in ggc_alloc_zone_stat()
/openbsd-src/sys/kern/
H A Dkern_sig.c1917 size_t csize; in sys___thrsigdivert()
1920 csize = len; in sys___thrsigdivert()
1929 chunk = MIN(csize, MAXPHYS); in sys___thrsigdivert()
1949 csize -= chunk; in sys___thrsigdivert()
1950 } while (csize > 0); in sys___thrsigdivert()
1817 size_t csize; coredump_write() local
/openbsd-src/sys/dev/
H A Dsoftraid.c3089 int64_t csize; in sr_rebuild_init() local
3127 csize = 0; in sr_rebuild_init()
3132 csize = meta->scmi.scm_coerced_size; in sr_rebuild_init()
3136 if (csize == 0) { in sr_rebuild_init()
3182 if (size < csize) { in sr_rebuild_init()
3184 "required", devname, (long long)(csize << DEV_BSHIFT)); in sr_rebuild_init()
3186 } else if (size > csize) in sr_rebuild_init()
3188 devname, (long long)((size - csize) << DEV_BSHIFT)); in sr_rebuild_init()
3220 meta->scmi.scm_coerced_size = csize; in sr_rebuild_init()

12