/bionic/libc/unistd/ |
creat.c | 31 int creat(const char* pathname, mode_t mode) 33 return open(pathname, O_WRONLY|O_TRUNC|O_CREAT, mode);
|
open.c | 34 int open(const char *pathname, int flags, ...) 49 return __open(pathname, flags, mode);
|
openat.c | 34 int openat(int fd, const char *pathname, int flags, ...) 49 return __openat(fd, pathname, flags, mode);
|
/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/bluetooth/bluez/src/ |
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);
|
/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
|
/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...] |
/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 | 20 fprintf(stderr, "usage: %s [-f file_contexts] [-nrRv] pathname...\n", progname); 24 static int restore(const char *pathname, const struct stat *sb) 28 if (lgetfilecon(pathname, &oldcontext) < 0) { 30 pathname, strerror(errno)); 33 if (selabel_lookup(sehandle, &newcontext, pathname, sb->st_mode) < 0) { 34 fprintf(stderr, "Could not lookup context for %s: %s\n", pathname, 41 printf("Relabeling %s from %s to %s.\n", pathname, oldcontext, newcontext); 43 if (lsetfilecon(pathname, newcontext) < 0) { 45 pathname, newcontext, strerror(errno));
|
/external/bluetooth/glib/gio/fam/ |
fam-helper.h | 32 fam_sub* _fam_sub_add (const gchar* pathname,
|
/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...] |
/external/compiler-rt/lib/profile/ |
GCDAProfiling.c | 90 char *pathname; local 95 pathname = malloc(i + 1); 96 strncpy(pathname, filename, i); 97 pathname[i] = '\0'; 99 _mkdir(pathname); 101 mkdir(pathname, 0750); /* some of these will fail, ignore it. */ 103 free(pathname);
|
/external/llvm/runtime/libprofile/ |
GCDAProfiling.c | 84 char *pathname; local 89 pathname = malloc(i + 1); 90 strncpy(pathname, filename, i); 91 pathname[i] = '\0'; 93 _mkdir(pathname); 95 mkdir(pathname, 0750); /* some of these will fail, ignore it. */ 97 free(pathname);
|