Searched refs:pathname (Results 1 – 14 of 14) sorted by relevance
/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/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 | 290 bool is_dir(const char* pathname) { in is_dir() argument 292 if (stat(pathname, &info) == -1) { in is_dir()
|
D | README.md | 193 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/tools/mkbootimg/gki/ |
D | certify_bootimg_test.py | 38 def generate_test_file(pathname, size, seed=None): argument 40 random.seed(os.path.basename(pathname) if seed is None else seed) 41 with open(pathname, 'wb') as file: 43 return pathname
|
/system/vold/ |
D | Utils.h | 183 status_t DeleteDirContentsAndDir(const std::string& pathname); 184 status_t DeleteDirContents(const std::string& pathname);
|
D | Utils.cpp | 1324 status_t DeleteDirContentsAndDir(const std::string& pathname) { in DeleteDirContentsAndDir() argument 1325 status_t res = DeleteDirContents(pathname); in DeleteDirContentsAndDir() 1329 if (TEMP_FAILURE_RETRY(rmdir(pathname.c_str())) < 0 && errno != ENOENT) { in DeleteDirContentsAndDir() 1330 PLOG(ERROR) << "rmdir failed on " << pathname; in DeleteDirContentsAndDir() 1333 LOG(VERBOSE) << "Success: rmdir on " << pathname; in DeleteDirContentsAndDir() 1337 status_t DeleteDirContents(const std::string& pathname) { in DeleteDirContents() argument 1339 std::unique_ptr<DIR, decltype(&closedir)> dirp(opendir(pathname.c_str()), closedir); in DeleteDirContents() 1344 PLOG(ERROR) << "Failed to opendir " << pathname; in DeleteDirContents()
|
/system/tools/mkbootimg/tests/ |
D | mkbootimg_test.py | 43 def generate_test_file(pathname, size, seed=None): argument 45 random.seed(os.path.basename(pathname) if seed is None else seed) 46 with open(pathname, 'wb') as f: 48 return pathname
|
/system/extras/app-launcher/ |
D | README | 53 (b) (Optional) Add code to get the /system block device pathname. This is
|
/system/logging/logcat/ |
D | logcat.cpp | 127 static void unpinLogFile(const char* pathname) { in unpinLogFile() argument 128 int fd = open(pathname, O_WRONLY | O_CLOEXEC); in unpinLogFile()
|
/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>
|