| /freebsd/usr.sbin/ngctl/ |
| H A D | dot.c | 66 struct namelist *nlist; in DotCmd() local 115 nlist = (struct namelist *)nlresp->data; in DotCmd() 125 for (i = 0; i < nlist->numnames; i++) in DotCmd() 127 (uintmax_t)nlist->nodeinfo[i].id, in DotCmd() 128 nlist->nodeinfo[i].name[0] != '\0' ? in DotCmd() 129 nlist->nodeinfo[i].name : UNNAMED, in DotCmd() 130 nlist->nodeinfo[i].type, (uintmax_t)nlist->nodeinfo[i].id); in DotCmd() 135 for (i = 0; i < nlist->numnames; i++) in DotCmd() 136 if (nlist->nodeinfo[i].hooks == 0) in DotCmd() 138 (uintmax_t)nlist->nodeinfo[i].id); in DotCmd() [all …]
|
| H A D | list.c | 65 struct namelist *nlist; in ListCmd() local 110 nlist = (struct namelist *) resp->data; in ListCmd() 112 nlist->numnames, named_only ? "named " : ""); in ListCmd() 113 ninfo = nlist->nodeinfo; in ListCmd() 118 while (nlist->numnames > 0) { in ListCmd() 124 nlist->numnames--; in ListCmd() 125 if (nlist->numnames > 0) in ListCmd() 129 while (nlist->numnames > 0) { in ListCmd() 137 nlist->numnames--; in ListCmd()
|
| /freebsd/lib/libc/gen/ |
| H A D | nlist.c | 50 int __fdnlist(int, struct nlist *); 51 int __elf_fdnlist(int, struct nlist *); 55 nlist(const char *name, struct nlist *list) in nlist() function 68 int (*fn)(int fd, struct nlist *list); 74 __fdnlist(int fd, struct nlist *list) in __fdnlist() 90 struct nlist *, int); 91 static void elf_sym_to_nlist(struct nlist *, Elf_Sym *, Elf_Shdr *, int); 124 __elf_fdnlist(int fd, struct nlist *list) in __elf_fdnlist() 126 struct nlist *p; in __elf_fdnlist() 237 char *strtab, size_t strsize, struct nlist *list, int nent) in elf_scan_symtab() [all …]
|
| /freebsd/sys/sys/ |
| H A D | link_aout.h | 87 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 D | compact-unwind-dumper.c | 268 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 D | nlist.h | 36 struct nlist { struct 45 extern int nlist(const char *, struct nlist *); argument
|
| /freebsd/contrib/byacc/test/ |
| H A D | err_inherit4.y | 27 %type <nlist> declaration namelist(<cval>, <tval>) locnamelist(<tval>) 28 %destructor { } <nlist> 39 } <nlist> 45 namelist * nlist; member
|
| H A D | btyacc_destroy1.y | 33 %type <nlist> declaration 34 %type <nlist> locnamelist 37 %type <nlist> namelist 54 namelist * nlist;
|
| H A D | btyacc_destroy2.y | 33 %type <nlist> declaration 34 %type <nlist> locnamelist 37 %type <nlist> namelist 54 namelist * nlist;
|
| H A D | btyacc_destroy3.y | 36 %type <nlist> declaration 37 %type <nlist> locnamelist 40 %type <nlist> namelist 57 namelist * nlist;
|
| H A D | err_inherit1.y | 26 %type <nlist> declaration namelist(<cval>, <tval>) locnamelist(<tval>) 37 } <nlist> 43 namelist * nlist; member
|
| H A D | err_inherit2.y | 26 %type <nlist> declaration namelist(<cval>, <tval>) locnamelist(<tval>) 37 } <nlist> 43 namelist * nlist; member
|
| H A D | err_inherit3.y | 26 %type <nlist> declaration(<id>) namelist(<cval>, <tval>) locnamelist(<tval>) 37 } <nlist> 43 namelist * nlist; member
|
| H A D | err_inherit5.y | 26 %type <nlist> declaration namelist(<cval>, <tval>) locnamelist(<tval>) 37 } <nlist> 43 namelist * nlist; member
|
| H A D | inherit2.y | 26 %type <nlist> declaration namelist(<cval>, <tval>) locnamelist(<tval>) 37 } <nlist> 43 namelist * nlist; member
|
| /freebsd/contrib/blocklist/bin/ |
| H A D | blacklistd.c | 364 uniqueadd(struct conf ***listp, size_t *nlist, size_t *mlist, struct conf *c) in uniqueadd() argument 370 for (size_t i = 0; i < *nlist; i++) { in uniqueadd() 374 if (*nlist == *mlist) { in uniqueadd() 381 list[(*nlist)++] = c; in uniqueadd() 388 size_t nlist, mlist; in rules_flush() local 391 mlist = nlist = 0; in rules_flush() 393 uniqueadd(&list, &nlist, &mlist, &rconf.cs_c[i]); in rules_flush() 395 uniqueadd(&list, &nlist, &mlist, &lconf.cs_c[i]); in rules_flush() 397 for (size_t i = 0; i < nlist; i++) in rules_flush()
|
| H A D | blocklistd.c | 364 uniqueadd(struct conf ***listp, size_t *nlist, size_t *mlist, struct conf *c) in uniqueadd() argument 370 for (size_t i = 0; i < *nlist; i++) { in uniqueadd() 374 if (*nlist == *mlist) { in uniqueadd() 381 list[(*nlist)++] = c; in uniqueadd() 388 size_t nlist, mlist; in rules_flush() local 391 mlist = nlist = 0; in rules_flush() 393 uniqueadd(&list, &nlist, &mlist, &rconf.cs_c[i]); in rules_flush() 395 uniqueadd(&list, &nlist, &mlist, &lconf.cs_c[i]); in rules_flush() 397 for (size_t i = 0; i < nlist; i++) in rules_flush()
|
| /freebsd/include/ |
| H A D | nlist.h | 44 int nlist(const char *, struct nlist *);
|
| /freebsd/contrib/ntp/ntpdate/ |
| H A D | ntpdate.c | 1042 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 D | l_stdlib.h | 97 struct nlist; 98 extern int nlist (const char *, struct nlist *);
|
| /freebsd/contrib/tcsh/ |
| H A D | tw.init.c | 43 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 D | names.c | 482 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 D | ntp_proto.c | 3527 int nlist, nl2; in clock_select() local 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].synch = f; in clock_select() [all …]
|
| /freebsd/contrib/byacc/test/btyacc/ |
| H A D | inherit2.tab.c | 150 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 D | err_inherit3.tab.c | 150 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 …]
|