Home
last modified time | relevance | path

Searched refs:nlist (Results 1 – 25 of 146) sorted by relevance

123456

/freebsd/usr.sbin/ngctl/
H A Ddot.c67 struct namelist *nlist; in DotCmd() local
116 nlist = (struct namelist *)nlresp->data; in DotCmd()
126 for (i = 0; i < nlist->numnames; i++) in DotCmd()
128 (uintmax_t)nlist->nodeinfo[i].id, in DotCmd()
130 nlist->nodeinfo[i].name : UNNAMED, in DotCmd()
131 nlist->nodeinfo[i].type, (uintmax_t)nlist->nodeinfo[i].id); in DotCmd()
136 for (i = 0; i < nlist->numnames; i++) in DotCmd()
137 if (nlist->nodeinfo[i].hooks == 0) in DotCmd()
139 (uintmax_t)nlist->nodeinfo[i].id); in DotCmd()
142 for (i = 0; i < nlist->numnames; i++) { in DotCmd()
[all …]
H A Dlist.c66 struct namelist *nlist; in ListCmd() local
111 nlist = (struct namelist *) resp->data; in ListCmd()
113 nlist->numnames, named_only ? "named " : ""); in ListCmd()
114 ninfo = nlist->nodeinfo; in ListCmd()
119 while (nlist->numnames > 0) { in ListCmd()
125 nlist->numnames--; in ListCmd()
126 if (nlist->numnames > 0) in ListCmd()
130 while (nlist->numnames > 0) { in ListCmd()
138 nlist->numnames--; in ListCmd()
/freebsd/lib/libc/gen/
H A Dnlist.c49 int __fdnlist(int, struct nlist *);
50 int __elf_fdnlist(int, struct nlist *);
54 nlist(const char *name, struct nlist *list) in nlist() function
67 int (*fn)(int fd, struct nlist *list);
73 __fdnlist(int fd, struct nlist *list) in __fdnlist()
88 static void elf_sym_to_nlist(struct nlist *, Elf_Sym *, Elf_Shdr *, int);
121 __elf_fdnlist(int fd, struct nlist *list) in __elf_fdnlist()
123 struct nlist *p; in __elf_fdnlist()
229 struct nlist *p; in __elf_fdnlist()
261 elf_sym_to_nlist(struct nlist *nl, Elf_Sym *s, Elf_Shdr *shdr, int shnum) in elf_sym_to_nlist()
/freebsd/sys/sys/
H A Dlink_aout.h87 struct nlist nlist; member
91 #define nz_un nlist.n_un
92 #define nz_strx nlist.n_un.n_strx
93 #define nz_name nlist.n_un.n_name
94 #define nz_type nlist.n_type
95 #define nz_value nlist.n_value
96 #define nz_desc nlist.n_desc
97 #define nz_other nlist.n_other
/freebsd/contrib/llvm-project/lldb/tools/compact-unwind/
H A Dcompact-unwind-dumper.c268 struct nlist_64 nlist; in scan_macho_load_commands() local
274 struct nlist nlist_32; in scan_macho_load_commands()
277 sizeof(struct nlist)); in scan_macho_load_commands()
279 nlist.n_type = nlist_32.n_type; in scan_macho_load_commands()
286 ((nlist.n_type & N_TYPE) == N_TYPE && nlist.n_sect != NO_SECT)) && in scan_macho_load_commands()
287 nlist.n_value != 0 && nlist.n_value != baton->text_segment_vmaddr) { in scan_macho_load_commands()
299 struct nlist_64 nlist; in scan_macho_load_commands() local
305 struct nlist nlist_32; in scan_macho_load_commands()
307 sizeof(struct nlist)); in scan_macho_load_commands()
316 ((nlist.n_type & N_TYPE) == N_TYPE && nlist.n_sect != NO_SECT)) && in scan_macho_load_commands()
[all …]
/freebsd/cddl/contrib/opensolaris/head/
H A Dnlist.h36 struct nlist { struct
45 extern int nlist(const char *, struct nlist *); argument
/freebsd/contrib/byacc/test/
H A Derr_inherit4.y27 %type <nlist> declaration namelist(<cval>, <tval>) locnamelist(<tval>)
28 %destructor { } <nlist>
39 } <nlist>
45 namelist * nlist; member
H A Dbtyacc_destroy1.y33 %type <nlist> declaration
34 %type <nlist> locnamelist
37 %type <nlist> namelist
54 namelist * nlist;
H A Dbtyacc_destroy2.y33 %type <nlist> declaration
34 %type <nlist> locnamelist
37 %type <nlist> namelist
54 namelist * nlist;
H A Dbtyacc_destroy3.y36 %type <nlist> declaration
37 %type <nlist> locnamelist
40 %type <nlist> namelist
57 namelist * nlist;
H A Derr_inherit1.y26 %type <nlist> declaration namelist(<cval>, <tval>) locnamelist(<tval>)
37 } <nlist>
43 namelist * nlist; member
H A Derr_inherit2.y26 %type <nlist> declaration namelist(<cval>, <tval>) locnamelist(<tval>)
37 } <nlist>
43 namelist * nlist; member
H A Derr_inherit3.y26 %type <nlist> declaration(<id>) namelist(<cval>, <tval>) locnamelist(<tval>)
37 } <nlist>
43 namelist * nlist; member
H A Derr_inherit5.y26 %type <nlist> declaration namelist(<cval>, <tval>) locnamelist(<tval>)
37 } <nlist>
43 namelist * nlist; member
H A Dinherit2.y26 %type <nlist> declaration namelist(<cval>, <tval>) locnamelist(<tval>)
37 } <nlist>
43 namelist * nlist; member
H A Dinherit1.y28 %type <nlist> declaration namelist locnamelist
36 namelist * nlist; member
/freebsd/contrib/blocklist/bin/
H A Dblacklistd.c357 uniqueadd(struct conf ***listp, size_t *nlist, size_t *mlist, struct conf *c) in uniqueadd() argument
363 for (size_t i = 0; i < *nlist; i++) { in uniqueadd()
367 if (*nlist == *mlist) { in uniqueadd()
374 list[(*nlist)++] = c; in uniqueadd()
381 size_t nlist, mlist; in rules_flush() local
384 mlist = nlist = 0; in rules_flush()
386 uniqueadd(&list, &nlist, &mlist, &rconf.cs_c[i]); in rules_flush()
388 uniqueadd(&list, &nlist, &mlist, &lconf.cs_c[i]); in rules_flush()
390 for (size_t i = 0; i < nlist; i++) in rules_flush()
/freebsd/include/
H A Dnlist.h44 int nlist(const char *, struct nlist *);
/freebsd/contrib/ntp/include/
H A Dl_stdlib.h97 struct nlist;
98 extern int nlist (const char *, struct nlist *);
/freebsd/contrib/ntp/ntpdate/
H A Dntpdate.c1042 u_int nlist; in clock_select() local
1063 nlist = 0; /* none yet */ in clock_select()
1114 for ( ; i < nlist; i++) { in clock_select()
1136 if (nlist < NTP_MAXLIST) in clock_select()
1137 nlist++; in clock_select()
1145 for (i = 1; i < nlist; i++) in clock_select()
1149 nlist = i; in clock_select()
1161 if (0 == nlist) in clock_select()
1163 else if (1 == nlist) { in clock_select()
1193 while (nlist > 1) { in clock_select()
[all …]
/freebsd/contrib/tcsh/
H A Dtw.init.c43 size_t nlist, /* Number of items */ member
109 if (sl->tlist <= sl->nlist) { in tw_str_add()
124 for (i = 0; i < sl->nlist; i++) in tw_str_add()
129 ptr = sl->list[sl->nlist++] = &sl->buff[sl->nbuff]; in tw_str_add()
145 sl->tlist = sl->nlist = 0; in tw_str_free()
320 qsort(tw_cmd.list, tw_cmd.nlist, sizeof(Char *), fcompare); in tw_cmd_sort()
323 for (i = 0, fwd = 0; i + 1 < tw_cmd.nlist; i++) { in tw_cmd_sort()
332 tw_cmd.nlist -= fwd; in tw_cmd_sort()
392 if (tw_cmd_state.cur < tw_cmd.nlist) { in tw_cmd_next()
821 for (i = 0; i < tw_item.nlist; i++) in tw_item_find()
/freebsd/usr.bin/mail/
H A Dnames.c482 gexpand(struct name *nlist, struct grouphead *gh, int metoo, int ntype) in gexpand() argument
492 return (nlist); in gexpand()
502 nlist = gexpand(nlist, ngh, metoo, ntype); in gexpand()
516 nlist = put(nlist, np); in gexpand()
519 return (nlist); in gexpand()
/freebsd/contrib/ntp/ntpd/
H A Dntp_proto.c3527 int nlist, nl2; in clock_select() local
3570 nlist = 1; in clock_select()
3572 nlist++; in clock_select()
3692 nlist++; in clock_select()
3829 nlist = j; in clock_select()
3843 nlist = 1; in clock_select()
3846 nlist = 1; in clock_select()
3851 nlist = 1; in clock_select()
3854 nlist = 1; in clock_select()
3909 nlist--; in clock_select()
[all …]
/freebsd/contrib/byacc/test/btyacc/
H A Dinherit2.tab.c150 namelist * nlist; member
435 namelist *p = (*val).nlist; in YYDESTRUCT_DECL()
447 namelist *p = (*val).nlist; in YYDESTRUCT_DECL()
459 namelist *p = (*val).nlist; in YYDESTRUCT_DECL()
1153 { yyval.nlist = yystack.l_mark[0].nlist; } in YYPARSE_DECL()
1158 { yyval.nlist = yystack.l_mark[0].nlist; } in YYPARSE_DECL()
1183 …{ yyval.nlist->s = mksymbol(yystack.l_mark[-2].tval, yystack.l_mark[-3].cval, yystack.l_mark[0].id… in YYPARSE_DECL()
1184 yyval.nlist->next = yystack.l_mark[-1].nlist; in YYPARSE_DECL()
1190 …{ yyval.nlist->s = mksymbol(yystack.l_mark[-1].tval, yystack.l_mark[-2].cval, yystack.l_mark[0].id… in YYPARSE_DECL()
1191 yyval.nlist->next = NULL; in YYPARSE_DECL()
[all …]
H A Derr_inherit3.tab.c150 namelist * nlist; member
436 namelist *p = (*val).nlist; in YYDESTRUCT_DECL()
448 namelist *p = (*val).nlist; in YYDESTRUCT_DECL()
460 namelist *p = (*val).nlist; in YYDESTRUCT_DECL()
1154 { yyval.nlist = yystack.l_mark[0].nlist; } in YYPARSE_DECL()
1159 { yyval.nlist = yystack.l_mark[0].nlist; } in YYPARSE_DECL()
1189 …{ yyval.nlist->s = mksymbol(yystack.l_mark[-5].tval, yystack.l_mark[-5].cval, yystack.l_mark[0].id… in YYPARSE_DECL()
1190 yyval.nlist->next = yystack.l_mark[-1].nlist; in YYPARSE_DECL()
1196 { yyval.nlist->s = mksymbol(yystack.l_mark[-3], yystack.l_mark[-3], yystack.l_mark[0].id); in YYPARSE_DECL()
1197 yyval.nlist->next = NULL; in YYPARSE_DECL()
[all …]

123456