HomeSort by relevance Sort by last modified time
    Searched refs:pathname (Results 1 - 25 of 374) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /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/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)
  /external/expat/conftools/
PrintPath 6 # Do not print out full pathname. (silent)
8 # Look in PATHNAME instead of $PATH
22 pathname=$PATH
37 -p* ) pathname="`echo $args | sed 's/^..//'`" ;;
58 pathname=`echo -E $pathname |
67 pathname=`echo $pathname |
93 for path in $pathname
  /bionic/libc/include/
fcntl.h 48 extern int unlinkat(int dirfd, const char *pathname, int flags);
58 extern int __open_real(const char *pathname, int flags, ...)
63 int open(const char *pathname, int flags, ...) {
75 return __open_2(pathname, flags);
78 return __open_real(pathname, flags, __builtin_va_arg_pack());
82 extern int __openat_real(int dirfd, const char *pathname, int flags, ...)
86 int openat(int dirfd, const char *pathname, int flags, ...) {
98 return __openat_2(dirfd, pathname, flags);
101 return __openat_real(dirfd, pathname, flags, __builtin_va_arg_pack());
  /bionic/libc/unistd/
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) {
63 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)
64 return __openat(fd, pathname, flags, 0);
  /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...]
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.cc 79 bool DirectoryIterator::Iterate(const Pathname &dir) {
80 directory_ = dir.pathname();
84 std::string d = dir.pathname() + '*';
168 bool FilesystemInterface::CopyFolder(const Pathname &old_path,
169 const Pathname &new_path) {
171 Pathname new_dir;
172 new_dir.SetFolder(new_path.pathname());
173 Pathname old_dir;
174 old_dir.SetFolder(old_path.pathname());
178 di.Iterate(old_dir.pathname());
266 std::string pathname = path.pathname(); local
    [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...]
  /system/extras/fatblock/
fdpool.h 27 int fdpool_open(struct pooled_fd *pfd, const char *pathname, int flags);
  /external/webkit/LayoutTests/fast/dom/HTMLAnchorElement/script-tests/
set-href-attribute-pathname.js 1 description('Test setting the pathname attribute of the URL in HTMLAnchorElement.');
5 debug("Set pathname that starts with slash");
7 a.pathname = "/path name";
12 debug("Set pathname that does not start with slash and contains '?'");
14 a.pathname = "pa?th";
22 debug("Set pathname that starts with double slash and contains '#'");
24 a.pathname = "//path#name";
30 debug("Set a pathname containing .. in it");
32 a.pathname = "/it/../path";
36 debug("Set pathname to null")
    [all...]
  /external/linux-tools-perf/util/
path.c 92 char *pathname = get_pathname(); local
95 len = vsnprintf(pathname, PATH_MAX, fmt, args);
99 return cleanup_path(pathname);
105 char *pathname = get_pathname(); local
112 memcpy(pathname, perf_dir, len);
114 pathname[len++] = '/';
116 len += vsnprintf(pathname + len, PATH_MAX - len, fmt, args);
120 return cleanup_path(pathname);
  /system/core/toolbox/
restorecon.c 19 fprintf(stderr, "usage: %s [-nrRv] pathname...\n", progname);
23 static int restore(const char *pathname, const struct stat *sb)
27 if (lgetfilecon(pathname, &oldcontext) < 0) {
29 pathname, strerror(errno));
32 if (selabel_lookup(sehandle, &newcontext, pathname, sb->st_mode) < 0) {
33 fprintf(stderr, "Could not lookup context for %s: %s\n", pathname,
40 printf("Relabeling %s from %s to %s.\n", pathname, oldcontext, newcontext);
42 if (lsetfilecon(pathname, newcontext) < 0) {
44 pathname, newcontext, strerror(errno));
  /external/chromium/testing/gtest/include/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).
64 explicit FilePath(const char* pathname) : pathname_(pathname) {
68 explicit FilePath(const String& pathname) : pathname_(pathname) {
102 // Returns a pathname for a file that does not currently exist. The pathname
105 // already exists. The number will be incremented until a pathname is found
160 // Returns true if pathname describes a directory in the file-syste
    [all...]
  /external/gtest/include/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).
64 explicit FilePath(const char* pathname) : pathname_(pathname) {
68 explicit FilePath(const String& pathname) : pathname_(pathname) {
102 // Returns a pathname for a file that does not currently exist. The pathname
105 // already exists. The number will be incremented until a pathname is found
160 // Returns true if pathname describes a directory in the file-syste
    [all...]
  /external/llvm/utils/unittest/googletest/include/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).
64 explicit FilePath(const char* pathname) : pathname_(pathname) {
68 explicit FilePath(const String& pathname) : pathname_(pathname) {
102 // Returns a pathname for a file that does not currently exist. The pathname
105 // already exists. The number will be incremented until a pathname is found
160 // Returns true if pathname describes a directory in the file-syste
    [all...]
  /external/oprofile/libutil/
op_file.h 64 typedef void (*get_pathname_callback)(char const * pathname, void * name_list);
77 * @param filter a pathname filter
86 * dir is of type 'dir' and its complete pathname contains a match to
  /external/protobuf/gtest/include/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).
64 explicit FilePath(const char* pathname) : pathname_(pathname) {
68 explicit FilePath(const String& pathname) : pathname_(pathname) {
102 // Returns a pathname for a file that does not currently exist. The pathname
105 // already exists. The number will be incremented until a pathname is found
160 // Returns true if pathname describes a directory in the file-syste
    [all...]
  /frameworks/base/core/java/android/os/
SELinux.java 70 * @param path the pathname of the file object.
135 * @param pathname The pathname of the file to be relabeled.
137 * @exception NullPointerException if the pathname is a null object.
139 public static boolean restorecon(String pathname) throws NullPointerException {
140 if (pathname == null) { throw new NullPointerException(); }
141 return native_restorecon(pathname);
151 * @param pathname The pathname of the file to be relabeled.
154 private static native boolean native_restorecon(String pathname);
    [all...]
  /external/javassist/src/main/javassist/
ClassPoolTail.java 126 JarClassPath(String pathname) throws NotFoundException {
128 jarfile = new JarFile(pathname);
129 jarfileURL = new File(pathname).getCanonicalFile()
134 throw new NotFoundException(pathname);
241 public ClassPath insertClassPath(String pathname)
244 return insertClassPath(makePathObject(pathname));
247 public ClassPath appendClassPath(String pathname)
250 return appendClassPath(makePathObject(pathname));
253 private static ClassPath makePathObject(String pathname)
256 String lower = pathname.toLowerCase()
    [all...]
  /external/e2fsprogs/lib/ext2fs/
namei.c 24 const char *pathname, size_t pathlen, int follow,
31 char *pathname; local
59 pathname = buffer;
61 pathname = (char *)&(ei.i_block[0]);
62 retval = open_namei(fs, root, dir, pathname, ei.i_size, 1,
70 * This routine interprets a pathname in the context of the current
73 * (pointing into the pathname) and the length of the filename.
76 const char *pathname, int pathlen,
87 if ((c = *pathname) == '/') {
89 pathname++
    [all...]

Completed in 1351 milliseconds

1 2 3 4 5 6 7 8 91011>>