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

/frameworks/compile/mclinker/lib/Support/Unix/
H A DPathV3.inc32 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 DPathV3.inc26 size_t canonicalize(std::string& pathname) {
44 if (pathname.empty())
50 while (handler < pathname.size()) {
51 if (separator == pathname[handler]) { // handler = 1st '/'
53 if (next >= pathname.size())
55 switch (pathname[next]) { // next = handler + 1;
57 while (next < pathname.size() && separator == pathname[next])
60 pathname.erase(handler, next - handler - 1);
67 if (next >= pathname
[all...]
/frameworks/base/core/java/android/os/
H A DSELinux.java69 * @param path the pathname of the file object.
111 * @param pathname The pathname of the file to be relabeled.
113 * @exception NullPointerException if the pathname is a null object.
115 public static boolean restorecon(String pathname) throws NullPointerException { argument
116 if (pathname == null) { throw new NullPointerException(); }
117 return native_restorecon(pathname, 0);
127 * @param pathname The pathname of the file to be relabeled.
130 private static native boolean native_restorecon(String pathname, in argument
[all...]
/frameworks/native/cmds/installd/
H A Dutils.h105 int delete_dir_contents(const std::string& pathname, bool ignore_if_missing = false);
106 int delete_dir_contents_and_dir(const std::string& pathname, bool ignore_if_missing = false);
108 int delete_dir_contents(const char *pathname,
H A Dutils.cpp370 int delete_dir_contents(const std::string& pathname, bool ignore_if_missing) { argument
371 return delete_dir_contents(pathname.c_str(), 0, NULL, ignore_if_missing);
374 int delete_dir_contents_and_dir(const std::string& pathname, bool ignore_if_missing) { argument
375 return delete_dir_contents(pathname.c_str(), 1, NULL, ignore_if_missing);
378 int delete_dir_contents(const char *pathname, argument
386 d = opendir(pathname);
391 ALOGE("Couldn't opendir %s: %s\n", pathname, strerror(errno));
397 if (rmdir(pathname)) {
398 ALOGE("Couldn't rmdir %s: %s\n", pathname, strerror(errno));
/frameworks/base/core/jni/
H A Dandroid_os_SELinux.cpp300 * Parameters: pathname: the pathname for the file to be relabeled
309 ScopedUtfChars pathname(env, pathnameStr);
310 if (pathname.c_str() == NULL) {
315 int ret = selinux_android_restorecon(pathname.c_str(), flags);
316 ALOGV("restorecon(%s) => %d", pathname.c_str(), ret);
/frameworks/native/cmds/dumpstate/
H A Ddumpstate.h197 bool is_dir(const char* pathname);
H A Dutils.cpp1232 bool is_dir(const char* pathname) { argument
1234 if (stat(pathname, &info) == -1) {
/frameworks/multidex/library/src/android/support/multidex/
H A DMultiDexExtractor.java259 public boolean accept(File pathname) {
260 return !pathname.getName().startsWith(extractedFilePrefix);
/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.cpp1574 const char *pathname = uri; local
1576 if (!strncasecmp(pathname, "file://", 7)) {
1577 pathname += 7;
1580 int fd = ::open(pathname, O_RDONLY);
/frameworks/opt/setupwizard/tools/docs/
H A Ddoclava.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/ccil/ org/ccil/cowan/ org/ccil/cowan/tagsoup/ ...
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 1743 milliseconds