/system/extras/toolchain-extras/ |
D | profile-clang-openat.cpp | 29 int __real_open(const char* pathname, int flags, ...); 36 static bool is_coverage_trace(const char* pathname) { in is_coverage_trace() argument 37 if (strncmp(pathname, PROFRAW_START, strlen(PROFRAW_START)) == 0) return true; in is_coverage_trace() 41 __attribute__((weak)) int __wrap_open(const char* pathname, int flags, ...) { in __wrap_open() argument 43 return __real_open(pathname, flags); in __wrap_open() 51 int ret = __real_open(pathname, flags, mode); in __wrap_open() 52 if (ret != -1 && is_coverage_trace(pathname)) fchmod(ret, mode); in __wrap_open()
|
/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/include/bpf/ |
D | BpfMap.h | 51 BpfMap<Key, Value>(const char* pathname, uint32_t flags) { 52 int map_fd = mapRetrieve(pathname, flags); 57 explicit BpfMap<Key, Value>(const char* pathname) : BpfMap<Key, Value>(pathname, 0) {} 255 explicit BpfMapRO<Key, Value>(const char* pathname) 256 : BpfMap<Key, Value>(pathname, BPF_F_RDONLY) {}
|
/system/core/init/ |
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.h | 55 bool mkdir_recursive(const std::string& pathname, mode_t mode); 60 bool is_dir(const char* pathname);
|
D | util.cpp | 284 bool is_dir(const char* pathname) { in is_dir() argument 286 if (stat(pathname, &info) == -1) { in is_dir()
|
D | README.md | 134 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/iorap/src/maintenance/ |
D | controller.h | 33 virtual int Execve(const std::string& pathname, 42 virtual int Execve(const std::string& pathname,
|
D | controller.cc | 75 int Exec::Execve(const std::string& pathname, in Execve() argument 81 return execve(pathname.c_str(), (char**)argv_ptr.get(), envp); in Execve()
|
/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/tools/mkbootimg/tests/ |
D | mkbootimg_test.py | 45 def generate_test_file(pathname, size, seed=None): argument 47 random.seed(os.path.basename(pathname) if seed is None else seed) 48 with open(pathname, 'wb') as f: 50 return pathname
|
/system/vold/ |
D | Utils.h | 177 status_t DeleteDirContentsAndDir(const std::string& pathname); 178 status_t DeleteDirContents(const std::string& pathname);
|
D | Utils.cpp | 1317 status_t DeleteDirContentsAndDir(const std::string& pathname) { in DeleteDirContentsAndDir() argument 1318 status_t res = DeleteDirContents(pathname); in DeleteDirContentsAndDir() 1322 if (TEMP_FAILURE_RETRY(rmdir(pathname.c_str())) < 0 && errno != ENOENT) { in DeleteDirContentsAndDir() 1323 PLOG(ERROR) << "rmdir failed on " << pathname; in DeleteDirContentsAndDir() 1326 LOG(VERBOSE) << "Success: rmdir on " << pathname; in DeleteDirContentsAndDir() 1330 status_t DeleteDirContents(const std::string& pathname) { in DeleteDirContents() argument 1332 std::unique_ptr<DIR, decltype(&closedir)> dirp(opendir(pathname.c_str()), closedir); in DeleteDirContents() 1337 PLOG(ERROR) << "Failed to opendir " << pathname; in DeleteDirContents()
|
/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/logging/logcat/ |
D | logcat.cpp | 116 static int openLogFile(const char* pathname, size_t sizeKB) { in openLogFile() argument 117 int fd = open(pathname, O_WRONLY | O_APPEND | O_CREAT | O_CLOEXEC, S_IRUSR | S_IWUSR | S_IRGRP); in openLogFile() 129 static void closeLogFile(const char* pathname) { in closeLogFile() argument 130 int fd = open(pathname, O_WRONLY | O_CLOEXEC); in closeLogFile()
|
/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>
|