/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/ |
mkdir.c | 12 int mkdir(const char* pathname, mode_t mode) { 13 return ki_mkdir(pathname, mode);
|
lstat.c | 15 int __lxstat(int ver, const char* pathname, struct stat* buf) { 16 return ki_lstat(pathname, buf);
|
readlink.c | 12 int readlink(const char* pathname, char* buf, int len) { 13 return ki_readlink(pathname, buf, len);
|
truncate.c | 12 int truncate(const char* pathname, off_t length) { 13 return ki_truncate(pathname, length);
|
/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.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...] |
/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 | 75 void IOSAppName(talk_base::Pathname* path); 108 bool UnixFilesystem::CreateFolder(const Pathname &path, mode_t mode) { 109 std::string pathname(path.pathname()); 110 int len = pathname.length(); 111 if ((len == 0) || (pathname[len - 1] != '/')) 115 int res = ::stat(pathname.c_str(), &st); 127 } while ((len > 0) && (pathname[len - 1] != '/')); 129 if (!CreateFolder(Pathname(pathname.substr(0, len)), mode)) [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 | 56 virtual FileStream *OpenFile(const Pathname &filename, 61 virtual bool CreatePrivateFile(const Pathname &filename); 65 virtual bool DeleteFile(const Pathname &filename); 70 virtual bool DeleteEmptyFolder(const Pathname &folder); 76 virtual bool CreateFolder(const Pathname &pathname, mode_t mode); 79 virtual bool CreateFolder(const Pathname &pathname); 84 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_org/third_party/webrtc/base/ |
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.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...] |
filelock_unittest.cc | 32 scoped_ptr<FileLock> lock(FileLock::TryLock(temp_file_.pathname())); 43 temp_file_ = Pathname(temp_dir_.pathname(), kLockFile); 54 Pathname temp_dir_; 55 Pathname temp_file_; 59 scoped_ptr<FileLock> lock(FileLock::TryLock(temp_file_.pathname())); 61 EXPECT_FALSE(Filesystem::IsAbsent(temp_file_.pathname())); 63 EXPECT_TRUE(Filesystem::IsAbsent(temp_file_.pathname())); 67 scoped_ptr<FileLock> lock(FileLock::TryLock(temp_file_.pathname())); 72 scoped_ptr<FileLock> lock1(FileLock::TryLock(temp_file_.pathname())); [all...] |
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.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...] |
/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_org/base/process/ |
process_handle_freebsd.cc | 26 char pathname[PATH_MAX]; local 30 length = sizeof(pathname); 32 if (sysctl(mib, arraysize(mib), pathname, &length, NULL, 0) < 0 || 37 return FilePath(std::string(pathname));
|