/libcore/ojluni/src/main/java/java/io/ |
FileFilter.java | 42 * Tests whether or not the specified abstract pathname should be 43 * included in a pathname list. 45 * @param pathname The abstract pathname to be tested 46 * @return <code>true</code> if and only if <code>pathname</code> 49 boolean accept(File pathname);
|
/external/ltp/include/lapi/ |
readlinkat.h | 27 int readlinkat(int dirfd, const char *pathname, char *buf, size_t bufsiz) 29 return ltp_syscall(__NR_readlinkat, dirfd, pathname, buf, bufsiz);
|
/external/ltp/testcases/kernel/syscalls/openat/ |
openat.h | 29 int openat(int dirfd, const char *pathname, int flags, mode_t mode) 31 return ltp_syscall(__NR_openat, dirfd, pathname, flags, mode);
|
/external/syslinux/com32/lib/ |
creat.c | 9 int creat(const char *pathname, mode_t mode) 11 return open(pathname, O_CREAT | O_WRONLY | O_TRUNC, mode);
|
/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)
|
/toolchain/binutils/binutils-2.25/intl/ |
relocatable.h | 36 Relocation simply replaces a pathname starting with the original prefix 37 by the corresponding pathname with the current prefix instead. Both 44 /* Returns the pathname, relocated according to the current installation 46 extern const char * relocate (const char *pathname); 49 a fresh pathname. If this is a problem because your program calls 55 file, and the current pathname of this file. Returns NULL upon failure. */ 63 #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...] |
faccessat.cpp | 35 int faccessat(int dirfd, const char* pathname, int mode, int flags) { 59 return ___faccessat(dirfd, pathname, mode);
|
/external/libchrome/sandbox/linux/syscall_broker/ |
broker_client.h | 44 int Access(const char* pathname, int mode) const; 50 int Open(const char* pathname, int flags) const; 65 const char* pathname,
|
/external/skia/tools/skpbench/ |
_os_path.py | 12 def basename(pathname): 13 return pathname.basename(pathname)
|
/external/squashfs-tools/squashfs-tools/ |
unsquashfs_info.c | 45 char *pathname = NULL; variable 52 if(pathname) 53 free(pathname); 55 pathname = NULL; 61 if(pathname) 62 free(pathname); 64 pathname = name; 121 if(pathname) 122 INFO("%s\n", pathname);
|
/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...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/ |
dynload_dl.c | 20 const char *pathname, FILE *fp)
25 return dl_loadmod(Py_GetProgramName(), pathname, funcname);
|
dynload_atheos.c | 18 const char *pathname, FILE *fp)
25 printf("load_library %s\n", pathname);
27 lib = load_library(pathname, 0);
31 perror(pathname);
33 pathname, strerror(errno));
|
dynload_hpux.c | 23 const char *pathname, FILE *fp)
34 printf("shl_load %s\n",pathname);
36 lib = shl_load(pathname, flags, 0);
41 perror(pathname);
43 pathname);
|
/external/ltp/testcases/kernel/syscalls/fanotify/ |
fanotify.h | 50 int dfd, const char *pathname) 52 return syscall(__NR_fanotify_mark, fd, flags, mask, dfd, pathname);
|
/external/ltp/testcases/kernel/syscalls/inotify/ |
inotify.h | 41 #define myinotify_add_watch(fd, pathname, mask) \ 42 syscall(__NR_inotify_add_watch, fd, pathname, mask)
|
/external/webrtc/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 | 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...] |
/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/include/ |
fcntl.h | 113 int open(const char* pathname, int flags, mode_t modes, ...) __overloadable 117 int open(const char* pathname, int flags) __overloadable 128 int open(const char* const __pass_object_size pathname, 130 return __open_2(pathname, flags); 134 int open(const char* const __pass_object_size pathname, int flags, mode_t modes) 136 return __open_real(pathname, flags, modes); 140 int openat(int dirfd, const char* pathname, int flags) __overloadable 145 int openat(int dirfd, const char* pathname, int flags, mode_t modes, ...) 150 int openat(int dirfd, const char* const __pass_object_size pathname, 152 return __openat_2(dirfd, pathname, flags) [all...] |