Lines Matching refs:newbuf
33 WCHAR *newbuf; in get_short_pathname() local
37 newbuf = malloc(len * sizeof(*newbuf)); in get_short_pathname()
38 if (newbuf == NULL) in get_short_pathname()
44 vim_free(newbuf); in get_short_pathname()
48 l = GetShortPathNameW(wfname, newbuf, len); in get_short_pathname()
53 WCHAR *newbuf_t = newbuf; in get_short_pathname()
54 newbuf = vim_realloc(newbuf, (l + 1) * sizeof(*newbuf)); in get_short_pathname()
55 if (newbuf == NULL) in get_short_pathname()
62 l = GetShortPathNameW(wfname, newbuf, l+1); in get_short_pathname()
66 char_u *p = utf16_to_enc(newbuf, NULL); in get_short_pathname()
76 vim_free(newbuf); in get_short_pathname()
81 vim_free(newbuf); in get_short_pathname()