Lines Matching defs:length
45 * Max title length; the only thing MSDN tells us about the maximum length
47 * it is much smaller, and there is no way to figure out what the exact length
50 * than the actual maximum length. So we make a conservative guess here;
59 /* Max user name length, from iphlpapi.h */
124 /* utf16_len contains the length, *not* including the terminating null. */
178 /* utf16_len contains the length, *not* including the terminating null. */
396 int length;
402 length = MultiByteToWideChar(CP_UTF8, 0, title, -1, NULL, 0);
403 if (!length) {
409 title_w = (WCHAR*)uv__malloc(sizeof(WCHAR) * length);
414 length = MultiByteToWideChar(CP_UTF8, 0, title, -1, title_w, length);
415 if (!length) {
421 if (length > MAX_TITLE_LENGTH) {
1400 /* Using buf + 1 here because we know that `buf` has length at least 1,