Lines Matching refs:insize
60 size_t insize)
62 if ((input[0] & 0x80) == 0 && insize >= 1) {
66 if ((input[0] & 0xe0) == 0xc0 && insize >= 2) {
71 if ((input[0] & 0xf0) == 0xe0 && insize >= 3) {
77 if ((input[0] & 0xf8) == 0xf0 && insize >= 4) {
84 if ((input[0] & 0xfc) == 0xf8 && insize >= 5) {
92 if ((input[0] & 0xfe) == 0xfc && insize >= 6) {
121 size_t insize)
127 while ((size_t)(inp - input) < insize && *inp) {
128 inp = utf8_to_wchar(inp, &wc, insize - (inp - input));
144 size_t insize)
147 if (insize < 2 || (le16_to_cpu(input[1]) & 0xfc00) != 0xdc00)
207 size_t insize)
213 while ((size_t)(inp - input) < insize && le16_to_cpu(*inp)) {
214 inp = utf16_to_wchar(inp, &wc, insize - (inp - input));