Home | History | Annotate | Download | only in driver_base

Lines Matching defs:dent

145   struct dirent* dent;
146 while ((dent = readdir(srcdir)) != NULL) {
148 if (strcmp(dent->d_name, ".") == 0 || strcmp(dent->d_name, "..") == 0) {
151 if (fstatat(dirfd(srcdir), dent->d_name, &st, 0) < 0) {
152 LOG(ERROR) << "Error " << dent->d_name;
156 LOG(DEBUG) << "dir " << dent->d_name;
157 strcpy(product, dent->d_name);
183 while ((dent = readdir(srcdir)) != NULL) {
185 if (strcmp(dent->d_name, ".") == 0 || strcmp(dent->d_name, "..") == 0) {
188 if (fstatat(dirfd(srcdir), dent->d_name, &st, 0) < 0) {
189 LOG(ERROR) << "Error " << dent->d_name;
193 LOG(DEBUG) << "module_basepath " << string(dent->d_name);
194 if (string(dent->d_name) == target) {
222 LOG(DEBUG) << "file = " << dent->d_name;
285 struct dirent* dent;
286 while ((dent = readdir(srcdir)) != NULL) {
288 LOG(DEBUG) << "readdir(" << basepath << ") for " << dent->d_name;
291 if (strcmp(dent->d_name, ".") == 0 || strcmp(dent->d_name, "..") == 0) {
294 if (fstatat(dirfd(srcdir), dent->d_name, &st, 0) < 0) {
295 LOG(ERROR) << "error " << dent->d_name;
299 ScanAllGcdaFiles(basepath + "/" + dent->d_name, msg);
301 ReadGcdaFile(basepath, dent->d_name, msg);
325 struct dirent* dent;
326 while ((dent = readdir(srcdir)) != NULL) {
327 LOG(DEBUG) << "readdir(" << srcdir << ") for " << dent->d_name;
330 if (strcmp(dent->d_name, ".") == 0 || strcmp(dent->d_name, "..") == 0) {
333 if (fstatat(dirfd(srcdir), dent->d_name, &st, 0) < 0) {
334 LOG(ERROR) << "error " << dent->d_name;
338 ReadGcdaFile(gcov_output_basepath_, dent->d_name, msg)) {