/external/squashfs-tools/squashfs-tools/ |
D | unsquashfs_info.c | 45 char *pathname = NULL; variable 52 if(pathname) in disable_info() 53 free(pathname); in disable_info() 55 pathname = NULL; in disable_info() 61 if(pathname) in update_info() 62 free(pathname); in update_info() 64 pathname = name; in update_info() 130 if(pathname) in info_thrd() 131 INFO("%s\n", pathname); in info_thrd()
|
D | unsquashfs_xattr.c | 35 void write_xattr(char *pathname, unsigned int xattr) in write_xattr() argument 50 ERROR("Failed to read xattrs for file %s\n", pathname); in write_xattr() 61 int res = lsetxattr(pathname, xattr_list[i].full_name, in write_xattr() 80 pathname); in write_xattr() 104 pathname); in write_xattr() 115 pathname, strerror(errno)); in write_xattr() 128 xattr_list[i].full_name, pathname); in write_xattr()
|
D | unsquashfs.c | 515 int print_filename(char *pathname, struct inode *inode) in print_filename() argument 525 printf("%s\n", pathname); in print_filename() 585 t->tm_mday, t->tm_hour, t->tm_min, pathname); in print_filename() 819 int set_attributes(char *pathname, int mode, uid_t uid, gid_t guid, time_t time, in set_attributes() argument 824 write_xattr(pathname, xattr); in set_attributes() 826 if(utime(pathname, ×) == -1) { in set_attributes() 828 pathname, strerror(errno)); in set_attributes() 833 if(chown(pathname, uid, guid) == -1) { in set_attributes() 835 "on %s, because %s\n", pathname, in set_attributes() 842 if((set_mode || (mode & 07000)) && chmod(pathname, (mode_t) mode) == -1) { in set_attributes() [all …]
|
D | action.c | 88 extern char *pathname(struct dir_ent *); 883 action_data.pathname = strdup(pathname(dir_ent)); in eval_actions() 903 free(action_data.pathname); in eval_actions() 917 action_data.pathname = strdup(pathname(dir_ent)); in eval_frag_actions() 927 free(action_data.pathname); in eval_frag_actions() 933 free(action_data.pathname); in eval_frag_actions() 971 int eval_exclude_actions(char *name, char *pathname, char *subpath, in eval_exclude_actions() argument 978 action_data.pathname = pathname; in eval_exclude_actions() 1520 action_data.pathname = strdup(pathname(dir_ent)); in eval_empty_actions() 1551 free(action_data.pathname); in eval_empty_actions() [all …]
|
/external/e2fsprogs/lib/ext2fs/ |
D | namei.c | 25 const char *pathname, size_t pathlen, int follow, 32 char *pathname; in follow_link() local 66 pathname = buffer; in follow_link() 68 pathname = (char *)&(ei.i_block[0]); in follow_link() 69 retval = open_namei(fs, root, dir, pathname, ei.i_size, 1, in follow_link() 83 const char *pathname, int pathlen, in dir_namei() argument 94 if ((c = *pathname) == '/') { in dir_namei() 96 pathname++; in dir_namei() 100 thisname = pathname; in dir_namei() 102 c = *(pathname++); in dir_namei() [all …]
|
/external/libselinux/src/ |
D | android.c | 1064 static int pkgdir_selabel_lookup(const char *pathname, in pkgdir_selabel_lookup() argument 1076 if (!strncmp(pathname, DATA_DATA_PREFIX, sizeof(DATA_DATA_PREFIX)-1)) { in pkgdir_selabel_lookup() 1077 pathname += sizeof(DATA_DATA_PREFIX) - 1; in pkgdir_selabel_lookup() 1078 } else if (!strncmp(pathname, DATA_USER_PREFIX, sizeof(DATA_USER_PREFIX)-1)) { in pkgdir_selabel_lookup() 1079 pathname += sizeof(DATA_USER_PREFIX) - 1; in pkgdir_selabel_lookup() 1080 while (isdigit(*pathname)) in pkgdir_selabel_lookup() 1081 pathname++; in pkgdir_selabel_lookup() 1082 if (*pathname == '/') in pkgdir_selabel_lookup() 1083 pathname++; in pkgdir_selabel_lookup() 1086 } else if (!fnmatch(EXPAND_USER_PATH, pathname, FNM_LEADING_DIR|FNM_PATHNAME)) { in pkgdir_selabel_lookup() [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/pdfium/third_party/freetype/src/base/ |
D | ftmac.c | 279 FT_FSPathMakeRes( const UInt8* pathname, in FT_FSPathMakeRes() argument 286 if ( noErr != FSPathMakeRef( pathname, &ref, FALSE ) ) in FT_FSPathMakeRes() 304 get_file_type_from_path( const UInt8* pathname ) in get_file_type_from_path() argument 310 if ( noErr != FSPathMakeRef( pathname, &ref, FALSE ) ) in get_file_type_from_path() 546 const UInt8* pathname ) in count_faces() argument 562 err = lookup_lwfn_by_fond( pathname, lwfn_file_name, in count_faces() 701 const UInt8* pathname, in FT_New_Face_From_LWFN() argument 711 if ( noErr != FT_FSPathMakeRes( pathname, &res ) ) in FT_New_Face_From_LWFN() 800 const UInt8* pathname, in FT_New_Face_From_Suitcase() argument 811 if ( noErr != FT_FSPathMakeRes( pathname, &res_ref ) ) in FT_New_Face_From_Suitcase() [all …]
|
/external/icu/icu4c/source/tools/toolutil/ |
D | toolutil.cpp | 103 getLongPathname(const char *pathname) { in getLongPathname() argument 107 HANDLE file=FindFirstFileA(pathname, &info); in getLongPathname() 111 const char *basename=findBasename(pathname); in getLongPathname() 112 if(basename!=pathname) { in getLongPathname() 114 … uprv_memmove(info.cFileName+(basename-pathname), info.cFileName, uprv_strlen(info.cFileName)+1); in getLongPathname() 115 uprv_memcpy(info.cFileName, pathname, basename-pathname); in getLongPathname() 117 pathname=info.cFileName; in getLongPathname() 122 return pathname; in getLongPathname() 184 uprv_mkdir(const char *pathname, UErrorCode *status) { in uprv_mkdir() argument 188 retVal = _mkdir(pathname); in uprv_mkdir() [all …]
|
D | pkg_gencmn.c | 83 char *pathname, *basename; member 267 …printf("adding %s (%ld byte%s)\n", files[i].pathname, (long)files[i].fileSize, files[i].fileSize =… in createCommonDataFile() 271 file=T_FileStream_open(files[i].pathname, "rb"); in createCommonDataFile() 273 fprintf(stderr, "gencmn: unable to open listed file %s\n", files[i].pathname); in createCommonDataFile() 288 …, "gencmn: unable to read %s properly (got %ld/%ld byte%s)\n", files[i].pathname, (long)nread, (l… in createCommonDataFile() 349 sprintf(buffer, "extern const char\n %s%s[]", symPrefix?symPrefix:"", files[0].pathname); in createCommonDataFile() 352 sprintf(buffer, ",\n %s%s[]", symPrefix?symPrefix:"", files[i].pathname); in createCommonDataFile() 389 …(buffer, " { \"%s\", %s%s }", files[0].basename, symPrefix?symPrefix:"", files[0].pathname); in createCommonDataFile() 392 …ffer, ",\n { \"%s\", %s%s }", files[i].basename, symPrefix?symPrefix:"", files[i].pathname); in createCommonDataFile() 438 files[fileCount].pathname=fullPath; in addFile() [all …]
|
/external/linux-tools-perf/src/tools/perf/util/ |
D | path.c | 92 char *pathname = get_pathname(); in mkpath() local 95 len = vsnprintf(pathname, PATH_MAX, fmt, args); in mkpath() 99 return cleanup_path(pathname); in mkpath() 105 char *pathname = get_pathname(); in perf_path() local 112 memcpy(pathname, perf_dir, len); in perf_path() 114 pathname[len++] = '/'; in perf_path() 116 len += vsnprintf(pathname + len, PATH_MAX - len, fmt, args); in perf_path() 120 return cleanup_path(pathname); in perf_path()
|
/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/selinux/sepolgen/src/sepolgen/ |
D | defaults.py | 26 def __init__(self, pathname): argument 28 if not os.path.exists(pathname): 32 self.config_pathname = pathname 35 for lineno, line in enumerate(open(pathname)): 39 raise ValueError, "%s:%d: line is not in key = value format" % (pathname, lineno+1)
|
/external/libvncserver/x11vnc/misc/ |
D | Xdummy | 1481 int open(const char *pathname, int flags, unsigned short mode) { 1492 if (strstr(pathname, "lib/modules/")) { 1498 if (strstr(pathname, "/dev/") == pathname) { 1499 store_dev = strdup(pathname); 1501 if (strstr(pathname, "/dev/tty") == pathname && strcmp(pathname, "/dev/tty")) { 1502 pathname = tmpdir_path(pathname); 1503 if (debug) fprintf(stderr, "OPEN: %s -> %s (as FIFO)\n", store_dev, pathname); 1505 unlink(pathname); 1506 mkfifo(pathname, 0666); 1509 fd = real_open(pathname, O_WRONLY|O_CREAT, 0777); [all …]
|
/external/libxml2/os400/dlfcn/ |
D | dlfcn.c | 738 dl_ifs_link(Qp0l_QSYS_Info_t * qsysinfo, const char * pathname) in dl_ifs_link() argument 747 return dlGetObjectName(qsysinfo, (const char *) NULL, 0, pathname); in dl_ifs_link() 814 dl_DB2_path(Qp0l_QSYS_Info_t * qsysinfo, const char * pathname) in dl_DB2_path() argument 817 if (dlpath2QSYS(qsysinfo, pathname, (const char *) NULL)) in dl_DB2_path() 862 dl_qualified_object(Qp0l_QSYS_Info_t * qsysinfo, const char * pathname) in dl_qualified_object() argument 867 if (dl_DB2_name(qsysinfo->Obj_Name, pathname) || in dl_qualified_object() 868 dl_DB2_name(qsysinfo->Lib_Name, pathname + 10)) in dl_qualified_object() 879 const char * libname, const char * pathname) in dl_lib_object() argument 890 while (*pathname == ' ') in dl_lib_object() 891 pathname++; in dl_lib_object() [all …]
|
/external/mesa3d/src/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/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
|
/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/google-breakpad/src/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/toybox/lib/ |
D | portability.h | 123 int fstatat64(int dirfd, const char *pathname, void *buf, int flags); 124 int readlinkat(int dirfd, const char *pathname, char *buf, size_t bufsiz); 127 int fchmodat(int dirfd, const char *pathname, mode_t mode, int flags); 128 int openat(int dirfd, const char *pathname, int flags, ...); 132 int fchownat(int dirfd, const char *pathname, 135 int unlinkat(int dirfd, const char *pathname, int flags);
|
/external/ltrace/ |
D | options.c | 138 static char pathname[PATH_MAX]; in search_for_command() local 156 strncpy(pathname, path, n); in search_for_command() 157 if (n && pathname[n - 1] != '/') { in search_for_command() 158 pathname[n++] = '/'; in search_for_command() 160 strcpy(pathname + n, filename); in search_for_command() 161 if (!access(pathname, X_OK)) { in search_for_command() 162 return pathname; in search_for_command() 468 .pathname = tok, in parse_colon_separated_list() 488 free(entry->pathname); in opt_F_destroy() 496 if (lstat(entry->pathname, &st) < 0) { in opt_F_get_kind() [all …]
|
/external/e2fsprogs/intl/ |
D | relocatable.h | 51 extern const char * relocate (const char *pathname); 68 #define relocate(pathname) (pathname)
|
/external/vboot_reference/cgpt/ |
D | cgpt_find.c | 181 static char pathname[BUFSIZE]; // we'll return this. in is_wholedev() local 186 sprintf(pathname, "%s/%s", devdirs[i], basename); in is_wholedev() 188 if (0 != stat(pathname, &statbuf)) in is_wholedev() 204 return pathname; in is_wholedev() 216 char *pathname; in scan_real_devs() local 233 if ((pathname = is_wholedev(partname))) { in scan_real_devs() 234 if (do_search(params, pathname)) { in scan_real_devs()
|
/external/mockftpserver/tags/2.0.2/src/main/java/org/mockftpserver/stub/command/ |
D | MkdCommandHandler.java | 50 String pathname = command.getRequiredParameter(0); in handleCommand() local 51 invocationRecord.set(PATHNAME_KEY, pathname); in handleCommand() 52 sendReply(session, pathname); in handleCommand()
|
/external/mockftpserver/tags/1.2.2/src/main/java/org/mockftpserver/stub/command/ |
D | MkdCommandHandler.java | 51 String pathname = command.getRequiredString(0); in handleCommand() local 52 invocationRecord.set(PATHNAME_KEY, pathname); in handleCommand() 53 sendReply(session, pathname); in handleCommand()
|