Home | History | Annotate | Download | only in src

Lines Matching refs:pathname_

118   if (pathname_.EndsWithCaseInsensitive(dot_extension.c_str())) {
119 return FilePath(String(pathname_.c_str(), pathname_.length() - 4));
202 LPCWSTR unicode = String::AnsiToUtf16(pathname_.c_str());
208 return posix::Stat(pathname_.c_str(), &file_stat) == 0;
249 return pathname_.length() == 3 && IsAbsolutePath();
251 return pathname_.length() == 1 && IsPathSeparator(pathname_.c_str()[0]);
257 const char* const name = pathname_.c_str();
259 return pathname_.length() >= 3 &&
292 return !pathname_.empty() &&
293 IsPathSeparator(pathname_.c_str()[pathname_.length() - 1]);
304 if (pathname_.length() == 0 || this->DirectoryExists()) {
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) {
349 pathname_ = "";
352 const char* src = pathname_.c_str();
353 char* const dest = new char[pathname_.length() + 1];
355 memset(dest_ptr, 0, pathname_.length() + 1);
373 pathname_ = dest;