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