/netbsd-6-1-5-RELEASE/sys/arch/usermode/include/ |
H A D | genheaders.sh | 25 for hdr in ${HDRS}; do 26 G="_USERMODE_$(echo ${hdr} | sed 's/\./_/g' | tr [a-z] [A-Z])" 28 cat > ${hdr} << EOF 39 #include "../../i386/include/${hdr}" 41 #include "../../amd64/include/${hdr}" 48 if [ "$hdr" = "disklabel.h" ]; then 49 echo "#include <machine/types.h>" >> ${hdr} 50 echo "#ifndef __HAVE_OLD_DISKLABEL" >> ${hdr} 51 echo "#undef DISKUNIT" >> ${hdr} 52 echo "#undef DISKPART" >> ${hdr} [all...] |
/netbsd-6-1-5-RELEASE/external/mit/expat/dist/conftools/ |
H A D | get-version.sh | 25 hdr="$1" 26 if test ! -r "$hdr"; then 27 echo "ERROR: '$hdr' does not exist, or is not readable." 31 MAJOR_VERSION="`sed -n -e '/MAJOR_VERSION/s/[^0-9]*//gp' $hdr`" 32 MINOR_VERSION="`sed -n -e '/MINOR_VERSION/s/[^0-9]*//gp' $hdr`" 33 MICRO_VERSION="`sed -n -e '/MICRO_VERSION/s/[^0-9]*//gp' $hdr`"
|
/netbsd-6-1-5-RELEASE/external/bsd/wpa/dist/src/tls/ |
H A D | pkcs8.c | 27 struct asn1_hdr hdr; local 36 if (asn1_get_next(buf, len, &hdr) < 0 || 37 hdr.class != ASN1_CLASS_UNIVERSAL || 38 hdr.tag != ASN1_TAG_SEQUENCE) { 43 pos = hdr.payload; 44 end = pos + hdr.length; 47 if (asn1_get_next(pos, end - pos, &hdr) < 0 || 48 hdr.class != ASN1_CLASS_UNIVERSAL || hdr.tag != ASN1_TAG_INTEGER) { 51 hdr 130 struct asn1_hdr hdr; local [all...] |
H A D | asn1.c | 20 int asn1_get_next(const u8 *buf, size_t len, struct asn1_hdr *hdr) argument 25 os_memset(hdr, 0, sizeof(*hdr)); 29 hdr->identifier = *pos++; 30 hdr->class = hdr->identifier >> 6; 31 hdr->constructed = !!(hdr->identifier & (1 << 5)); 33 if ((hdr->identifier & 0x1f) == 0x1f) { 34 hdr 132 struct asn1_hdr hdr; local [all...] |
H A D | x509v3.c | 190 struct asn1_hdr hdr; local 200 if (asn1_get_next(buf, len, &hdr) < 0 || 201 hdr.class != ASN1_CLASS_UNIVERSAL || 202 hdr.tag != ASN1_TAG_SEQUENCE) { 205 hdr.class, hdr.tag); 208 pos = hdr.payload; 209 end = pos + hdr.length; 229 struct asn1_hdr hdr; local 242 if (asn1_get_next(pos, end - pos, &hdr) < 301 struct asn1_hdr hdr; local 660 struct asn1_hdr hdr; local 734 struct asn1_hdr hdr; local 771 struct asn1_hdr hdr; local 955 struct asn1_hdr hdr; local 1033 struct asn1_hdr hdr; local 1060 struct asn1_hdr hdr; local 1117 struct asn1_hdr hdr; local 1199 struct asn1_hdr hdr; local 1229 struct asn1_hdr hdr; local 1483 struct asn1_hdr hdr; local 1594 struct asn1_hdr hdr; local [all...] |
H A D | pkcs5.c | 54 struct asn1_hdr hdr; local 87 if (asn1_get_next(pos, enc_alg_end - pos, &hdr) < 0 || 88 hdr.class != ASN1_CLASS_UNIVERSAL || 89 hdr.tag != ASN1_TAG_SEQUENCE) { 92 hdr.class, hdr.tag); 95 pos = hdr.payload; 96 end = hdr.payload + hdr.length; 99 if (asn1_get_next(pos, end - pos, &hdr) < [all...] |
H A D | rsa.c | 40 struct asn1_hdr hdr; local 45 if (asn1_get_next(pos, end - pos, &hdr) < 0 || 46 hdr.class != ASN1_CLASS_UNIVERSAL || hdr.tag != ASN1_TAG_INTEGER) { 48 "tag 0x%x", hdr.class, hdr.tag); 52 if (bignum_set_unsigned_bin(num, hdr.payload, hdr.length) < 0) { 57 return hdr.payload + hdr 71 struct asn1_hdr hdr; local 136 struct asn1_hdr hdr; local [all...] |
/netbsd-6-1-5-RELEASE/gnu/lib/libmalloc/ |
H A D | mcheck.c | 40 struct hdr struct 46 static void checkhdr __P ((const struct hdr *)); 48 checkhdr (hdr) 49 const struct hdr *hdr; 51 if (hdr->magic != MAGICWORD || ((char *) &hdr[1])[hdr->size] != MAGICBYTE) 60 struct hdr *hdr local 73 struct hdr *hdr; local 93 struct hdr *hdr = ((struct hdr *) ptr) - 1; local [all...] |
H A D | mtrace.c | 77 __ptr_t hdr; local 80 hdr = (__ptr_t) malloc (size); 84 fprintf (mallstream, "+ %p %zx\n", hdr, size); 86 if (hdr == mallwatch) 89 return hdr; 96 __ptr_t hdr; local 104 hdr = (__ptr_t) realloc (ptr, size); 108 if (hdr == NULL) 112 fprintf (mallstream, "< %p\n> %p %zx\n", ptr, hdr, size); 114 if (hdr [all...] |
/netbsd-6-1-5-RELEASE/sys/dev/raidframe/ |
H A D | rf_cvscan.c | 54 CheckCvscanState(RF_CvscanHeader_t *hdr) argument 59 if (hdr->left != NULL) 60 RF_ASSERT(hdr->left->sectorOffset < hdr->cur_block); 61 for (key = hdr->cur_block, i = 0, tmp = hdr->left; 65 && tmp->priority == hdr->nxt_priority && pri_ok(tmp->priority)); 66 RF_ASSERT(i == hdr->left_cnt); 68 for (key = hdr->cur_block, i = 0, tmp = hdr 137 ReBalance(RF_CvscanHeader_t *hdr) argument 166 RealEnqueue(RF_CvscanHeader_t *hdr, RF_DiskQueueData_t *req) argument 208 RF_CvscanHeader_t *hdr = (RF_CvscanHeader_t *) q_in; local 217 RF_CvscanHeader_t *hdr = (RF_CvscanHeader_t *) q_in; local 280 RF_CvscanHeader_t *hdr = (RF_CvscanHeader_t *) q_in; local 325 RF_CvscanHeader_t *hdr; local 348 PrintCvscanQueue(RF_CvscanHeader_t *hdr) argument 391 RF_CvscanHeader_t *hdr = (RF_CvscanHeader_t *) q_in; local [all...] |
/netbsd-6-1-5-RELEASE/external/gpl3/binutils/dist/ld/testsuite/ld-elf/ |
H A D | eh-frame-hdr.d | 1 #source: eh-frame-hdr.s 2 #ld: -e _start --eh-frame-hdr
|
/netbsd-6-1-5-RELEASE/external/bsd/tcpdump/dist/ |
H A D | print-ipnet.c | 26 const ipnet_hdr_t *hdr; local 27 hdr = (const ipnet_hdr_t *)bp; 29 ND_PRINT((ndo, "%d > %d", hdr->iph_zsrc, hdr->iph_zdst)); 34 hdr->iph_family), 35 hdr->iph_family)); 40 hdr->iph_family))); 49 ipnet_hdr_t *hdr; local 61 hdr = (ipnet_hdr_t *)p; 64 switch (hdr [all...] |
H A D | print-pflog.c | 99 pflog_print(const struct pfloghdr *hdr) argument 103 rulenr = EXTRACT_32BITS(&hdr->rulenr); 104 subrulenr = EXTRACT_32BITS(&hdr->subrulenr); 108 printf("rule %u.%s.%u/", rulenr, hdr->ruleset, subrulenr); 111 tok2str(pf_reasons, "unkn(%u)", hdr->reason), 112 tok2str(pf_actions, "unkn(%u)", hdr->action), 113 tok2str(pf_directions, "unkn(%u)", hdr->dir), 114 hdr->ifname); 123 const struct pfloghdr *hdr; local 133 hdr [all...] |
H A D | print-igrp.c | 87 register struct igrphdr *hdr; local 91 hdr = (struct igrphdr *)bp; 92 cp = (u_char *)(hdr + 1); 96 TCHECK(*hdr); 97 nint = EXTRACT_16BITS(&hdr->ig_ni); 98 nsys = EXTRACT_16BITS(&hdr->ig_ns); 99 next = EXTRACT_16BITS(&hdr->ig_nx); 102 tok2str(op2str, "op-#%d", IGRP_OP(hdr->ig_vop)), 103 IGRP_V(hdr->ig_vop), 104 hdr [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/wpa/dist/src/eap_common/ |
H A D | eap_common.c | 40 const struct eap_hdr *hdr; local 44 hdr = wpabuf_head(msg); 46 if (wpabuf_len(msg) < sizeof(*hdr)) { 51 len = be_to_host16(hdr->length); 52 if (len < sizeof(*hdr) + 1 || len > wpabuf_len(msg)) { 57 pos = (const u8 *) (hdr + 1); 62 if (len < sizeof(*hdr) + 8) { 78 *plen = len - sizeof(*hdr) - 8; 85 *plen = len - sizeof(*hdr) - 1; 111 struct eap_hdr *hdr; local 148 struct eap_hdr *hdr; local [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/libpcap/dist/ |
H A D | sf-pcap.c | 123 static int pcap_next_packet(pcap_t *p, struct pcap_pkthdr *hdr, u_char **datap); 132 struct pcap_file_header hdr; local 151 hdr.magic = magic; 152 amt_read = fread(((char *)&hdr) + sizeof hdr.magic, 1, 153 sizeof(hdr) - sizeof(hdr.magic), fp); 154 if (amt_read != sizeof(hdr) - sizeof(hdr.magic)) { 162 (unsigned long)sizeof(hdr), 291 pcap_next_packet(pcap_t *p, struct pcap_pkthdr *hdr, u_char **data) argument 453 struct pcap_file_header hdr; local [all...] |
/netbsd-6-1-5-RELEASE/sys/lib/libsa/ |
H A D | loadfile.c | 135 } hdr; local 142 nr = read(fd, &hdr, sizeof(hdr)); 147 if (nr != sizeof(hdr)) { 154 if (!ECOFF_BADMAG(&hdr.coff)) { 155 rval = loadfile_coff(fd, &hdr.coff, marks, flags); 159 if (memcmp(hdr.elf32.e_ident, ELFMAG, SELFMAG) == 0 && 160 hdr.elf32.e_ident[EI_CLASS] == ELFCLASS32) { 162 rval = loadfile_elf32(fd, &hdr.elf32, marks, flags); 166 if (memcmp(hdr [all...] |
/netbsd-6-1-5-RELEASE/usr.bin/mkubootimage/ |
H A D | mkubootimage.c | 225 dump_header(struct uboot_image_header *hdr) argument 227 time_t tm = ntohl(hdr->ih_time); 229 printf(" magic: 0x%08x\n", ntohl(hdr->ih_magic)); 231 printf(" size: %u\n", ntohl(hdr->ih_size)); 232 printf(" load addr: 0x%08x\n", ntohl(hdr->ih_load)); 233 printf(" entry point: 0x%08x\n", ntohl(hdr->ih_ep)); 234 printf(" data crc: 0x%08x\n", ntohl(hdr->ih_dcrc)); 235 printf(" os: %d (%s)\n", hdr->ih_os, 236 get_os_name(hdr->ih_os)); 237 printf(" arch: %d (%s)\n", hdr 248 generate_header(struct uboot_image_header *hdr, int kernel_fd) argument 295 write_image(struct uboot_image_header *hdr, int kernel_fd, int image_fd) argument 320 struct uboot_image_header hdr; local [all...] |
/netbsd-6-1-5-RELEASE/lib/libc/db/hash/ |
H A D | hash.h | 95 HASHHDR hdr; /* Header */ member in struct:htab 276 #define BSIZE hdr.bsize 277 #define BSHIFT hdr.bshift 278 #define DSIZE hdr.dsize 279 #define SGSIZE hdr.ssize 280 #define SSHIFT hdr.sshift 281 #define LORDER hdr.lorder 282 #define OVFL_POINT hdr.ovfl_point 283 #define LAST_FREED hdr.last_freed 284 #define MAX_BUCKET hdr [all...] |
/netbsd-6-1-5-RELEASE/lib/libedit/ |
H A D | makelist | 67 hdr="_h_`basename $1`" 71 printf("#ifndef %s\n#define %s\n", "'$hdr'", "'$hdr'"); 85 printf("#endif /* %s */\n", "'$hdr'");
|
/netbsd-6-1-5-RELEASE/sbin/gpt/ |
H A D | create.c | 70 struct gpt_hdr *hdr; local 165 hdr = gpt->map_data; 166 memcpy(hdr->hdr_sig, GPT_HDR_SIG, sizeof(hdr->hdr_sig)); 167 hdr->hdr_revision = htole32(GPT_HDR_REVISION); 168 hdr->hdr_size = htole32(GPT_SIZE); 169 hdr->hdr_lba_self = htole64(gpt->map_start); 170 hdr->hdr_lba_alt = htole64(last); 171 hdr->hdr_lba_start = htole64(tbl->map_start + blocks); 172 hdr [all...] |
H A D | remove.c | 74 struct gpt_hdr *hdr; local 112 hdr = gpt->map_data; 114 le32toh(hdr->hdr_entsz)); 123 hdr->hdr_crc_table = htole32(crc32(tbl->map_data, 124 le32toh(hdr->hdr_entries) * le32toh(hdr->hdr_entsz))); 125 hdr->hdr_crc_self = 0; 126 hdr->hdr_crc_self = htole32(crc32(hdr, le32toh(hdr [all...] |
H A D | recover.c | 66 struct gpt_hdr *hdr; local 124 hdr = tpg->map_data; 125 hdr->hdr_lba_self = htole64(tpg->map_start); 126 hdr->hdr_lba_alt = htole64(gpt->map_start); 127 hdr->hdr_lba_table = htole64(lbt->map_start); 128 hdr->hdr_crc_self = 0; 129 hdr->hdr_crc_self = htole32(crc32(hdr, le32toh(hdr->hdr_size))); 142 hdr [all...] |
/netbsd-6-1-5-RELEASE/sys/dev/acpi/ |
H A D | acpi_verbose.c | 191 acpi_print_madt_callback(ACPI_SUBTABLE_HEADER *hdr, void *aux) argument 199 switch (hdr->Type) { 205 ((ACPI_MADT_LOCAL_APIC *)hdr)->ProcessorId, 206 ((ACPI_MADT_LOCAL_APIC *)hdr)->Id, 207 ((ACPI_MADT_LOCAL_APIC *)hdr)->LapicFlags); 215 ((ACPI_MADT_IO_APIC *)hdr)->Id, 216 ((ACPI_MADT_IO_APIC *)hdr)->GlobalIrqBase, 217 ((ACPI_MADT_IO_APIC *)hdr)->Address); 225 ((ACPI_MADT_INTERRUPT_OVERRIDE *)hdr)->Bus, 226 ((ACPI_MADT_INTERRUPT_OVERRIDE *)hdr) [all...] |
/netbsd-6-1-5-RELEASE/sys/netiso/ |
H A D | tp_emit.c | 163 struct tpdu *hdr; local 209 hdr = mtod(m, struct tpdu *); 210 memset((void *) hdr, 0, sizeof(struct tpdu)); 213 hdr->tpdu_type = dutype; 214 hdr->tpdu_li = tp_headersize(dutype, tpcb); 219 hdr->tpdu_dref = htons(tpcb->tp_fref); 222 csum_offset = hdr->tpdu_li + 2; /* DOESN'T include csum */ 223 ADDOPTION(TPP_checksum, hdr, 2, eot /* dummy arg */ ); 227 "tp_emit: csum_offset 0x%x, hdr->tpdu_li 0x%x\n", 228 csum_offset, hdr 857 struct tpdu *hdr; local [all...] |