Lines Matching defs:src
1958 string CanonicalizeSpecPath(string &src)
1962 if (!_fullpath(resolvedPath, src.c_str(), PATH_MAX)) {
1963 WRITE_LOG(LOG_FATAL, "_fullpath %s failed", src.c_str());
1967 if (realpath(src.c_str(), resolvedPath) == nullptr) {
1968 WRITE_LOG(LOG_FATAL, "realpath %s failed", src.c_str());
1976 string UnicodeToUtf8(const char *src, bool reverse)
1986 count = MultiByteToWideChar(from, 0, src, -1, nullptr, 0);
1989 WRITE_LOG(LOG_FATAL, "MultiByteToWideChar failed %s error:%lu", src, err);
1997 count = MultiByteToWideChar(from, 0, src, -1, wstr, count);
2000 WRITE_LOG(LOG_FATAL, "MultiByteToWideChar failed to wstr %s error:%lu", src, err);
2030 string rc(src);