/frameworks/base/cmds/installd/ |
utils.c | 131 int delete_dir_contents(const char *pathname, 138 d = opendir(pathname); 140 LOGE("Couldn't opendir %s: %s\n", pathname, strerror(errno)); 146 if (rmdir(pathname)) { 147 LOGE("Couldn't rmdir %s: %s\n", pathname, strerror(errno));
|
/cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/ |
RootProcessScanner.java | 86 private static boolean isUnapprovedRootProcess(File pathname) 88 return isPidDirectory(pathname) 89 && !isKernelProcess(pathname) 90 && isRootProcess(pathname); 93 private static boolean isPidDirectory(File pathname) { 94 return pathname.isDirectory() && Pattern.matches("\\d+", pathname.getName());
|
/hardware/msm7k/libgralloc-qsd8k/tests/ |
pmemalloc_test.cpp | 59 virtual int open(const char* pathname, int flags, int mode) { 96 virtual int open(const char* pathname, int flags, int mode) { 97 EXPECT_EQ(fakePmemDev, pathname); 138 virtual int open(const char* pathname, int flags, int mode) { 139 EXPECT_EQ(fakePmemDev, pathname); 183 virtual int open(const char* pathname, int flags, int mode) { 184 EXPECT_EQ(fakePmemDev, pathname); 213 virtual int open(const char* pathname, int flags, int mode) { 214 EXPECT_EQ(fakePmemDev, pathname); 287 virtual int open(const char* pathname, int flags, int mode) [all...] |
/external/bluetooth/bluez/src/ |
textfile.c | 163 static int write_key(const char *pathname, const char *key, const char *value, int icase) 170 fd = open(pathname, O_RDWR); 286 static char *read_key(const char *pathname, const char *key, int icase) 293 fd = open(pathname, O_RDONLY); 350 int textfile_put(const char *pathname, const char *key, const char *value) 352 return write_key(pathname, key, value, 0); 355 int textfile_caseput(const char *pathname, const char *key, const char *value) 357 return write_key(pathname, key, value, 1); 360 int textfile_del(const char *pathname, const char *key) 362 return write_key(pathname, key, NULL, 0) [all...] |
/external/e2fsprogs/debugfs/ |
ncheck.c | 24 char *pathname; member in struct:inode_info 152 iinfo->ino, &iinfo->pathname); 155 "while resolving pathname for inode %d (%d)", 165 printf("%u\t%s\n", iinfo->ino, iinfo->pathname ? 166 iinfo->pathname : "<unknown pathname>"); 167 if (iinfo->pathname) 168 free(iinfo->pathname);
|
/external/bluetooth/glib/gio/ |
glocalfilemonitor.h | 57 GFileMonitor * _g_local_file_monitor_new (const char *pathname,
|
/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/webkit/WebCore/page/ |
Location.h | 55 String pathname() const;
|
/external/webkit/WebCore/workers/ |
WorkerLocation.h | 57 String pathname() const;
|
WorkerLocation.idl | 40 readonly attribute DOMString pathname;
|
WorkerLocation.cpp | 62 String WorkerLocation::pathname() const function in class:WebCore::WorkerLocation
|
/system/core/init/ |
util.h | 34 int mkdir_recursive(const char *pathname, mode_t mode);
|
/external/icu4c/tools/toolutil/ |
toolutil.h | 55 * This function returns a pointer to the original pathname 58 * if the pathname is indeed abbreviated. 61 * the input pathname pointer. 67 getLongPathname(const char *pathname); 70 * Find the basename at the end of a pathname, i.e., the part 72 * to this part of the pathname. 73 * If the pathname only contains a basename and no file separator, 74 * then the pathname pointer itself is returned. 80 * Find the directory name of a pathname, that is, everything 87 * @param path the full pathname to inspect. [all...] |
pkg_gencmn.c | 84 char *pathname, *basename; member in struct:__anon4330 244 printf("adding %s (%ld byte%s)\n", files[i].pathname, (long)files[i].fileSize, files[i].fileSize == 1 ? "" : "s"); 248 file=T_FileStream_open(files[i].pathname, "rb"); 250 fprintf(stderr, "gencmn: unable to open listed file %s\n", files[i].pathname); 265 fprintf(stderr, "gencmn: unable to read %s properly (got %ld/%ld byte%s)\n", files[i].pathname, (long)nread, (long)files[i].fileSize, files[i].fileSize == 1 ? "" : "s"); 326 sprintf(buffer, "extern const char\n %s%s[]", symPrefix?symPrefix:"", files[0].pathname); 329 sprintf(buffer, ",\n %s%s[]", symPrefix?symPrefix:"", files[i].pathname); 366 sprintf(buffer, " { \"%s\", %s%s }", files[0].basename, symPrefix?symPrefix:"", files[0].pathname); 369 sprintf(buffer, ",\n { \"%s\", %s%s }", files[i].basename, symPrefix?symPrefix:"", files[i].pathname); 400 /* store the pathname */ [all...] |
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/io/ |
FileWrapper.java | 36 * Creates a new File instance from a parent abstract pathname and a child pathname string. 37 * @param parent the parent pathname 47 * Creates a new File instance by converting the given pathname string into an abstract 48 * pathname. 49 * @param pathname the pathname 53 public FileWrapper(String pathname) { 54 super(pathname); 58 * Creates a new File instance from a parent abstract pathname and a child pathname string [all...] |
FolderWrapper.java | 32 * Creates a new File instance from a parent abstract pathname and a child pathname string. 33 * @param parent the parent pathname 43 * Creates a new File instance by converting the given pathname string into an abstract 44 * pathname. 45 * @param pathname the pathname 49 public FolderWrapper(String pathname) { 50 super(pathname); 54 * Creates a new File instance from a parent abstract pathname and a child pathname string [all...] |
/dalvik/dx/src/com/android/dx/cf/direct/ |
ClassPathOpener.java | 39 /** {@code non-null;} pathname to start with */ 40 private final String pathname; field in class:ClassPathOpener 87 * @param pathname {@code non-null;} path element to process 93 public ClassPathOpener(String pathname, boolean sort, Consumer consumer) { 94 this.pathname = pathname; 106 File file = new File(pathname);
|
/external/emma/lib/internal/ |
stamptool.jar | |
/external/freetype/include/freetype/ |
ftsystem.h | 296 * pathname :: 328 FT_StreamDesc pathname; member in struct:FT_StreamRec_
|
/external/webkit/WebCore/html/ |
HTMLAnchorElement.idl | 40 readonly attribute DOMString pathname; 48 attribute [ConvertNullToNullString] DOMString pathname;
|
HTMLAreaElement.idl | 36 readonly attribute DOMString pathname;
|
/external/zlib/contrib/minizip/ |
zip.h | 116 extern zipFile ZEXPORT zipOpen OF((const char *pathname, int append)); 117 extern zipFile ZEXPORT zipOpen64 OF((const void *pathname, int append)); 120 pathname contain on Windows XP a filename like "c:\\zlib\\zlib113.zip" or on 122 if the file pathname exist and append==APPEND_STATUS_CREATEAFTER, the zip 125 if the file pathname exist and append==APPEND_STATUS_ADDINZIP, we will 137 extern zipFile ZEXPORT zipOpen2 OF((const char *pathname, 142 extern zipFile ZEXPORT zipOpen2_64 OF((const void *pathname,
|
/external/chromium/third_party/icu/source/tools/toolutil/ |
pkg_gencmn.c | 84 char *pathname, *basename; member in struct:__anon3257 244 printf("adding %s (%ld byte%s)\n", files[i].pathname, (long)files[i].fileSize, files[i].fileSize == 1 ? "" : "s"); 248 file=T_FileStream_open(files[i].pathname, "rb"); 250 fprintf(stderr, "gencmn: unable to open listed file %s\n", files[i].pathname); 265 fprintf(stderr, "gencmn: unable to read %s properly (got %ld/%ld byte%s)\n", files[i].pathname, (long)nread, (long)files[i].fileSize, files[i].fileSize == 1 ? "" : "s"); 326 sprintf(buffer, "extern const char\n %s%s[]", symPrefix?symPrefix:"", files[0].pathname); 329 sprintf(buffer, ",\n %s%s[]", symPrefix?symPrefix:"", files[i].pathname); 366 sprintf(buffer, " { \"%s\", %s%s }", files[0].basename, symPrefix?symPrefix:"", files[0].pathname); 369 sprintf(buffer, ",\n { \"%s\", %s%s }", files[i].basename, symPrefix?symPrefix:"", files[i].pathname); 400 /* store the pathname */ [all...] |
/external/chromium/third_party/zlib/contrib/minizip/ |
zip.h | 116 extern zipFile ZEXPORT zipOpen OF((const char *pathname, int append)); 119 pathname contain on Windows XP a filename like "c:\\zlib\\zlib113.zip" or on 121 if the file pathname exist and append==APPEND_STATUS_CREATEAFTER, the zip 124 if the file pathname exist and append==APPEND_STATUS_ADDINZIP, we will 136 extern zipFile ZEXPORT zipOpen2 OF((const char *pathname,
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/suid/ |
SuidFilesActivity.java | 208 public boolean accept(File pathname) { 210 if (FileUtils.getFileStatus(pathname.getPath(), status, true)) { 213 Log.w(TAG, "Could not stat " + pathname); 224 public boolean accept(File pathname) { 225 if (FileUtils.getFileStatus(pathname.getPath(), status, true)) { 230 Log.w(TAG, "Could not stat " + pathname);
|