| /freebsd/lib/libc/tests/gen/ |
| H A D | scandir_test.c | 28 scandir_verify(const struct atf_tc *tc, int n, struct dirent **namelist) in scandir_verify() argument 31 ATF_CHECK_STREQ("link", namelist[0]->d_name); in scandir_verify() 32 ATF_CHECK_STREQ("file", namelist[1]->d_name); in scandir_verify() 33 ATF_CHECK_STREQ("dir", namelist[2]->d_name); in scandir_verify() 34 ATF_CHECK_STREQ("..", namelist[3]->d_name); in scandir_verify() 35 ATF_CHECK_STREQ(".", namelist[4]->d_name); in scandir_verify() 57 struct dirent **namelist = NULL; in ATF_TC_BODY() local 61 ret = scandir("dir", &namelist, scandir_select, scandir_compare); in ATF_TC_BODY() 62 scandir_verify(tc, ret, namelist); in ATF_TC_BODY() 64 free(namelist[i]); in ATF_TC_BODY() [all …]
|
| H A D | scandir_blocks_test.c | 26 scandir_blocks_verify(const struct atf_tc *tc, int n, struct dirent **namelist) in scandir_blocks_verify() argument 29 ATF_CHECK_STREQ("link", namelist[0]->d_name); in scandir_blocks_verify() 30 ATF_CHECK_STREQ("file", namelist[1]->d_name); in scandir_blocks_verify() 31 ATF_CHECK_STREQ("dir", namelist[2]->d_name); in scandir_blocks_verify() 32 ATF_CHECK_STREQ("..", namelist[3]->d_name); in scandir_blocks_verify() 33 ATF_CHECK_STREQ(".", namelist[4]->d_name); in scandir_blocks_verify() 43 struct dirent **namelist = NULL; in ATF_TC_BODY() local 47 ret = scandir_b("dir", &namelist, in ATF_TC_BODY() 54 scandir_blocks_verify(tc, ret, namelist); in ATF_TC_BODY() 56 free(namelist[i]); in ATF_TC_BODY() [all …]
|
| /freebsd/contrib/byacc/test/btyacc/ |
| H A D | btyacc_destroy1.output | 3 1 declaration : class type namelist '(' class ',' type ')' 12 7 namelist : namelist NAME 15 9 locnamelist : namelist '(' LOCAL ',' type ')' 62 declaration : class . type namelist '(' class ',' type ')' (1) 78 namelist goto 11 82 declaration : class type . namelist '(' class ',' type ')' (1) 87 namelist goto 12 91 namelist : NAME . (8) 104 namelist : namelist . NAME (7) 105 locnamelist : namelist . '(' LOCAL ',' type ')' (9) [all …]
|
| H A D | btyacc_destroy3.output | 3 1 declaration : class type namelist '(' class ',' type ')' 12 7 namelist : namelist NAME 15 9 locnamelist : namelist '(' LOCAL ',' type ')' 62 declaration : class . type namelist '(' class ',' type ')' (1) 78 namelist goto 11 82 declaration : class type . namelist '(' class ',' type ')' (1) 87 namelist goto 12 91 namelist : NAME . (8) 104 namelist : namelist . NAME (7) 105 locnamelist : namelist . '(' LOCAL ',' type ')' (9) [all …]
|
| H A D | btyacc_destroy2.output | 3 1 declaration : class type namelist '(' class ',' type ')' 12 7 namelist : namelist NAME 15 9 locnamelist : namelist '(' LOCAL ',' type ')' 62 declaration : class . type namelist '(' class ',' type ')' (1) 78 namelist goto 11 82 declaration : class type . namelist '(' class ',' type ')' (1) 87 namelist goto 12 91 namelist : NAME . (8) 104 namelist : namelist . NAME (7) 105 locnamelist : namelist . '(' LOCAL ',' type ')' (9) [all …]
|
| H A D | inherit2.output | 7 3 declaration : class type $$1 $$2 namelist 16 9 namelist : namelist NAME 21 12 locnamelist : $$3 $$2 namelist 68 declaration : class . type $$1 $$2 namelist (3) 88 declaration : class type . $$1 $$2 namelist (3) 103 locnamelist : $$3 . $$2 namelist (12) 112 declaration : class type $$1 . $$2 namelist (3) 121 locnamelist : $$3 $$2 . namelist (12) 126 namelist goto 15 130 declaration : class type $$1 $$2 . namelist (3) [all …]
|
| H A D | inherit0.output | 3 1 declaration : class type namelist 12 7 namelist : namelist NAME 19 11 locnamelist : $$1 $$2 namelist 66 declaration : class . type namelist (1) 86 declaration : class type . namelist (1) 91 namelist goto 12 101 locnamelist : $$1 . $$2 namelist (11) 110 namelist : NAME . (8) 116 declaration : class type namelist . (1) 117 namelist : namelist . NAME (7) [all …]
|
| H A D | inherit1.output | 3 1 declaration : class type namelist 12 7 namelist : namelist NAME 19 11 locnamelist : $$1 $$2 namelist 66 declaration : class . type namelist (1) 86 declaration : class type . namelist (1) 91 namelist goto 12 101 locnamelist : $$1 . $$2 namelist (11) 110 namelist : NAME . (8) 116 declaration : class type namelist . (1) 117 namelist : namelist . NAME (7) [all …]
|
| H A D | err_inherit3.output | 7 3 declaration : class type $$1 $$2 namelist 18 10 namelist : $$3 namelist NAME 23 13 locnamelist : $$4 $$2 namelist 70 declaration : class . type $$1 $$2 namelist (3) 90 declaration : class type . $$1 $$2 namelist (3) 105 locnamelist : $$4 . $$2 namelist (13) 114 declaration : class type $$1 . $$2 namelist (3) 124 locnamelist : $$4 $$2 . namelist (13) 129 namelist goto 15 135 declaration : class type $$1 $$2 . namelist (3) [all …]
|
| H A D | err_inherit4.output | 7 3 declaration : class type $$1 $$2 namelist 16 9 namelist : namelist NAME 19 11 locnamelist : namelist 66 declaration : class . type $$1 $$2 namelist (3) 81 namelist goto 10 86 declaration : class type . $$1 $$2 namelist (3) 95 namelist : NAME . (10) 101 namelist : namelist . NAME (9) 102 locnamelist : namelist . (11) 115 declaration : class type $$1 . $$2 namelist (3) [all …]
|
| H A D | err_inherit2.error | 1 YACC: w - line 64 of "./err_inherit2.y", number of arguments of namelist doesn't agree with previou… 2 YACC: w - line 64 of "./err_inherit2.y", type of argument 1 to namelist doesn't agree with previous… 4 namelist($<tval>c, $t, extra): namelist NAME
|
| /freebsd/contrib/byacc/test/ |
| H A D | err_inherit2.y | 11 struct namelist { symbol *s; struct namelist *next; }; argument 12 typedef struct namelist namelist; typedef 26 %type <nlist> declaration namelist(<cval>, <tval>) locnamelist(<tval>) 31 namelist *p = $$; 33 { namelist *pp = p; 43 namelist * nlist; 50 declaration: class type namelist($1, $2) 64 namelist($<tval>c, $t, extra): namelist NAME in namelist() function 74 locnamelist($t): namelist(cLOCAL, $t) in locnamelist()
|
| H A D | err_inherit3.y | 11 struct namelist { symbol *s; struct namelist *next; }; argument 12 typedef struct namelist namelist; typedef 26 %type <nlist> declaration(<id>) namelist(<cval>, <tval>) locnamelist(<tval>) 31 namelist *p = $$; 33 { namelist *pp = p; 43 namelist * nlist; 50 declaration($d): class type namelist($1, $2) 64 namelist: namelist($c) NAME in namelist() function 74 locnamelist($t): namelist(cLOCAL, $t) in locnamelist()
|
| H A D | err_inherit4.y | 12 struct namelist { symbol *s; struct namelist *next; }; argument 13 typedef struct namelist namelist; typedef 27 %type <nlist> declaration namelist(<cval>, <tval>) locnamelist(<tval>) 33 namelist *p = $$; 35 { namelist *pp = p; 45 namelist * nlist; 52 declaration: class type namelist($1, $2) 66 namelist($c, $t): namelist NAME in namelist() function 76 locnamelist($t): namelist in locnamelist()
|
| H A D | err_inherit5.y | 11 struct namelist { symbol *s; struct namelist *next; }; argument 12 typedef struct namelist namelist; typedef 26 %type <nlist> declaration namelist(<cval>, <tval>) locnamelist(<tval>) 31 namelist *p = $$; 33 { namelist *pp = p; 43 namelist * nlist; 50 declaration: class type namelist($1, $2) 64 namelist($c, $t): namelist NAME in namelist() function 74 locnamelist($t): namelist(@1, $t) in locnamelist()
|
| H A D | inherit2.y | 11 struct namelist { symbol *s; struct namelist *next; }; argument 12 typedef struct namelist namelist; typedef 26 %type <nlist> declaration namelist(<cval>, <tval>) locnamelist(<tval>) 31 namelist *p = $$; 33 { namelist *pp = p; 43 namelist * nlist; 50 declaration: class type namelist($1, $2) 64 namelist($c, $t): namelist NAME in namelist() function 74 locnamelist($t): namelist(cLOCAL, $t) in locnamelist()
|
| H A D | btyacc_destroy1.y | 13 struct namelist { symbol *s; struct namelist *next; }; 14 typedef struct namelist namelist; 37 %type <nlist> namelist 42 namelist *p = $$; 44 { namelist *pp = p; 54 namelist * nlist; 61 declaration: class type namelist'(' class ',' type ')' 75 namelist: namelist NAME 85 locnamelist: namelist '(' LOCAL ',' type ')'
|
| H A D | btyacc_destroy2.y | 13 struct namelist { symbol *s; struct namelist *next; }; 14 typedef struct namelist namelist; 37 %type <nlist> namelist 42 namelist *p = $$; 44 { namelist *pp = p; 54 namelist * nlist; 61 declaration: class type namelist'(' class ',' type ')' 75 namelist: namelist NAME 85 locnamelist: namelist '(' LOCAL ',' type ')'
|
| H A D | btyacc_destroy3.y | 16 struct namelist { symbol *s; struct namelist *next; }; 17 typedef struct namelist namelist; 40 %type <nlist> namelist 45 namelist *p = $$; 47 { namelist *pp = p; 57 namelist * nlist; 64 declaration: class type namelist'(' class ',' type ')' 78 namelist: namelist NAME 88 locnamelist: namelist '(' LOCAL ',' type ')'
|
| H A D | err_inherit1.y | 11 struct namelist { symbol *s; struct namelist *next; }; argument 12 typedef struct namelist namelist; typedef 26 %type <nlist> declaration namelist(<cval>, <tval>) locnamelist(<tval>) 31 namelist *p = $$; 33 { namelist *pp = p; 43 namelist * nlist; 50 declaration: class type namelist($1, $2) 64 namelist($c, $t
|
| H A D | inherit1.y | 11 struct namelist { symbol *s; struct namelist *next; }; argument 12 typedef struct namelist namelist; typedef 28 %type <nlist> declaration namelist locnamelist 36 namelist * nlist; 43 declaration: class type namelist 57 namelist: namelist NAME 70 namelist
|
| H A D | inherit0.y | 19 declaration: class type namelist 33 namelist: namelist NAME 42 namelist
|
| /freebsd/lib/libc/gen/ |
| H A D | scandir.c | 68 scandir_dirp_b(DIR *dirp, struct dirent ***namelist, select_block select, in scandir_dirp_b() argument 71 scandir_dirp(DIR *dirp, struct dirent ***namelist, in scandir_dirp_b() 127 *namelist = names; in scandir_dirp_b() 143 scandir_b(const char *dirname, struct dirent ***namelist, select_block select, in scandir_b() argument 146 scandir(const char *dirname, struct dirent ***namelist, in scandir_b() 163 (dirp, namelist, select, dcomp); in scandir_b() 172 fdscandir_b(int dirfd, struct dirent ***namelist, select_block select, in fdscandir_b() argument 175 fdscandir(int dirfd, struct dirent ***namelist, in fdscandir_b() 192 (dirp, namelist, select, dcomp); in fdscandir_b() 201 scandirat_b(int dirfd, const char *dirname, struct dirent ***namelist, in scandirat_b() argument [all …]
|
| /freebsd/usr.bin/gprof/ |
| H A D | kernel.c | 19 char *namelist; in kernel_getnfile() local 26 namelist = malloc(len); in kernel_getnfile() 27 if (namelist == NULL) in kernel_getnfile() 29 if (sysctlbyname("kern.function_list", namelist, &len, NULL, in kernel_getnfile() 33 free(namelist); in kernel_getnfile() 38 for (name = namelist; *name != '\0'; name += strlen(name) + 1) in kernel_getnfile() 44 for (name = namelist; *name != '\0'; name += strlen(name) + 1) { in kernel_getnfile()
|
| /freebsd/contrib/ofed/libibumad/ |
| H A D | umad.c | 134 struct dirent **namelist = NULL; in get_port() local 182 num_pkeys = sys_scandir(port_dir, &namelist, check_for_digit_name, NULL); in get_port() 195 idx = strtoul(namelist[i]->d_name, NULL, 0); in get_port() 196 sys_read_uint(port_dir, namelist[i]->d_name, &val); in get_port() 198 free(namelist[i]); in get_port() 201 free(namelist); in get_port() 202 namelist = NULL; in get_port() 210 if (namelist) { in get_port() 212 free(namelist[i]); in get_port() 213 free(namelist); in get_port() [all …]
|