Searched refs:bufcount (Results 1 - 13 of 13) sorted by relevance

/haiku/src/libs/iconv/
H A Dloop_wchar.h145 size_t bufcount = 0; local
148 size_t count = wcrtomb(buf+bufcount,*inptr,&state);
193 bufcount += count;
200 size_t bufleft = bufcount;
215 if (bufcount + MB_CUR_MAX > BUF_SIZE)
247 size_t bufcount = wcrtomb(buf,(wchar_t)0,&state); local
248 if (bufcount == (size_t)(-1) || bufcount == 0 || buf[bufcount-1] != '\0')
252 size_t bufleft = bufcount
346 size_t bufcount = bufptr-buf; /* = BUF_SIZE-bufleft */ local
[all...]
/haiku/src/add-ons/kernel/drivers/audio/ac97/es1370/
H A Des1370.h60 uint8 bufcount; member in struct:_es1370_stream
134 es1370_stream *es1370_stream_new(es1370_dev *card, uint8 use, uint32 bufframes, uint8 bufcount);
H A Des1370.c130 stream->buffer = es1370_mem_alloc(stream->card, stream->bufframes * frame_size * stream->bufcount);
133 stream->blkmod = stream->bufcount;
157 es1370_reg_write_32(&card->config, ES1370_REG_ADC_FRAMECNT & 0xff, ((stream->blksize * stream->bufcount) >> 2) - 1);
162 es1370_reg_write_32(&card->config, ES1370_REG_DAC2_FRAMECNT & 0xff, ((stream->blksize * stream->bufcount) >> 2) - 1);
165 ((stream->blksize * stream->bufcount) >> 2) - 1,
269 es1370_stream_new(es1370_dev *card, uint8 use, uint32 bufframes, uint8 bufcount) argument
285 stream->bufcount = bufcount;
H A Dmulti.c551 uint8 i, j, pchannels, rchannels, bufcount; local
584 bufcount = current_settings.buffer_count;
585 if (bufcount > data->request_playback_buffers)
586 bufcount = data->request_playback_buffers;
588 for (i = 0; i < bufcount; i++) {
605 bufcount = current_settings.buffer_count;
606 if (bufcount > data->request_record_buffers)
607 bufcount = data->request_record_buffers;
609 for (i = 0; i < bufcount; i++) {
/haiku/src/add-ons/kernel/drivers/audio/echo/
H A Decho.h69 uint8 bufcount; member in struct:_echo_stream
151 echo_stream *echo_stream_new(echo_dev *card, uint8 use, uint32 bufframes, uint8 bufcount);
H A Decho.cpp255 stream->bufframes * frame_size * stream->bufcount);
258 stream->blkmod = stream->bufcount;
269 for (i = 0; i < stream->bufcount; i++) {
346 echo_stream_new(echo_dev *card, uint8 use, uint32 bufframes, uint8 bufcount) argument
362 stream->bufcount = bufcount;
/haiku/src/add-ons/kernel/drivers/audio/ac97/auvia/
H A Dauvia.h103 uint8 bufcount; member in struct:_auvia_stream
167 auvia_stream *auvia_stream_new(auvia_dev *card, uint8 use, uint32 bufframes, uint8 bufcount);
H A Dauvia.c150 * frame_size * stream->bufcount);
153 stream->blkmod = stream->bufcount;
170 for(i = 0; i < stream->bufcount; i++) {
175 page[2 * stream->bufcount - 1] &= ~AUVIA_DMAOP_FLAG;
176 page[2 * stream->bufcount - 1] |= AUVIA_DMAOP_EOL;
294 auvia_stream_new(auvia_dev *card, uint8 use, uint32 bufframes, uint8 bufcount) argument
310 stream->bufcount = bufcount;
/haiku/src/add-ons/kernel/drivers/audio/ac97/auich/
H A Dauich.h114 uint8 bufcount; member in struct:_auich_stream
192 auich_stream *auich_stream_new(auich_dev *card, uint8 use, uint32 bufframes, uint8 bufcount);
H A Dmulti.c769 uint8 i, j, pchannels, rchannels, bufcount; local
798 bufcount = current_settings.buffer_count;
799 if (bufcount > data->request_playback_buffers)
800 bufcount = data->request_playback_buffers;
802 for (i = 0; i < bufcount; i++) {
818 bufcount = current_settings.buffer_count;
819 if (bufcount > data->request_record_buffers)
820 bufcount = data->request_record_buffers;
822 for (i = 0; i < bufcount; i++) {
H A Dauich.c179 stream->buffer = auich_mem_alloc(stream->card, stream->bufframes * frame_size * stream->bufcount);
182 stream->blkmod = stream->bufcount;
217 + (i % stream->bufcount) * stream->blksize;
310 auich_stream_new(auich_dev *card, uint8 use, uint32 bufframes, uint8 bufcount) argument
326 stream->bufcount = bufcount;
/haiku/src/add-ons/kernel/drivers/audio/emuxki/
H A Demuxki.h296 uint8 bufcount; member in struct:_emuxki_stream
420 emuxki_stream *emuxki_stream_new(emuxki_dev *card, uint8 use, uint32 bufframes, uint8 bufcount);
H A Demuxki.c1526 * frame_size * stream->bufcount);
1529 * frame_size * stream->bufcount);
1532 stream->bufframes * frame_size * stream->bufcount,
1597 if (buf >= stream->bufcount)
1668 emuxki_stream_new(emuxki_dev *card, uint8 use, uint32 bufframes, uint8 bufcount) argument
1686 stream->bufcount = bufcount;

Completed in 71 milliseconds