Home | History | Annotate | Download | only in src

Lines Matching refs:c_str

120   if (pathname_.EndsWithCaseInsensitive(dot_extension.c_str())) {
121 return FilePath(String(pathname_.c_str(), pathname_.length() - 4));
130 const char* const last_sep = strrchr(c_str(), kPathSeparator);
132 const char* const last_alt_sep = strrchr(c_str(), kAlternatePathSeparator);
163 dir = String(c_str(), last_sep + 1 - c_str());
182 file = String::Format("%s.%s", base_name.c_str(), extension);
184 file = String::Format("%s_%d.%s", base_name.c_str(), number, extension);
196 return FilePath(String::Format("%s%c%s", dir.c_str(), kPathSeparator,
197 relative_path.c_str()));
204 LPCWSTR unicode = String::AnsiToUtf16(pathname_.c_str());
210 return posix::Stat(pathname_.c_str(), &file_stat) == 0;
228 LPCWSTR unicode = String::AnsiToUtf16(path.c_str());
237 result = posix::Stat(path.c_str(), &file_stat) == 0 &&
253 return pathname_.length() == 1 && IsPathSeparator(pathname_.c_str()[0]);
259 const char* const name = pathname_.c_str();
295 IsPathSeparator(pathname_.c_str()[pathname_.length() - 1]);
321 LPCWSTR unicode = String::AnsiToUtf16(removed_sep.c_str());
325 int result = _mkdir(pathname_.c_str());
327 int result = mkdir(pathname_.c_str(), 0777);
341 ? FilePath(String(pathname_.c_str(), pathname_.length() - 1))
350 if (pathname_.c_str() == NULL) {
354 const char* src = pathname_.c_str();