Home
last modified time | relevance | path

Searched refs:n_utf16 (Results 1 – 3 of 3) sorted by relevance

/dports/audio/praat/praat-6.2.03/melder/
H A Dmelder_textencoding.cpp598 int n_utf16 = 0; in Melder_32to8_fileSystem_inplace() local
602 unipath [n_utf16 ++] = (UniChar) kar; // including null byte; guarded truncation in Melder_32to8_fileSystem_inplace()
605 …unipath [n_utf16 ++] = (UniChar) (0x00'D800 | (kar >> 10)); // correct truncation, because UTF-3… in Melder_32to8_fileSystem_inplace()
606 unipath [n_utf16 ++] = (UniChar) (0x00'DC00 | (kar & 0x00'03FF)); in Melder_32to8_fileSystem_inplace()
608 unipath [n_utf16 ++] = UNICODE_REPLACEMENT_CHARACTER; in Melder_32to8_fileSystem_inplace()
611 unipath [n_utf16] = u'\0'; in Melder_32to8_fileSystem_inplace()
612 CFStringRef cfpath = CFStringCreateWithCharacters (nullptr, unipath, n_utf16); in Melder_32to8_fileSystem_inplace()
H A Dmelder_files.cpp102 integer n_utf16 = CFStringGetLength (cfpath2); in Melder_8bitFileRepresentationToStr32_inplace() local
104 for (integer i = 0; i < n_utf16; i ++) { in Melder_8bitFileRepresentationToStr32_inplace()
/dports/print/texinfo/texinfo-6.8/tp/Texinfo/XS/
H A Dxspara.c162 size_t n_utf16 = MultiByteToWideChar (CP_UTF8, MB_ERR_INVALID_CHARS, in mbrtowc() local
164 if (n_utf16 == 0) in mbrtowc()
179 if (n_utf16 > 1) in mbrtowc()