Home
last modified time | relevance | path

Searched refs:ent (Results 1 – 4 of 4) sorted by relevance

/build/make/tools/atree/
Dfs.cpp57 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()
Dfiles.cpp438 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/
DCopyFile.c492 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()
/build/soong/apex/
Dapex_test.go7582 for _, ent := range android.AndroidMkEntriesForTest(t, ctx, mod) {
7583 if ent.Disabled {
7588 mkEntries: ent,
7595 for _, ent := range entries {
7596 if strings.Join(ent.mkEntries.EntryMap["LOCAL_MODULE"], ",") == "stublib" {
7598 t.Errorf("More than one AndroidMk entry for \"stublib\": %s and %s", entry.mod, ent.mod)
7600 entry = ent