/netbsd/usr.bin/xlint/lint1/ |
H A D | decl.c | 1538 tag->s_name); in new_tag() 1543 tag->s_name); in new_tag() 1556 tag->s_name); in new_tag() 1561 tag->s_name); in new_tag() 1796 sym->s_name); in check_extern_declaration() 2615 if (strcmp(dsym->s_name, esym->s_name) == 0) in declare_external_in_block() 2872 warning_at(231, &arg->s_def_pos, arg->s_name, funcsym->s_name); in check_argument_usage() 2905 sym->s_name, funcsym->s_name); in check_variable_usage() 2911 sym->s_name, funcsym->s_name); in check_variable_usage() 2915 sym->s_name, funcsym->s_name); in check_variable_usage() [all …]
|
H A D | emit1.c | 154 if (tag->s_name != unnamed) { in outtt() 156 outname(tag->s_name); in outtt() 159 outname(tdef->s_name); in outtt() 190 if (ch_isdigit(sym->s_name[0])) /* 00000000_tmp */ in outsym() 225 outname(sym->s_name); in outsym() 306 outname(fsym->s_name); in outfdef() 401 outname(tn->tn_left->tn_left->tn_sym->s_name); in outcall() 572 if (ch_isdigit(sym->s_name[0])) /* 00000000_tmp, from mktempsym */ in outusg() 587 outname(sym->s_name); in outusg()
|
H A D | func.c | 271 lint_assert(arg->s_name == unnamed); in begin_function() 275 lint_assert(arg->s_name != unnamed); in begin_function() 299 error(27, fsym->s_name); in begin_function() 302 warning(27, fsym->s_name); in begin_function() 331 strcmp(fsym->s_name, "main") != 0) in begin_function() 355 warning(217, funcsym->s_name); in check_missing_return_value() 378 warning(216, funcsym->s_name); in end_function() 425 error(194, sym->s_name); in named_label() 1023 warning(302, funcsym->s_name); in check_return_value() 1051 error(213, funcsym->s_name); in stmt_return() [all …]
|
H A D | ckctype.c | 127 is_ctype_function(func->tn_sym->s_name) && in check_ctype_function_call() 131 check_ctype_arg(func->tn_sym->s_name, args->tn_left); in check_ctype_function_call() 143 is_ctype_table(ln->tn_left->tn_left->tn_sym->s_name)) in check_ctype_macro_invocation()
|
H A D | lex.c | 230 h = hash(sym->s_name); in symtab_add() 243 if (strcmp(sym->s_name, name) != 0) in symtab_search() 284 return strcmp(a->s_name, b->s_name); in sym_by_name() 362 sym->s_name = name; in add_keyword() 480 sb->sb_name = sym->s_name; in lex_name() 1342 sym->s_name = s; in getsym() 1351 sym->s_name = sb->sb_name; in getsym() 1391 sym->s_name = s; in mktempsym() 1435 sym->s_name, symt_name(sym->s_kind), in symtab_remove_level() 1450 sym->s_name, symt_name(sym->s_kind), type_name(sym->s_type), in inssym() [all …]
|
H A D | debug.c | 172 tn->tn_sym->s_name, in debug_node() 343 debug_printf("%s%s", prefix, sym->s_name); in debug_sym() 381 const char *tag = sou->sou_tag->s_name; in debug_sym() 384 debug_printf(" sou='typedef %s'", def->s_name); in debug_sym()
|
/netbsd/external/gpl3/gdb/dist/bfd/ |
H A D | coff-go32.c | 84 memcpy (scnhdr_int->s_name, scnhdr_ext->s_name, sizeof (scnhdr_int->s_name)); in _bfd_go32_swap_scnhdr_in() 101 if (abfd->flags & EXEC_P && (strcmp (scnhdr_ext->s_name, ".text") == 0)) in _bfd_go32_swap_scnhdr_in() 117 memcpy (scnhdr_ext->s_name, scnhdr_int->s_name, sizeof (scnhdr_int->s_name)); in _bfd_go32_swap_scnhdr_out() 127 if (abfd->flags & EXEC_P && (strcmp (scnhdr_int->s_name, ".text") == 0)) in _bfd_go32_swap_scnhdr_out() 150 char buf[sizeof (scnhdr_int->s_name) + 1]; in _bfd_go32_swap_scnhdr_out() 152 memcpy (buf, scnhdr_int->s_name, sizeof (scnhdr_int->s_name)); in _bfd_go32_swap_scnhdr_out() 153 buf[sizeof (scnhdr_int->s_name)] = '\0'; in _bfd_go32_swap_scnhdr_out()
|
H A D | coffswap.h | 738 memcpy (scnhdr_int->s_name, scnhdr_ext->s_name, sizeof (scnhdr_int->s_name)); in coff_swap_scnhdr_in() 766 memcpy (scnhdr_ext->s_name, scnhdr_int->s_name, sizeof (scnhdr_int->s_name)); in coff_swap_scnhdr_out() 779 char buf[sizeof (scnhdr_int->s_name) + 1]; in coff_swap_scnhdr_out() 781 memcpy (buf, scnhdr_int->s_name, sizeof (scnhdr_int->s_name)); in coff_swap_scnhdr_out() 782 buf[sizeof (scnhdr_int->s_name)] = '\0'; in coff_swap_scnhdr_out() 794 char buf[sizeof (scnhdr_int->s_name) + 1]; in coff_swap_scnhdr_out() 796 memcpy (buf, scnhdr_int->s_name, sizeof (scnhdr_int->s_name)); in coff_swap_scnhdr_out() 797 buf[sizeof (scnhdr_int->s_name)] = '\0'; in coff_swap_scnhdr_out()
|
/netbsd/external/gpl3/binutils/dist/bfd/ |
H A D | coff-go32.c | 92 memcpy (scnhdr_int->s_name, scnhdr_ext->s_name, sizeof (scnhdr_int->s_name)); in _bfd_go32_swap_scnhdr_in() 109 if (abfd->flags & EXEC_P && (strcmp (scnhdr_ext->s_name, ".text") == 0)) in _bfd_go32_swap_scnhdr_in() 125 memcpy (scnhdr_ext->s_name, scnhdr_int->s_name, sizeof (scnhdr_int->s_name)); in _bfd_go32_swap_scnhdr_out() 135 if (abfd->flags & EXEC_P && (strcmp (scnhdr_int->s_name, ".text") == 0)) in _bfd_go32_swap_scnhdr_out() 158 char buf[sizeof (scnhdr_int->s_name) + 1]; in _bfd_go32_swap_scnhdr_out() 160 memcpy (buf, scnhdr_int->s_name, sizeof (scnhdr_int->s_name)); in _bfd_go32_swap_scnhdr_out() 161 buf[sizeof (scnhdr_int->s_name)] = '\0'; in _bfd_go32_swap_scnhdr_out()
|
H A D | coffswap.h | 772 memcpy (scnhdr_int->s_name, scnhdr_ext->s_name, sizeof (scnhdr_int->s_name)); in coff_swap_scnhdr_in() 800 memcpy (scnhdr_ext->s_name, scnhdr_int->s_name, sizeof (scnhdr_int->s_name)); in coff_swap_scnhdr_out() 813 char buf[sizeof (scnhdr_int->s_name) + 1]; in coff_swap_scnhdr_out() 815 memcpy (buf, scnhdr_int->s_name, sizeof (scnhdr_int->s_name)); in coff_swap_scnhdr_out() 816 buf[sizeof (scnhdr_int->s_name)] = '\0'; in coff_swap_scnhdr_out() 828 char buf[sizeof (scnhdr_int->s_name) + 1]; in coff_swap_scnhdr_out() 830 memcpy (buf, scnhdr_int->s_name, sizeof (scnhdr_int->s_name)); in coff_swap_scnhdr_out() 831 buf[sizeof (scnhdr_int->s_name)] = '\0'; in coff_swap_scnhdr_out()
|
/netbsd/external/gpl3/gdb.old/dist/bfd/ |
H A D | coff-go32.c | 84 memcpy (scnhdr_int->s_name, scnhdr_ext->s_name, sizeof (scnhdr_int->s_name)); in _bfd_go32_swap_scnhdr_in() 101 if (abfd->flags & EXEC_P && (strcmp (scnhdr_ext->s_name, ".text") == 0)) in _bfd_go32_swap_scnhdr_in() 117 memcpy (scnhdr_ext->s_name, scnhdr_int->s_name, sizeof (scnhdr_int->s_name)); in _bfd_go32_swap_scnhdr_out() 127 if (abfd->flags & EXEC_P && (strcmp (scnhdr_int->s_name, ".text") == 0)) in _bfd_go32_swap_scnhdr_out() 150 char buf[sizeof (scnhdr_int->s_name) + 1]; in _bfd_go32_swap_scnhdr_out() 152 memcpy (buf, scnhdr_int->s_name, sizeof (scnhdr_int->s_name)); in _bfd_go32_swap_scnhdr_out() 153 buf[sizeof (scnhdr_int->s_name)] = '\0'; in _bfd_go32_swap_scnhdr_out()
|
H A D | coffswap.h | 738 memcpy (scnhdr_int->s_name, scnhdr_ext->s_name, sizeof (scnhdr_int->s_name)); in coff_swap_scnhdr_in() 766 memcpy (scnhdr_ext->s_name, scnhdr_int->s_name, sizeof (scnhdr_int->s_name)); in coff_swap_scnhdr_out() 779 char buf[sizeof (scnhdr_int->s_name) + 1]; in coff_swap_scnhdr_out() 781 memcpy (buf, scnhdr_int->s_name, sizeof (scnhdr_int->s_name)); in coff_swap_scnhdr_out() 782 buf[sizeof (scnhdr_int->s_name)] = '\0'; in coff_swap_scnhdr_out() 794 char buf[sizeof (scnhdr_int->s_name) + 1]; in coff_swap_scnhdr_out() 796 memcpy (buf, scnhdr_int->s_name, sizeof (scnhdr_int->s_name)); in coff_swap_scnhdr_out() 797 buf[sizeof (scnhdr_int->s_name)] = '\0'; in coff_swap_scnhdr_out()
|
/netbsd/external/bsd/libbind/dist/irs/ |
H A D | getservent_r.c | 155 len += strlen(se->s_name) + 1; in copy_servent() 170 n = strlen(se->s_name) + 1; in copy_servent() 171 strcpy(cp, se->s_name); in copy_servent() 172 sptr->s_name = cp; in copy_servent() 205 if ((n = strlen(se->s_name) + 1) < (eob - cp)) { in copy_servent() 206 strcpy(cp, se->s_name); in copy_servent() 207 sptr->s_name = cp; in copy_servent()
|
H A D | irp_sv.c | 191 if (sv->s_name != NULL && in sv_byname() 192 strcmp(name, sv->s_name) == 0 && in sv_byname() 242 if (sv->s_name != NULL && in sv_byport() 333 if (sv->s_name != NULL) { in free_service() 334 free(sv->s_name); in free_service()
|
H A D | lcl_sv.c | 204 if (strcmp(name, p->s_name) == 0) in sv_byname() 345 sv->serv.s_name = p; in irs_lclsv_fnxt() 402 sv->serv.s_name = sv->line; in sv_db_rec() 414 sv->serv.s_name = sv->line; in sv_db_rec()
|
/netbsd/usr.bin/mail/ |
H A D | cmd4.c | 69 (void)printf("%s (%p)\n", sp->s_name, sp); 91 if (strcasecmp(sh->s_name, name) == 0) in findsmopts_core() 127 (void)printf("%s:\t%s\n", sp->s_name, detract(sp->s_smopts, GSMOPTS)); in printsmopts() 141 for (sp = smoptstbl[h]; sp && sp->s_name != NULL; sp = sp->s_link) in printsmoptstbl() 147 for (sp = smoptstbl[h]; sp && sp->s_name != NULL; sp = sp->s_link) in printsmoptstbl() 148 *ap++ = sp->s_name; in printsmoptstbl() 200 sp->s_name = vcopy(sname); in smopts_core() 264 if (strcasecmp(sp->s_name, name) == 0) { in delsmopts()
|
/netbsd/external/gpl3/gdb/dist/gdb/ |
H A D | cp-support.c | 146 memcpy (name, ret_comp->u.s_name.s, ret_comp->u.s_name.len); in inspect_type() 147 name[ret_comp->u.s_name.len] = '\0'; in inspect_type() 177 ret_comp->u.s_name.s = new_name; in inspect_type() 286 ret_comp->u.s_name.s = name; in inspect_type() 287 ret_comp->u.s_name.len = len; in inspect_type() 329 repl->u.s_name.len = buf.size (); in replace_typedefs_template() 380 buf.write (d_left (comp)->u.s_name.s, d_left (comp)->u.s_name.len); in replace_typedefs_qualified_name() 383 newobj.u.s_name.len = buf.size (); in replace_typedefs_qualified_name() 405 d_left (ret_comp)->u.s_name.s = s; in replace_typedefs_qualified_name() 447 buf.write (comp->u.s_name.s, comp->u.s_name.len); in replace_typedefs_qualified_name() [all …]
|
/netbsd/external/gpl3/gdb.old/dist/gdb/ |
H A D | cp-support.c | 146 memcpy (name, ret_comp->u.s_name.s, ret_comp->u.s_name.len); in inspect_type() 147 name[ret_comp->u.s_name.len] = '\0'; in inspect_type() 177 ret_comp->u.s_name.s = new_name; in inspect_type() 286 ret_comp->u.s_name.s = name; in inspect_type() 287 ret_comp->u.s_name.len = len; in inspect_type() 329 repl->u.s_name.len = buf.size (); in replace_typedefs_template() 380 buf.write (d_left (comp)->u.s_name.s, d_left (comp)->u.s_name.len); in replace_typedefs_qualified_name() 383 newobj.u.s_name.len = buf.size (); in replace_typedefs_qualified_name() 405 d_left (ret_comp)->u.s_name.s = s; in replace_typedefs_qualified_name() 447 buf.write (comp->u.s_name.s, comp->u.s_name.len); in replace_typedefs_qualified_name() [all …]
|
/netbsd/usr.bin/xlint/common/ |
H A D | tyname.c | 192 if (tp->t_sou->sou_tag->s_name == unnamed && in type_name_of_struct_or_union() 195 buf_add(buf, tp->t_sou->sou_first_typedef->s_name); in type_name_of_struct_or_union() 197 buf_add(buf, tp->t_sou->sou_tag->s_name); in type_name_of_struct_or_union() 209 if (tp->t_enum->en_tag->s_name == unnamed && in type_name_of_enum() 212 buf_add(buf, tp->t_enum->en_first_typedef->s_name); in type_name_of_enum() 214 buf_add(buf, tp->t_enum->en_tag->s_name); in type_name_of_enum()
|
/netbsd/external/bsd/ipf/dist/lib/ |
H A D | portname.c | 24 strncpy(buf, sv->s_name, sizeof(buf)-1); 27 sv = strncasecmp(buf, sv->s_name, strlen(buf)) ? 34 strncpy(buf, sv->s_name, sizeof(buf)-1);
|
/netbsd/games/robots/ |
H A D | score.c | 179 (long)(scp - Top) + 1, scp->s_score, scp->s_name, in score() 201 strncpy(scp->s_name, "???", MAXNAME - 1); in set_name() 203 strncpy(scp->s_name, pp->pw_name, MAXNAME - 1); in set_name() 204 scp->s_name[MAXNAME - 1] = '\0'; in set_name() 240 inf++, scp->s_score, scp->s_name, in show_score()
|
/netbsd/sys/arch/macppc/stand/fixcoff/ |
H A D | fixcoff.c | 69 char s_name[8]; member 176 if (strcmp(sh.s_name, ".text") == 0) { in main() 179 } else if (strcmp(sh.s_name, ".data") == 0) { in main() 181 } else if (strcmp(sh.s_name, ".bss") == 0) { in main()
|
/netbsd/usr.bin/rdist/ |
H A D | lookup.c | 49 char *s_name; member 141 if (strcmp(name, s->s_name)) in lookup() 165 s->s_name = name; in lookup()
|
/netbsd/external/gpl3/binutils.old/dist/bfd/ |
H A D | coffswap.h | 737 memcpy (scnhdr_int->s_name, scnhdr_ext->s_name, sizeof (scnhdr_int->s_name)); in coff_swap_scnhdr_in() 764 memcpy (scnhdr_ext->s_name, scnhdr_int->s_name, sizeof (scnhdr_int->s_name)); in coff_swap_scnhdr_out() 777 char buf[sizeof (scnhdr_int->s_name) + 1]; in coff_swap_scnhdr_out() 779 memcpy (buf, scnhdr_int->s_name, sizeof (scnhdr_int->s_name)); in coff_swap_scnhdr_out() 780 buf[sizeof (scnhdr_int->s_name)] = '\0'; in coff_swap_scnhdr_out() 792 char buf[sizeof (scnhdr_int->s_name) + 1]; in coff_swap_scnhdr_out() 794 memcpy (buf, scnhdr_int->s_name, sizeof (scnhdr_int->s_name)); in coff_swap_scnhdr_out() 795 buf[sizeof (scnhdr_int->s_name)] = '\0'; in coff_swap_scnhdr_out()
|
/netbsd/sys/sys/ |
H A D | exec_ecoff.h | 76 char s_name[8]; /* name */ member 133 char s_name[8]; /* name */ member
|