Lines Matching defs:length
101 DWORD length;
104 length = GetFullPathNameW(decoded_wstr, MAX_PATH, pname_buf, NULL);
105 if (length > MAX_PATH) {
106 pname_buf = PyMem_New(wchar_t, length);
108 length = GetFullPathNameW(decoded_wstr, length, pname_buf, NULL);
110 length = 0;
114 if (length) {
116 if (length >= 4 && name[3] == L'\\' &&
988 /* Reduce the length until we hit the final byte of a UTF-8 sequence
993 /* If we hit a length of 0, something has gone wrong. This shouldn't
997 * the original length and let the console API sort it out.