Searched refs:pathname (Results 1 - 10 of 10) sorted by relevance
/frameworks/compile/mclinker/lib/Support/Unix/ |
H A D | PathV3.inc | 31 size_t canonicalize(std::string& pathname) 50 if (pathname.empty()) 56 while (handler < pathname.size()) { 57 if (separator == pathname[handler]) { // handler = 1st '/' 59 if (next >= pathname.size()) 61 switch(pathname[next]) { // next = handler + 1; 63 while (next < pathname.size() && separator == pathname[next]) 66 pathname.erase(handler, next - handler - 1); 73 if (next >= pathname [all...] |
/frameworks/compile/mclinker/lib/Support/Windows/ |
H A D | PathV3.inc | 24 size_t canonicalize(std::string& pathname) 43 if (pathname.empty()) 49 while (handler < pathname.size()) { 50 if (separator == pathname[handler]) { // handler = 1st '/' 52 if (next >= pathname.size()) 54 switch(pathname[next]) { // next = handler + 1; 56 while (next < pathname.size() && separator == pathname[next]) 59 pathname.erase(handler, next - handler - 1); 66 if (next >= pathname [all...] |
/frameworks/base/core/java/android/os/ |
H A D | SELinux.java | 76 * @param path the pathname of the file object. 139 * @param pathname The pathname of the file to be relabeled. 141 * @exception NullPointerException if the pathname is a null object. 143 public static boolean restorecon(String pathname) throws NullPointerException { argument 144 if (pathname == null) { throw new NullPointerException(); } 145 return native_restorecon(pathname, 0); 155 * @param pathname The pathname of the file to be relabeled. 158 private static native boolean native_restorecon(String pathname, in argument [all...] |
/frameworks/base/core/jni/ |
H A D | android_os_SELinux.cpp | 403 * Parameters: pathname: the pathname for the file to be relabeled 412 ScopedUtfChars pathname(env, pathnameStr); 413 if (pathname.c_str() == NULL) { 418 int ret = selinux_android_restorecon(pathname.c_str(), flags); 419 ALOGV("restorecon(%s) => %d", pathname.c_str(), ret);
|
/frameworks/native/cmds/installd/ |
H A D | utils.c | 283 int delete_dir_contents(const char *pathname, argument 290 d = opendir(pathname); 292 ALOGE("Couldn't opendir %s: %s\n", pathname, strerror(errno)); 298 if (rmdir(pathname)) { 299 ALOGE("Couldn't rmdir %s: %s\n", pathname, strerror(errno));
|
H A D | installd.h | 162 int delete_dir_contents(const char *pathname,
|
/frameworks/multidex/library/src/android/support/multidex/ |
H A D | MultiDexExtractor.java | 267 public boolean accept(File pathname) { 268 return !pathname.getName().startsWith(extractedFilePrefix);
|
/frameworks/wilhelm/tests/sandbox/ |
H A D | reverb.c | 285 char *pathname = argv[i]; local 402 SLDataLocator_URI locURI = {SL_DATALOCATOR_URI, (SLchar *) pathname};
|
/frameworks/wilhelm/src/android/ |
H A D | AudioPlayer_to_android.cpp | 1573 const char *pathname = uri; local 1575 if (!strncasecmp(pathname, "file://", 7)) { 1576 pathname += 7; 1579 int fd = ::open(pathname, O_RDONLY);
|
/frameworks/rs/cpu_ref/ |
H A D | rsCpuCore.cpp | 208 read_file(const char* pathname, char* buffer, size_t buffsize) argument 212 fd = open(pathname, O_RDONLY);
|
Completed in 243 milliseconds