Lines Matching defs:len
28 int UTF8_getc(const unsigned char *str, int len, unsigned long *val)
33 if (len <= 0)
42 if (len < 2)
52 if (len < 3)
66 if (len < 4)
87 * where 'str' is a buffer containing 'len' characters. Returns the number of
88 * characters written, -1 if 'len' is too small or -2 if 'value' is out of
93 int UTF8_putc(unsigned char *str, int len, unsigned long value)
96 len = 4; /* Maximum we will need */
97 else if (len <= 0)
105 if (len < 2)
116 if (len < 3)
126 if (len < 4)