/osnet-11/usr/src/lib/libpp/common/ |
H A D | ppmacref.c | 31 ppmacref(struct ppsymbol* sym, char* file, int line, int type, unsigned long sum) argument 39 p += sfsprintf(p, MAXTOKEN, "\n#%s %s:%s %s %d", dirname(PRAGMA), pp.pass, keyname(X_MACREF), sym->name, type); 42 if (sym->macro && sym->macro->value) 43 sum = strsum(sym->macro->value, (long)sym->macro->arity);
|
H A D | ppbuiltin.c | 52 struct ppsymbol* sym; local 119 if ((c = pplex()) != T_ID || !(sym = ppsymref(pp.symtab, pp.token)) || !sym->macro || sym->macro->arity != 1 || (c = pplex()) != ',') 139 STRCOPY(pp.token, sym->name, a); 246 p = (sym = pprefmac(a, REF_NORMAL)) ? sym->macro->value : "";
|
H A D | ppmisc.c | 37 register struct ppsymbol* sym; local 39 if (!(sym = ppsymget(pp.symtab, name)) && (ref <= REF_NORMAL && pp.macref || ref == REF_CREATE || ref == REF_DELETE && (pp.mode & (INIT|READONLY)))) 43 sym = ppsymset(pp.symtab, NiL); 45 if (sym && ref <= REF_NORMAL) 47 if (pp.macref) (*pp.macref)(sym, error_info.file, error_info.line, ref == REF_NORMAL && (pp.state & CONDITIONAL) ? REF_IF : ref, 0L); 48 if (!sym->macro) sym = 0; 53 if (ref == REF_IF && sym && (sym->flags & SYM_PREDEFINED) && *name != '_' && !(pp.mode & (HOSTED|INACTIVE))) 62 return(sym); 74 register struct ppsymbol* sym; local [all...] |
H A D | ppcall.c | 36 * 0 returned if tok==0 and sym->mac->value to be copied to output by caller 41 ppcall(register struct ppsymbol* sym, int tok) argument 62 sym->flags |= SYM_NOTICED; 63 if (mac = sym->macro) 66 if ((sym->flags & SYM_PREDICATE) && (pp.state & (CONDITIONAL|WARN)) == (CONDITIONAL|WARN)) 67 error(1, "%s: macro definition overrides assertion: use #%s ...", sym->name, sym->name); 68 if (sym->flags & SYM_DISABLED) 76 error(1, "%s: macro recursion inhibited", sym->name); 80 if ((sym [all...] |
H A D | ppexpr.c | 157 register struct ppsymbol* sym; local 221 else if ((sym = pprefmac(args, REF_IF)) && sym->macro) return 1; 240 else if (((sym = pprefmac(args, REF_IF)) || (sym = ppsymref(pp.symtab, args))) && (sym->flags & SYM_NOTICED)) return 1; 248 if (warn && !(pp.mode & HOSTED) && (sym = ppsymref(pp.symtab, pred)) && (sym->flags & SYM_PREDICATE))
|
H A D | ppinput.c | 357 register struct ppsymbol* sym = (struct ppsymbol*)v; local 362 if ((mac = sym->macro) && !(sym->flags & (SYM_BUILTIN|SYM_PREDEFINED))) 364 ppprintf("%s", sym->name); 367 if (sym->flags & SYM_FUNCTION) flags |= LOAD_FUNCTION; 368 if (sym->flags & SYM_MULTILINE) flags |= LOAD_MULTILINE; 369 if (sym->flags & SYM_NOEXPAND) flags |= LOAD_NOEXPAND; 370 if (sym->flags & SYM_PREDICATE) flags |= LOAD_PREDICATE; 371 if (sym->flags & SYM_READONLY) flags |= LOAD_READONLY; 372 if (sym 478 struct ppsymbol* sym; local [all...] |
H A D | pplex.c | 191 struct ppsymbol* sym; local 1342 if (sym = ppsymref(pp.symtab, tp)) 1345 n = ppcall(sym, 0); 1356 ip = sym->macro->value; 1357 c = sym->macro->size; 1369 else if ((sym->flags & SYM_MULTILINE) && pp.linesync) 1400 sym = (pp.option & NOHASH) ? ppsymref(pp.symtab, tp) : ppsymset(pp.symtab, tp); 1402 if (pp.symbol = sym) 1404 if ((sym->flags & SYM_KEYWORD) && (!pp.truncate || (op - tp) <= pp.truncate || (tp[pp.truncate] = '_', tp[pp.truncate + 1] = 0, pp.symbol = sym [all...] |
/osnet-11/usr/src/lib/krb5/ss/ |
H A D | utils.c | 20 char *sym; local 21 sym = gensym("ssu"); 23 fputs(sym, output_file); 30 fputs(sym, output_file);
|
/osnet-11/usr/src/grub/grub2/grub-core/efiemu/i386/ |
H A D | loadcore32.c | 76 struct grub_efiemu_elf_sym sym; local 84 sym = elfsyms[ELF32_R_SYM (rel->r_info)]; 90 (addr, sym.off + *addr, sym.handle, 0, 98 (addr, sym.off + *addr - rel->r_offset 99 - seg->off, sym.handle, seg->handle,
|
H A D | loadcore64.c | 75 struct grub_efiemu_elf_sym sym; local 85 sym = elfsyms[ELF64_R_SYM (rel->r_info)]; 91 (addr, *addr64 + rel->r_addend + sym.off, sym.handle, 98 (addr, *addr32 + rel->r_addend + sym.off 99 - rel->r_offset - seg->off, sym.handle, seg->handle, 107 (addr, *addr32 + rel->r_addend + sym.off, sym.handle,
|
/osnet-11/usr/src/grub/grub2/grub-core/kern/i386/ |
H A D | dl.c | 83 Elf_Sym *sym; local 90 sym = (Elf_Sym *) ((char *) mod->symtab 96 *addr += sym->st_value; 100 *addr += (sym->st_value - (Elf_Word) seg->addr
|
/osnet-11/usr/src/grub/grub2/grub-core/kern/sparc64/ |
H A D | dl.c | 84 Elf_Sym *sym; local 92 sym = (Elf_Sym *) ((char *) mod->symtab 95 value = sym->st_value + rel->r_addend;
|
/osnet-11/usr/src/grub/grub2/grub-core/kern/x86_64/ |
H A D | dl.c | 84 Elf64_Sym *sym; local 92 sym = (Elf64_Sym *) ((char *) mod->symtab 98 *addr64 += rel->r_addend + sym->st_value; 102 *addr32 += rel->r_addend + sym->st_value - 108 *addr32 += rel->r_addend + sym->st_value;
|
/osnet-11/usr/src/grub/grub2/util/ |
H A D | bin2h.c | 59 char *sym; local 93 sym = argv[optind]; 100 "unsigned char %s[] =\n{\n", sym);
|
/osnet-11/usr/src/grub/grub2/grub-core/kern/mips/ |
H A D | dl.c | 148 Elf_Sym *sym; local 155 sym = (Elf_Sym *) ((char *) mod->symtab 157 if (sym->st_value == (grub_addr_t) &__gnu_local_gp_dummy) 158 sym->st_value = (grub_addr_t) gp; 175 + sym->st_value + 0x8000; 196 *(grub_uint16_t *) addr += (sym->st_value) & 0xffff; 199 *(grub_uint32_t *) addr += sym->st_value; 202 *(grub_uint32_t *) addr = sym->st_value 212 value += sym->st_value; 225 *gpptr = sym [all...] |
/osnet-11/usr/src/grub/grub2/grub-core/kern/powerpc/ |
H A D | dl.c | 141 Elf_Sym *sym; local 149 sym = (Elf_Sym *) ((char *) mod->symtab 154 value = sym->st_value + rel->r_addend;
|
/osnet-11/usr/src/cmd/powertop/common/ |
H A D | events.c | 55 GElf_Sym sym; local 111 offender_addr, &sym, &dts) == 0) { 155 offender_addr, &sym, &dts) == 0) { 194 offender_addr, &sym, &dts) == 0) {
|
/osnet-11/usr/src/lib/libc/port/gen/ |
H A D | nss_deffinder.c | 69 void *sym; local 78 if ((sym = dlsym(dlhandle, name)) == 0) { 82 res = (nss_backend_constr_t)sym;
|
H A D | _xftw.c | 330 nocdstat(const char *path, struct stat *statp, struct Var *vp, int sym) argument 338 rc = fstatat(AT_FDCWD, path, statp, sym); 365 rc = fstatat(fd, unrootp, statp, sym);
|
/osnet-11/usr/src/grub/grub2/grub-core/efiemu/ |
H A D | loadcore.c | 220 Elf_Sym *sym; local 235 sym = (Elf_Sym *) ((char *) e + s->sh_offset); 244 i++, sym = (Elf_Sym *) ((char *) sym + entsize)) 246 unsigned char type = ELF_ST_TYPE (sym->st_info); 247 unsigned char bind = ELF_ST_BIND (sym->st_info); 251 const char *name = str + sym->st_name; 252 grub_efiemu_elfsyms[i].section = sym->st_shndx; 257 if (sym->st_name != 0 && sym [all...] |
/osnet-11/usr/src/grub/grub2/grub-core/kern/ia64/ |
H A D | dl.c | 210 Elf_Sym *sym; local 218 sym = (Elf_Sym *) ((char *) mod->symtab 223 value = sym->st_value + rel->r_addend; 255 if (ELF_ST_TYPE (sym->st_info) == STT_FUNC) 256 value = *(grub_uint64_t *) sym->st_value + rel->r_addend;
|
/osnet-11/usr/src/lib/libproc/common/ |
H A D | Pservice.c | 441 GElf_Sym sym; local 443 if (Plookup_by_name(P, object_name, sym_name, &sym) == 0) { 445 sym_name, (void *)(uintptr_t)sym.st_value); 446 *sym_addr = (psaddr_t)sym.st_value; 465 GElf_Sym sym; local 467 if (Plookup_by_name(P, object_name, sym_name, &sym) == 0) { 468 symp->st_name = (Elf32_Word)sym.st_name; 469 symp->st_value = (Elf32_Addr)sym.st_value; 470 symp->st_size = (Elf32_Word)sym.st_size; 472 GELF_ST_BIND(sym [all...] |
H A D | Psymtab_machelf32.c | 607 Sym sym, *symtabptr; local 637 if (Pread(P, &sym, sizeof (sym), 638 (uintptr_t)&symtabptr[ndx]) != sizeof (sym)) { 644 strtabname = strtabptr + sym.st_name; 665 if (sym.st_value != d[DI_PLTGOT]->d_un.d_ptr) { 669 (long)sym.st_value); 682 sp->sh_addr = sym.st_value;
|
/osnet-11/usr/src/grub/grub2/grub-core/loader/i386/ |
H A D | bsdXX.c | 281 Elf_Sym *sym; local 337 sym = (Elf_Sym *) curload; 360 i++, sym = (Elf_Sym *) ((char *) sym + symentsize)) 362 const char *name = str + sym->st_name; 369 dynamic = sym->st_value; 546 Elf_Sym *syms, *sym, *imagesym = NULL, *sizesym = NULL; local 585 for (i = 0, sym = syms; i < symsize / symentsize; 586 i++, sym = (Elf_Sym *) ((char *) sym [all...] |
/osnet-11/usr/src/lib/cfgadm_plugins/sbd/common/ |
H A D | ap_msg.c | 198 char *sym; local 305 get_str(sym, ap, STR_NULL); 306 DBG("<%s><%s>", path, sym); 410 (void) snprintf(p, len, fmt, sym, path);
|