Home
last modified time | relevance | path

Searched refs:pathname (Results 1 – 19 of 19) sorted by relevance

/system/iorap/src/inode2filename/
Dsystem_call.h30 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/
DBpfUtils.cpp165 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/
Dutil.h49 bool mkdir_recursive(const std::string& pathname, mode_t mode);
54 bool is_dir(const char* pathname);
Dcompare-bootcharts.py78 def parse_proc_file(pathname, process_map, jiffy_record=None): argument
80 with tarfile.open(pathname + '/bootchart.tgz', 'r:*') as tf:
Dutil.cpp274 bool is_dir(const char* pathname) { in is_dir() argument
276 if (stat(pathname, &info) == -1) { in is_dir()
DREADME.md153 service <name> <pathname> [ <argument> ]*
/system/extras/ioshark/
Dcompile_ioshark_subr.c66 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()
Dcompile_ioshark.c176 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/
DBpfUtils.h109 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/
DSyscalls.cpp44 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/
DUtils.cpp901 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()
DUtils.h142 status_t DeleteDirContentsAndDir(const std::string& pathname);
143 status_t DeleteDirContents(const std::string& pathname);
/system/core/adb/
Dsysdeps.h377 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/
DMockSyscalls.h37 StatusOr<UniqueFd>(const std::string& pathname, int flags, mode_t mode));
DSyscalls.h45 virtual StatusOr<UniqueFd> open(const std::string& pathname, int flags,
/system/extras/app-launcher/
DREADME53 (b) (Optional) Add code to get the /system block device pathname. This is
/system/extras/ioblame/
DREADME87 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/
Dsearch_directories_test.cc2433 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/
Dlogcat.cpp162 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()