HomeSort by relevance Sort by last modified time
    Searched refs:Pathname (Results 1 - 25 of 36) sorted by null

1 2

  /external/chromium_org/third_party/webrtc/base/
unixfilesystem.h 39 virtual FileStream *OpenFile(const Pathname &filename,
44 virtual bool CreatePrivateFile(const Pathname &filename);
48 virtual bool DeleteFile(const Pathname &filename);
53 virtual bool DeleteEmptyFolder(const Pathname &folder);
59 virtual bool CreateFolder(const Pathname &pathname, mode_t mode);
62 virtual bool CreateFolder(const Pathname &pathname);
67 virtual bool MoveFile(const Pathname &old_path, const Pathname &new_path)
    [all...]
win32filesystem.h 22 virtual FileStream *OpenFile(const Pathname &filename,
27 virtual bool CreatePrivateFile(const Pathname &filename);
31 virtual bool DeleteFile(const Pathname &filename);
35 virtual bool DeleteEmptyFolder(const Pathname &folder);
40 virtual bool CreateFolder(const Pathname &pathname);
46 virtual bool MoveFile(const Pathname &old_path, const Pathname &new_path);
51 virtual bool MoveFolder(const Pathname &old_path, const Pathname &new_path)
    [all...]
fileutils.h 32 class Pathname;
54 virtual bool Iterate(const Pathname &path);
96 // Returns a DirectoryIterator for a given pathname.
106 virtual FileStream *OpenFile(const Pathname &filename,
116 virtual bool CreatePrivateFile(const Pathname &filename) = 0;
121 virtual bool DeleteFile(const Pathname &filename) = 0;
127 virtual bool DeleteEmptyFolder(const Pathname &folder) = 0;
132 virtual bool DeleteFolderContents(const Pathname &folder);
136 virtual bool DeleteFolderAndContents(const Pathname &folder) {
143 bool DeleteFileOrFolder(const Pathname &path)
    [all...]
fileutils_mock.h 69 virtual bool Iterate(const Pathname& path) {
71 path_ = path.pathname();
74 if (path_.rfind(Pathname::DefaultFolderDelimiter()) != path_.size() - 1)
75 path_ += Pathname::DefaultFolderDelimiter();
101 sub_path.find(Pathname::DefaultFolderDelimiter(), path_.size());
111 size_t end = sub_path.find(Pathname::DefaultFolderDelimiter(), start);
139 const Pathname &filename,
142 std::string path = filename.pathname();
153 bool CreatePrivateFile(const Pathname &filename) {
157 bool DeleteFile(const Pathname &filename)
    [all...]
pathutils.cc 43 // Pathname - parsing of pathnames into components, and vice versa
46 bool Pathname::IsFolderDelimiter(char ch) {
50 char Pathname::DefaultFolderDelimiter() {
54 Pathname::Pathname()
58 Pathname::Pathname(const std::string& pathname)
60 SetPathname(pathname);
63 Pathname::Pathname(const std::string& folder, const std::string& filename
91 std::string Pathname::pathname() const { function in class:rtc::Pathname
    [all...]
pathutils.h 21 // Pathname - parsing of pathnames into components, and vice versa.
24 // component. A folder never contains a filename. A pathname may include
27 // pathname() /home/john/example.txt
40 class Pathname {
46 Pathname();
47 Pathname(const std::string& pathname);
48 Pathname(const std::string& folder, const std::string& filename);
50 // Set's the default folder delimiter for this Pathname
57 // Reset to the empty pathname
    [all...]
unixfilesystem.cc 58 void IOSAppName(rtc::Pathname* path);
91 bool UnixFilesystem::CreateFolder(const Pathname &path, mode_t mode) {
92 std::string pathname(path.pathname());
93 int len = pathname.length();
94 if ((len == 0) || (pathname[len - 1] != '/'))
98 int res = ::stat(pathname.c_str(), &st);
110 } while ((len > 0) && (pathname[len - 1] != '/'));
112 if (!CreateFolder(Pathname(pathname.substr(0, len)), mode))
    [all...]
pathutils_unittest.cc 14 TEST(Pathname, ReturnsDotForEmptyPathname) {
16 std::string(".") + rtc::Pathname::DefaultFolderDelimiter();
18 rtc::Pathname path("/", "");
22 EXPECT_FALSE(path.pathname().empty());
23 EXPECT_EQ(std::string("/"), path.pathname());
29 EXPECT_FALSE(path.pathname().empty());
30 EXPECT_EQ(std::string("foo"), path.pathname());
36 EXPECT_FALSE(path.pathname().empty());
37 EXPECT_EQ(kCWD, path.pathname());
43 EXPECT_FALSE(path.pathname().empty())
    [all...]
win32filesystem.cc 33 bool Win32Filesystem::CreateFolder(const Pathname &pathname) {
34 if (pathname.pathname().empty() || !pathname.filename().empty())
38 if (!Utf8ToWindowsFilename(pathname.pathname(), &path16))
52 if (!pathname.parent_folder().empty()) {
53 Pathname parent(pathname);
    [all...]
fileutils_unittest.cc 20 Pathname path;
26 Pathname path;
54 Pathname path;
67 Pathname path;
90 Pathname path;
126 Pathname path;
fileutils.cc 61 bool DirectoryIterator::Iterate(const Pathname &dir) {
62 directory_ = dir.pathname();
66 std::string d = dir.pathname() + '*';
151 bool FilesystemInterface::CopyFolder(const Pathname &old_path,
152 const Pathname &new_path) {
155 Pathname new_dir;
156 new_dir.SetFolder(new_path.pathname());
157 Pathname old_dir;
158 old_dir.SetFolder(old_path.pathname());
164 if (di->Iterate(old_dir.pathname())) {
257 std::string pathname = path.pathname(); local
    [all...]
filelock_unittest.cc 33 scoped_ptr<FileLock> lock(FileLock::TryLock(temp_file_.pathname()));
44 temp_file_ = Pathname(temp_dir_.pathname(), kLockFile);
55 Pathname temp_dir_;
56 Pathname temp_file_;
60 scoped_ptr<FileLock> lock(FileLock::TryLock(temp_file_.pathname()));
62 EXPECT_FALSE(Filesystem::IsAbsent(temp_file_.pathname()));
64 EXPECT_TRUE(Filesystem::IsAbsent(temp_file_.pathname()));
68 scoped_ptr<FileLock> lock(FileLock::TryLock(temp_file_.pathname()));
73 scoped_ptr<FileLock> lock1(FileLock::TryLock(temp_file_.pathname()));
    [all...]
iosfilesystem.mm 49 void IOSAppName(rtc::Pathname* path) {
testutils.h 439 inline rtc::Pathname GetSiblingDirectory(
441 rtc::Pathname path = rtc::Filesystem::GetCurrentDirectory();
443 rtc::Pathname potential_parallel_dir = path;
454 inline rtc::Pathname GetGoogle3Directory() {
458 inline rtc::Pathname GetTalkDirectory() {
logging_unittest.cc 116 Pathname path;
121 EXPECT_TRUE(stream.Open(path.pathname(), "wb", NULL));
proxydetect_unittest.cc 44 virtual FileStream* OpenFile(const Pathname& filename,
diskcache.cc 267 Pathname pathname; local
268 pathname.SetFolder(folder_);
269 pathname.SetBasename(buffer);
270 pathname.SetExtension(extension);
276 return pathname.pathname();
281 Pathname pathname(filename);
283 if (1 != sscanf(pathname.extension().c_str(), ".%u", &tempdex)
    [all...]
  /external/chromium_org/third_party/libjingle/source/talk/media/base/
executablehelpers.h 44 inline Pathname GetExecutablePath() {
52 return rtc::Pathname();
56 return rtc::Pathname();
61 rtc::Pathname path(dir_tmp);
63 rtc::Pathname path(exe_path_buffer);
71 return rtc::Pathname();
81 return rtc::Pathname();
86 return rtc::Pathname();
90 rtc::Pathname path(exe_path_buffer);
92 rtc::Pathname path
    [all...]
filemediaengine.cc 69 rtc::Pathname(voice_input_filename_), "rb");
78 rtc::Pathname(voice_output_filename_), "wb");
100 rtc::Pathname(video_input_filename_), "rb");
109 rtc::Pathname(video_output_filename_), "wb");
filemediaengine_unittest.cc 148 rtc::Pathname temp_path;
156 *filename = temp_path.pathname();
163 rtc::Filesystem::OpenFile(rtc::Pathname(filename), "wb"));
177 rtc::Pathname pathname(filename);
178 if (rtc::Filesystem::IsFile(rtc::Pathname(pathname))) {
179 rtc::Filesystem::DeleteFile(pathname);
374 rtc::Pathname(voice_output_filename_), "rb"));
411 rtc::Pathname(voice_output_filename_), "rb"))
    [all...]
testutils.cc 260 rtc::Pathname path = rtc::GetExecutablePath();
264 rtc::Pathname path = testing::GetTalkDirectory();
269 return path.pathname();
279 rtc::Filesystem::OpenFile(rtc::Pathname(
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitruby/PrettyPatch/
prettify.rb 4 require 'pathname'
7 $LOAD_PATH << Pathname.new(__FILE__).dirname.realpath.to_s
  /external/chromium_org/third_party/libjingle/source/talk/session/media/
mediarecorder.h 41 class Pathname;
mediarecorder_unittest.cc 44 rtc::Pathname(path), "wb");
55 sink_.reset(new RtpDumpSink(Open(path_.pathname())));
84 rtc::Pathname path_;
100 EXPECT_TRUE(rtc::Filesystem::IsFile(path_.pathname()));
186 rtc::Pathname path;
189 std::string send_file = path.pathname();
191 std::string recv_file = path.pathname();
261 rtc::Pathname path;
264 std::string send_header_file = path.pathname();
266 std::string recv_header_file = path.pathname();
    [all...]
  /external/chromium-trace/trace-viewer/third_party/gl-matrix/tasks/support/
gl-matrix.rb 57 Pathname.new File.expand_path('../..', File.dirname(__FILE__))
62 # the result. Returns the destination as a Pathname.

Completed in 1104 milliseconds

1 2