Searched refs:dp (Results 1 - 5 of 5) sorted by relevance
/system/core/init/ |
H A D | devices.cpp | 84 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 D | init.cpp | 454 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 D | builtins.cpp | 125 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 D | ProcessCallStack.cpp | 133 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 D | logcat.cpp | 476 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