Home
last modified time | relevance | path

Searched refs:maxlength (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/lib/
H A Ducs2_string.c7 ucs2_strnlen(const ucs2_char_t *s, size_t maxlength) in ucs2_strnlen() argument
11 while (*s++ != 0 && length < maxlength) in ucs2_strnlen()
29 ucs2_strsize(const ucs2_char_t *data, unsigned long maxlength) in ucs2_strsize() argument
87 unsigned long limit = ucs2_strnlen(src, maxlength); in ucs2_as_utf8()
89 for (i = 0; maxlength && i < limit; i++) { in ucs2_as_utf8()
93 if (maxlength < 3) in ucs2_as_utf8()
95 maxlength -= 3; in ucs2_as_utf8()
100 if (maxlength < 2) in ucs2_as_utf8()
102 maxlength -= 2; in ucs2_as_utf8()
106 maxlength -= 1; in ucs2_as_utf8()
[all …]
/openbmc/linux/include/linux/
H A Ducs2_string.h10 unsigned long ucs2_strnlen(const ucs2_char_t *s, size_t maxlength);
12 unsigned long ucs2_strsize(const ucs2_char_t *data, unsigned long maxlength);
17 unsigned long maxlength);
/openbmc/openbmc/poky/meta/lib/patchtest/tests/
H A Dtest_mbox.py37 maxlength = 90 variable in TestMbox
90 if l > self.maxlength:
91 …Edit shortlog so that it is %d characters or less (currently %d characters)' % (self.maxlength, l),
/openbmc/qemu/audio/
H A Dpaaudio.c532 ba.maxlength = -1; in qpa_init_out()
579 ba.maxlength = pa_usec_to_bytes( in qpa_init_in()
/openbmc/linux/drivers/hsi/clients/
H A Dcmt_speech.c180 static void cs_notify_data(u32 message, int maxlength) in cs_notify_data() argument
186 while (cs_char_data.dataind_pending > maxlength && in cs_notify_data()