Searched refs:pathname (Results 1 - 7 of 7) sorted by relevance

/frameworks/compile/mclinker/lib/Support/Unix/
H A DPathV3.inc32 size_t canonicalize(std::string& pathname)
51 if (pathname.empty())
57 while (handler < pathname.size()) {
58 if (separator == pathname[handler]) { // handler = 1st '/'
60 if (next >= pathname.size())
62 switch(pathname[next]) { // next = handler + 1;
64 while (next < pathname.size() && separator == pathname[next])
67 pathname.erase(handler, next - handler - 1);
74 if (next >= pathname
[all...]
/frameworks/base/core/java/android/os/
H A DSELinux.java70 * @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 Dandroid_os_SELinux.cpp480 * Parameters: pathname: the pathname for the file to be relabeled
484 static jboolean native_restorecon(JNIEnv *env, jobject clazz, jstring pathname) { argument
489 const char *file = const_cast<char *>(env->GetStringUTFChars(pathname, NULL));
491 env->ReleaseStringUTFChars(pathname, file);
/frameworks/base/cmds/installd/
H A Dinstalld.h157 int delete_dir_contents(const char *pathname,
H A Dutils.c268 int delete_dir_contents(const char *pathname, argument
275 d = opendir(pathname);
277 ALOGE("Couldn't opendir %s: %s\n", pathname, strerror(errno));
283 if (rmdir(pathname)) {
284 ALOGE("Couldn't rmdir %s: %s\n", pathname, strerror(errno));
/frameworks/wilhelm/tests/sandbox/
H A Dreverb.c285 char *pathname = argv[i]; local
402 SLDataLocator_URI locURI = {SL_DATALOCATOR_URI, (SLchar *) pathname};
/frameworks/wilhelm/src/android/
H A DAudioPlayer_to_android.cpp1510 const char *pathname = uri; local
1512 if (!strncasecmp(pathname, "file://", 7)) {
1513 pathname += 7;
1516 int fd = ::open(pathname, O_RDONLY);

Completed in 99 milliseconds