Home
last modified time | relevance | path

Searched refs:nlist (Results 1 – 25 of 145) 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()
129 nlist->nodeinfo[i].name[0] != '\0' ? 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()
[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
269 memset(&nlist, 0, sizeof(struct nlist_64)); in scan_macho_load_commands()
271 memcpy(&nlist, local_syms + (i * nlist_size), in scan_macho_load_commands()
274 struct nlist nlist_32; in scan_macho_load_commands()
275 memset(&nlist_32, 0, sizeof(struct nlist)); in scan_macho_load_commands()
277 sizeof(struct nlist)); in scan_macho_load_commands()
278 nlist.n_un.n_strx = nlist_32.n_un.n_strx; in scan_macho_load_commands()
279 nlist.n_type = nlist_32.n_type; in scan_macho_load_commands()
280 nlist.n_sect = nlist_32.n_sect; in scan_macho_load_commands()
281 nlist.n_desc = nlist_32.n_desc; 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
/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/ntpdate/
H A Dntpdate.c1042 u_int nlist; in clock_select() local
1063 nlist = 0; /* none yet */ in clock_select()
1111 for (i = 0; i < nlist; i++) in clock_select()
1114 for ( ; i < nlist; i++) { in clock_select()
1127 for (j = nlist; j > i; j--) 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()
[all …]
/freebsd/contrib/ntp/include/
H A Dl_stdlib.h97 struct nlist;
98 extern int nlist (const char *, struct nlist *);
/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()
3570 nlist = 1; in clock_select()
3572 nlist++; in clock_select()
3573 endpoint_size = ALIGNED_SIZE(nlist * 2 * sizeof(*endpoint)); in clock_select()
3574 peers_size = ALIGNED_SIZE(nlist * sizeof(*peers)); in clock_select()
3575 indx_size = ALIGNED_SIZE(nlist * 2 * sizeof(*indx)); in clock_select()
3591 nlist = nl2 = 0; /* none yet */ in clock_select()
3689 peers[nlist].peer = peer; in clock_select()
3690 peers[nlist].error = peer->jitter; in clock_select()
3691 peers[nlist] in clock_select()
3481 int nlist, nl2; clock_select() local
[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 …]
/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/MachO/
H A DMachOReader.cpp222 SymbolEntry constructSymbolEntry(StringRef StrTable, const nlist_t &nlist) { in constructSymbolEntry()
223 assert(nlist.n_strx < StrTable.size() && in constructSymbolEntry()
226 SE.Name = StringRef(StrTable.data() + nlist.n_strx).str(); in constructSymbolEntry()
227 SE.n_type = nlist.n_type; in constructSymbolEntry()
228 SE.n_sect = nlist.n_sect; in constructSymbolEntry()
229 SE.n_desc = nlist.n_desc; in constructSymbolEntry()
230 SE.n_value = nlist.n_value; in constructSymbolEntry()
220 constructSymbolEntry(StringRef StrTable,const nlist_t & nlist) constructSymbolEntry() argument

123456