Searched refs:ent (Results 1 – 3 of 3) sorted by relevance
/build/make/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 | 438 struct dirent *ent; in list_dir() local 439 while (NULL != (ent = readdir(d))) { in list_dir() 440 if (0 == strcmp(".", ent->d_name) in list_dir() 441 || 0 == strcmp("..", ent->d_name)) { in list_dir() 444 if (matches_excludes(ent->d_name, excludes)) { in list_dir() 447 string entry = path_append(path, ent->d_name); in list_dir() 448 bool is_directory = (ent->d_type == DT_DIR); in list_dir()
|
/build/make/tools/libhost/ |
D | CopyFile.c | 492 struct dirent* ent; in copyDirectory() local 497 ent = readdir(dir); in copyDirectory() 498 if (ent == NULL) in copyDirectory() 501 if (strcmp(ent->d_name, ".") == 0 || in copyDirectory() 502 strcmp(ent->d_name, "..") == 0) in copyDirectory() 507 nameLen = strlen(ent->d_name); in copyDirectory() 514 memcpy(srcFile + srcLen+1, ent->d_name, nameLen +1); in copyDirectory() 519 memcpy(dstFile + dstLen+1, ent->d_name, nameLen +1); in copyDirectory()
|