/frameworks/libs/net/common/native/bpf_syscall_wrappers/include/ |
D | BpfSyscallWrappers.h | 93 inline int bpfFdPin(const BPF_FD_TYPE map_fd, const char* pathname) { in bpfFdPin() argument 95 .pathname = ptr_to_u64(pathname), in bpfFdPin() 100 inline int bpfFdGet(const char* pathname, uint32_t flag) { in bpfFdGet() argument 102 .pathname = ptr_to_u64(pathname), in bpfFdGet() 107 inline int mapRetrieve(const char* pathname, uint32_t flag) { in mapRetrieve() argument 108 return bpfFdGet(pathname, flag); in mapRetrieve() 111 inline int mapRetrieveRW(const char* pathname) { in mapRetrieveRW() argument 112 return mapRetrieve(pathname, 0); in mapRetrieveRW() 115 inline int mapRetrieveRO(const char* pathname) { in mapRetrieveRO() argument 116 return mapRetrieve(pathname, BPF_F_RDONLY); in mapRetrieveRO() [all …]
|
/frameworks/compile/mclinker/lib/Support/Windows/ |
D | PathV3.inc | 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 …]
|
/frameworks/compile/mclinker/lib/Support/Unix/ |
D | PathV3.inc | 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 …]
|
/frameworks/base/core/java/android/os/ |
D | SELinux.java | 139 public static boolean restorecon(String pathname) throws NullPointerException { in restorecon() argument 140 if (pathname == null) { throw new NullPointerException(); } in restorecon() 141 return native_restorecon(pathname, 0); in restorecon() 154 private static native boolean native_restorecon(String pathname, int flags); in native_restorecon() argument
|
/frameworks/layoutlib/bridge/tests/src/com/android/ide/common/resources/deprecated/ |
D | TestFolderWrapper.java | 26 public TestFolderWrapper(String pathname) { in TestFolderWrapper() argument 27 super(pathname); in TestFolderWrapper()
|
/frameworks/native/cmds/installd/ |
D | utils.h | 118 int create_dir_if_needed(const std::string& pathname, mode_t mode); 120 int delete_dir_contents(const std::string& pathname, bool ignore_if_missing = false); 121 int delete_dir_contents_and_dir(const std::string& pathname, bool ignore_if_missing = false); 123 int delete_dir_contents(const char *pathname,
|
D | utils.cpp | 539 int create_dir_if_needed(const std::string& pathname, mode_t perms) { in create_dir_if_needed() argument 543 if ((rc = stat(pathname.c_str(), &st)) != 0) { in create_dir_if_needed() 545 return mkdir(pathname.c_str(), perms); in create_dir_if_needed() 550 LOG(DEBUG) << pathname << " is not a folder"; in create_dir_if_needed() 556 LOG(WARNING) << pathname << " permissions " << actual_perms << " expected " << perms; in create_dir_if_needed() 563 int delete_dir_contents(const std::string& pathname, bool ignore_if_missing) { in delete_dir_contents() argument 564 return delete_dir_contents(pathname.c_str(), 0, nullptr, ignore_if_missing); in delete_dir_contents() 567 int delete_dir_contents_and_dir(const std::string& pathname, bool ignore_if_missing) { in delete_dir_contents_and_dir() argument 568 return delete_dir_contents(pathname.c_str(), 1, nullptr, ignore_if_missing); in delete_dir_contents_and_dir() 571 int delete_dir_contents(const char *pathname, in delete_dir_contents() argument [all …]
|
/frameworks/base/core/jni/ |
D | android_os_SELinux.cpp | 391 ScopedUtfChars pathname(env, pathnameStr); in native_restorecon() local 392 if (pathname.c_str() == NULL) { in native_restorecon() 397 int ret = selinux_android_restorecon(pathname.c_str(), flags); in native_restorecon() 398 ALOGV("restorecon(%s) => %d", pathname.c_str(), ret); in native_restorecon()
|
/frameworks/base/services/people/java/com/android/server/people/data/ |
D | AbstractProtoDiskReadWriter.java | 130 pathname -> pathname.isFile() && pathname.getName().equals(fileName)); in read()
|
/frameworks/multidex/library/src/androidx/multidex/ |
D | MultiDexExtractor.java | 361 public boolean accept(File pathname) { in clearDexDir() 362 return !pathname.getName().equals(LOCK_FILENAME); in clearDexDir()
|
/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/native/cmds/dumpstate/ |
D | dumpstate.h | 649 bool is_dir(const char* pathname);
|
D | dumpstate.cpp | 4072 bool is_dir(const char* pathname) { in is_dir() argument 4074 if (stat(pathname, &info) == -1) { in is_dir()
|
/frameworks/wilhelm/src/android/ |
D | AudioPlayer_to_android.cpp | 1772 const char *pathname = uri; in android_audioPlayer_realize() local 1774 if (!strncasecmp(pathname, "file://", 7)) { in android_audioPlayer_realize() 1775 pathname += 7; in android_audioPlayer_realize() 1778 int fd = ::open(pathname, O_RDONLY); in android_audioPlayer_realize()
|