Home
last modified time | relevance | path

Searched refs:tfrom (Results 1 – 1 of 1) sorted by relevance

/freebsd/crypto/openssl/apps/lib/
H A Dapps.c2643 TCHAR *tfrom = NULL, *tto; in WIN32_rename() local
2648 tfrom = (TCHAR *)from; in WIN32_rename()
2653 tfrom = malloc(sizeof(*tfrom) * (flen + tlen)); in WIN32_rename()
2654 if (tfrom == NULL) in WIN32_rename()
2656 tto = tfrom + flen; in WIN32_rename()
2658 if (!MultiByteToWideChar(CP_ACP, 0, from, flen, (WCHAR *)tfrom, flen)) in WIN32_rename()
2661 tfrom[i] = (TCHAR)from[i]; in WIN32_rename()
2669 if (MoveFile(tfrom, tto)) in WIN32_rename()
2673 if (DeleteFile(tto) && MoveFile(tfrom, tto)) in WIN32_rename()
2686 if (tfrom != NULL && tfrom != (TCHAR *)from) in WIN32_rename()
[all …]