/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);
|
/libcore/luni/src/main/java/java/io/ |
FileFilter.java | 29 * Indicating whether a specific file should be included in a pathname list. 31 * @param pathname 36 public abstract boolean accept(File pathname);
|
/external/chromium_org/remoting/webapp/ |
browser_globals.gtestjs | 17 pathname: ''
|
/external/e2fsprogs/intl/ |
relocatable.h | 41 Relocation simply replaces a pathname starting with the original prefix 42 by the corresponding pathname with the current prefix instead. Both 49 /* Returns the pathname, relocated according to the current installation 51 extern const char * relocate (const char *pathname); 54 a fresh pathname. If this is a problem because your program calls 60 file, and the current pathname of this file. Returns NULL upon failure. */ 68 #define relocate(pathname) (pathname)
|
/bionic/libc/bionic/ |
open.c | 36 int open(const char *pathname, int flags, ...) 51 return __open(pathname, flags, mode); 54 int __open_2(const char *pathname, int flags) { 61 return __open(pathname, flags, 0);
|
openat.c | 36 int openat(int fd, const char *pathname, int flags, ...) 51 return __openat(fd, pathname, flags, mode); 54 int __openat_2(int fd, const char *pathname, int flags) 62 return __openat(fd, pathname, flags, 0);
|
/bionic/libc/include/ |
fcntl.h | 48 extern int unlinkat(int dirfd, const char *pathname, int flags); 55 extern int __open_real(const char *pathname, int flags, ...) 60 int open(const char *pathname, int flags, ...) { 72 return __open_2(pathname, flags); 75 return __open_real(pathname, flags, __builtin_va_arg_pack()); 79 extern int __openat_real(int dirfd, const char *pathname, int flags, ...) 83 int openat(int dirfd, const char *pathname, int flags, ...) { 95 return __openat_2(dirfd, pathname, flags); 98 return __openat_real(dirfd, pathname, flags, __builtin_va_arg_pack());
|
/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/ |
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...] |
glob.py | 18 def glob(pathname): 19 """Return a list of paths matching a pathname pattern. 27 return list(iglob(pathname)) 29 def iglob(pathname): 30 """Return an iterator which yields the paths matching a pathname pattern. 38 if not has_magic(pathname): 39 if os.path.lexists(pathname): 40 yield pathname 42 dirname, basename = os.path.split(pathname) 50 if dirname != pathname and has_magic(dirname) [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...] |
glob.py | 18 def glob(pathname): 19 """Return a list of paths matching a pathname pattern. 27 return list(iglob(pathname)) 29 def iglob(pathname): 30 """Return an iterator which yields the paths matching a pathname pattern. 38 if not has_magic(pathname): 39 if os.path.lexists(pathname): 40 yield pathname 42 dirname, basename = os.path.split(pathname) 50 if dirname != pathname and has_magic(dirname) [all...] |
/external/chromium_org/third_party/libjingle/source/talk/base/ |
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...] |
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...] |
filelock_unittest.cc | 49 scoped_ptr<FileLock> lock(FileLock::TryLock(temp_file_.pathname())); 60 temp_file_ = Pathname(temp_dir_.pathname(), kLockFile); 71 Pathname temp_dir_; 72 Pathname temp_file_; 76 scoped_ptr<FileLock> lock(FileLock::TryLock(temp_file_.pathname())); 78 EXPECT_FALSE(Filesystem::IsAbsent(temp_file_.pathname())); 80 EXPECT_TRUE(Filesystem::IsAbsent(temp_file_.pathname())); 84 scoped_ptr<FileLock> lock(FileLock::TryLock(temp_file_.pathname())); 89 scoped_ptr<FileLock> lock1(FileLock::TryLock(temp_file_.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...] |
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...] |
/external/chromium/third_party/libjingle/source/talk/base/ |
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.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.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 | 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...] |
/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...] |
/external/chromium/sdch/open-vcdiff/src/gtest/internal/ |
gtest-filepath.h | 48 // FilePath - a class for file and directory pathname manipulation which 49 // handles platform-specific conventions (like the pathname separator). 63 explicit FilePath(const char* pathname) : pathname_(pathname) { } 64 explicit FilePath(const String& pathname) : pathname_(pathname) { } 82 // Returns a pathname for a file that does not currently exist. The pathname 85 // already exists. The number will be incremented until a pathname is found 137 // Returns true if pathname describes a directory in the file-syste [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));
|
/system/extras/fatblock/ |
fdpool.h | 27 int fdpool_open(struct pooled_fd *pfd, const char *pathname, int flags);
|