Searched refs:ascii_len (Results 1 – 2 of 2) sorted by relevance
74 static int ascii_to_ucs2(const char *ascii, size_t ascii_len, in ascii_to_ucs2() argument76 size_t ulen = ascii_len * 2 + 2; in ascii_to_ucs2()77 if (ascii_len * 2 < ascii_len || ulen < ascii_len * 2) { in ascii_to_ucs2()
569 ascii2unicode(char ascii[], int ascii_len, u_char unicode[]) in ascii2unicode() argument573 BZERO(unicode, ascii_len * 2); in ascii2unicode()574 for (i = 0; i < ascii_len; i++) in ascii2unicode()