Searched refs:pathname (Results 1 – 13 of 13) sorted by relevance
26 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.size()) // '/.'69 switch (pathname[next]) {[all …]
32 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.size()) // '/.'75 switch (pathname[next]) {[all …]
115 public static boolean restorecon(String pathname) throws NullPointerException { in restorecon() argument116 if (pathname == null) { throw new NullPointerException(); } in restorecon()117 return native_restorecon(pathname, 0); in restorecon()130 private static native boolean native_restorecon(String pathname, int flags); in native_restorecon() argument
309 ScopedUtfChars pathname(env, pathnameStr); in native_restorecon() local310 if (pathname.c_str() == NULL) { in native_restorecon()315 int ret = selinux_android_restorecon(pathname.c_str(), flags); in native_restorecon()316 ALOGV("restorecon(%s) => %d", pathname.c_str(), ret); in native_restorecon()
105 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,
478 int delete_dir_contents(const std::string& pathname, bool ignore_if_missing) { in delete_dir_contents() argument479 return delete_dir_contents(pathname.c_str(), 0, NULL, ignore_if_missing); in delete_dir_contents()482 int delete_dir_contents_and_dir(const std::string& pathname, bool ignore_if_missing) { in delete_dir_contents_and_dir() argument483 return delete_dir_contents(pathname.c_str(), 1, NULL, ignore_if_missing); in delete_dir_contents_and_dir()486 int delete_dir_contents(const char *pathname, in delete_dir_contents() argument494 d = opendir(pathname); in delete_dir_contents()499 ALOGE("Couldn't opendir %s: %s\n", pathname, strerror(errno)); in delete_dir_contents()505 if (rmdir(pathname)) { in delete_dir_contents()506 ALOGE("Couldn't rmdir %s: %s\n", pathname, strerror(errno)); in delete_dir_contents()
344 public boolean accept(File pathname) { in prepareDexDir()345 String name = pathname.getName(); in prepareDexDir()
413 bool is_dir(const char* pathname);
1090 bool is_dir(const char* pathname) { in is_dir() argument1092 if (stat(pathname, &info) == -1) { in is_dir()
285 char *pathname = argv[i]; in main() local402 SLDataLocator_URI locURI = {SL_DATALOCATOR_URI, (SLchar *) pathname}; in main()
1762 const char *pathname = uri; in android_audioPlayer_realize() local1764 if (!strncasecmp(pathname, "file://", 7)) { in android_audioPlayer_realize()1765 pathname += 7; in android_audioPlayer_realize()1768 int fd = ::open(pathname, O_RDONLY); in android_audioPlayer_realize()
META-INF/ META-INF/MANIFEST.MF org/ org/ccil/ org/ ...
META-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...