Searched refs:pathname (Results 1 – 11 of 11) sorted by relevance
/frameworks/compile/mclinker/lib/Support/Windows/ |
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.size()) // '/.' 68 switch (pathname[next]) { [all …]
|
/frameworks/compile/mclinker/lib/Support/Unix/ |
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.size()) // '/.' 75 switch (pathname[next]) { [all …]
|
/frameworks/base/core/java/android/os/ |
D | SELinux.java | 143 public static boolean restorecon(String pathname) throws NullPointerException { in restorecon() argument 144 if (pathname == null) { throw new NullPointerException(); } in restorecon() 145 return native_restorecon(pathname, 0); in restorecon() 158 private static native boolean native_restorecon(String pathname, int flags); in native_restorecon() argument
|
/frameworks/base/core/jni/ |
D | android_os_SELinux.cpp | 412 ScopedUtfChars pathname(env, pathnameStr); in native_restorecon() local 413 if (pathname.c_str() == NULL) { in native_restorecon() 418 int ret = selinux_android_restorecon(pathname.c_str(), flags); in native_restorecon() 419 ALOGV("restorecon(%s) => %d", pathname.c_str(), ret); in native_restorecon()
|
/frameworks/native/cmds/installd/ |
D | utils.c | 283 int delete_dir_contents(const char *pathname, in delete_dir_contents() argument 290 d = opendir(pathname); in delete_dir_contents() 292 ALOGE("Couldn't opendir %s: %s\n", pathname, strerror(errno)); in delete_dir_contents() 298 if (rmdir(pathname)) { in delete_dir_contents() 299 ALOGE("Couldn't rmdir %s: %s\n", pathname, strerror(errno)); in delete_dir_contents()
|
D | installd.h | 162 int delete_dir_contents(const char *pathname,
|
/frameworks/multidex/library/src/android/support/multidex/ |
D | MultiDexExtractor.java | 265 public boolean accept(File pathname) { in prepareDexDir() 266 return !pathname.getName().startsWith(extractedFilePrefix); in prepareDexDir()
|
/frameworks/wilhelm/tests/sandbox/ |
D | reverb.c | 285 char *pathname = argv[i]; in main() local 402 SLDataLocator_URI locURI = {SL_DATALOCATOR_URI, (SLchar *) pathname}; in main()
|
/frameworks/rs/cpu_ref/ |
D | rsCpuCore.cpp | 208 read_file(const char* pathname, char* buffer, size_t buffsize) in read_file() argument 212 fd = open(pathname, O_RDONLY); in read_file()
|
/frameworks/wilhelm/src/android/ |
D | AudioPlayer_to_android.cpp | 1575 const char *pathname = uri; in android_audioPlayer_realize() local 1577 if (!strncasecmp(pathname, "file://", 7)) { in android_audioPlayer_realize() 1578 pathname += 7; in android_audioPlayer_realize() 1581 int fd = ::open(pathname, O_RDONLY); in android_audioPlayer_realize()
|
/frameworks/base/docs/html/tools/sdk/ndk/ |
D | index.jd | 2117 <li>Fixed Windows pathname support, by keeping the {@code :} character if it looks
|