/external/webrtc/webrtc/base/ |
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...] |
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...] |
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_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...] |
unixfilesystem.h | 39 FileStream* OpenFile(const Pathname& filename, 44 bool CreatePrivateFile(const Pathname& filename) override; 48 bool DeleteFile(const Pathname& filename) override; 53 bool DeleteEmptyFolder(const Pathname& folder) override; 59 virtual bool CreateFolder(const Pathname &pathname, mode_t mode); 62 bool CreateFolder(const Pathname& pathname) override; 67 bool MoveFile(const Pathname& old_path, const Pathname& new_path) override [all...] |
unixfilesystem.cc | 59 void IOSAppName(rtc::Pathname* path); 92 bool UnixFilesystem::CreateFolder(const Pathname &path, mode_t mode) { 93 std::string pathname(path.pathname()); 94 int len = pathname.length(); 95 if ((len == 0) || (pathname[len - 1] != '/')) 99 int res = ::stat(pathname.c_str(), &st); 111 } while ((len > 0) && (pathname[len - 1] != '/')); 113 if (!CreateFolder(Pathname(pathname.substr(0, len)), mode)) [all...] |
fileutils.h | 32 class Pathname; 54 virtual bool Iterate(const Pathname &path); 96 // Returns a DirectoryIterator for a given pathname. 104 virtual FileStream *OpenFile(const Pathname &filename, 114 virtual bool CreatePrivateFile(const Pathname &filename) = 0; 119 virtual bool DeleteFile(const Pathname &filename) = 0; 125 virtual bool DeleteEmptyFolder(const Pathname &folder) = 0; 130 virtual bool DeleteFolderContents(const Pathname &folder); 134 virtual bool DeleteFolderAndContents(const Pathname& folder); 139 bool DeleteFileOrFolder(const Pathname &path) [all...] |
win32filesystem.cc | 34 bool Win32Filesystem::CreateFolder(const Pathname &pathname) { 35 if (pathname.pathname().empty() || !pathname.filename().empty()) 39 if (!Utf8ToWindowsFilename(pathname.pathname(), &path16)) 53 if (!pathname.parent_folder().empty()) { 54 Pathname parent(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...] |
fileutils.cc | 62 bool DirectoryIterator::Iterate(const Pathname &dir) { 63 directory_ = dir.pathname(); 67 std::string d = dir.pathname() + '*'; 156 bool FilesystemInterface::CopyFolder(const Pathname &old_path, 157 const Pathname &new_path) { 160 Pathname new_dir; 161 new_dir.SetFolder(new_path.pathname()); 162 Pathname old_dir; 163 old_dir.SetFolder(old_path.pathname()); 169 if (di->Iterate(old_dir.pathname())) { 266 std::string pathname = path.pathname(); local [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/linux/ |
un.h | 8 char sun_path[UNIX_PATH_MAX]; /* pathname */
|
/external/fio/os/windows/posix/include/sys/ |
un.h | 10 char sun_path[260]; /* Socket pathname */
|
/external/kernel-headers/original/uapi/linux/ |
un.h | 10 char sun_path[UNIX_PATH_MAX]; /* pathname */
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/ |
un.h | 10 char sun_path[UNIX_PATH_MAX]; /* pathname */
|
/external/toybox/toys/other/ |
realpath.c | 1 /* realpath.c - Return the canonical version of a pathname 13 Display the canonical absolute pathname
|
/prebuilts/gdb/darwin-x86/lib/python2.7/plat-mac/ |
macresource.py | 62 pathname = os.path.join(dir, filename) 63 if os.path.exists(pathname): 68 refno = open_pathname(pathname) 77 def open_pathname(pathname, verbose=0): 78 """Open a resource file given by pathname, possibly decoding an 84 refno = Res.FSOpenResourceFile(pathname, u'', 1) 92 pathname = _decode(pathname, verbose=verbose) 93 refno = Res.FSOpenResourceFile(pathname, u'', 1) 95 def resource_pathname(pathname, verbose=0) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/ |
macresource.py | 62 pathname = os.path.join(dir, filename) 63 if os.path.exists(pathname): 68 refno = open_pathname(pathname) 77 def open_pathname(pathname, verbose=0): 78 """Open a resource file given by pathname, possibly decoding an 84 refno = Res.FSOpenResourceFile(pathname, u'', 1) 92 pathname = _decode(pathname, verbose=verbose) 93 refno = Res.FSOpenResourceFile(pathname, u'', 1) 95 def resource_pathname(pathname, verbose=0) [all...] |
/bionic/libc/bionic/ |
open.cpp | 46 int creat(const char* pathname, mode_t mode) { 47 return open(pathname, O_CREAT | O_TRUNC | O_WRONLY, mode); 51 int open(const char* pathname, int flags, ...) { 61 return __openat(AT_FDCWD, pathname, force_O_LARGEFILE(flags), mode); 65 int __open_2(const char* pathname, int flags) { 70 return __openat(AT_FDCWD, pathname, force_O_LARGEFILE(flags), 0); 73 int openat(int fd, const char *pathname, int flags, ...) { 83 return __openat(fd, pathname, force_O_LARGEFILE(flags), mode); 87 int __openat_2(int fd, const char* pathname, int flags) { 92 return __openat(fd, pathname, force_O_LARGEFILE(flags), 0) [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
macurl2path.py | 10 def url2pathname(pathname): 16 tp = urllib.splittype(pathname)[0] 18 raise RuntimeError, 'Cannot convert non-local URL to pathname' 20 if pathname[:3] == '///': 21 pathname = pathname[2:] 22 elif pathname[:2] == '//': 23 raise RuntimeError, 'Cannot convert non-local URL to pathname' 24 components = pathname.split('/') 52 def pathname2url(pathname) [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
macurl2path.py | 10 def url2pathname(pathname): 16 tp = urllib.splittype(pathname)[0] 18 raise RuntimeError, 'Cannot convert non-local URL to pathname' 20 if pathname[:3] == '///': 21 pathname = pathname[2:] 22 elif pathname[:2] == '//': 23 raise RuntimeError, 'Cannot convert non-local URL to pathname' 24 components = pathname.split('/') 52 def pathname2url(pathname) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
macurl2path.py | 10 def url2pathname(pathname): 16 tp = urllib.splittype(pathname)[0] 18 raise RuntimeError, 'Cannot convert non-local URL to pathname' 20 if pathname[:3] == '///': 21 pathname = pathname[2:] 22 elif pathname[:2] == '//': 23 raise RuntimeError, 'Cannot convert non-local URL to pathname' 24 components = pathname.split('/') 52 def pathname2url(pathname) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
macurl2path.py | 10 def url2pathname(pathname): 16 tp = urllib.splittype(pathname)[0] 18 raise RuntimeError, 'Cannot convert non-local URL to pathname' 20 if pathname[:3] == '///': 21 pathname = pathname[2:] 22 elif pathname[:2] == '//': 23 raise RuntimeError, 'Cannot convert non-local URL to pathname' 24 components = pathname.split('/') 52 def pathname2url(pathname) [all...] |
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/stub/command/ |
MkdCommandHandler.java | 29 * <li>{@link #PATHNAME_KEY} ("pathname") - the pathname of the directory submitted on the invocation (the first command parameter)
37 public static final String PATHNAME_KEY = "pathname";
50 String pathname = command.getRequiredParameter(0);
local 51 invocationRecord.set(PATHNAME_KEY, pathname);
52 sendReply(session, pathname);
|
/external/mockftpserver/branches/1.x_Branch/src/main/java/org/mockftpserver/stub/command/ |
MkdCommandHandler.java | 29 * <li>{@link #PATHNAME_KEY} ("pathname") - the pathname of the directory submitted on the invocation (the first command parameter)
38 public static final String PATHNAME_KEY = "pathname";
51 String pathname = command.getRequiredString(0);
local 52 invocationRecord.set(PATHNAME_KEY, pathname);
53 sendReply(session, pathname);
|
/libcore/ojluni/src/main/java/java/io/ |
FileFilter.java | 41 * Tests whether or not the specified abstract pathname should be 42 * included in a pathname list. 44 * @param pathname The abstract pathname to be tested 45 * @return <code>true</code> if and only if <code>pathname</code> 48 boolean accept(File pathname);
|