/external/ltp/include/lapi/ |
H A D | readlinkat.h | 27 int readlinkat(int dirfd, const char *pathname, char *buf, size_t bufsiz) argument 29 return ltp_syscall(__NR_readlinkat, dirfd, pathname, buf, bufsiz);
|
/external/ltp/testcases/kernel/syscalls/openat/ |
H A D | openat.h | 29 int openat(int dirfd, const char *pathname, int flags, mode_t mode) argument 31 return ltp_syscall(__NR_openat, dirfd, pathname, flags, mode);
|
/external/syslinux/com32/lib/ |
H A D | creat.c | 9 int creat(const char *pathname, mode_t mode) argument 11 return open(pathname, O_CREAT | O_WRONLY | O_TRUNC, mode);
|
/external/e2fsprogs/intl/ |
H A D | 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)
|
/external/python/cpython2/Lib/ |
H A D | 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...] |
H A D | 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 dirname, basename = os.path.split(pathname) 39 if not has_magic(pathname): 41 if os.path.lexists(pathname): 42 yield pathname 46 yield pathname [all...] |
/external/python/cpython2/Lib/plat-mac/ |
H A D | 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, verbos [all...] |
/external/skia/tools/skpbench/ |
H A D | _os_path.py | 12 def basename(pathname): 13 return pathname.basename(pathname)
|
/external/squashfs-tools/squashfs-tools/ |
H A D | 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);
|
H A D | unsquashfs_xattr.c | 40 void write_xattr(char *pathname, unsigned int xattr) argument 55 ERROR("Failed to read xattrs for file %s\n", pathname); 66 int res = lsetxattr(pathname, xattr_list[i].full_name, 85 pathname); 109 pathname); 120 pathname, strerror(errno)); 133 xattr_list[i].full_name, pathname);
|
/external/ltp/testcases/kernel/syscalls/fanotify/ |
H A D | fanotify.h | 50 int dfd, const char *pathname) 52 return syscall(__NR_fanotify_mark, fd, flags, mask, dfd, pathname); 49 fanotify_mark(int fd, unsigned int flags, uint64_t mask, int dfd, const char *pathname) argument
|
/external/ltp/testcases/kernel/syscalls/inotify/ |
H A D | inotify.h | 41 #define myinotify_add_watch(fd, pathname, mask) \ 42 syscall(__NR_inotify_add_watch, fd, pathname, mask)
|
/external/python/cpython2/Python/ |
H A D | dynload_dl.c | 20 const char *pathname, FILE *fp) 25 return dl_loadmod(Py_GetProgramName(), pathname, funcname); 19 _PyImport_GetDynLoadFunc(const char *fqname, const char *shortname, const char *pathname, FILE *fp) argument
|
H A D | 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)); 17 _PyImport_GetDynLoadFunc(const char *fqname, const char *shortname, const char *pathname, FILE *fp) argument
|
H A D | 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); 22 _PyImport_GetDynLoadFunc(const char *fqname, const char *shortname, const char *pathname, FILE *fp) argument
|
H A D | importdl.c | 17 const char *pathname, FILE *fp); 22 _PyImport_LoadDynamicModule(char *name, char *pathname, FILE *fp) argument 28 if ((m = _PyImport_FindExtension(name, pathname)) != NULL) { 42 p = _PyImport_GetDynLoadFunc(name, shortname, pathname, fp); 65 if (PyModule_AddStringConstant(m, "__file__", pathname) < 0) 68 if (_PyImport_FixupExtension(name, pathname) == NULL) 73 name, pathname);
|
/external/python/cpython2/RISCOS/Python/ |
H A D | dynload_riscos.c | 51 char *pathname, FILE *fp) 57 err = dlk_load_no_init(pathname, &init_function); 50 _PyImport_GetDynLoadFunc(const char *fqname, const char *shortname, char *pathname, FILE *fp) argument
|
/external/webrtc/webrtc/base/ |
H A D | pathutils_unittest.cc | 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()); 44 EXPECT_EQ(kCWD, path.pathname());
|
H A D | unixfilesystem.cc | 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)) { 117 LOG(LS_INFO) << "Creating folder: " << pathname; 118 return (0 == ::mkdir(pathname.c_str(), mode)); 128 if (fs && !fs->Open(filename.pathname() 172 GetTemporaryFolder(Pathname &pathname, bool create, const std::string *append) argument 292 IsTemporaryPath(const Pathname& pathname) argument 315 IsFile(const Pathname& pathname) argument 322 IsAbsent(const Pathname& pathname) argument 330 GetFileSize(const Pathname& pathname, size_t *size) argument [all...] |
/external/ltp/include/ |
H A D | tst_safe_posix_ipc.h | 30 #define SAFE_MQ_OPEN(pathname, oflags, ...) \ 31 safe_mq_open(__FILE__, __LINE__, (pathname), (oflags), ##__VA_ARGS__) 34 const char *pathname, int oflags, ...) 56 rval = mq_open(pathname, oflags, mode, attr); 59 file, lineno, pathname, oflags, mode, attr); 33 safe_mq_open(const char *file, const int lineno, const char *pathname, int oflags, ...) argument
|
/external/python/cpython2/Mac/scripts/ |
H A D | mkestrres.py | 107 pathname = EasyDialogs.AskFileForOpen(message="Where is GUSI sys/errno.h?") 108 if pathname: 109 fp = open(pathname) 113 pathname = EasyDialogs.AskFileForOpen(message="Select cerrno (MSL) or cancel") 114 if pathname: 115 fp = open(pathname) 119 pathname = EasyDialogs.AskFileForOpen(message="Where is MacErrors.h?") 120 if pathname: 121 fp = open(pathname) 125 pathname [all...] |
/external/libchrome/sandbox/linux/syscall_broker/ |
H A D | 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/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/stub/command/ |
H A D | 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);
51 invocationRecord.set(PATHNAME_KEY, pathname);
52 sendReply(session, pathname);
|
/external/mockftpserver/branches/1.x_Branch/src/main/java/org/mockftpserver/stub/command/ |
H A D | 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);
52 invocationRecord.set(PATHNAME_KEY, pathname);
53 sendReply(session, pathname);
|
/external/mockftpserver/tags/1.0/src/main/java/org/mockftpserver/stub/command/ |
H A D | 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);
52 invocationRecord.set(PATHNAME_KEY, pathname);
53 sendReply(session, pathname);
|