Lines Matching defs:ub
269 LPWSTR ub;
285 ub = 0;
338 ub = (LPWSTR)*fb;
342 else if (!(ub = (LPWSTR)malloc(un * sizeof(WCHAR))))
344 else if (!(un = MultiByteToWideChar(cc->from.index, 0, (LPCSTR)*fb, (int)*fn, (LPWSTR)ub, un)))
351 if (tz = WideCharToMultiByte(cc->to.index, 0, (LPCWSTR)ub, un, *tb, *tn, 0, 0))
365 while (!(fz = MultiByteToWideChar(cc->from.index, 0, (LPCSTR)*fb, (int)bz, (LPWSTR)ub, un)))
368 if (!(tz = WideCharToMultiByte(cc->to.index, 0, (LPCWSTR)ub, fz, *tb, 0, 0, 0)))
386 if (!(tz = WideCharToMultiByte(cc->to.index, 0, (LPCWSTR)ub, fz, *tb, tz, 0, 0)))
395 if (ub != (LPWSTR)*fb)
396 free(ub);
405 if (ub && ub != (LPWSTR)*fb)
406 free(ub);