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/core/fs_mgr/ |
H A D | fs_mgr_fstab.cpp | 409 dirent* dp; 410 while ((dp = readdir(fstabdir.get())) != NULL) { 412 if (dp->d_type != DT_DIR || dp->d_name[0] == '.') continue; 419 file_name = android::base::StringPrintf("%s/%s/status", fstabdir_name.c_str(), dp->d_name); 422 LINFO << "dt_fstab: Skip disabled entry for partition " << dp->d_name; 427 file_name = android::base::StringPrintf("%s/%s/dev", fstabdir_name.c_str(), dp->d_name); 429 LERROR << "dt_fstab: Failed to find device for partition " << dp->d_name; 434 fstab_entry.push_back(android::base::StringPrintf("/%s", dp->d_name)); 436 file_name = android::base::StringPrintf("%s/%s/type", fstabdir_name.c_str(), dp [all...] |
/system/core/init/ |
H A D | reboot.cpp | 147 struct dirent* dp; local 148 while ((dp = readdir(dir.get())) != nullptr) { 149 if (((dp->d_type != DT_DIR) && (dp->d_type != DT_LNK)) || (dp->d_name[0] == '.')) { 153 std::string fileName = StringPrintf("%s/%s/brightness", backlightDir, dp->d_name);
|
H A D | init.cpp | 529 struct dirent *dp; local 530 while ((dp = readdir(dir.get())) != NULL) { 531 if (dp->d_type != DT_REG || !strcmp(dp->d_name, "compatible") || !strcmp(dp->d_name, "name")) { 535 std::string file_name = get_android_dt_dir() + dp->d_name; 540 property_set("ro.boot."s + dp->d_name, dt_file); 951 dirent* dp; 952 while ((dp = readdir(dir.get())) != nullptr) { 953 if (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/libhidl/transport/ |
H A D | ServiceManagement.cpp | 176 dirent* dp; local 177 while ((dp = readdir(dir.get())) != nullptr) { 178 std::string name = dp->d_name; 226 dirent* dp; 227 while ((dp = readdir(dir.get())) != nullptr) { 228 pid_t pid = strtoll(dp->d_name, NULL, 0); 230 std::string mapsPath = proc + dp->d_name + "/maps";
|
/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 222 milliseconds