Searched refs:dp (Results 1 – 8 of 8) sorted by relevance
/system/core/libvndksupport/tests/ |
D | linker_test.cpp | 39 dirent* dp; in find_sphal_lib() local 40 while ((dp = readdir(dir.get())) != nullptr) { in find_sphal_lib() 41 std::string name = dp->d_name; in find_sphal_lib()
|
/system/core/fs_mgr/ |
D | fs_mgr_fstab.cpp | 421 dirent* dp; in read_fstab_from_dt() local 424 while ((dp = readdir(fstabdir.get())) != NULL) { in read_fstab_from_dt() 426 if (dp->d_type != DT_DIR || dp->d_name[0] == '.') continue; in read_fstab_from_dt() 433 file_name = android::base::StringPrintf("%s/%s/status", fstabdir_name.c_str(), dp->d_name); in read_fstab_from_dt() 436 LINFO << "dt_fstab: Skip disabled entry for partition " << dp->d_name; in read_fstab_from_dt() 441 file_name = android::base::StringPrintf("%s/%s/dev", fstabdir_name.c_str(), dp->d_name); in read_fstab_from_dt() 443 LERROR << "dt_fstab: Failed to find device for partition " << dp->d_name; in read_fstab_from_dt() 450 android::base::StringPrintf("%s/%s/mnt_point", fstabdir_name.c_str(), dp->d_name); in read_fstab_from_dt() 452 LINFO << "dt_fstab: Using a specified mount point " << value << " for " << dp->d_name; in read_fstab_from_dt() 455 mount_point = android::base::StringPrintf("/%s", dp->d_name); in read_fstab_from_dt() [all …]
|
/system/libvintf/ |
D | utils.h | 74 dirent* dp; in listFiles() local 75 while ((dp = readdir(dir.get())) != nullptr) { in listFiles() 76 if (dp->d_type != DT_DIR) { in listFiles() 77 out->push_back(dp->d_name); in listFiles()
|
/system/core/init/ |
D | init.cpp | 402 struct dirent *dp; in process_kernel_dt() local 403 while ((dp = readdir(dir.get())) != NULL) { in process_kernel_dt() 404 … if (dp->d_type != DT_REG || !strcmp(dp->d_name, "compatible") || !strcmp(dp->d_name, "name")) { in process_kernel_dt() 408 std::string file_name = get_android_dt_dir() + dp->d_name; in process_kernel_dt() 413 property_set("ro.boot."s + dp->d_name, dt_file); in process_kernel_dt() 452 dirent* dp; in set_usb_controller() local 453 while ((dp = readdir(dir.get())) != nullptr) { in set_usb_controller() 454 if (dp->d_name[0] == '.') continue; in set_usb_controller() 456 property_set("sys.usb.controller", dp->d_name); in set_usb_controller()
|
/system/libhidl/transport/ |
D | ServiceManagement.cpp | 133 dirent* dp; in tryShortenProcessName() local 134 while ((dp = readdir(dir.get())) != nullptr) { in tryShortenProcessName() 135 if (dp->d_type != DT_DIR) continue; in tryShortenProcessName() 136 if (dp->d_name[0] == '.') continue; in tryShortenProcessName() 138 std::fstream fs(kTasks + dp->d_name + "/comm"); in tryShortenProcessName() 140 ALOGI("Could not rename process, failed read comm for %s.", dp->d_name); in tryShortenProcessName() 205 dirent* dp; in search() local 206 while ((dp = readdir(dir.get())) != nullptr) { in search() 207 std::string name = dp->d_name; in search() 255 dirent* dp; in fetchPidsForPassthroughLibraries() local [all …]
|
/system/core/libutils/ |
D | ProcessCallStack.cpp | 130 std::unique_ptr<DIR, decltype(&closedir)> dp(opendir(PATH_SELF_TASK), closedir); in update() local 131 if (dp == NULL) { in update() 155 while ((ep = readdir(dp.get())) != NULL) { in update()
|
/system/core/logcat/ |
D | logcat.cpp | 662 struct dirent* dp; in lastLogTime() local 664 while (!!(dp = readdir(dir.get()))) { in lastLogTime() 665 if ((dp->d_type != DT_REG) || !!strncmp(dp->d_name, file, len) || in lastLogTime() 666 (dp->d_name[len] && ((dp->d_name[len] != '.') || in lastLogTime() 667 (strtoll(dp->d_name + 1, nullptr, 10) != 1)))) { in lastLogTime() 673 file_name += dp->d_name; in lastLogTime() 699 if (!dp->d_name[len] && found) break; in lastLogTime()
|
/system/ca-certificates/files/ |
D | d59297b8.0 | 9 zbl+dp+++T42NKA7wfYxEUV0kz1XgMX5iZnK5atq1LXaQZAQwdbWQonCv/Q4EpVM
|