/system/iorap/src/inode2filename/ |
D | system_call.h | 30 virtual int stat(const char *pathname, struct stat *statbuf) = 0; 50 virtual int stat(const char *pathname, struct stat *statbuf) override { in stat() 51 return ::stat(pathname, statbuf); in stat()
|
/system/bpf/libbpf_android/ |
D | BpfUtils.cpp | 165 int bpfFdPin(const base::unique_fd& map_fd, const char* pathname) { in bpfFdPin() argument 168 attr.pathname = ptr_to_u64((void*)pathname); in bpfFdPin() 174 int bpfFdGet(const char* pathname, uint32_t flag) { in bpfFdGet() argument 177 attr.pathname = ptr_to_u64((void*)pathname); in bpfFdGet() 182 int mapRetrieve(const char* pathname, uint32_t flag) { in mapRetrieve() argument 183 return bpfFdGet(pathname, flag); in mapRetrieve()
|
/system/core/init/ |
D | util.h | 49 bool mkdir_recursive(const std::string& pathname, mode_t mode); 54 bool is_dir(const char* pathname);
|
D | compare-bootcharts.py | 78 def parse_proc_file(pathname, process_map, jiffy_record=None): argument 80 with tarfile.open(pathname + '/bootchart.tgz', 'r:*') as tf:
|
D | util.cpp | 274 bool is_dir(const char* pathname) { in is_dir() argument 276 if (stat(pathname, &info) == -1) { in is_dir()
|
D | README.md | 153 service <name> <pathname> [ <argument> ]*
|
/system/extras/ioshark/ |
D | compile_ioshark_subr.c | 66 void *files_db_lookup(char *pathname) in files_db_lookup() argument 71 hash = jenkins_one_at_a_time_hash(pathname, strlen(pathname)); in files_db_lookup() 75 if (strcmp(db_node->filename, pathname) == 0) in files_db_lookup()
|
D | compile_ioshark.c | 176 get_pathname(char *buf, char *pathname, enum file_op file_op) in get_pathname() argument 216 strcpy(pathname, s); in get_pathname()
|
/system/bpf/libbpf_android/include/bpf/ |
D | BpfUtils.h | 109 int mapRetrieve(const char* pathname, uint32_t flags); 157 int bpfFdPin(const base::unique_fd& map_fd, const char* pathname); 158 int bpfFdGet(const char* pathname, uint32_t flags);
|
/system/netd/libnetdutils/ |
D | Syscalls.cpp | 44 StatusOr<UniqueFd> open(const std::string& pathname, int flags, mode_t mode) const override { in open() argument 45 UniqueFd fd(::open(pathname.c_str(), flags, mode)); in open() 47 return statusFromErrno(errno, "open(\"" + pathname + "\"...) failed"); in open()
|
/system/vold/ |
D | Utils.cpp | 901 status_t DeleteDirContentsAndDir(const std::string& pathname) { in DeleteDirContentsAndDir() argument 902 status_t res = DeleteDirContents(pathname); in DeleteDirContentsAndDir() 906 if (TEMP_FAILURE_RETRY(rmdir(pathname.c_str())) < 0 && errno != ENOENT) { in DeleteDirContentsAndDir() 907 PLOG(ERROR) << "rmdir failed on " << pathname; in DeleteDirContentsAndDir() 910 LOG(VERBOSE) << "Success: rmdir on " << pathname; in DeleteDirContentsAndDir() 914 status_t DeleteDirContents(const std::string& pathname) { in DeleteDirContents() argument 916 std::unique_ptr<DIR, decltype(&closedir)> dirp(opendir(pathname.c_str()), closedir); in DeleteDirContents() 921 PLOG(ERROR) << "Failed to opendir " << pathname; in DeleteDirContents()
|
D | Utils.h | 142 status_t DeleteDirContentsAndDir(const std::string& pathname); 143 status_t DeleteDirContents(const std::string& pathname);
|
/system/core/adb/ |
D | sysdeps.h | 377 static __inline__ int adb_open_mode( const char* pathname, int options, int mode ) in adb_open_mode() argument 379 return TEMP_FAILURE_RETRY( open( pathname, options, mode ) ); in adb_open_mode() 390 static __inline__ int adb_open( const char* pathname, int options ) in adb_open() argument 392 int fd = TEMP_FAILURE_RETRY( open( pathname, options ) ); in adb_open()
|
/system/netd/libnetdutils/include/netdutils/ |
D | MockSyscalls.h | 37 StatusOr<UniqueFd>(const std::string& pathname, int flags, mode_t mode));
|
D | Syscalls.h | 45 virtual StatusOr<UniqueFd> open(const std::string& pathname, int flags,
|
/system/extras/app-launcher/ |
D | README | 53 (b) (Optional) Add code to get the /system block device pathname. This is
|
/system/extras/ioblame/ |
D | README | 87 the pathname of the file and the amount of data written out. 221 Allowing ioblame to track <pathname, amount of data written>
|
/system/iorap/tests/src/inode2filename/ |
D | search_directories_test.cc | 2433 virtual int stat(const char *pathname, struct stat *statbuf) override { in stat() argument 2434 if (pathname == nullptr || statbuf == nullptr) { in stat() 2439 std::optional<PathEntry> maybe_path_entry = path_entries_.GetEntryFor(pathname); in stat()
|
/system/core/logcat/ |
D | logcat.cpp | 162 static int openLogFile(const char* pathname) { in openLogFile() argument 163 return open(pathname, O_WRONLY | O_APPEND | O_CREAT, S_IRUSR | S_IWUSR); in openLogFile()
|