Searched refs:ent (Results 1 – 3 of 3) sorted by relevance
/build/tools/atree/ |
D | fs.cpp | 57 struct dirent *ent; in remove_recursively() local 58 while (NULL != (ent = readdir(d))) { in remove_recursively() 59 if (0 == strcmp(".", ent->d_name) in remove_recursively() 60 || 0 == strcmp("..", ent->d_name)) { in remove_recursively() 65 full += ent->d_name; in remove_recursively() 66 bool is_directory = (ent->d_type == DT_DIR); in remove_recursively()
|
D | files.cpp | 440 struct dirent *ent; in list_dir() local 441 while (NULL != (ent = readdir(d))) { in list_dir() 442 if (0 == strcmp(".", ent->d_name) in list_dir() 443 || 0 == strcmp("..", ent->d_name)) { in list_dir() 446 if (matches_excludes(ent->d_name, excludes)) { in list_dir() 449 string entry = path_append(path, ent->d_name); in list_dir() 450 bool is_directory = (ent->d_type == DT_DIR); in list_dir()
|
/build/libs/host/ |
D | CopyFile.c | 482 struct dirent* ent; in copyDirectory() local 487 ent = readdir(dir); in copyDirectory() 488 if (ent == NULL) in copyDirectory() 491 if (strcmp(ent->d_name, ".") == 0 || in copyDirectory() 492 strcmp(ent->d_name, "..") == 0) in copyDirectory() 497 nameLen = strlen(ent->d_name); in copyDirectory() 504 memcpy(srcFile + srcLen+1, ent->d_name, nameLen +1); in copyDirectory() 509 memcpy(dstFile + dstLen+1, ent->d_name, nameLen +1); in copyDirectory()
|