/external/webkit/LayoutTests/fast/dom/HTMLAnchorElement/script-tests/ |
H A D | 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 t [all...] |
/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/expat/conftools/ |
H A D | PrintPath | 6 # Do not print out full pathname. (silent) 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/chromium/third_party/libjingle/source/talk/base/ |
H A D | unixfilesystem.cc | 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; 121 return (0 == ::mkdir(pathname.c_str(), 0755)); 127 if (fs && !fs->Open(filename.pathname() 171 GetTemporaryFolder(Pathname &pathname, bool create, const std::string *append) argument 290 IsTemporaryPath(const Pathname& pathname) argument 309 IsFile(const Pathname& pathname) argument 316 IsAbsent(const Pathname& pathname) argument 324 GetFileSize(const Pathname& pathname, size_t *size) argument [all...] |
H A D | win32filesystem.cc | 50 bool Win32Filesystem::CreateFolder(const Pathname &pathname) { argument 51 if (pathname.pathname().empty() || !pathname.filename().empty()) 55 if (!Utf8ToWindowsFilename(pathname.pathname(), &path16)) 69 if (!pathname.parent_folder().empty()) { 70 Pathname parent(pathname); 71 parent.SetFolder(pathname.parent_folder()); 83 if (fs && !fs->Open(filename.pathname() 214 GetTemporaryFolder(Pathname &pathname, bool create, const std::string *append) argument 313 IsTemporaryPath(const Pathname& pathname) argument 324 GetFileSize(const Pathname &pathname, size_t *size) argument [all...] |
H A D | pathutils.cc | 75 Pathname::Pathname(const std::string& pathname) argument 77 SetPathname(pathname); 108 std::string Pathname::pathname() const { function in class:talk_base::Pathname 109 std::string pathname(folder_); 110 pathname.append(basename_); 111 pathname.append(extension_); 112 if (pathname.empty()) { 113 // Instead of the empty pathname, return the current working directory. 114 pathname.push_back('.'); 115 pathname 133 SetPathname(const std::string& pathname) argument 150 AppendPathname(const std::string& pathname) argument 250 GetDrive(char *drive, uint32 bytes, const std::string& pathname) argument [all...] |
H A D | unixfilesystem.h | 58 virtual bool CreateFolder(const Pathname &pathname); 71 // Returns true if a pathname is a directory 72 virtual bool IsFolder(const Pathname& pathname); 74 // Returns true if pathname represents a temporary location on the system. 75 virtual bool IsTemporaryPath(const Pathname& pathname); 77 // Returns true of pathname represents an existing file 78 virtual bool IsFile(const Pathname& pathname); 80 // Returns true if pathname refers to no filesystem object, every parent 82 virtual bool IsAbsent(const Pathname& pathname);
|
H A D | win32filesystem.h | 57 virtual bool CreateFolder(const Pathname &pathname); 74 // Returns true if a pathname is a directory 75 virtual bool IsFolder(const Pathname& pathname); 80 // Returns true if pathname refers to no filesystem object, every parent 82 virtual bool IsAbsent(const Pathname& pathname); 84 // Returns true if pathname represents a temporary location on the system. 85 virtual bool IsTemporaryPath(const Pathname& pathname); 87 // All of the following functions set pathname and return true if successful.
|
H A D | fileutils.cc | 80 directory_ = dir.pathname(); 84 std::string d = dir.pathname() + '*'; 172 new_dir.SetFolder(new_path.pathname()); 174 old_dir.SetFolder(old_path.pathname()); 178 di.Iterate(old_dir.pathname()); 184 source.SetFolder(old_dir.pathname()); 185 dest.SetFolder(new_path.pathname()); 203 subdir.SetFolder(folder.pathname()); 238 LOG(LS_INFO) << "Path " << path.pathname() << std::endl; 246 path.SetFolder(temporary_path.pathname()); 266 std::string pathname = path.pathname(); local [all...] |
H A D | fileutils.h | 113 // Returns a DirectoryIterator for a given pathname. 167 virtual bool CreateFolder(const Pathname &pathname) = 0; 209 // Returns true if pathname refers to a directory 210 virtual bool IsFolder(const Pathname& pathname) = 0; 212 // Returns true if pathname refers to a file 213 virtual bool IsFile(const Pathname& pathname) = 0; 215 // Returns true if pathname refers to no filesystem object, every parent 217 virtual bool IsAbsent(const Pathname& pathname) = 0; 219 // Returns true if pathname represents a temporary location on the system. 220 virtual bool IsTemporaryPath(const Pathname& pathname) 305 CreateFolder(const Pathname &pathname) argument 350 IsFolder(const Pathname& pathname) argument 354 IsFile(const Pathname &pathname) argument 358 IsAbsent(const Pathname &pathname) argument 362 IsTemporaryPath(const Pathname& pathname) argument [all...] |
H A D | pathutils.h | 41 // component. A folder never contains a filename. A pathname may include 44 // pathname() /home/john/example.txt 64 Pathname(const std::string& pathname); 74 // Reset to the empty pathname 77 // Returns true if the pathname is empty. Note: this->pathname().empty() 83 // Returns the folder and filename components. If the pathname is empty, 86 std::string pathname() const; 87 void SetPathname(const std::string& pathname); 90 // Append pathname t [all...] |
/external/chromium/sdch/open-vcdiff/src/gtest/internal/ |
H A D | 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) { } argument 64 explicit FilePath(const String& pathname) : pathname_(pathname) { } argument 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 describe [all...] |
/external/llvm/lib/Support/Windows/ |
H A D | Path.inc | 206 char pathname[MAX_PATH]; 207 if (!GetTempPath(MAX_PATH, pathname)) { 214 result.set(pathname); 220 sprintf(pathname, "LLVM_%u", unsigned(GetCurrentProcessId())); 222 sprintf(pathname, "LLVM_%u", GetCurrentProcessId()); 224 result.appendComponent(pathname); 306 char pathname[MAX_PATH]; 307 ::GetCurrentDirectoryA(MAX_PATH,pathname); 308 return Path(pathname); 314 char pathname[MAX_PAT [all...] |
/external/linux-tools-perf/util/ |
H A D | 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);
|
/external/chromium/testing/gtest/include/gtest/internal/ |
H A D | 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) { argument 68 explicit FilePath(const String& pathname) : pathname_(pathname) { argument 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 describe [all...] |
/external/gtest/include/gtest/internal/ |
H A D | 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) { argument 68 explicit FilePath(const String& pathname) : pathname_(pathname) { argument 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 describe [all...] |
/external/libvpx/libvpx/third_party/googletest/src/include/gtest/internal/ |
H A D | 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) { argument 68 explicit FilePath(const String& pathname) : pathname_(pathname) { argument 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 describe [all...] |
/external/llvm/utils/unittest/googletest/include/gtest/internal/ |
H A D | 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) { argument 68 explicit FilePath(const String& pathname) : pathname_(pathname) { argument 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 describe [all...] |
/external/open-vcdiff/gtest/include/gtest/internal/ |
H A D | 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) { argument 68 explicit FilePath(const String& pathname) : pathname_(pathname) { argument 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 describe [all...] |
/external/oprofile/libutil/ |
H A D | 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/ |
H A D | 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) { argument 68 explicit FilePath(const String& pathname) : pathname_(pathname) { argument 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 describe [all...] |
/external/javassist/src/main/javassist/ |
H A D | ClassPoolTail.java | 126 JarClassPath(String pathname) throws NotFoundException { argument 128 jarfile = new JarFile(pathname); 129 jarfileURL = new File(pathname).getCanonicalFile() 134 throw new NotFoundException(pathname); 241 public ClassPath insertClassPath(String pathname) argument 244 return insertClassPath(makePathObject(pathname)); 247 public ClassPath appendClassPath(String pathname) argument 250 return appendClassPath(makePathObject(pathname)); 253 private static ClassPath makePathObject(String pathname) argument 256 String lower = pathname [all...] |
/external/e2fsprogs/lib/ext2fs/ |
H A D | 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 75 dir_namei(ext2_filsys fs, ext2_ino_t root, ext2_ino_t dir, const char *pathname, int pathlen, int link_count, char *buf, const char **name, int *namelen, ext2_ino_t *res_inode) argument 113 open_namei(ext2_filsys fs, ext2_ino_t root, ext2_ino_t base, const char *pathname, size_t pathlen, int follow, int link_count, char *buf, ext2_ino_t *res_inode) argument [all...] |
/external/icu4c/tools/toolutil/ |
H A D | toolutil.cpp | 92 getLongPathname(const char *pathname) { argument 96 HANDLE file=FindFirstFileA(pathname, &info); 100 const char *basename=findBasename(pathname); 101 if(basename!=pathname) { 103 uprv_memmove(info.cFileName+(basename-pathname), info.cFileName, uprv_strlen(info.cFileName)+1); 104 uprv_memcpy(info.cFileName, pathname, basename-pathname); 106 pathname=info.cFileName; 111 return pathname; 170 uprv_mkdir(const char *pathname, UErrorCod argument [all...] |
/external/emma/core/java12/com/vladium/util/ |
H A D | Files.java | 106 String pathname = tokenizer.nextToken (); 108 if (canonical) pathname = canonicalizePathname (pathname); 110 if (pathnames.add (pathname)) 112 _result.add (new File (pathname)); 124 * Converts 'pathname' into the canonical OS form. This wrapper function 125 * will return the absolute form of 'pathname' if File.getCanonicalPath() fails. 127 public static String canonicalizePathname (final String pathname) argument 129 if (pathname == null) throw new IllegalArgumentException ("null input: pathname"); [all...] |