Home | History | Annotate | Download | only in src

Lines Matching refs:pathname_

121   if (String::EndsWithCaseInsensitive(pathname_, dot_extension)) {
122 return FilePath(pathname_.substr(
123 0, pathname_.length() - dot_extension.length()));
206 LPCWSTR unicode = String::AnsiToUtf16(pathname_.c_str());
212 return posix::Stat(pathname_.c_str(), &file_stat) == 0;
253 return pathname_.length() == 3 && IsAbsolutePath();
255 return pathname_.length() == 1 && IsPathSeparator(pathname_.c_str()[0]);
261 const char* const name = pathname_.c_str();
263 return pathname_.length() >= 3 &&
296 return !pathname_.empty() &&
297 IsPathSeparator(pathname_.c_str()[pathname_.length() - 1]);
308 if (pathname_.length() == 0 || this->DirectoryExists()) {
327 int result = _mkdir(pathname_.c_str());
329 int result = mkdir(pathname_.c_str(), 0777);
343 ? FilePath(pathname_.substr(0, pathname_.length() - 1))
352 if (pathname_.c_str() == NULL) {
353 pathname_ = "";
356 const char* src = pathname_.c_str();
357 char* const dest = new char[pathname_.length() + 1];
359 memset(dest_ptr, 0, pathname_.length() + 1);
377 pathname_ = dest;