/external/libchrome/base/files/ |
scoped_temp_dir.cc | 16 if (!path_.empty() && !Delete()) 21 if (!path_.empty()) 26 if (!base::CreateNewTempDirectory(FILE_PATH_LITERAL("scoped_dir"), &path_)) 33 if (!path_.empty()) 43 &path_)) 50 if (!path_.empty()) 56 path_ = path; 61 if (path_.empty()) 64 bool ret = base::DeleteFile(path_, true); 67 path_.clear() [all...] |
scoped_temp_dir.h | 50 const FilePath& path() const { return path_; } 52 // Returns true if path_ is non-empty and exists. 56 FilePath path_; member in class:base::ScopedTempDir
|
file_path.cc | 175 FilePath::FilePath(const FilePath& that) : path_(that.path_) { 179 path.CopyToString(&path_); 180 StringType::size_type nul_pos = path_.find(kStringTerminator); 182 path_.erase(nul_pos, StringType::npos); 189 path_ = that.path_; 195 return EqualDriveLetterCaseInsensitive(this->path_, that.path_); 197 return path_ == that.path_ [all...] |
/external/google-breakpad/src/client/linux/handler/ |
minidump_descriptor.cc | 49 // with a valid path_, as getting its c_path_ would require the heap which 51 assert(descriptor.path_.empty()); 56 assert(descriptor.path_.empty()); 61 path_.clear(); 80 path_.clear(); 81 path_ = directory_ + "/" + guid_str + ".dmp"; 82 c_path_ = path_.c_str();
|
/system/connectivity/shill/ |
resolver_unittest.cc | 58 path_ = temp_dir_.path().Append("resolver"); 59 resolver_->set_path(path_); 72 FilePath path_; member in class:shill::ResolverTest 77 EXPECT_TRUE(base::ReadFileToString(resolver_->path_, &data)); 82 EXPECT_FALSE(base::PathExists(path_)); 94 EXPECT_TRUE(base::PathExists(path_)); 101 EXPECT_FALSE(base::PathExists(path_)); 108 EXPECT_FALSE(base::PathExists(path_)); 112 EXPECT_FALSE(base::PathExists(path_)); 127 EXPECT_TRUE(base::PathExists(path_)); [all...] |
http_url.cc | 82 path_ = url_string.substr(host_end); 83 if (path_.empty() || path_[0] != '/') { 84 path_ = "/" + path_;
|
http_url.h | 45 const std::string& path() const { return path_; } 56 std::string path_; member in class:shill::HTTPURL
|
resolver.cc | 103 SLOG(this, 2) << "Writing DNS out to " << path_.value(); 104 int count = base::WriteFile(path_, contents.c_str(), contents.size()); 112 CHECK(!path_.empty()); 114 return base::DeleteFile(path_, false);
|
key_file_store.cc | 63 path_(path) { 64 CHECK(!path_.empty()); 80 return base::GetFileSize(path_, &file_size) && file_size != 0; 88 LOG(INFO) << "Creating a new key file at " << path_.value(); 94 path_.value().c_str(), 100 LOG(ERROR) << "Failed to load key file from " << path_.value() << ": " 126 success = base::ImportantFileWriter::WriteFileAtomically(path_, data); 128 LOG(ERROR) << "Failed to store key file: " << path_.value(); 136 LOG(INFO) << "In " << __func__ << " for " << path_.value(); 137 string corrupted_path = path_.value() + kCorruptSuffix [all...] |
resolver.h | 48 virtual void set_path(const base::FilePath& path) { path_ = path; } 73 base::FilePath path_; member in class:shill::Resolver
|
/external/skia/experimental/SkV8Example/ |
Path2D.h | 35 return path_; 42 SkPath* path_; member in class:Path2D
|
Path2D.cpp | 21 Path2D::Path2D(SkPath* path) : path_(path) { 52 delete path_;
|
/external/google-breakpad/src/common/tests/ |
auto_tempdir.h | 57 path_.assign(temp_dir); 61 DeleteRecursively(path_); 65 return path_; 95 string path_; member in class:google_breakpad::AutoTempDir
|
/external/ImageMagick/Magick++/lib/ |
Functions.cpp | 43 MagickPPExport void Magick::InitializeMagick(const char *path_) 45 MagickCore::MagickCoreGenesis(path_,MagickFalse);
|
/external/webrtc/webrtc/base/ |
fileutils_mock.h | 71 path_ = path.pathname(); 74 if (path_.rfind(Pathname::DefaultFolderDelimiter()) != path_.size() - 1) 75 path_ += Pathname::DefaultFolderDelimiter(); 88 if (path_iterator_->first.find(path_) == 0 101 sub_path.find(Pathname::DefaultFolderDelimiter(), path_.size()); 110 size_t start = path_.size(); 123 std::string path_; member in class:rtc::FakeDirectoryIterator
|
httpcommon-inl.h | 73 path_.assign(1, static_cast<CTYPE>('/')); 76 path_.assign(val, path_length); 103 val->append(path_);
|
/frameworks/native/vulkan/libvulkan/ |
layers_extensions.cpp | 72 : path_(path), dlhandle_(nullptr), refcount_(0) {} 75 : path_(std::move(other.path_)), 97 const std::string path_; member in class:vulkan::api::__anon28853::LayerLibrary 107 ALOGV("opening layer library '%s'", path_.c_str()); 115 !android::base::StartsWith(path_, kSystemLayerLibraryDir)) { 119 dlhandle_ = android_dlopen_ext(path_.c_str(), RTLD_NOW | RTLD_LOCAL, 122 dlhandle_ = dlopen(path_.c_str(), RTLD_NOW | RTLD_LOCAL); 125 ALOGE("failed to load layer library '%s': %s", path_.c_str(), 137 ALOGV("closing layer library '%s'", path_.c_str()) [all...] |
/external/libchrome/sandbox/linux/syscall_broker/ |
broker_file_permission.cc | 55 const char* path = path_.c_str(); 119 *file_to_access = path_.c_str(); 195 *file_to_open = path_.c_str(); 216 : path_(path), 225 CHECK(path_.length() > 0) << GetErrorMessageForTests(); 227 CHECK(path_[0] == '/') << GetErrorMessageForTests(); 233 const char last_char = *(path_.rbegin());
|
/external/libchrome/base/test/ |
test_file_util_posix.cc | 99 : path_(path), info_(NULL), length_(0) { 100 info_ = GetPermissionInfo(path_, &length_); 106 if (!RestorePermissionInfo(path_, info_, length_))
|
/external/ImageMagick/Magick++/lib/Magick++/ |
Functions.h | 29 MagickPPExport void InitializeMagick(const char *path_);
|
/external/google-breakpad/src/common/mac/ |
file_id.cc | 48 strlcpy(path_, path, sizeof(path_)); 52 int fd = open(path_, O_RDONLY); 76 MachoID macho(path_);
|
macho_id.cc | 64 strlcpy(path_, path, sizeof(path_)); 73 strlcpy(path_, path, sizeof(path_)); 194 for (int j = 0, i = (int)strlen(path_)-1; i>=0 && path_[i]!='/'; ++j, --i) { 195 identifier[j%4] += path_[i]; 247 MachoWalker walker(path_, callback, context);
|
/external/opencv3/modules/videostab/src/ |
frame_source.cpp | 63 : path_(path), volatileFrame_(volatileFrame) { reset(); } 69 vc.open(path_); 71 CV_Error(0, "can't open file: " + path_); 99 String path_; member in class:cv::videostab::__anon21288::VideoFileSourceImpl
|
/build/tools/ijar/ |
zip_main.cc | 92 char path_[PATH_MAX]; local 94 strncpy(path_, path, PATH_MAX); 95 path_[PATH_MAX-1] = 0; 96 char *pointer = path_; 98 if (path_ != pointer) { // skip leading slash 100 if (stat(path_, &statst) != 0) { 101 if (mkdir(path_, mode) < 0) { 103 path_, strerror(errno));
|
/system/extras/simpleperf/ |
dso.h | 66 return path_; 101 const std::string path_; member in struct:Dso
|