/external/kernel-headers/original/linux/ |
un.h | 8 char sun_path[UNIX_PATH_MAX]; /* pathname */
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/ |
un.h | 8 char sun_path[UNIX_PATH_MAX]; /* pathname */
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/linux/ |
un.h | 8 char sun_path[UNIX_PATH_MAX]; /* pathname */
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/linux/ |
un.h | 8 char sun_path[UNIX_PATH_MAX]; /* pathname */
|
/external/chromium/third_party/libjingle/source/talk/base/ |
pathutils.cc | 60 // Pathname - parsing of pathnames into components, and vice versa 63 bool Pathname::IsFolderDelimiter(char ch) { 67 char Pathname::DefaultFolderDelimiter() { 71 Pathname::Pathname() 75 Pathname::Pathname(const std::string& pathname) 77 SetPathname(pathname); 80 Pathname::Pathname(const std::string& folder, const std::string& filename 108 std::string Pathname::pathname() const { function in class:talk_base::Pathname [all...] |
fileutils.h | 49 class Pathname; 71 virtual bool Iterate(const Pathname &path); 113 // Returns a DirectoryIterator for a given pathname. 121 virtual FileStream *OpenFile(const Pathname &filename, 131 virtual bool CreatePrivateFile(const Pathname &filename) = 0; 136 virtual bool DeleteFile(const Pathname &filename) = 0; 142 virtual bool DeleteEmptyFolder(const Pathname &folder) = 0; 147 virtual bool DeleteFolderContents(const Pathname &folder); 151 virtual bool DeleteFolderAndContents(const Pathname &folder) { 158 bool DeleteFileOrFolder(const Pathname &path) [all...] |
unixfilesystem.h | 40 virtual FileStream *OpenFile(const Pathname &filename, 45 virtual bool CreatePrivateFile(const Pathname &filename); 49 virtual bool DeleteFile(const Pathname &filename); 53 virtual bool DeleteEmptyFolder(const Pathname &folder); 58 virtual bool CreateFolder(const Pathname &pathname); 63 virtual bool MoveFile(const Pathname &old_path, const Pathname &new_path); 64 virtual bool MoveFolder(const Pathname &old_path, const Pathname &new_path) [all...] |
unixfilesystem.cc | 95 bool UnixFilesystem::CreateFolder(const Pathname &path) { 96 std::string pathname(path.pathname()); 97 int len = pathname.length(); 98 if ((len == 0) || (pathname[len - 1] != '/')) 102 int res = ::stat(pathname.c_str(), &st); 114 } while ((len > 0) && (pathname[len - 1] != '/')); 116 if (!CreateFolder(Pathname(pathname.substr(0, len)))) { 120 LOG(LS_INFO) << "Creating folder: " << pathname; [all...] |
win32filesystem.h | 39 virtual FileStream *OpenFile(const Pathname &filename, 44 virtual bool CreatePrivateFile(const Pathname &filename); 48 virtual bool DeleteFile(const Pathname &filename); 52 virtual bool DeleteEmptyFolder(const Pathname &folder); 57 virtual bool CreateFolder(const Pathname &pathname); 63 virtual bool MoveFile(const Pathname &old_path, const Pathname &new_path); 68 virtual bool MoveFolder(const Pathname &old_path, const Pathname &new_path) [all...] |
win32filesystem.cc | 50 bool Win32Filesystem::CreateFolder(const Pathname &pathname) { 51 if (pathname.pathname().empty() || !pathname.filename().empty()) 55 if (!Utf8ToWindowsFilename(pathname.pathname(), &path16)) 69 if (!pathname.parent_folder().empty()) { 70 Pathname parent(pathname); [all...] |
pathutils.h | 38 // Pathname - parsing of pathnames into components, and vice versa. 41 // component. A folder never contains a filename. A pathname may include 44 // pathname() /home/john/example.txt 57 class Pathname { 63 Pathname(); 64 Pathname(const std::string& pathname); 65 Pathname(const std::string& folder, const std::string& filename); 67 // Set's the default folder delimiter for this Pathname 74 // Reset to the empty pathname [all...] |
/external/chromium_org/third_party/libjingle/source/talk/base/ |
pathutils.cc | 60 // Pathname - parsing of pathnames into components, and vice versa 63 bool Pathname::IsFolderDelimiter(char ch) { 67 char Pathname::DefaultFolderDelimiter() { 71 Pathname::Pathname() 75 Pathname::Pathname(const std::string& pathname) 77 SetPathname(pathname); 80 Pathname::Pathname(const std::string& folder, const std::string& filename 108 std::string Pathname::pathname() const { function in class:talk_base::Pathname [all...] |
unixfilesystem.h | 52 virtual FileStream *OpenFile(const Pathname &filename, 57 virtual bool CreatePrivateFile(const Pathname &filename); 61 virtual bool DeleteFile(const Pathname &filename); 66 virtual bool DeleteEmptyFolder(const Pathname &folder); 72 virtual bool CreateFolder(const Pathname &pathname, mode_t mode); 75 virtual bool CreateFolder(const Pathname &pathname); 80 virtual bool MoveFile(const Pathname &old_path, const Pathname &new_path) [all...] |
fileutils.h | 49 class Pathname; 71 virtual bool Iterate(const Pathname &path); 113 // Returns a DirectoryIterator for a given pathname. 123 virtual FileStream *OpenFile(const Pathname &filename, 133 virtual bool CreatePrivateFile(const Pathname &filename) = 0; 138 virtual bool DeleteFile(const Pathname &filename) = 0; 144 virtual bool DeleteEmptyFolder(const Pathname &folder) = 0; 149 virtual bool DeleteFolderContents(const Pathname &folder); 153 virtual bool DeleteFolderAndContents(const Pathname &folder) { 160 bool DeleteFileOrFolder(const Pathname &path) [all...] |
unixfilesystem.cc | 84 bool UnixFilesystem::CreateFolder(const Pathname &path, mode_t mode) { 85 std::string pathname(path.pathname()); 86 int len = pathname.length(); 87 if ((len == 0) || (pathname[len - 1] != '/')) 91 int res = ::stat(pathname.c_str(), &st); 103 } while ((len > 0) && (pathname[len - 1] != '/')); 105 if (!CreateFolder(Pathname(pathname.substr(0, len)), mode)) { 109 LOG(LS_INFO) << "Creating folder: " << pathname; [all...] |
win32filesystem.h | 39 virtual FileStream *OpenFile(const Pathname &filename, 44 virtual bool CreatePrivateFile(const Pathname &filename); 48 virtual bool DeleteFile(const Pathname &filename); 52 virtual bool DeleteEmptyFolder(const Pathname &folder); 57 virtual bool CreateFolder(const Pathname &pathname); 63 virtual bool MoveFile(const Pathname &old_path, const Pathname &new_path); 68 virtual bool MoveFolder(const Pathname &old_path, const Pathname &new_path) [all...] |
fileutils_mock.h | 86 virtual bool Iterate(const Pathname& path) { 88 path_ = path.pathname(); 91 if (path_.rfind(Pathname::DefaultFolderDelimiter()) != path_.size() - 1) 92 path_ += Pathname::DefaultFolderDelimiter(); 118 sub_path.find(Pathname::DefaultFolderDelimiter(), path_.size()); 128 size_t end = sub_path.find(Pathname::DefaultFolderDelimiter(), start); 156 const Pathname &filename, 159 std::string path = filename.pathname(); 170 bool CreatePrivateFile(const Pathname &filename) { 174 bool DeleteFile(const Pathname &filename) [all...] |
win32filesystem.cc | 50 bool Win32Filesystem::CreateFolder(const Pathname &pathname) { 51 if (pathname.pathname().empty() || !pathname.filename().empty()) 55 if (!Utf8ToWindowsFilename(pathname.pathname(), &path16)) 69 if (!pathname.parent_folder().empty()) { 70 Pathname parent(pathname); [all...] |
pathutils_unittest.cc | 31 TEST(Pathname, ReturnsDotForEmptyPathname) { 33 std::string(".") + talk_base::Pathname::DefaultFolderDelimiter(); 35 talk_base::Pathname path("/", ""); 39 EXPECT_FALSE(path.pathname().empty()); 40 EXPECT_EQ(std::string("/"), path.pathname()); 46 EXPECT_FALSE(path.pathname().empty()); 47 EXPECT_EQ(std::string("foo"), path.pathname()); 53 EXPECT_FALSE(path.pathname().empty()); 54 EXPECT_EQ(kCWD, path.pathname()); 60 EXPECT_FALSE(path.pathname().empty()) [all...] |
pathutils.h | 38 // Pathname - parsing of pathnames into components, and vice versa. 41 // component. A folder never contains a filename. A pathname may include 44 // pathname() /home/john/example.txt 57 class Pathname { 63 Pathname(); 64 Pathname(const std::string& pathname); 65 Pathname(const std::string& folder, const std::string& filename); 67 // Set's the default folder delimiter for this Pathname 74 // Reset to the empty pathname [all...] |
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/ |
mkdir.c | 8 int mkdir(const char* pathname, mode_t mode) { 9 return ki_mkdir(pathname, mode);
|
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/ |
kernel_wrap_newlib.cc | 171 int WRAP(open)(const char* pathname, int oflag, mode_t cmode, int* newfd) { 172 *newfd = ki_open(pathname, oflag); 176 int WRAP(stat)(const char* pathname, struct stat* buf) { 177 return (ki_stat(pathname, buf) < 0) ? errno : 0; 180 int WRAP(mkdir)(const char* pathname, mode_t mode) { 181 return (ki_mkdir(pathname, mode) < 0) ? errno : 0; 184 int WRAP(rmdir)(const char* pathname) { 185 return (ki_rmdir(pathname) < 0) ? errno : 0; 188 int WRAP(chdir)(const char* pathname) { 189 return (ki_chdir(pathname) < 0) ? errno : 0 [all...] |
/external/chromium_org/base/process/ |
process_handle_freebsd.cc | 25 char pathname[PATH_MAX]; local 29 length = sizeof(pathname); 31 if (sysctl(mib, arraysize(mib), pathname, &length, NULL, 0) < 0 || 36 return FilePath(std::string(pathname));
|
/external/chromium_org/native_client_sdk/src/libraries/gtest/ |
nacl_gtest_dummy_sys.cc | 16 int unlink(const char* pathname) __attribute__ ((weak)); 17 int mkdir(const char* pathname, mode_t mode) __attribute__ ((weak)); 28 int unlink(const char* pathname) { 33 int mkdir(const char* pathname, mode_t mode) {
|
/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...] |