Lines Matching refs:c_str
143 const char* const last_sep = strrchr(c_str(), kPathSeparator); in FindLastPathSeparator()
145 const char* const last_alt_sep = strrchr(c_str(), kAlternatePathSeparator); in FindLastPathSeparator()
214 dir = std::string(c_str(), static_cast<size_t>(last_sep + 1 - c_str())); in RemoveFileName()
253 LPCWSTR unicode = String::AnsiToUtf16(pathname_.c_str()); in FileOrDirectoryExists()
259 return posix::Stat(pathname_.c_str(), &file_stat) == 0; in FileOrDirectoryExists()
277 LPCWSTR unicode = String::AnsiToUtf16(path.c_str()); in DirectoryExists()
287 posix::Stat(path.c_str(), &file_stat) == 0 && posix::IsDir(file_stat); in DirectoryExists()
328 IsPathSeparator(pathname_.c_str()[pathname_.length() - 1]); in IsDirectory()
354 LPCWSTR unicode = String::AnsiToUtf16(removed_sep.c_str()); in CreateFolder()
358 int result = _mkdir(pathname_.c_str()); in CreateFolder()
365 int result = mkdir(pathname_.c_str(), 0777); in CreateFolder()