Lines Matching refs:maxlen
689 size_t maxlen, unsigned char bytes, int offset)
694 if (!maxlen)
708 static int expand_sysex7(const uint32_t *ump, uint8_t *buf, size_t maxlen,
715 if (!maxlen)
723 *filled = expand_sysex_data(ump, buf, maxlen, bytes, 8);
728 static int expand_sysex8(const uint32_t *ump, uint8_t *buf, size_t maxlen,
735 if (!maxlen)
745 *filled = expand_sysex_data(ump, buf, maxlen, bytes - 1, 0);
754 * \param maxlen max buffer size in bytes
758 int snd_ump_msg_sysex_expand(const uint32_t *ump, uint8_t *buf, size_t maxlen,
763 return expand_sysex7(ump, buf, maxlen, filled);
765 return expand_sysex8(ump, buf, maxlen, filled);