| /src/sys/arch/sun2/include/ |
| elf_machdep.h | 11 #define ELF32_EHDR_FLAGS_OK(eh) \ 12 (((eh)->e_flags & EF_M68000) != 0)
|
| /src/external/ibm-public/postfix/dist/src/tls/ |
| tls_prng_exch.c | 86 TLS_PRNG_SRC *eh; local 91 eh = (TLS_PRNG_SRC *) mymalloc(sizeof(*eh)); 92 eh->fd = fd; 93 eh->name = mystrdup(name); 94 eh->timeout = 0; 97 return (eh); 102 void tls_prng_exch_update(TLS_PRNG_SRC *eh) 111 if (myflock(eh->fd, INTERNAL_LOCK, MYFLOCK_OP_EXCLUSIVE) != 0) 112 msg_fatal("cannot lock PRNG exchange file %s: %m", eh->name) [all...] |
| /src/external/mpl/dhcp/dist/common/ |
| ethernet.c | 49 struct isc_ether_header eh; local 52 memcpy (eh.ether_dhost, &to -> hbuf [1], 53 sizeof eh.ether_dhost); 55 memset (eh.ether_dhost, 0xff, sizeof (eh.ether_dhost)); 56 if (interface -> hw_address.hlen - 1 == sizeof (eh.ether_shost)) 57 memcpy (eh.ether_shost, &interface -> hw_address.hbuf [1], 58 sizeof (eh.ether_shost)); 60 memset (eh.ether_shost, 0x00, sizeof (eh.ether_shost)) 78 struct isc_ether_header eh; local [all...] |
| /src/sys/lib/libsa/ |
| ether.c | 64 struct ether_header *eh; local 71 eh = (struct ether_header *)pkt - 1; 72 len += sizeof(*eh); 74 MACPY(d->myea, eh->ether_shost); /* by byte */ 75 MACPY(dea, eh->ether_dhost); /* by byte */ 76 eh->ether_type = htons(etype); 78 n = netif_put(d, eh, len); 79 if (n == -1 || (size_t)n < sizeof(*eh)) 82 n -= (ssize_t)sizeof(*eh); 96 struct ether_header *eh; local [all...] |
| /src/usr.bin/crunch/crunchide/ |
| exec_ecoff.c | 58 struct ecoff_exechdr eh; local 67 if (sb.st_size < (off_t)sizeof eh) 69 if (read(fd, &eh, sizeof eh) != sizeof eh) 72 if (ECOFF_BADMAG(&eh))
|
| /src/sys/arch/mips/mips/ |
| cpu_exec.c | 97 const Elf32_Ehdr * const eh = eh0; local 106 switch (eh->e_flags & EF_MIPS_ARCH) { 137 switch (eh->e_flags & (EF_MIPS_ABI|EF_MIPS_ABI2)) { 144 printf("pid %d(%s): ABI set to N32 (e_flags=%#x)\n", p->p_pid, p->p_comm, eh->e_flags); 158 printf("pid %d(%s): ABI set to O32 (e_flags=%#x)\n", p->p_pid, p->p_comm, eh->e_flags); 173 Elf32_Ehdr * const eh = eh0; local 179 eh->e_flags |= EF_MIPS_ARCH_64R2; 181 eh->e_flags |= EF_MIPS_ARCH_64; 183 eh->e_flags |= EF_MIPS_ARCH_32R2; 185 eh->e_flags |= EF_MIPS_ARCH_32 215 const Elf64_Ehdr * const eh = eh0; local 282 Elf64_Ehdr * const eh = eh0; local [all...] |
| /src/external/bsd/ipf/dist/ipsend/ |
| resend.c | 78 ether_header_t *eh; local 96 eh = (ether_header_t *)malloc(sizeof(*eh)); 97 if(!eh) 103 bzero((char *)A_A eh->ether_shost, sizeof(eh->ether_shost)); 107 free(eh); 115 eh = (ether_header_t *)realloc((char *)eh, sizeof(*eh) + len) [all...] |
| /src/external/lgpl3/gmp/dist/mpn/generic/ |
| add_err1_n.c | 58 mp_limb_t el, eh, ul, vl, yl, zl, rl, sl, cy1, cy2; local 70 el = eh = 0; 84 /* update (eh:el) */ 87 eh += el < zl; 92 eh = (eh << GMP_NAIL_BITS) + (el >> GMP_NUMB_BITS); 97 ep[1] = eh;
|
| sub_err1_n.c | 58 mp_limb_t el, eh, ul, vl, yl, zl, rl, sl, cy1, cy2; local 70 el = eh = 0; 84 /* update (eh:el) */ 87 eh += el < zl; 92 eh = (eh << GMP_NAIL_BITS) + (el >> GMP_NUMB_BITS); 97 ep[1] = eh;
|
| /src/external/bsd/openldap/dist/servers/slapd/back-wt/ |
| dn2entry.c | 44 EntryHeader eh; local 86 rc = wt_entry_header( &item, &eh ); 88 eoff = eh.data - (char *)item.data; 89 eh.bv.bv_len = eh.nvals * sizeof( struct berval ) + item.size; 90 eh.bv.bv_val = ch_malloc( eh.bv.bv_len ); 91 memset(eh.bv.bv_val, 0xff, eh.bv.bv_len); 92 eh.data = eh.bv.bv_val + eh.nvals * sizeof( struct berval ) [all...] |
| /src/sys/arch/macppc/stand/ofwboot/ |
| netif_of.c | 143 struct ether_header *eh; local 147 eh = pkt; 148 printf("dst: %s ", ether_sprintf(eh->ether_dhost)); 149 printf("src: %s ", ether_sprintf(eh->ether_shost)); 150 printf("type: 0x%x\n", eh->ether_type & 0xFFFF); 210 struct ether_header *eh = pkt; local 212 printf("dst: %s ", ether_sprintf(eh->ether_dhost)); 213 printf("src: %s ", ether_sprintf(eh->ether_shost)); 214 printf("type: 0x%x\n", eh->ether_type & 0xFFFF);
|
| /src/sys/arch/newsmips/stand/boot/ |
| netif_news.c | 115 struct ether_header *eh; local 119 eh = pkt; 120 printf("dst: %s ", ether_sprintf(eh->ether_dhost)); 121 printf("src: %s ", ether_sprintf(eh->ether_shost)); 122 printf("type: 0x%x\n", eh->ether_type & 0xFFFF); 179 struct ether_header *eh = pkt; local 181 printf("dst: %s ", ether_sprintf(eh->ether_dhost)); 182 printf("src: %s ", ether_sprintf(eh->ether_shost)); 183 printf("type: 0x%x\n", eh->ether_type & 0xFFFF);
|
| /src/sys/arch/ofppc/stand/ofwboot/ |
| netif_of.c | 139 struct ether_header *eh; local 143 eh = pkt; 144 printf("dst: %s ", ether_sprintf(eh->ether_dhost)); 145 printf("src: %s ", ether_sprintf(eh->ether_shost)); 146 printf("type: 0x%x\n", eh->ether_type & 0xFFFF); 202 struct ether_header *eh = pkt; local 204 printf("dst: %s ", ether_sprintf(eh->ether_dhost)); 205 printf("src: %s ", ether_sprintf(eh->ether_shost)); 206 printf("type: 0x%x\n", eh->ether_type & 0xFFFF);
|
| /src/sys/arch/shark/stand/ofwboot/ |
| netif_of.c | 139 struct ether_header *eh; local 143 eh = pkt; 144 printf("dst: %s ", ether_sprintf(eh->ether_dhost)); 145 printf("src: %s ", ether_sprintf(eh->ether_shost)); 146 printf("type: 0x%x\n", eh->ether_type & 0xFFFF); 202 struct ether_header *eh = pkt; local 204 printf("dst: %s ", ether_sprintf(eh->ether_dhost)); 205 printf("src: %s ", ether_sprintf(eh->ether_shost)); 206 printf("type: 0x%x\n", eh->ether_type & 0xFFFF);
|
| /src/external/bsd/elftoolchain/dist/libelf/ |
| libelf_extended.c | 59 _libelf_setshnum(Elf *e, void *eh, unsigned int ec, size_t shnum) 80 ((Elf32_Ehdr *) eh)->e_shnum = shnum & 0xFFFFU; 82 ((Elf64_Ehdr *) eh)->e_shnum = shnum & 0xFFFFU; 89 _libelf_setshstrndx(Elf *e, void *eh, unsigned int ec, size_t shstrndx) 110 ((Elf32_Ehdr *) eh)->e_shstrndx = shstrndx & 0xFFFFU; 112 ((Elf64_Ehdr *) eh)->e_shstrndx = shstrndx & 0xFFFFU; 118 _libelf_setphnum(Elf *e, void *eh, unsigned int ec, size_t phnum) 139 ((Elf32_Ehdr *) eh)->e_phnum = phnum & 0xFFFFU; 141 ((Elf64_Ehdr *) eh)->e_phnum = phnum & 0xFFFFU;
|
| elf_shstrndx.c | 43 void *eh; local 52 if ((eh = _libelf_ehdr(e, ec, 0)) == NULL) 75 void *eh; local 80 ((eh = _libelf_ehdr(e, ec, 0)) == NULL)) { 85 return (_libelf_setshstrndx(e, eh, ec, strndx));
|
| elf_phnum.c | 43 void *eh; local 52 if ((eh = _libelf_ehdr(e, ec, 0)) == NULL)
|
| elf_shnum.c | 43 void *eh; local 52 if ((eh = _libelf_ehdr(e, ec, 0)) == NULL)
|
| /src/external/gpl3/gcc.old/dist/libphobos/libdruntime/gcc/ |
| deh.d | 188 auto eh = &ehstorage; 191 if (eh.object) 193 eh = cast(ExceptionHeader*) __builtin_calloc(ExceptionHeader.sizeof, 1); 195 if (!eh) 198 eh.object = o; 200 eh.unwindHeader.exception_class = gdcExceptionClass; 202 return eh; 208 static void free(ExceptionHeader* eh) @nogc 210 __builtin_memset(eh, 0, ExceptionHeader.sizeof); 211 if (eh != &ehstorage [all...] |
| /src/external/gpl3/binutils/dist/bfd/ |
| elf32-metag.c | 78 elf_link_hash_entry "eh" 782 struct elf_link_hash_entry eh; member in struct:elf_metag_link_hash_entry 1061 len = 8 + 1 + strlen (hh->eh.root.root.string) + 1 + 8 + 1; 1067 hh->eh.root.root.string, 1275 if (hh && hh->eh.root.type == bfd_link_hash_undefweak) 1332 if (hh && hh->eh.root.type == bfd_link_hash_undefweak) 1344 if (hh && hh->eh.root.type == bfd_link_hash_undefweak) 1481 struct elf_link_hash_entry *eh; local 1486 eh, sec, relocation, 1489 name = eh->root.root.string 1978 struct elf_link_hash_entry *eh; local [all...] |
| /src/external/gpl3/binutils.old/dist/bfd/ |
| elf32-metag.c | 78 elf_link_hash_entry "eh" 782 struct elf_link_hash_entry eh; member in struct:elf_metag_link_hash_entry 1061 len = 8 + 1 + strlen (hh->eh.root.root.string) + 1 + 8 + 1; 1067 hh->eh.root.root.string, 1275 if (hh && hh->eh.root.type == bfd_link_hash_undefweak) 1332 if (hh && hh->eh.root.type == bfd_link_hash_undefweak) 1344 if (hh && hh->eh.root.type == bfd_link_hash_undefweak) 1519 struct elf_link_hash_entry *eh; local 1524 eh, sec, relocation, 1527 name = eh->root.root.string 2015 struct elf_link_hash_entry *eh; local [all...] |
| /src/external/gpl3/gdb/dist/bfd/ |
| elf32-metag.c | 78 elf_link_hash_entry "eh" 782 struct elf_link_hash_entry eh; member in struct:elf_metag_link_hash_entry 1061 len = 8 + 1 + strlen (hh->eh.root.root.string) + 1 + 8 + 1; 1067 hh->eh.root.root.string, 1275 if (hh && hh->eh.root.type == bfd_link_hash_undefweak) 1332 if (hh && hh->eh.root.type == bfd_link_hash_undefweak) 1344 if (hh && hh->eh.root.type == bfd_link_hash_undefweak) 1519 struct elf_link_hash_entry *eh; local 1524 eh, sec, relocation, 1527 name = eh->root.root.string 2015 struct elf_link_hash_entry *eh; local [all...] |
| /src/external/gpl3/gdb.old/dist/bfd/ |
| elf32-metag.c | 78 elf_link_hash_entry "eh" 782 struct elf_link_hash_entry eh; member in struct:elf_metag_link_hash_entry 1062 len = 8 + 1 + strlen (hh->eh.root.root.string) + 1 + 8 + 1; 1068 hh->eh.root.root.string, 1276 if (hh && hh->eh.root.type == bfd_link_hash_undefweak) 1333 if (hh && hh->eh.root.type == bfd_link_hash_undefweak) 1345 if (hh && hh->eh.root.type == bfd_link_hash_undefweak) 1520 struct elf_link_hash_entry *eh; local 1525 eh, sec, relocation, 1528 name = eh->root.root.string 2016 struct elf_link_hash_entry *eh; local [all...] |
| /src/sys/net/agr/ |
| if_agrether_hash.c | 75 const struct ether_header *eh; local 81 eh = agr_m_extract(m, off, sizeof(*eh), &eh_store); 82 if (eh == NULL) { 86 hash = HASH(&eh->ether_dhost, sizeof(eh->ether_dhost), hash); 87 hash = HASH(&eh->ether_shost, sizeof(eh->ether_shost), hash); 88 etype = eh->ether_type; 102 off += sizeof(*vlanhdr) - sizeof(*eh); [all...] |
| /src/sys/compat/freebsd/ |
| freebsd_exec_elf32.c | 56 Elf_Ehdr *eh = (Elf_Ehdr *) veh; local 69 if ((eh->e_ident[EI_BRAND] == '\0' || 70 strcmp(&eh->e_ident[EI_BRAND], wantBrand) != 0) && 71 eh->e_ident[EI_OSABI] != ELFOSABI_FREEBSD)
|