/external/chromium/third_party/libjingle/source/talk/base/ |
D | unixfilesystem.cc | 96 std::string pathname(path.pathname()); in CreateFolder() local 97 int len = pathname.length(); in CreateFolder() 98 if ((len == 0) || (pathname[len - 1] != '/')) in CreateFolder() 102 int res = ::stat(pathname.c_str(), &st); in CreateFolder() 114 } while ((len > 0) && (pathname[len - 1] != '/')); in CreateFolder() 116 if (!CreateFolder(Pathname(pathname.substr(0, len)))) { in CreateFolder() 120 LOG(LS_INFO) << "Creating folder: " << pathname; in CreateFolder() 121 return (0 == ::mkdir(pathname.c_str(), 0755)); in CreateFolder() 127 if (fs && !fs->Open(filename.pathname().c_str(), mode.c_str())) { in OpenFile() 135 int fd = open(filename.pathname().c_str(), in CreatePrivateFile() [all …]
|
D | win32filesystem.cc | 50 bool Win32Filesystem::CreateFolder(const Pathname &pathname) { in CreateFolder() argument 51 if (pathname.pathname().empty() || !pathname.filename().empty()) in CreateFolder() 55 if (!Utf8ToWindowsFilename(pathname.pathname(), &path16)) in CreateFolder() 69 if (!pathname.parent_folder().empty()) { in CreateFolder() 70 Pathname parent(pathname); in CreateFolder() 71 parent.SetFolder(pathname.parent_folder()); in CreateFolder() 83 if (fs && !fs->Open(filename.pathname().c_str(), mode.c_str())) { in OpenFile() 180 ToUtf16(filename.pathname()).c_str(), in CreatePrivateFile() 199 LOG(LS_INFO) << "Deleting file " << filename.pathname(); in DeleteFile() 204 return ::DeleteFile(ToUtf16(filename.pathname()).c_str()) != 0; in DeleteFile() [all …]
|
D | pathutils.cc | 75 Pathname::Pathname(const std::string& pathname) in Pathname() argument 77 SetPathname(pathname); in Pathname() 108 std::string Pathname::pathname() const { in pathname() function in talk_base::Pathname 109 std::string pathname(folder_); in pathname() local 110 pathname.append(basename_); in pathname() 111 pathname.append(extension_); in pathname() 112 if (pathname.empty()) { in pathname() 114 pathname.push_back('.'); in pathname() 115 pathname.push_back(folder_delimiter_); in pathname() 117 return pathname; in pathname() [all …]
|
D | fileutils.cc | 80 directory_ = dir.pathname(); in DirectoryIterator() 84 std::string d = dir.pathname() + '*'; in DirectoryIterator() 172 new_dir.SetFolder(new_path.pathname()); in DirectoryIterator() 174 old_dir.SetFolder(old_path.pathname()); in DirectoryIterator() 178 di.Iterate(old_dir.pathname()); in DirectoryIterator() 184 source.SetFolder(old_dir.pathname()); in DirectoryIterator() 185 dest.SetFolder(new_path.pathname()); in DirectoryIterator() 203 subdir.SetFolder(folder.pathname()); in DirectoryIterator() 238 LOG(LS_INFO) << "Path " << path.pathname() << std::endl; in DirectoryIterator() 246 path.SetFolder(temporary_path.pathname()); in DirectoryIterator() [all …]
|
D | fileutils.h | 167 virtual bool CreateFolder(const Pathname &pathname) = 0; 210 virtual bool IsFolder(const Pathname& pathname) = 0; 213 virtual bool IsFile(const Pathname& pathname) = 0; 217 virtual bool IsAbsent(const Pathname& pathname) = 0; 220 virtual bool IsTemporaryPath(const Pathname& pathname) = 0; 305 static bool CreateFolder(const Pathname &pathname) { in CreateFolder() argument 306 return EnsureDefaultFilesystem()->CreateFolder(pathname); in CreateFolder() 350 static bool IsFolder(const Pathname& pathname) { in IsFolder() argument 351 return EnsureDefaultFilesystem()->IsFolder(pathname); in IsFolder() 354 static bool IsFile(const Pathname &pathname) { in IsFile() argument [all …]
|
D | unixfilesystem.h | 58 virtual bool CreateFolder(const Pathname &pathname); 72 virtual bool IsFolder(const Pathname& pathname); 75 virtual bool IsTemporaryPath(const Pathname& pathname); 78 virtual bool IsFile(const Pathname& pathname); 82 virtual bool IsAbsent(const Pathname& pathname);
|
D | diskcache.cc | 284 Pathname pathname; in IdToFilename() local 285 pathname.SetFolder(folder_); in IdToFilename() 286 pathname.SetBasename(buffer); in IdToFilename() 287 pathname.SetExtension(extension); in IdToFilename() 293 return pathname.pathname(); in IdToFilename() 298 Pathname pathname(filename); in FilenameToId() local 300 if (1 != sscanf(pathname.extension().c_str(), ".%u", &tempdex)) in FilenameToId() 305 size_t buffer_size = pathname.basename().length() + 1; in FilenameToId() 307 decode(buffer, buffer_size, pathname.basename().data(), in FilenameToId() 308 pathname.basename().length(), '%'); in FilenameToId()
|
/external/webkit/LayoutTests/fast/dom/HTMLAnchorElement/script-tests/ |
D | set-href-attribute-pathname.js | 7 a.pathname = "/path name"; 14 a.pathname = "pa?th"; 24 a.pathname = "//path#name"; 32 a.pathname = "/it/../path"; 38 a.pathname = null; 43 a.pathname = ""; 50 a.pathname = "p$a|th"; 57 a.pathname = "path"; 68 a.pathname = "the-path";
|
/external/bluetooth/bluez/src/ |
D | textfile.h | 32 int textfile_put(const char *pathname, const char *key, const char *value); 33 int textfile_caseput(const char *pathname, const char *key, const char *value); 34 int textfile_del(const char *pathname, const char *key); 35 int textfile_casedel(const char *pathname, const char *key); 36 char *textfile_get(const char *pathname, const char *key); 37 char *textfile_caseget(const char *pathname, const char *key); 41 int textfile_foreach(const char *pathname, textfile_cb func, void *data);
|
D | textfile.c | 185 static int write_key(const char *pathname, const char *key, const char *value, int icase) in write_key() argument 193 fd = open(pathname, O_RDWR); in write_key() 309 static char *read_key(const char *pathname, const char *key, int icase) in read_key() argument 316 fd = open(pathname, O_RDONLY); in read_key() 373 int textfile_put(const char *pathname, const char *key, const char *value) in textfile_put() argument 375 return write_key(pathname, key, value, 0); in textfile_put() 378 int textfile_caseput(const char *pathname, const char *key, const char *value) in textfile_caseput() argument 380 return write_key(pathname, key, value, 1); in textfile_caseput() 383 int textfile_del(const char *pathname, const char *key) in textfile_del() argument 385 return write_key(pathname, key, NULL, 0); in textfile_del() [all …]
|
/external/webkit/LayoutTests/fast/dom/HTMLAnchorElement/ |
D | 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 protocol
|
/external/expat/conftools/ |
D | PrintPath | 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/e2fsprogs/lib/ext2fs/ |
D | namei.c | 24 const char *pathname, size_t pathlen, int follow, 31 char *pathname; in follow_link() local 59 pathname = buffer; in follow_link() 61 pathname = (char *)&(ei.i_block[0]); in follow_link() 62 retval = open_namei(fs, root, dir, pathname, ei.i_size, 1, in follow_link() 76 const char *pathname, int pathlen, in dir_namei() argument 87 if ((c = *pathname) == '/') { in dir_namei() 89 pathname++; in dir_namei() 93 thisname = pathname; in dir_namei() 95 c = *(pathname++); in dir_namei() [all …]
|
/external/javassist/src/main/javassist/ |
D | ClassPoolTail.java | 126 JarClassPath(String pathname) throws NotFoundException { in JarClassPath() argument 128 jarfile = new JarFile(pathname); in JarClassPath() 129 jarfileURL = new File(pathname).getCanonicalFile() in JarClassPath() 134 throw new NotFoundException(pathname); in JarClassPath() 241 public ClassPath insertClassPath(String pathname) in insertClassPath() argument 244 return insertClassPath(makePathObject(pathname)); in insertClassPath() 247 public ClassPath appendClassPath(String pathname) in appendClassPath() argument 250 return appendClassPath(makePathObject(pathname)); in appendClassPath() 253 private static ClassPath makePathObject(String pathname) in makePathObject() argument 256 String lower = pathname.toLowerCase(); in makePathObject() [all …]
|
/external/icu4c/tools/toolutil/ |
D | toolutil.cpp | 88 getLongPathname(const char *pathname) { in getLongPathname() argument 92 HANDLE file=FindFirstFileA(pathname, &info); in getLongPathname() 96 const char *basename=findBasename(pathname); in getLongPathname() 97 if(basename!=pathname) { in getLongPathname() 99 … uprv_memmove(info.cFileName+(basename-pathname), info.cFileName, uprv_strlen(info.cFileName)+1); in getLongPathname() 100 uprv_memcpy(info.cFileName, pathname, basename-pathname); in getLongPathname() 102 pathname=info.cFileName; in getLongPathname() 107 return pathname; in getLongPathname() 166 uprv_mkdir(const char *pathname, UErrorCode *status) { in uprv_mkdir() argument 170 retVal = _mkdir(pathname); in uprv_mkdir() [all …]
|
/external/llvm/runtime/libprofile/ |
D | GCDAProfiling.c | 84 char *pathname; in recursive_mkdir() local 89 pathname = malloc(i + 1); in recursive_mkdir() 90 strncpy(pathname, filename, i); in recursive_mkdir() 91 pathname[i] = '\0'; in recursive_mkdir() 93 _mkdir(pathname); in recursive_mkdir() 95 mkdir(pathname, 0750); /* some of these will fail, ignore it. */ in recursive_mkdir() 97 free(pathname); in recursive_mkdir()
|
/external/bluetooth/glib/gio/fam/ |
D | fam-helper.c | 38 gchar *pathname; member 114 path = g_strdup_printf ("%s/%s", sub->pathname, ev.filename); in fam_do_iter_unlocked() 209 _fam_sub_add (const gchar *pathname, in _fam_sub_add() argument 230 sub->pathname = g_strdup (pathname); in _fam_sub_add() 235 FAMMonitorDirectory (fam_connection, pathname, &sub->request, sub); in _fam_sub_add() 237 FAMMonitorFile (fam_connection, pathname, &sub->request, sub); in _fam_sub_add() 273 g_free (sub->pathname); in _fam_sub_free()
|
/external/emma/core/java12/com/vladium/util/ |
D | Files.java | 106 String pathname = tokenizer.nextToken (); in pathToFiles() local 108 if (canonical) pathname = canonicalizePathname (pathname); in pathToFiles() 110 if (pathnames.add (pathname)) in pathToFiles() 112 _result.add (new File (pathname)); in pathToFiles() 127 public static String canonicalizePathname (final String pathname) in canonicalizePathname() argument 129 if (pathname == null) throw new IllegalArgumentException ("null input: pathname"); in canonicalizePathname() 133 return new File (pathname).getCanonicalPath (); in canonicalizePathname() 137 return new File (pathname).getAbsolutePath (); in canonicalizePathname()
|
/external/llvm/lib/Support/Windows/ |
D | Path.inc | 203 char pathname[MAX_PATH]; 204 if (!GetTempPath(MAX_PATH, pathname)) { 211 result.set(pathname); 217 sprintf(pathname, "LLVM_%u", unsigned(GetCurrentProcessId())); 219 sprintf(pathname, "LLVM_%u", GetCurrentProcessId()); 221 result.appendComponent(pathname); 311 char pathname[MAX_PATH]; 312 ::GetCurrentDirectoryA(MAX_PATH,pathname); 313 return Path(pathname); 319 char pathname[MAX_PATH]; [all …]
|
/external/chromium/sdch/open-vcdiff/src/gtest/internal/ |
D | gtest-filepath.h | 63 explicit FilePath(const char* pathname) : pathname_(pathname) { } in FilePath() argument 64 explicit FilePath(const String& pathname) : pathname_(pathname) { } in FilePath() argument
|
/external/oprofile/opjitconv/ |
D | opjitconv.c | 88 static void get_pathname(char const * pathname, void * name_list) in get_pathname() argument 91 struct pathname * pn = xmalloc(sizeof(struct pathname)); in get_pathname() 92 pn->name = xstrdup(pathname); in get_pathname() 96 static void delete_pathname(struct pathname * pname) in delete_pathname() 108 struct pathname * pname = list_entry(pos1, struct pathname, in delete_path_names_list() 151 struct pathname * anon_dir = in find_anon_dir_match() 152 list_entry(pos, struct pathname, neighbor); in find_anon_dir_match() 443 struct pathname * pname = list_entry(pos1, struct pathname, in filter_anon_samples_list() 556 struct pathname * dmpfile = in op_process_jit_dumpfiles() 557 list_entry(pos1, struct pathname, neighbor); in op_process_jit_dumpfiles()
|
/external/chromium/testing/gtest/include/gtest/internal/ |
D | gtest-filepath.h | 64 explicit FilePath(const char* pathname) : pathname_(pathname) { in FilePath() argument 68 explicit FilePath(const String& pathname) : pathname_(pathname) { in FilePath() argument
|
/external/gtest/include/gtest/internal/ |
D | gtest-filepath.h | 64 explicit FilePath(const char* pathname) : pathname_(pathname) { in FilePath() argument 68 explicit FilePath(const String& pathname) : pathname_(pathname) { in FilePath() argument
|
/external/llvm/utils/unittest/googletest/include/gtest/internal/ |
D | gtest-filepath.h | 64 explicit FilePath(const char* pathname) : pathname_(pathname) { in FilePath() argument 68 explicit FilePath(const String& pathname) : pathname_(pathname) { in FilePath() argument
|
/external/protobuf/gtest/include/gtest/internal/ |
D | gtest-filepath.h | 64 explicit FilePath(const char* pathname) : pathname_(pathname) { in FilePath() argument 68 explicit FilePath(const String& pathname) : pathname_(pathname) { in FilePath() argument
|