Lines Matching refs:tfrom
2735 TCHAR *tfrom = NULL, *tto; in WIN32_rename() local
2740 tfrom = (TCHAR *)from; in WIN32_rename()
2745 tfrom = malloc(sizeof(*tfrom) * (flen + tlen)); in WIN32_rename()
2746 if (tfrom == NULL) in WIN32_rename()
2748 tto = tfrom + flen; in WIN32_rename()
2750 if (!MultiByteToWideChar(CP_ACP, 0, from, flen, (WCHAR *)tfrom, flen)) in WIN32_rename()
2753 tfrom[i] = (TCHAR)from[i]; in WIN32_rename()
2761 if (MoveFile(tfrom, tto)) in WIN32_rename()
2765 if (DeleteFile(tto) && MoveFile(tfrom, tto)) in WIN32_rename()
2778 if (tfrom != NULL && tfrom != (TCHAR *)from) in WIN32_rename()
2779 free(tfrom); in WIN32_rename()