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

1 2 3 4 5 6 7 8 91011>>

  /external/kernel-headers/original/linux/
un.h 8 char sun_path[UNIX_PATH_MAX]; /* pathname */
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/
un.h 8 char sun_path[UNIX_PATH_MAX]; /* pathname */
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/linux/
un.h 8 char sun_path[UNIX_PATH_MAX]; /* pathname */
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/linux/
un.h 8 char sun_path[UNIX_PATH_MAX]; /* pathname */
  /external/chromium/third_party/libjingle/source/talk/base/
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...]
fileutils.h 49 class Pathname;
71 virtual bool Iterate(const Pathname &path);
113 // Returns a DirectoryIterator for a given pathname.
121 virtual FileStream *OpenFile(const Pathname &filename,
131 virtual bool CreatePrivateFile(const Pathname &filename) = 0;
136 virtual bool DeleteFile(const Pathname &filename) = 0;
142 virtual bool DeleteEmptyFolder(const Pathname &folder) = 0;
147 virtual bool DeleteFolderContents(const Pathname &folder);
151 virtual bool DeleteFolderAndContents(const Pathname &folder) {
158 bool DeleteFileOrFolder(const Pathname &path)
    [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...]
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.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...]
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.h 38 // Pathname - parsing of pathnames into components, and vice versa.
41 // component. A folder never contains a filename. A pathname may include
44 // pathname() /home/john/example.txt
57 class Pathname {
63 Pathname();
64 Pathname(const std::string& pathname);
65 Pathname(const std::string& folder, const std::string& filename);
67 // Set's the default folder delimiter for this Pathname
74 // Reset to the empty pathname
    [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/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/webkit/LayoutTests/fast/dom/HTMLAnchorElement/
set-href-attribute-pathname-expected.txt 1 Test setting the pathname attribute of the URL in HTMLAnchorElement.
6 Set pathname that starts with slash
8 Set pathname that does not start with slash and contains '?'
10 Set pathname that starts with double slash and contains '#'
12 Set a pathname containing .. in it
14 Set pathname to null
16 Set pathname to empty string
18 Set pathname that includes illegal characters to URL that contains illegal characters.
20 Set pathname to URL that contains '@' in host
22 Set pathname to a URL with non-hierarchical protoco
    [all...]
  /development/ndk/sources/android/libportable/arch-mips/
open.c 76 int WRAP(open)(const char *pathname, int flags, ...)
83 ALOGV("%s(pathname:%p, flags:0x%x, ...) {", __func__,
84 pathname, flags);
98 fd = __open(pathname, native_flags, mode);
100 /* Can't print pathname as a string, might be bogus */
101 ALOGV("%s: fd = %d = __open(pathname:%p, native_flags:0x%x, mode:0x%x);", __func__,
102 fd, pathname, native_flags, mode);
117 int WRAP(openat)(int dirfd, const char *pathname, int flags, ...)
124 ALOGV("%s(dirfd:%d, pathname:0x%p, flags:0x%x, ...) {", __func__,
125 dirfd, pathname, flags)
    [all...]
  /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/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/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...]
  /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());
  /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
  /external/icu4c/tools/toolutil/
toolutil.h 56 * This function returns a pointer to the original pathname
59 * if the pathname is indeed abbreviated.
62 * the input pathname pointer.
68 getLongPathname(const char *pathname);
71 * Find the basename at the end of a pathname, i.e., the part
73 * to this part of the pathname.
74 * If the pathname only contains a basename and no file separator,
75 * then the pathname pointer itself is returned.
81 * Find the directory name of a pathname, that is, everything
88 * @param path the full pathname to inspect.
    [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);
  /frameworks/testing/androidtestlib/src/com/android/test/runner/
ClassPathScanner.java 41 * Tests whether or not the specified abstract pathname should be included in a class path
44 * @param pathName the relative path of the class path entry
96 public boolean accept(String pathName) {
97 return !pathName.contains("$");
120 public boolean accept(String pathName) {
121 return pathName.startsWith(mPkgName);
144 public boolean accept(String pathName) {
145 return !pathName.startsWith(mPkgName);
  /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);

Completed in 885 milliseconds

1 2 3 4 5 6 7 8 91011>>