Searched refs:pathname (Results 1 - 9 of 9) 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 | 70 * @param path the pathname of the file object. 135 * @param pathname The pathname of the file to be relabeled. 137 * @exception NullPointerException if the pathname is a null object. 139 public static boolean restorecon(String pathname) throws NullPointerException { argument 140 if (pathname == null) { throw new NullPointerException(); } 141 return native_restorecon(pathname); 151 * @param pathname The pathname of the file to be relabeled. 154 private static native boolean native_restorecon(String pathname); 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) { 414 ALOGV("restorecon(%p) => threw exception", pathname); 418 int ret = selinux_android_restorecon(pathname.c_str()); 419 ALOGV("restorecon(%s) => %d", pathname.c_str(), ret);
|
/frameworks/native/cmds/installd/ |
H A D | installd.h | 154 int delete_dir_contents(const char *pathname,
|
H A D | utils.c | 269 int delete_dir_contents(const char *pathname, argument 276 d = opendir(pathname); 278 ALOGE("Couldn't opendir %s: %s\n", pathname, strerror(errno)); 284 if (rmdir(pathname)) { 285 ALOGE("Couldn't rmdir %s: %s\n", pathname, strerror(errno));
|
/frameworks/rs/cpu_ref/ |
H A D | rsCpuCore.cpp | 205 read_file(const char* pathname, char* buffer, size_t buffsize) argument 209 fd = open(pathname, O_RDONLY);
|
/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 | 1486 const char *pathname = uri; local 1488 if (!strncasecmp(pathname, "file://", 7)) { 1489 pathname += 7; 1492 int fd = ::open(pathname, O_RDONLY);
|
Completed in 2102 milliseconds