Lines Matching refs:nm
50 utf8_len_of_ucs2(const CHAR16 *nm) in utf8_len_of_ucs2() argument
56 while (*nm) { in utf8_len_of_ucs2()
57 c = *nm++; in utf8_len_of_ucs2()
70 ucs2_to_utf8(const CHAR16 *nm, char **name) in ucs2_to_utf8() argument
77 sz = utf8_len_of_ucs2(nm) + 1; in ucs2_to_utf8()
86 while (*nm) { in ucs2_to_utf8()
87 c = *nm++; in ucs2_to_utf8()
122 CHAR16 *nm; in utf8_to_ucs2() local
133 nm = *nmp; in utf8_to_ucs2()
173 *nm++ = (CHAR16)ucs4; in utf8_to_ucs2()
179 free(nm); in utf8_to_ucs2()
185 *nm = 0; in utf8_to_ucs2()
190 free(nm); in utf8_to_ucs2()