Searched refs:dp (Results 1 - 5 of 5) sorted by relevance

/system/core/init/
H A Ddevices.cpp84 struct perms_ dp; member in struct:perm_node
107 node->dp.name = strdup(name);
108 if (!node->dp.name)
112 node->dp.attr = strdup(attr);
113 if (!node->dp.attr)
117 node->dp.perm = perm;
118 node->dp.uid = uid;
119 node->dp.gid = gid;
120 node->dp.prefix = prefix;
121 node->dp
135 struct perms_ *dp; local
174 perm_path_matches(const char *path, struct perms_ *dp) argument
195 struct perms_ *dp; local
[all...]
H A Dinit.cpp454 struct dirent *dp; local
455 while ((dp = readdir(dir.get())) != NULL) {
456 if (dp->d_type != DT_REG || !strcmp(dp->d_name, "compatible") || !strcmp(dp->d_name, "name")) {
460 file_name = android::base::StringPrintf("%s/%s", android_dir, dp->d_name);
465 std::string property_name = android::base::StringPrintf("ro.boot.%s", dp->d_name);
H A Dbuiltins.cpp125 struct dirent *dp; local
126 while ((dp = readdir(dir.get())) != NULL) {
127 if (((dp->d_type != DT_DIR) && (dp->d_type != DT_LNK)) ||
128 (dp->d_name[0] == '.')) {
134 dp->d_name);
/system/core/libutils/
H A DProcessCallStack.cpp133 DIR *dp; local
137 dp = opendir(PATH_SELF_TASK);
138 if (dp == NULL) {
162 while ((code = readdir_r(dp, &entry, &ep)) == 0 && ep != NULL) {
202 closedir(dp);
/system/core/logcat/
H A Dlogcat.cpp476 struct dirent *dp; local
478 while ((dp = readdir(dir.get())) != NULL) {
479 if ((dp->d_type != DT_REG)
484 || strncmp(dp->d_name, file, len + monotonic)
485 || (dp->d_name[len]
486 && ((dp->d_name[len] != '.')
487 || !isdigit(dp->d_name[len+1])))) {
493 file_name += dp->d_name;
523 if (!dp->d_name[len] && found) {

Completed in 124 milliseconds