Searched refs:Pathname (Results 1 - 25 of 34) sorted by relevance

12

/external/chromium_org/third_party/webrtc/base/
H A Dwin32filesystem.h22 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);
55 virtual bool CopyFile(const Pathname
[all...]
H A Dunixfilesystem.h39 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);
68 virtual bool MoveFolder(const Pathname &old_path, const Pathname
[all...]
H A Dfileutils.h32 class Pathname;
54 virtual bool Iterate(const Pathname &path);
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) {
152 virtual bool CreateFolder(const Pathname
[all...]
H A Dfileutils_mock.h69 virtual bool Iterate(const Pathname& path) {
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,
153 bool CreatePrivateFile(const Pathname &filename) {
157 bool DeleteFile(const Pathname &filename) {
161 bool DeleteEmptyFolder(const Pathname &folder) {
165 bool DeleteFolderContents(const Pathname
[all...]
H A Dpathutils.cc43 // Pathname - parsing of pathnames into components, and vice versa
46 bool Pathname::IsFolderDelimiter(char ch) {
50 char Pathname::DefaultFolderDelimiter() {
54 Pathname::Pathname() function in class:rtc::Pathname
58 Pathname::Pathname(const std::string& pathname) function in class:rtc::Pathname
63 Pathname::Pathname(const std::string& folder, const std::string& filename) function in class:rtc::Pathname
68 void Pathname
[all...]
H A Dpathutils.h21 // Pathname - parsing of pathnames into components, and vice versa.
40 class Pathname { class in namespace:rtc
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
120 inline bool CreateFolder(const Pathname& path) {
123 inline bool FinishPath(Pathname& path, bool create, const std::string& append) {
132 inline bool GetTemporaryFolder(Pathname& path, bool create,
140 inline bool GetAppDataFolder(Pathname
[all...]
H A Dunixfilesystem.cc58 void IOSAppName(rtc::Pathname* path);
91 bool UnixFilesystem::CreateFolder(const Pathname &path, mode_t mode) {
112 if (!CreateFolder(Pathname(pathname.substr(0, len)), mode)) {
120 bool UnixFilesystem::CreateFolder(const Pathname &path) {
124 FileStream *UnixFilesystem::OpenFile(const Pathname &filename,
134 bool UnixFilesystem::CreatePrivateFile(const Pathname &filename) {
150 bool UnixFilesystem::DeleteFile(const Pathname &filename) {
160 bool UnixFilesystem::DeleteEmptyFolder(const Pathname &folder) {
171 bool UnixFilesystem::GetTemporaryFolder(Pathname &pathname, bool create,
205 std::string UnixFilesystem::TempFilename(const Pathname
[all...]
H A Dpathutils_unittest.cc14 TEST(Pathname, ReturnsDotForEmptyPathname) {
16 std::string(".") + rtc::Pathname::DefaultFolderDelimiter();
18 rtc::Pathname path("/", "");
46 rtc::Pathname path2("c:/foo bar.txt");
H A Dwin32filesystem.cc33 bool Win32Filesystem::CreateFolder(const Pathname &pathname) {
53 Pathname parent(pathname);
63 FileStream *Win32Filesystem::OpenFile(const Pathname &filename,
73 bool Win32Filesystem::CreatePrivateFile(const Pathname &filename) {
181 bool Win32Filesystem::DeleteFile(const Pathname &filename) {
190 bool Win32Filesystem::DeleteEmptyFolder(const Pathname &folder) {
197 bool Win32Filesystem::GetTemporaryFolder(Pathname &pathname, bool create,
220 std::string Win32Filesystem::TempFilename(const Pathname &dir,
230 bool Win32Filesystem::MoveFile(const Pathname &old_path,
231 const Pathname
[all...]
H A Dfileutils_unittest.cc20 Pathname path;
26 Pathname path;
54 Pathname path;
67 Pathname path;
90 Pathname path;
126 Pathname path;
H A Dfileutils.cc61 bool DirectoryIterator::Iterate(const Pathname &dir) {
151 bool FilesystemInterface::CopyFolder(const Pathname &old_path,
152 const Pathname &new_path) {
155 Pathname new_dir;
157 Pathname old_dir;
168 Pathname source;
169 Pathname dest;
182 bool FilesystemInterface::DeleteFolderContents(const Pathname &folder) {
192 Pathname subdir;
212 Pathname pat
[all...]
H A Dfilelock_unittest.cc44 temp_file_ = Pathname(temp_dir_.pathname(), kLockFile);
55 Pathname temp_dir_;
56 Pathname temp_file_;
H A Diosfilesystem.mm49 void IOSAppName(rtc::Pathname* path) {
H A Dtestutils.h439 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() {
H A Dlogging_unittest.cc116 Pathname path;
H A Dproxydetect_unittest.cc44 virtual FileStream* OpenFile(const Pathname& filename,
H A Ddiskcache.cc267 Pathname pathname;
281 Pathname pathname(filename);
/external/chromium_org/third_party/libjingle/source/talk/media/base/
H A Dexecutablehelpers.h44 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 pat
[all...]
H A Dfilemediaengine.cc69 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");
H A Dfilemediaengine_unittest.cc148 rtc::Pathname temp_path;
163 rtc::Filesystem::OpenFile(rtc::Pathname(filename), "wb"));
177 rtc::Pathname pathname(filename);
178 if (rtc::Filesystem::IsFile(rtc::Pathname(pathname))) {
374 rtc::Pathname(voice_output_filename_), "rb"));
411 rtc::Pathname(voice_output_filename_), "rb"));
427 rtc::Pathname(voice_input_filename_), "rb"));
H A Dtestutils.cc260 rtc::Pathname path = rtc::GetExecutablePath();
264 rtc::Pathname path = testing::GetTalkDirectory();
279 rtc::Filesystem::OpenFile(rtc::Pathname(
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitruby/PrettyPatch/
H A Dprettify.rb7 $LOAD_PATH << Pathname.new(__FILE__).dirname.realpath.to_s
/external/chromium_org/third_party/libjingle/source/talk/session/media/
H A Dmediarecorder.h41 class Pathname;
H A Dmediarecorder_unittest.cc44 rtc::Pathname(path), "wb");
84 rtc::Pathname path_;
186 rtc::Pathname path;
261 rtc::Pathname path;
/external/chromium-trace/trace-viewer/third_party/gl-matrix/tasks/support/
H A Dgl-matrix.rb57 Pathname.new File.expand_path('../..', File.dirname(__FILE__))
62 # the result. Returns the destination as a Pathname.

Completed in 346 milliseconds

12