Home | History | Annotate | Download | only in src

Lines Matching full:c_str

118   if (pathname_.EndsWithCaseInsensitive(dot_extension.c_str())) {
119 return FilePath(String(pathname_.c_str(), pathname_.length() - 4));
128 const char* const last_sep = strrchr(c_str(), kPathSeparator);
130 const char* const last_alt_sep = strrchr(c_str(), kAlternatePathSeparator);
161 dir = String(c_str(), last_sep + 1 - c_str());
180 file = String::Format("%s.%s", base_name.c_str(), extension);
182 file = String::Format("%s_%d.%s", base_name.c_str(), number, extension);
194 return FilePath(String::Format("%s%c%s", dir.c_str(), kPathSeparator,
195 relative_path.c_str()));
202 LPCWSTR unicode = String::AnsiToUtf16(pathname_.c_str());
208 return posix::Stat(pathname_.c_str(), &file_stat) == 0;
226 LPCWSTR unicode = String::AnsiToUtf16(path.c_str());
235 result = posix::Stat(path.c_str(), &file_stat) == 0 &&
251 return pathname_.length() == 1 && IsPathSeparator(pathname_.c_str()[0]);
257 const char* const name = pathname_.c_str();
293 IsPathSeparator(pathname_.c_str()[pathname_.length() - 1]);
319 LPCWSTR unicode = String::AnsiToUtf16(removed_sep.c_str());
323 int result = _mkdir(pathname_.c_str());
325 int result = mkdir(pathname_.c_str(), 0777);
339 ? FilePath(String(pathname_.c_str(), pathname_.length() - 1))
348 if (pathname_.c_str() == NULL) {
352 const char* src = pathname_.c_str();