Home
last modified time | relevance | path

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

/reactos/dll/shellext/shellbtrfs/
H A Dmain.cpp741 auto utf16len = MultiByteToWideChar(CP_UTF8, 0, utf8.data(), (int)utf8.length(), nullptr, 0); in utf8_to_utf16() local
743 if (utf16len == 0) in utf8_to_utf16()
746 buf = (WCHAR*)malloc((utf16len + 1) * sizeof(WCHAR)); in utf8_to_utf16()
751 if (MultiByteToWideChar(CP_UTF8, 0, utf8.data(), (int)utf8.length(), buf, utf16len) == 0) { in utf8_to_utf16()
757 buf[utf16len] = 0; in utf8_to_utf16()
/reactos/drivers/filesystems/btrfs/
H A Dcreate.c556 ULONG utf16len; variable
568 Status = utf8_to_utf16(NULL, 0, &utf16len, di->name, di->n);
598 dc->name.MaximumLength = dc->name.Length = (uint16_t)utf16len;
607 Status = utf8_to_utf16(dc->name.Buffer, utf16len, &utf16len, di->name, di->n);
1092 ULONG utf16len; variable
1094 …Status = utf8_to_utf16(NULL, 0, &utf16len, &di->name[sizeof(xapref) - 1], di->n + 1 - sizeof(xapre…
1121 dc->name.MaximumLength = dc->name.Length = (uint16_t)utf16len;
1131 … Status = utf8_to_utf16(dc->name.Buffer, utf16len, &utf16len, dc->utf8.Buffer, dc->utf8.Length);
H A Dscrub.c57 ULONG utf16len; in log_file_checksum_error() local
281 Status = utf8_to_utf16(NULL, 0, &utf16len, fn.Buffer, fn.Length); in log_file_checksum_error()
288 …err = ExAllocatePoolWithTag(PagedPool, offsetof(scrub_error, data.filename[0]) + utf16len, ALLOC_T… in log_file_checksum_error()
303 err->data.filename_length = (uint16_t)utf16len; in log_file_checksum_error()
305 Status = utf8_to_utf16(err->data.filename, utf16len, &utf16len, fn.Buffer, fn.Length); in log_file_checksum_error()