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

/haiku-fatelf/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-fatelf/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);
164 LOG(("es1370_stream_commit_parms %ld %ld\n", ((stream->blksize * stream->bufcount) >> 2) - 1, (stream->blksize / frame_size) - 1));
267 es1370_stream_new(es1370_dev *card, uint8 use, uint32 bufframes, uint8 bufcount) argument
283 stream->bufcount = bufcount;
H A Dmulti.c522 uint8 i, j, pchannels, rchannels, bufcount; local
549 bufcount = current_settings.buffer_count;
550 if (bufcount > data->request_playback_buffers)
551 bufcount = data->request_playback_buffers;
553 for (i = 0; i < bufcount; i++)
563 bufcount = current_settings.buffer_count;
564 if (bufcount > data->request_record_buffers)
565 bufcount = data->request_record_buffers;
567 for (i = 0; i < bufcount; i++)
/haiku-fatelf/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++) {
176 page[2*stream->bufcount - 1] &= ~AUVIA_DMAOP_FLAG;
177 page[2*stream->bufcount - 1] |= AUVIA_DMAOP_EOL;
295 auvia_stream_new(auvia_dev *card, uint8 use, uint32 bufframes, uint8 bufcount) argument
311 stream->bufcount = bufcount;
/haiku-fatelf/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-fatelf/src/add-ons/kernel/drivers/audio/ac97/auich/
H A Dauich.h113 uint8 bufcount; member in struct:_auich_stream
191 auich_stream *auich_stream_new(auich_dev *card, uint8 use, uint32 bufframes, uint8 bufcount);
H A Dmulti.c764 uint8 i, j, pchannels, rchannels, bufcount; local
793 bufcount = current_settings.buffer_count;
794 if (bufcount > data->request_playback_buffers)
795 bufcount = data->request_playback_buffers;
797 for (i = 0; i < bufcount; i++)
807 bufcount = current_settings.buffer_count;
808 if (bufcount > data->request_record_buffers)
809 bufcount = data->request_record_buffers;
811 for (i = 0; i < bufcount; i++)
H A Dauich.c178 stream->buffer = auich_mem_alloc(stream->card, stream->bufframes * frame_size * stream->bufcount);
181 stream->blkmod = stream->bufcount;
216 + (i % stream->bufcount) * stream->blksize;
309 auich_stream_new(auich_dev *card, uint8 use, uint32 bufframes, uint8 bufcount) argument
325 stream->bufcount = bufcount;
/haiku-fatelf/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.c1524 * frame_size * stream->bufcount);
1527 * frame_size * stream->bufcount);
1530 stream->bufframes * frame_size * stream->bufcount,
1595 if (buf >= stream->bufcount)
1666 emuxki_stream_new(emuxki_dev *card, uint8 use, uint32 bufframes, uint8 bufcount) argument
1684 stream->bufcount = bufcount;

Completed in 199 milliseconds