Lines Matching defs:count
119 static int extra_decode_xrpn(snd_midi_event_t *dev, unsigned char *buf, int count, const snd_seq_event_t *ev);
303 * \param[in] count Number of bytes in \a buf.
307 * This function tries to use up to \a count bytes from the beginning of the
362 long snd_midi_event_encode(snd_midi_event_t *dev, const unsigned char *buf, long count, snd_seq_event_t *ev)
369 while (count-- > 0) {
511 * \param[in] count Number of bytes in \a buf.
552 * <dt>-ENOMEM<dd>The MIDI message(s) would not fit into \a count bytes.
559 long snd_midi_event_decode(snd_midi_event_t *dev, unsigned char *buf, long count, const snd_seq_event_t *ev)
574 return extra_event[type].decode(dev, buf, count, ev);
589 if (count < qlen)
613 if (count < qlen)
657 static int extra_decode_ctrl14(snd_midi_event_t *dev, unsigned char *buf, int count, const snd_seq_event_t *ev)
664 if (count < 4)
666 if (dev->nostat && count < 6)
669 if (count < 5)
680 if (count < 2)
683 if (count < 3)
694 static int extra_decode_xrpn(snd_midi_event_t *dev, unsigned char *buf, int count, const snd_seq_event_t *ev)
709 if (count < 8)
711 if (dev->nostat && count < 12)
719 if (count < 9)