/src/sys/sys/ |
cdefs_aout.h | 21 #define __indr_reference(sym,alias) /* nada, since we do weak refs */ 25 #define __strong_alias(alias,sym) \ 27 _C_LABEL_STRING(#alias) " = " _C_LABEL_STRING(#sym)); 28 #define __weak_alias(alias,sym) \ 30 _C_LABEL_STRING(#alias) " = " _C_LABEL_STRING(#sym)); 33 #define __weak_extern(sym) \ 34 __asm(".weak " _C_LABEL_STRING(#sym)); 37 #define __weak_reference(sym) __attribute__((__weakref__)) 39 #define __weak_reference(sym) ; __asm(".weak " _C_LABEL_STRING(#sym)) [all...] |
cdefs_elf.h | 52 #define __indr_reference(sym,alias) /* nada, since we do weak refs */ 55 #define __strong_alias(alias,sym) \ 57 _C_LABEL_STRING(#alias) " = " _C_LABEL_STRING(#sym)); 59 #define __weak_alias(alias,sym) \ 61 _C_LABEL_STRING(#alias) " = " _C_LABEL_STRING(#sym)); 64 #define __weak_extern(sym) \ 65 __asm(".weak " _C_LABEL_STRING(#sym)); 74 #define __weak_reference(sym) __attribute__((__weakref__(#sym))) 76 #define __weak_reference(sym) ; __asm(".weak " _C_LABEL_STRING(#sym) [all...] |
/src/usr.bin/error/ |
error.h | 230 #define DECL_STR(sym, num, str) static char sym##_##num[] = str 232 #define DECL_S1(sym, s, ...) __VA_ARGS__ DECL_STR(sym, 0, s) 233 #define DECL_S2(sym, s, ...) DECL_STR(sym, 1, s); DECL_S1(sym, __VA_ARGS__) 234 #define DECL_S3(sym, s, ...) DECL_STR(sym, 2, s); DECL_S2(sym, __VA_ARGS__ [all...] |
/src/usr.sbin/tprof/ |
ksyms.h | 32 struct sym { struct 38 struct sym **ksymload(size_t *);
|
ksyms.c | 46 static struct sym **syms = NULL; 52 const struct sym *s1 = *(const struct sym * const *)p1; 53 const struct sym *s2 = *(const struct sym * const *)p2; 72 struct sym ** 115 struct sym *sym; local in function:ksymload 124 sym = emalloc(sizeof(*sym)); 158 const struct sym *sym = syms[mid]; local in function:ksymlookup 171 const struct sym *sym = syms[i]; local in function:ksymlookup [all...] |
/src/tests/lib/libppath/ |
plist_to_c | 15 ${AWK:-awk} -v sym=$1 ' 16 BEGIN { printf "const char " sym "[] = \""; }
|
/src/sys/arch/alpha/stand/standtest/ |
Makefile | 12 CLEANFILES+= ${PROG}.sym 15 ${PROG}: ${PROG}.sym 17 cp ${PROG}.sym ${PROG} 22 ${PROG}.sym: ${OBJS} ${LIBSA} ${LIBKERN} 24 ${LD} -Ttext ${RELOC} -N -e start -o ${PROG}.sym \
|
/src/sys/arch/sparc/stand/bootxx/ |
Makefile | 11 CLEANFILES+= ${PROG}.sym 26 ${LD} -o ${.TARGET}.sym ${LINKFLAGS} ${OBJS} ${LIBSA} ${LIBKERN} 27 @${SIZE} ${.TARGET}.sym 28 ${OBJCOPY} -O binary ${.TARGET}.sym ${.TARGET}
|
/src/usr.bin/xlint/lint2/ |
emit2.c | 109 outdef(const hte_t *hte, const sym_t *sym) 119 if (sym->s_check_only_first_args) { 121 outint(sym->s_check_num_args); 123 if (sym->s_scanflike) { 125 outint(sym->s_scanflike_arg); 127 if (sym->s_printflike) { 129 outint(sym->s_printflike_arg); 132 outchar(sym->s_def == DEF ? 'd' : 't'); 133 if (TP(sym->s_type)->t_tspec == FUNC) { 134 if (sym->s_function_has_return_value 149 sym_t *sym, *def; local in function:dumpname [all...] |
/src/sys/arch/evbmips/stand/sbmips/boot/ |
Makefile | 15 CLEANFILES+= ${PROG}.sym 17 ${PROG}: ${PROG}.sym 18 @echo creating ${PROG} from ${PROG}.sym... 19 @${OBJCOPY} --output-target=binary -R .reginfo ${PROG}.sym ${PROG} 22 @${CHECKSIZE_CMD} ${PROG}.sym ${PROG} ${SECONDARY_MAX_LOAD} \ 28 ${PROG}.sym: ${OBJS} ${LIBSA} ${LIBZ} ${LIBKERN} ${LDSCRIPT} 30 ${LD} ${LDABI} -T ${LDSCRIPT} -N -e start -o ${PROG}.sym \ 32 ${SIZE} ${PROG}.sym
|
/src/sys/arch/evbmips/stand/sbmips/netboot/ |
Makefile | 11 CLEANFILES+= ${PROG}.sym 16 ${PROG}: ${PROG}.sym 17 @echo creating ${PROG} from ${PROG}.sym... 19 ${PROG}.sym ${PROG} 22 @${CHECKSIZE_CMD} ${PROG}.sym ${PROG} ${UNIFIED_MAX_LOAD} \ 28 ${PROG}.sym: ${OBJS} ${LIBSA} ${LIBZ} ${LIBKERN} ${LDSCRIPT} 30 ${LD} ${LDABI} -T ${LDSCRIPT} -N -e start -o ${PROG}.sym \ 32 ${SIZE} ${PROG}.sym
|
/src/sys/arch/sbmips/stand/boot/ |
Makefile | 15 CLEANFILES+= ${PROG}.sym 17 ${PROG}: ${PROG}.sym 18 @echo creating ${PROG} from ${PROG}.sym... 19 @${OBJCOPY} --output-target=binary -R .reginfo ${PROG}.sym ${PROG} 22 @${CHECKSIZE_CMD} ${PROG}.sym ${PROG} ${SECONDARY_MAX_LOAD} \ 28 ${PROG}.sym: ${OBJS} ${LIBSA} ${LIBZ} ${LIBKERN} ${LDSCRIPT} 30 ${LD} -T ${LDSCRIPT} -N -e start -o ${PROG}.sym \ 32 ${SIZE} ${PROG}.sym
|
/src/sys/arch/sbmips/stand/netboot/ |
Makefile | 11 CLEANFILES+= ${PROG}.sym 16 ${PROG}: ${PROG}.sym 17 @echo creating ${PROG} from ${PROG}.sym... 19 ${PROG}.sym ${PROG} 22 @${CHECKSIZE_CMD} ${PROG}.sym ${PROG} ${UNIFIED_MAX_LOAD} \ 28 ${PROG}.sym: ${OBJS} ${LIBSA} ${LIBZ} ${LIBKERN} ${LDSCRIPT} 30 ${LD} -T ${LDSCRIPT} -N -e start -o ${PROG}.sym \ 32 ${SIZE} ${PROG}.sym
|
/src/common/dist/zlib/contrib/infback9/ |
inftree9.c | 36 unsigned sym; /* index of code symbols */ local in function:inflate_table9 106 for (sym = 0; sym < codes; sym++) 107 count[lens[sym]]++; 135 for (sym = 0; sym < codes; sym++) 136 if (lens[sym] != 0) work[offs[lens[sym]]++] = (unsigned short)sym [all...] |
/src/common/dist/zlib/ |
inftrees.c | 38 unsigned sym; /* index of code symbols */ local in function:inflate_table 106 for (sym = 0; sym < codes; sym++) 107 count[lens[sym]]++; 143 for (sym = 0; sym < codes; sym++) 144 if (lens[sym] != 0) work[offs[lens[sym]]++] = (unsigned short)sym [all...] |
/src/sys/arch/alpha/stand/boot/ |
Makefile | 19 CLEANFILES+= ${PROG}.sym 21 ${PROG}: ${PROG}.sym 23 @${OBJCOPY} --output-target=binary ${PROG}.sym ${PROG} 26 @${CHECKSIZE_CMD} ${PROG}.sym ${PROG} ${SECONDARY_MAX_LOAD} \ 32 ${PROG}.sym: ${OBJS} ${LIBSA} ${LIBZ} ${LIBKERN} 34 ${LD} -Ttext ${BOOT_RELOC} -N -e start -o ${PROG}.sym \ 36 ${SIZE} ${PROG}.sym
|
/src/sys/arch/alpha/stand/netboot/ |
Makefile | 12 CLEANFILES+= ${PROG}.sym 17 ${PROG}: ${PROG}.sym 19 @${OBJCOPY} --output-target=binary ${PROG}.sym ${PROG} 22 @${CHECKSIZE_CMD} ${PROG}.sym ${PROG} ${UNIFIED_MAX_LOAD} \ 28 ${PROG}.sym: ${OBJS} ${LIBSA} ${LIBZ} ${LIBKERN} 30 ${LD} -Ttext ${BOOT_RELOC} -N -e start -o ${PROG}.sym \ 32 ${SIZE} ${PROG}.sym
|
/src/sys/arch/alpha/stand/ustarboot/ |
Makefile | 17 CLEANFILES+= ${PROG}.sym 19 ${PROG}: ${PROG}.sym 21 @${OBJCOPY} --output-target=binary ${PROG}.sym ${PROG} 24 @${CHECKSIZE_CMD} ${PROG}.sym ${PROG} ${UNIFIED_MAX_LOAD} \ 30 ${PROG}.sym: ${OBJS} ${LIBSA} ${LIBZ} ${LIBKERN} 32 ${LD} -Ttext ${BOOT_RELOC} -N -e start -o ${PROG}.sym \ 34 ${SIZE} ${PROG}.sym
|
/src/usr.bin/xlint/lint1/ |
decl.c | 415 set_first_typedef(type_t *tp, sym_t *sym) 420 tp->u.sou->sou_first_typedef = sym; 422 tp->u.enumer->en_first_typedef = sym; 900 check_type(sym_t *sym) 903 type_t **tpp = &sym->s_type; 913 !(to == NO_TSPEC && sym->s_osdef)) { 956 if (sym->s_scl != ABSTRACT) { 957 lint_assert(sym->s_name != unnamed); 959 error(61, sym->s_name); 964 } else if (sym->s_scl != TYPEDEF) 1350 for (sym_t *sym = dcs->d_first_dlsym; local in function:check_prototype_parameters 2808 sym_t *sym = block_zero_alloc(sizeof(*sym), "sym"); local in function:abstract_name_level 2925 for (sym_t *sym = dl->d_first_dlsym; local in function:check_usage 3170 for (const sym_t *sym = dcs->d_first_dlsym; local in function:end_translation_unit [all...] |
debug.c | 209 tn->u.sym->s_name, 210 scl_name(tn->u.sym->s_scl)); 402 debug_sym(const char *prefix, const sym_t *sym, const char *suffix) 405 debug_printf("%s%s", prefix, sym->s_name); 406 if (sym->s_type != NULL) 407 debug_printf(" type='%s'", type_name(sym->s_type)); 408 if (sym->s_rename != NULL) 409 debug_printf(" rename=%s", sym->s_rename); 410 debug_printf(" %s", symbol_kind_name(sym->s_kind)); 411 debug_word(sym->s_keyword != NULL, "keyword") 530 for (const sym_t *sym = dl->d_func_proto_syms; local in function:debug_decl_level [all...] |
/src/sys/arch/ia64/stand/ia64/efi/ |
Makefile | 7 PROGS= loader.sym loader.efi 9 MAN.loader.sym= # no man 26 SRCS.loader.sym:= start.S conf.c efimd.c main.c ${SRCS} 34 loader.sym: ${LDSCRIPT} 40 loader.efi: loader.sym 41 if [ `${OBJDUMP} -t loader.sym | fgrep '*UND*' | wc -l` != 0 ]; then \ 42 ${OBJDUMP} -t loader.sym | fgrep '*UND*'; \ 47 --target=efi-app-${MACHINE_ARCH} loader.sym ${.TARGET}
|
/src/sys/dev/sun/ |
kbd_tables.h | 42 #define KEYSYM_NOREPEAT(sym) ((sym) & 0x8000) 44 #define KEYSYM_CLASS(sym) ((sym) & 0xFF00) 45 #define KEYSYM_DATA(sym) ((sym) & 0x00FF)
|
/src/tests/libexec/ld.elf_so/ |
t_dlvsym.c | 47 int (*sym)(void); local in function:ATF_TC_BODY 58 sym = dlvsym(handle, "testfunc", "V_1"); 62 result = (*sym)(); 79 int (*sym)(void); local in function:ATF_TC_BODY 90 sym = dlvsym(handle, "testfunc", "V_3"); 94 result = (*sym)(); 112 int (*sym)(void); local in function:ATF_TC_BODY 122 sym = dlvsym(handle, "symbol_nonexistent", "V_3"); 124 ATF_CHECK(sym == NULL); 142 int (*sym)(void) local in function:ATF_TC_BODY 172 int (*sym)(void); local in function:ATF_TC_BODY [all...] |
/src/usr.bin/indent/ |
parse.c | 52 ps.psyms.sym[ps.psyms.len - 1] = psym; 61 if (ps.psyms.sym[i] == psym_decl) 71 ps.psyms.sym = nonnull(realloc(ps.psyms.sym, 72 sizeof(ps.psyms.sym[0]) * ps.psyms.cap)); 77 ps.psyms.sym[ps.psyms.len - 1] = psym; 89 if (ps.psyms.len >= 2 && ps.psyms.sym[ps.psyms.len - 1] == psym_stmt) { 90 switch (ps.psyms.sym[ps.psyms.len - 2]) { 109 if (ps.psyms.sym[ps.psyms.len - 1] == psym_while_expr && 110 ps.psyms.sym[ps.psyms.len - 2] == psym_do_stmt) [all...] |
/src/sys/arch/macppc/stand/bootxx/ |
Makefile | 26 CLEANFILES+= ${PROG}.sym 30 ${LD} -o ${.TARGET}.sym ${LINKFLAGS} ${OBJS} 31 ${OBJCOPY} -O binary ${.TARGET}.sym ${.TARGET}
|