| /NextBSD/usr.sbin/ngctl/ |
| HD | dot.c | 66 struct namelist *nlist; in DotCmd() local 111 nlist = (struct namelist *)nlresp->data; in DotCmd() 116 for (i = 0; i < nlist->numnames; i++) in DotCmd() 118 (uintmax_t)nlist->nodeinfo[i].id, in DotCmd() 119 nlist->nodeinfo[i].name[0] != '\0' ? in DotCmd() 120 nlist->nodeinfo[i].name : UNNAMED, in DotCmd() 121 nlist->nodeinfo[i].type, (uintmax_t)nlist->nodeinfo[i].id); in DotCmd() 126 for (i = 0; i < nlist->numnames; i++) in DotCmd() 127 if (nlist->nodeinfo[i].hooks == 0) in DotCmd() 129 (uintmax_t)nlist->nodeinfo[i].id); in DotCmd() [all …]
|
| HD | list.c | 68 struct namelist *nlist; in ListCmd() local 113 nlist = (struct namelist *) resp->data; in ListCmd() 115 nlist->numnames, named_only ? "named " : ""); in ListCmd() 116 ninfo = nlist->nodeinfo; in ListCmd() 121 while (nlist->numnames > 0) { in ListCmd() 127 nlist->numnames--; in ListCmd() 130 while (nlist->numnames > 0) { in ListCmd() 138 nlist->numnames--; in ListCmd()
|
| /NextBSD/lib/libc/gen/ |
| HD | nlist.c | 61 int __fdnlist(int, struct nlist *); 62 int __aout_fdnlist(int, struct nlist *); 63 int __elf_fdnlist(int, struct nlist *); 67 nlist(const char *name, struct nlist *list) in nlist() function 80 int (*fn)(int fd, struct nlist *list); 91 __fdnlist(int fd, struct nlist *list) in __fdnlist() 108 __aout_fdnlist(int fd, struct nlist *list) in __aout_fdnlist() 110 struct nlist *p, *symtab; in __aout_fdnlist() 155 symtab = (struct nlist *)(a_out_mmap + symoff); in __aout_fdnlist() 179 symsize-= sizeof(struct nlist); in __aout_fdnlist() [all …]
|
| /NextBSD/contrib/gdb/gdb/ |
| HD | dbxread.c | 873 struct internal_nlist nlist; in dbx_next_symbol_text() local 879 INTERNALIZE_SYMBOL (nlist, &symbuf[symbuf_idx], symfile_bfd); in dbx_next_symbol_text() 884 return nlist.n_strx + stringtab_global + file_string_table_offset; in dbx_next_symbol_text() 961 set_namestring (struct objfile *objfile, struct internal_nlist nlist) in set_namestring() argument 965 if (((unsigned) nlist.n_strx + file_string_table_offset) >= in set_namestring() 973 namestring = nlist.n_strx + file_string_table_offset + in set_namestring() 1181 struct internal_nlist nlist; in read_dbx_symtab() local 1294 INTERNALIZE_SYMBOL (nlist, bufp, abfd); in read_dbx_symtab() 1309 switch (nlist.n_type) in read_dbx_symtab() 1318 nlist.n_value += ANOFFSET (objfile->section_offsets, SECT_OFF_TEXT (objfile)); in read_dbx_symtab() [all …]
|
| /NextBSD/contrib/llvm/tools/lldb/tools/compact-unwind/ |
| HD | compact-unwind-dumper.c | 285 struct nlist_64 nlist; in scan_macho_load_commands() local 288 memcpy (&nlist, local_syms + (i * nlist_size), sizeof (struct nlist_64)); in scan_macho_load_commands() 292 struct nlist nlist_32; in scan_macho_load_commands() 293 memcpy (&nlist_32, local_syms + (i * nlist_size), sizeof (struct nlist)); in scan_macho_load_commands() 294 nlist.n_un.n_strx = nlist_32.n_un.n_strx; in scan_macho_load_commands() 295 nlist.n_type = nlist_32.n_type; in scan_macho_load_commands() 296 nlist.n_sect = nlist_32.n_sect; in scan_macho_load_commands() 297 nlist.n_desc = nlist_32.n_desc; in scan_macho_load_commands() 298 nlist.n_value = nlist_32.n_value; in scan_macho_load_commands() 300 if ((nlist.n_type & N_STAB) == 0 in scan_macho_load_commands() [all …]
|
| /NextBSD/sys/sys/ |
| HD | 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
|
| /NextBSD/cddl/contrib/opensolaris/head/ |
| HD | nlist.h | 36 struct nlist { struct 45 extern int nlist(const char *, struct nlist *); argument
|
| /NextBSD/contrib/byacc/test/ |
| HD | err_inherit4.y | 27 %type <nlist> declaration namelist(<cval>, <tval>) locnamelist(<tval>) 28 %destructor { } <nlist> 39 } <nlist> 45 namelist * nlist; member
|
| HD | btyacc_destroy2.y | 33 %type <nlist> declaration 34 %type <nlist> locnamelist 37 %type <nlist> namelist 54 namelist * nlist;
|
| HD | btyacc_destroy3.y | 36 %type <nlist> declaration 37 %type <nlist> locnamelist 40 %type <nlist> namelist 57 namelist * nlist;
|
| HD | btyacc_destroy1.y | 33 %type <nlist> declaration 34 %type <nlist> locnamelist 37 %type <nlist> namelist 54 namelist * nlist;
|
| HD | err_inherit1.y | 26 %type <nlist> declaration namelist(<cval>, <tval>) locnamelist(<tval>) 37 } <nlist> 43 namelist * nlist; member
|
| HD | err_inherit3.y | 26 %type <nlist> declaration(<id>) namelist(<cval>, <tval>) locnamelist(<tval>) 37 } <nlist> 43 namelist * nlist; member
|
| HD | err_inherit5.y | 26 %type <nlist> declaration namelist(<cval>, <tval>) locnamelist(<tval>) 37 } <nlist> 43 namelist * nlist; member
|
| HD | inherit2.y | 26 %type <nlist> declaration namelist(<cval>, <tval>) locnamelist(<tval>) 37 } <nlist> 43 namelist * nlist; member
|
| HD | err_inherit2.y | 26 %type <nlist> declaration namelist(<cval>, <tval>) locnamelist(<tval>) 37 } <nlist> 43 namelist * nlist; member
|
| /NextBSD/usr.bin/gprof/ |
| HD | aout.c | 51 static bool funcsymbol(struct nlist *); 119 struct nlist nbuf; in getsymtab() 124 for (i = xbuf.a_syms; i > 0; i -= sizeof(struct nlist)) { in getsymtab() 143 for (i = xbuf.a_syms; i > 0; i -= sizeof(struct nlist)) { in getsymtab() 191 funcsymbol(struct nlist *nlistp) in funcsymbol()
|
| /NextBSD/contrib/ntp/ntpd/ |
| HD | ntp_proto.c | 2548 int nlist, nl2; in clock_select() local 2589 nlist = 1; in clock_select() 2591 nlist++; in clock_select() 2592 endpoint_size = ALIGNED_SIZE(nlist * 2 * sizeof(*endpoint)); in clock_select() 2593 peers_size = ALIGNED_SIZE(nlist * sizeof(*peers)); in clock_select() 2594 indx_size = ALIGNED_SIZE(nlist * 2 * sizeof(*indx)); in clock_select() 2610 nlist = nl2 = 0; /* none yet */ in clock_select() 2690 peers[nlist].peer = peer; in clock_select() 2691 peers[nlist].error = peer->jitter; in clock_select() 2692 peers[nlist].synch = f; in clock_select() [all …]
|
| /NextBSD/contrib/ntp/ntpdate/ |
| HD | ntpdate.c | 1028 u_int nlist; in clock_select() local 1049 nlist = 0; /* none yet */ in clock_select() 1097 for (i = 0; i < nlist; i++) in clock_select() 1100 for ( ; i < nlist; i++) { in clock_select() 1113 for (j = nlist; j > i; j--) in clock_select() 1122 if (nlist < NTP_MAXLIST) in clock_select() 1123 nlist++; in clock_select() 1131 for (i = 1; i < nlist; i++) in clock_select() 1135 nlist = i; in clock_select() 1147 if (0 == nlist) in clock_select() [all …]
|
| /NextBSD/include/ |
| HD | nlist.h | 46 int nlist(const char *, struct nlist *);
|
| /NextBSD/contrib/ntp/include/ |
| HD | l_stdlib.h | 97 struct nlist; 98 extern int nlist (const char *, struct nlist *);
|
| /NextBSD/contrib/tcsh/ |
| HD | tw.init.c | 47 size_t nlist, /* Number of items */ member 113 if (sl->tlist <= sl->nlist) { in tw_str_add() 129 for (i = 0; i < sl->nlist; i++) in tw_str_add() 134 ptr = sl->list[sl->nlist++] = &sl->buff[sl->nbuff]; in tw_str_add() 150 sl->tlist = sl->nlist = 0; in tw_str_free() 325 qsort(tw_cmd.list, tw_cmd.nlist, sizeof(Char *), fcompare); in tw_cmd_sort() 328 for (i = 0, fwd = 0; i + 1 < tw_cmd.nlist; i++) { in tw_cmd_sort() 337 tw_cmd.nlist -= fwd; in tw_cmd_sort() 397 if (tw_cmd_state.cur < tw_cmd.nlist) { in tw_cmd_next() 826 for (i = 0; i < tw_item.nlist; i++) in tw_item_find()
|
| /NextBSD/contrib/byacc/test/btyacc/ |
| HD | inherit2.tab.c | 150 namelist * nlist; member 431 namelist *p = (*val).nlist; in YYDESTRUCT_DECL() 443 namelist *p = (*val).nlist; in YYDESTRUCT_DECL() 455 namelist *p = (*val).nlist; in YYDESTRUCT_DECL() 1134 { yyval.nlist = yystack.l_mark[0].nlist; } in YYPARSE_DECL() 1142 { yyval.nlist = yystack.l_mark[0].nlist; } in YYPARSE_DECL() 1162 …{ yyval.nlist->s = mksymbol(yystack.l_mark[-2].tval, yystack.l_mark[-3].cval, yystack.l_mark[0].id… in YYPARSE_DECL() 1163 yyval.nlist->next = yystack.l_mark[-1].nlist; in YYPARSE_DECL() 1168 …{ yyval.nlist->s = mksymbol(yystack.l_mark[-1].tval, yystack.l_mark[-2].cval, yystack.l_mark[0].id… in YYPARSE_DECL() 1169 yyval.nlist->next = NULL; in YYPARSE_DECL() [all …]
|
| HD | err_inherit3.tab.c | 150 namelist * nlist; member 431 namelist *p = (*val).nlist; in YYDESTRUCT_DECL() 443 namelist *p = (*val).nlist; in YYDESTRUCT_DECL() 455 namelist *p = (*val).nlist; in YYDESTRUCT_DECL() 1134 { yyval.nlist = yystack.l_mark[0].nlist; } in YYPARSE_DECL() 1142 { yyval.nlist = yystack.l_mark[0].nlist; } in YYPARSE_DECL() 1166 …{ yyval.nlist->s = mksymbol(yystack.l_mark[-5].tval, yystack.l_mark[-5].cval, yystack.l_mark[0].id… in YYPARSE_DECL() 1167 yyval.nlist->next = yystack.l_mark[-1].nlist; in YYPARSE_DECL() 1172 { yyval.nlist->s = mksymbol(yystack.l_mark[-3], yystack.l_mark[-3], yystack.l_mark[0].id); in YYPARSE_DECL() 1173 yyval.nlist->next = NULL; in YYPARSE_DECL() [all …]
|
| /NextBSD/usr.bin/mail/ |
| HD | names.c | 488 gexpand(struct name *nlist, struct grouphead *gh, int metoo, int ntype) in gexpand() argument 498 return (nlist); in gexpand() 508 nlist = gexpand(nlist, ngh, metoo, ntype); in gexpand() 522 nlist = put(nlist, np); in gexpand() 525 return (nlist); in gexpand()
|