/external/pdfium/third_party/freetype/src/base/ |
ftmac.c | 42 resource fork. So we just grab the stream->pathname field. 279 FT_FSPathMakeRes( const UInt8* pathname, 286 if ( noErr != FSPathMakeRef( pathname, &ref, FALSE ) ) 302 /* Return the file type for given pathname */ 304 get_file_type_from_path( const UInt8* pathname ) 310 if ( noErr != FSPathMakeRef( pathname, &ref, FALSE ) ) 511 /* Pathname for FSRef can be in various formats: HFS, HFS+, and POSIX. */ 546 const UInt8* pathname ) 562 err = lookup_lwfn_by_fond( pathname, lwfn_file_name, 701 const UInt8* pathname, 1016 UInt8 pathname[PATH_MAX]; local [all...] |
/external/ltp/testcases/kernel/syscalls/mknodat/ |
mknodat02.c | 21 * 1) mknod(2) returns -1 and sets errno to EROFS if pathname refers to 24 * links were encountered in resolving pathname. 66 char *pathname; member in struct:test_case_t 155 char *pathname = tc->pathname; local 158 TEST(mknodat(fd, pathname, mode, 0)); 171 ltp_syscall(__NR_unlinkat, fd, pathname, 0) < 0) { 173 "failed.", fd, pathname);
|
/external/selinux/libselinux/src/android/ |
android.c | 1223 static int pkgdir_selabel_lookup(const char *pathname, 1235 if (!strncmp(pathname, DATA_DATA_PREFIX, sizeof(DATA_DATA_PREFIX)-1)) { 1236 pathname += sizeof(DATA_DATA_PREFIX) - 1; 1237 } else if (!strncmp(pathname, DATA_USER_PREFIX, sizeof(DATA_USER_PREFIX)-1)) { 1238 pathname += sizeof(DATA_USER_PREFIX) - 1; 1239 while (isdigit(*pathname)) 1240 pathname++; 1241 if (*pathname == '/') 1242 pathname++; 1245 } else if (!strncmp(pathname, DATA_USER_DE_PREFIX, sizeof(DATA_USER_DE_PREFIX)-1)) 1411 char *pathname = NULL, *pathdnamer = NULL, *pathdname, *pathbname; local [all...] |
/external/ltp/testcases/kernel/syscalls/futimesat/ |
futimesat01.c | 51 static const char pathname[] = "futimesattestdir", variable 110 SAFE_MKDIR(cleanup, pathname, 0700); 112 fds[0] = SAFE_OPEN(cleanup, pathname, O_DIRECTORY);
|
/system/core/init/ |
util.h | 72 int mkdir_recursive(const char *pathname, mode_t mode); 78 int restorecon(const char *pathname, int flags = 0); 80 bool is_dir(const char* pathname);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/ |
importdl.h | 31 extern PyObject *_PyImport_LoadDynamicModule(char *name, char *pathname,
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/ |
util.py | 185 def convert_path (pathname):
186 """Return 'pathname' as a name that will work on the native filesystem,
191 ValueError on non-Unix-ish systems if 'pathname' either starts or
195 return pathname
196 if not pathname:
197 return pathname
198 if pathname[0] == '/':
199 raise ValueError, "path '%s' cannot be absolute" % pathname
200 if pathname[-1] == '/':
201 raise ValueError, "path '%s' cannot end with '/'" % pathname
[all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/ |
importdl.h | 31 extern PyObject *_PyImport_LoadDynamicModule(char *name, char *pathname,
|
/external/bsdiff/ |
file.h | 16 // Opens a file |pathname| with flags |flags| as defined by open(2). In case 18 static std::unique_ptr<File> FOpen(const char* pathname, int flags);
|
/external/e2fsprogs/util/ |
install-symlink.in | 44 echo $SRC: Source pathname must be absolute 49 echo $DEST: Destination pathname must be absolute
|
/external/emma/core/java12/com/vladium/util/ |
Files.java | 106 String pathname = tokenizer.nextToken (); local 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) 129 if (pathname == null) throw new IllegalArgumentException ("null input: pathname"); [all...] |
/external/ltp/include/ |
safe_file_ops_fn.h | 60 * If the file (pathname) does not exist It will be created with 71 const char *pathname,
|
/external/ltp/testcases/kernel/syscalls/access/ |
access05.c | 29 * if the pathname points outside allocate address space for the 32 * if the specified file doesn't exist (or pathname is NULL). 34 * if the pathname size is > PATH_MAX characters. 36 * if a component used as a directory in pathname is not a directory. 38 * if too many symbolic links were encountered in resolving pathname. 73 char *pathname; member in struct:test_case_t 139 test_cases[4].pathname = bad_addr; 141 test_cases[5].pathname = get_high_address(); 192 file_name = test_cases[i].pathname;
|
/external/ltp/testcases/kernel/syscalls/faccessat/ |
faccessat01.c | 58 static char pathname[256]; variable 121 sprintf(pathname, "faccessattestdir%d", p); 128 SAFE_MKDIR(cleanup, pathname, 0700); 130 fds[0] = SAFE_OPEN(cleanup, pathname, O_DIRECTORY);
|
/external/ltp/testcases/kernel/syscalls/fchmodat/ |
fchmodat01.c | 58 char pathname[256]; variable 119 sprintf(pathname, "fchmodattestdir%d", p); 126 SAFE_MKDIR(cleanup, pathname, 0700); 128 fds[0] = SAFE_OPEN(cleanup, pathname, O_DIRECTORY);
|
/external/ltp/testcases/kernel/syscalls/lstat/ |
lstat02.c | 26 * 3) lstat(2) returns -1 and sets errno to EFAULT if pathname points 28 * 4) lstat(2) returns -1 and sets errno to ENAMETOOLONG if the pathname 31 * component in pathname is not a directory. 32 * 6) lstat(2) returns -1 and sets errno to ELOOP if the pathname has too 68 char *pathname; member in struct:test_case_t 147 test_cases[i].pathname = SAFE_MMAP(cleanup, 0, 1, PROT_NONE, 153 test_cases[i].pathname = (char *)get_high_address(); 164 TEST(lstat(test_cases[i].pathname, &stat_buf));
|
/prebuilts/gdb/darwin-x86/lib/python2.7/distutils/ |
util.py | 110 def convert_path (pathname): 111 """Return 'pathname' as a name that will work on the native filesystem, 116 ValueError on non-Unix-ish systems if 'pathname' either starts or 120 return pathname 121 if not pathname: 122 return pathname 123 if pathname[0] == '/': 124 raise ValueError, "path '%s' cannot be absolute" % pathname 125 if pathname[-1] == '/': 126 raise ValueError, "path '%s' cannot end with '/'" % pathname [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/distutils/ |
util.py | 110 def convert_path (pathname): 111 """Return 'pathname' as a name that will work on the native filesystem, 116 ValueError on non-Unix-ish systems if 'pathname' either starts or 120 return pathname 121 if not pathname: 122 return pathname 123 if pathname[0] == '/': 124 raise ValueError, "path '%s' cannot be absolute" % pathname 125 if pathname[-1] == '/': 126 raise ValueError, "path '%s' cannot end with '/'" % pathname [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/distutils/ |
util.py | 110 def convert_path (pathname): 111 """Return 'pathname' as a name that will work on the native filesystem, 116 ValueError on non-Unix-ish systems if 'pathname' either starts or 120 return pathname 121 if not pathname: 122 return pathname 123 if pathname[0] == '/': 124 raise ValueError, "path '%s' cannot be absolute" % pathname 125 if pathname[-1] == '/': 126 raise ValueError, "path '%s' cannot end with '/'" % pathname [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/distutils/ |
util.py | 110 def convert_path (pathname): 111 """Return 'pathname' as a name that will work on the native filesystem, 116 ValueError on non-Unix-ish systems if 'pathname' either starts or 120 return pathname 121 if not pathname: 122 return pathname 123 if pathname[0] == '/': 124 raise ValueError, "path '%s' cannot be absolute" % pathname 125 if pathname[-1] == '/': 126 raise ValueError, "path '%s' cannot end with '/'" % pathname [all...] |
/external/webrtc/webrtc/base/ |
diskcache.cc | 269 Pathname pathname; local 270 pathname.SetFolder(folder_); 271 pathname.SetBasename(buffer); 272 pathname.SetExtension(extension); 278 return pathname.pathname(); 283 Pathname pathname(filename); 285 if (1 != sscanf(pathname.extension().c_str(), ".%u", &tempdex) [all...] |
/external/googletest/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 std::string& pathname) : pathname_(pathname) { 98 // Returns a pathname for a file that does not currently exist. The pathname 101 // already exists. The number will be incremented until a pathname is found 156 // Returns true if pathname describes a directory in the file-system 165 // Returns true if pathname describes a root directory. (Windows has one 169 // Returns true if pathname describes an absolute path [all...] |
/external/icu/icu4c/source/tools/toolutil/ |
toolutil.h | 58 * This function returns a pointer to the original pathname 61 * if the pathname is indeed abbreviated. 64 * the input pathname pointer. 70 getLongPathname(const char *pathname); 73 * Find the basename at the end of a pathname, i.e., the part 75 * to this part of the pathname. 76 * If the pathname only contains a basename and no file separator, 77 * then the pathname pointer itself is returned. 83 * Find the directory name of a pathname, that is, everything 90 * @param path the full pathname to inspect. [all...] |
/external/libvpx/libvpx/third_party/googletest/src/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 std::string& pathname) : pathname_(pathname) { 98 // Returns a pathname for a file that does not currently exist. The pathname 101 // already exists. The number will be incremented until a pathname is found 156 // Returns true if pathname describes a directory in the file-system 165 // Returns true if pathname describes a root directory. (Windows has one 169 // Returns true if pathname describes an absolute path [all...] |
/external/ltp/testcases/kernel/syscalls/readlinkat/ |
readlinkat02.c | 27 * 4. pathname is relative and dirfd is a file descriptor referring to a file 48 const char *pathname; member in struct:test_case_t 100 TEST(readlinkat(*test->dirfd, test->pathname, buf, test->bufsiz));
|