/haiku-fatelf/src/bin/network/tcpdump/ |
H A D | print-pflog.c | 76 pflog_print(const struct pfloghdr *hdr) argument 80 rulenr = ntohl(hdr->rulenr); 81 subrulenr = ntohl(hdr->subrulenr); 85 printf("rule %u.%s.%u/", rulenr, hdr->ruleset, subrulenr); 88 tok2str(pf_reasons, "unkn(%u)", hdr->reason), 89 tok2str(pf_actions, "unkn(%u)", hdr->action), 90 tok2str(pf_directions, "unkn(%u)", hdr->dir), 91 hdr->ifname); 100 const struct pfloghdr *hdr; local 110 hdr [all...] |
H A D | print-igrp.c | 82 register struct igrphdr *hdr; local 86 hdr = (struct igrphdr *)bp; 87 cp = (u_char *)(hdr + 1); 91 TCHECK(*hdr); 92 nint = EXTRACT_16BITS(&hdr->ig_ni); 93 nsys = EXTRACT_16BITS(&hdr->ig_ns); 94 next = EXTRACT_16BITS(&hdr->ig_nx); 97 tok2str(op2str, "op-#%d", IGRP_OP(hdr->ig_vop)), 98 IGRP_V(hdr->ig_vop), 99 hdr [all...] |
H A D | print-enc.c | 54 const struct enchdr *hdr; local 61 hdr = (struct enchdr *)p; 62 flags = hdr->flags; 70 printf("SPI 0x%08x: ", (u_int32_t)ntohl(hdr->spi));
|
/haiku-fatelf/src/add-ons/translators/exr/openexr/ilmimf/ |
H A D | ImfCompressor.cpp | 55 Compressor::Compressor (const Header &hdr): _header (hdr) {} argument 112 newCompressor (Compression c, int maxScanLineSize, const Header &hdr) argument 118 return new RleCompressor (hdr, maxScanLineSize); 122 return new ZipCompressor (hdr, maxScanLineSize, 1); 126 return new ZipCompressor (hdr, maxScanLineSize, 16); 130 return new PizCompressor (hdr, maxScanLineSize, 32); 134 return new Pxr24Compressor (hdr, maxScanLineSize, 16); 138 return new B44Compressor (hdr, maxScanLineSize, 32, false); 142 return new B44Compressor (hdr, maxScanLineSiz 152 newTileCompressor(Compression c, int tileLineSize, int numTileLines, const Header &hdr) argument [all...] |
H A D | ImfCRgbaFile.h | 156 void ImfDeleteHeader (ImfHeader *hdr); 158 ImfHeader * ImfCopyHeader (const ImfHeader *hdr); 160 void ImfHeaderSetDisplayWindow (ImfHeader *hdr, 164 void ImfHeaderDisplayWindow (const ImfHeader *hdr, 168 void ImfHeaderSetDataWindow (ImfHeader *hdr, 172 void ImfHeaderDataWindow (const ImfHeader *hdr, 176 void ImfHeaderSetPixelAspectRatio (ImfHeader *hdr, 179 float ImfHeaderPixelAspectRatio (const ImfHeader *hdr); 181 void ImfHeaderSetScreenWindowCenter (ImfHeader *hdr, 184 void ImfHeaderScreenWindowCenter (const ImfHeader *hdr, [all...] |
H A D | ImfCRgbaFile.cpp | 84 header (ImfHeader *hdr) argument 86 return (Imf::Header *)(hdr); 91 header (const ImfHeader *hdr) argument 93 return (const Imf::Header *)(hdr); 202 ImfDeleteHeader (ImfHeader *hdr) argument 204 delete header (hdr); 209 ImfCopyHeader (const ImfHeader *hdr) argument 213 return (ImfHeader *) new Imf::Header (*header (hdr)); 224 ImfHeaderSetDisplayWindow (ImfHeader *hdr, argument 228 header(hdr) 233 ImfHeaderDisplayWindow(const ImfHeader *hdr, int *xMin, int *yMin, int *xMax, int *yMax) argument 246 ImfHeaderSetDataWindow(ImfHeader *hdr, int xMin, int yMin, int xMax, int yMax) argument 255 ImfHeaderDataWindow(const ImfHeader *hdr, int *xMin, int *yMin, int *xMax, int *yMax) argument 268 ImfHeaderSetPixelAspectRatio(ImfHeader *hdr, float pixelAspectRatio) argument 275 ImfHeaderPixelAspectRatio(const ImfHeader *hdr) argument 282 ImfHeaderSetScreenWindowCenter(ImfHeader *hdr, float x, float y) argument 289 ImfHeaderScreenWindowCenter(const ImfHeader *hdr, float *x, float *y) argument 298 ImfHeaderSetScreenWindowWidth(ImfHeader *hdr, float width) argument 305 ImfHeaderScreenWindowWidth(const ImfHeader *hdr) argument 312 ImfHeaderSetLineOrder(ImfHeader *hdr, int lineOrder) argument 319 ImfHeaderLineOrder(const ImfHeader *hdr) argument 326 ImfHeaderSetCompression(ImfHeader *hdr, int compression) argument 333 ImfHeaderCompression(const ImfHeader *hdr) argument 340 ImfHeaderSetIntAttribute(ImfHeader *hdr, const char name[], int value) argument 365 ImfHeaderIntAttribute(const ImfHeader *hdr, const char name[], int *value) argument 381 ImfHeaderSetFloatAttribute(ImfHeader *hdr, const char name[], float value) argument 406 ImfHeaderSetDoubleAttribute(ImfHeader *hdr, const char name[], double value) argument 431 ImfHeaderFloatAttribute(const ImfHeader *hdr, const char name[], float *value) argument 447 ImfHeaderDoubleAttribute(const ImfHeader *hdr, const char name[], double *value) argument 467 ImfHeaderSetStringAttribute(ImfHeader *hdr, const char name[], const char value[]) argument 494 ImfHeaderStringAttribute(const ImfHeader *hdr, const char name[], const char **value) argument 514 ImfHeaderSetBox2iAttribute(ImfHeader *hdr, const char name[], int xMin, int yMin, int xMax, int yMax) argument 544 ImfHeaderBox2iAttribute(const ImfHeader *hdr, const char name[], int *xMin, int *yMin, int *xMax, int *yMax) argument 570 ImfHeaderSetBox2fAttribute(ImfHeader *hdr, const char name[], float xMin, float yMin, float xMax, float yMax) argument 600 ImfHeaderBox2fAttribute(const ImfHeader *hdr, const char name[], float *xMin, float *yMin, float *xMax, float *yMax) argument 626 ImfHeaderSetV2iAttribute(ImfHeader *hdr, const char name[], int x, int y) argument 650 ImfHeaderV2iAttribute(const ImfHeader *hdr, const char name[], int *x, int *y) argument 673 ImfHeaderSetV2fAttribute(ImfHeader *hdr, const char name[], float x, float y) argument 697 ImfHeaderV2fAttribute(const ImfHeader *hdr, const char name[], float *x, float *y) argument 720 ImfHeaderSetV3iAttribute(ImfHeader *hdr, const char name[], int x, int y, int z) argument 744 ImfHeaderV3iAttribute(const ImfHeader *hdr, const char name[], int *x, int *y, int *z) argument 768 ImfHeaderSetV3fAttribute(ImfHeader *hdr, const char name[], float x, float y, float z) argument 792 ImfHeaderV3fAttribute(const ImfHeader *hdr, const char name[], float *x, float *y, float *z) argument 816 ImfHeaderSetM33fAttribute(ImfHeader *hdr, const char name[], const float m[3][3]) argument 840 ImfHeaderM33fAttribute(const ImfHeader *hdr, const char name[], float m[3][3]) argument 872 ImfHeaderSetM44fAttribute(ImfHeader *hdr, const char name[], const float m[4][4]) argument 896 ImfHeaderM44fAttribute(const ImfHeader *hdr, const char name[], float m[4][4]) argument 936 ImfOpenOutputFile(const char name[], const ImfHeader *hdr, int channels) argument 1024 ImfOpenTiledOutputFile(const char name[], const ImfHeader *hdr, int channels, int xSize, int ySize, int mode, int rmode) argument [all...] |
H A D | ImfCompressor.h | 59 // Constructor -- hdr is the header of the file 63 Compressor (const Header &hdr); 223 const Header &hdr); 246 const Header &hdr);
|
H A D | ImfRleCompressor.h | 55 RleCompressor (const Header &hdr, int maxScanLineSize);
|
H A D | ImfZipCompressor.h | 55 ZipCompressor (const Header &hdr, int maxScanLineSize, int numScanLines);
|
/haiku-fatelf/src/libs/edit/ |
H A D | makelist | 59 hdr="_h_`basename $1`" 63 printf("#ifndef %s\n#define %s\n", "'$hdr'", "'$hdr'"); 77 printf("#endif /* %s */\n", "'$hdr'");
|
/haiku-fatelf/src/add-ons/kernel/network/protocols/l2cap/ |
H A D | l2cap_command.cpp | 36 l2cap_cmd_hdr_t hdr; member in struct:_cmd_rej 42 l2cap_cmd_hdr_t hdr; member in struct:_con_req 47 l2cap_cmd_hdr_t hdr; member in struct:_con_rsp 52 l2cap_cmd_hdr_t hdr; member in struct:_cfg_req 57 l2cap_cmd_hdr_t hdr; member in struct:_cfg_rsp 62 l2cap_cmd_hdr_t hdr; member in struct:_discon_req 67 l2cap_cmd_hdr_t hdr; member in struct:_discon_rsp 72 l2cap_cmd_hdr_t hdr; member in struct:_info_req 77 l2cap_cmd_hdr_t hdr; member in struct:_info_rsp 84 l2cap_cfg_opt_t hdr; member in struct:_cfg_opt_flow 90 l2cap_cfg_opt_t hdr; member in struct:_cfg_opt_flush 95 l2cap_cfg_opt_t hdr; member in struct:_cfg_opt_mtu [all...] |
/haiku-fatelf/src/bin/network/tcpdump/libpcap/ |
H A D | savefile.c | 733 struct pcap_file_header hdr; local 735 hdr.magic = TCPDUMP_MAGIC; 736 hdr.version_major = PCAP_VERSION_MAJOR; 737 hdr.version_minor = PCAP_VERSION_MINOR; 739 hdr.thiszone = thiszone; 740 hdr.snaplen = snaplen; 741 hdr.sigfigs = 0; 742 hdr.linktype = linktype; 744 if (fwrite((char *)&hdr, sizeof(hdr), 859 struct pcap_file_header hdr; local 1029 sf_next_packet(pcap_t *p, struct pcap_pkthdr *hdr, u_char *buf, u_int buflen) argument [all...] |
/haiku-fatelf/src/bin/gdb/bfd/ |
H A D | archive.c | 336 struct ar_hdr hdr; 337 char *hdrp = (char *) &hdr; 351 if (strncmp (hdr.ar_fmag, ARFMAG, 2) != 0 353 || strncmp (hdr.ar_fmag, mag, 2) != 0)) 360 parsed_size = strtol (hdr.ar_size, NULL, 10); 370 if ((hdr.ar_name[0] == '/' 371 || (hdr.ar_name[0] == ' ' 372 && memchr (hdr.ar_name, '/', ar_maxnamelen (abfd)) == NULL)) 375 filename = get_extended_arelt_filename (abfd, hdr.ar_name); 384 else if (hdr 334 struct ar_hdr hdr; local 1236 struct ar_hdr *hdr = arch_hdr (current); local 1277 struct ar_hdr *hdr = arch_hdr (current); local 1343 struct ar_hdr *hdr; local 1432 struct ar_hdr *hdr; local 1492 struct ar_hdr *hdr = (struct ar_hdr *) arhdr; local 1524 struct ar_hdr *hdr = (struct ar_hdr *) arhdr; local 1572 struct ar_hdr *hdr = (struct ar_hdr *) arhdr; local 1688 struct ar_hdr hdr; local 1714 struct ar_hdr *hdr = arch_hdr (current); local 1930 struct ar_hdr hdr; local 2014 struct ar_hdr hdr; local 2086 struct ar_hdr hdr; local [all...] |
H A D | i386msdos.c | 78 static char hdr[EXE_PAGE_SIZE]; local 79 file_ptr outfile_size = sizeof(hdr); 96 file_ptr sec_end = (sizeof (hdr) 112 H_PUT_16 (abfd, EXE_MAGIC, &hdr[0]); 113 H_PUT_16 (abfd, EXE_PAGE_SIZE / 16, &hdr[8]); 114 H_PUT_16 (abfd, EXE_LOAD_LOW, &hdr[12]); 115 H_PUT_16 (abfd, 0x3e, &hdr[24]); 116 H_PUT_16 (abfd, 0x0001, &hdr[28]); /* XXX??? */ 117 H_PUT_16 (abfd, 0x30fb, &hdr[30]); /* XXX??? */ 118 H_PUT_16 (abfd, 0x726a, &hdr[3 [all...] |
H A D | archive64.c | 158 struct ar_hdr hdr; local 172 memset (&hdr, 0, sizeof (struct ar_hdr)); 173 strcpy (hdr.ar_name, "/SYM64/"); 174 sprintf (hdr.ar_size, "%-10d", (int) mapsize); 175 sprintf (hdr.ar_date, "%ld", (long) time (NULL)); 177 sprintf ((hdr.ar_uid), "%d", 0); 178 sprintf ((hdr.ar_gid), "%d", 0); 179 sprintf ((hdr.ar_mode), "%-7o", (unsigned) 0); 180 strncpy (hdr.ar_fmag, ARFMAG, 2); 183 if (((char *) (&hdr))[ [all...] |
H A D | elf.c | 281 Elf_Internal_Shdr *hdr; local 286 hdr = elf_elfsections (abfd)[shindex]; 288 if (hdr->contents == NULL 292 if (strindex >= hdr->sh_size) 296 abfd, strindex, (unsigned long) hdr->sh_size, 298 && strindex == hdr->sh_name) 300 : elf_string_from_elf_strtab (abfd, hdr->sh_name))); 304 return ((char *) hdr->contents) + strindex; 436 Elf_Internal_Shdr *hdr; local 446 hdr 457 setup_group(bfd *abfd, Elf_Internal_Shdr *hdr, asection *newsect) argument 689 _bfd_elf_make_section_from_shdr(bfd *abfd, Elf_Internal_Shdr *hdr, const char *name) argument 1722 Elf_Internal_Shdr *hdr = elf_elfsections (abfd)[shindex]; local 2260 _bfd_elf_make_section_from_phdr(bfd *abfd, Elf_Internal_Phdr *hdr, int index, const char *typename) argument 2333 bfd_section_from_phdr(bfd *abfd, Elf_Internal_Phdr *hdr, int index) argument 3272 Elf_Internal_Shdr *hdr; local 3476 asection *hdr; local 4474 Elf_Internal_Shdr *hdr; local 4510 Elf_Internal_Shdr *hdr; local 4773 Elf_Internal_Shdr *hdr = i_shdrp[index]; local 5861 Elf_Internal_Shdr *hdr = &elf_tdata (abfd)->symtab_hdr; local 5876 Elf_Internal_Shdr *hdr = &elf_tdata (abfd)->dynsymtab_hdr; local 6034 Elf_Internal_Shdr *hdr; local 6133 Elf_Internal_Shdr *hdr; local 6428 Elf_Internal_Shdr *hdr; local 7805 Elf_Internal_Shdr *hdr; local [all...] |
/haiku-fatelf/src/add-ons/translators/webp/libwebp/dec/ |
H A D | quant.c | 73 const VP8SegmentHeader* const hdr = &dec->segment_hdr_; local 78 if (hdr->use_segment_) { 79 q = hdr->quantizer_[i]; 80 if (!hdr->absolute_delta_) {
|
H A D | vp8.c | 70 static void ResetSegmentHeader(VP8SegmentHeader* const hdr) { argument 71 assert(hdr); 72 hdr->use_segment_ = 0; 73 hdr->update_map_ = 0; 74 hdr->absolute_delta_ = 1; 75 memset(hdr->quantizer_, 0, sizeof(hdr->quantizer_)); 76 memset(hdr->filter_strength_, 0, sizeof(hdr->filter_strength_)); 81 VP8SegmentHeader* hdr, VP8Prob 80 ParseSegmentHeader(VP8BitReader* br, VP8SegmentHeader* hdr, VP8Proba* proba) argument 141 VP8FilterHeader* const hdr = &dec->filter_hdr_; local [all...] |
/haiku-fatelf/src/bin/fwcontrol/ |
H A D | fwdv.c | 275 u_int32_t iso_data, iso_empty, hdr[TNBUF + NEMPTY][3]; local 312 bzero(hdr[0], sizeof(hdr[0])); 313 hdr[0][0] = iso_data; 314 ciph = (struct ciphdr *)&hdr[0][1]; 322 bcopy(hdr[0], hdr[i], sizeof(hdr[0])); 327 htonl(hdr[0]), htonl(hdr[ [all...] |
/haiku-fatelf/3rdparty/proj2make/ |
H A D | proj2make.cpp | 55 struct hdr struct 133 ParseGenB(hdr* data) 135 hdr* child = (hdr*)data->Data(); 166 Parse(hdr* current, hdr* parent) 219 hdr* child = (hdr*)(current->Data() + off); 222 off += child->Size() + sizeof(hdr); 223 child = (hdr*)(chil [all...] |
/haiku-fatelf/src/add-ons/translators/webp/libwebp/enc/ |
H A D | syntax.c | 81 const VP8SegmentHeader* const hdr = &enc->segment_hdr_; local 83 if (VP8PutBitUniform(bw, (hdr->num_segments_ > 1))) { 87 VP8PutBitUniform(bw, hdr->update_map_); 98 if (hdr->update_map_) { 110 const VP8FilterHeader* const hdr) { 111 const int use_lf_delta = (hdr->i4x4_lf_delta_ != 0); 112 VP8PutBitUniform(bw, hdr->simple_); 113 VP8PutValue(bw, hdr->level_, 6); 114 VP8PutValue(bw, hdr->sharpness_, 3); 117 const int need_update = (hdr 109 PutFilterHeader(VP8BitWriter* const bw, const VP8FilterHeader* const hdr) argument [all...] |
H A D | webpenc.c | 55 VP8SegmentHeader* const hdr = &enc->segment_hdr_; local 56 hdr->num_segments_ = enc->config_->segments; 57 hdr->update_map_ = (hdr->num_segments_ > 1); 58 hdr->size_ = 0; 62 VP8FilterHeader* const hdr = &enc->filter_hdr_; local 63 hdr->simple_ = 1; 64 hdr->level_ = 0; 65 hdr->sharpness_ = 0; 66 hdr [all...] |
/haiku-fatelf/src/add-ons/kernel/drivers/network/ipro1000/dev/e1000/ |
H A D | e1000_manage.c | 132 struct e1000_host_mng_dhcp_cookie *hdr = &hw->mng_cookie; local 164 hdr_csum = hdr->checksum; 165 hdr->checksum = 0; 166 csum = e1000_calculate_checksum((u8 *)hdr, 173 if ((hdr_csum != csum) || (hdr->signature != E1000_IAMT_SIGNATURE)) { 179 if (!(hdr->status & E1000_MNG_DHCP_COOKIE_STATUS_PARSING)) 188 * @hdr: pointer to the host interface command header 193 struct e1000_host_mng_command_header *hdr) 201 hdr->checksum = e1000_calculate_checksum((u8 *)hdr, lengt 192 e1000_mng_write_cmd_header_generic(struct e1000_hw *hw, struct e1000_host_mng_command_header *hdr) argument 302 struct e1000_host_mng_command_header hdr; local [all...] |
/haiku-fatelf/src/add-ons/translators/ppm/ |
H A D | PPMTranslator.cpp | 414 TranslatorBitmap hdr; local 415 hdr.magic = B_HOST_TO_BENDIAN_INT32(B_TRANSLATOR_BITMAP); 416 hdr.bounds.left = B_HOST_TO_BENDIAN_FLOAT(0); 417 hdr.bounds.top = B_HOST_TO_BENDIAN_FLOAT(0); 418 hdr.bounds.right = B_HOST_TO_BENDIAN_FLOAT(width-1); 419 hdr.bounds.bottom = B_HOST_TO_BENDIAN_FLOAT(height-1); 420 hdr.rowBytes = B_HOST_TO_BENDIAN_INT32(out_rowbytes); 421 hdr.colors = (color_space)B_HOST_TO_BENDIAN_INT32(out_space); 422 hdr.dataSize = B_HOST_TO_BENDIAN_INT32(out_rowbytes*height); 424 err = outDestination->Write(&hdr, sizeo 813 TranslatorBitmap hdr; local [all...] |
/haiku-fatelf/src/bin/network/wget/src/ |
H A D | http.c | 189 release_header (struct request_header *hdr) 191 switch (hdr->release_policy) 196 xfree (hdr->name); 199 xfree (hdr->value); 202 xfree (hdr->name); 203 xfree (hdr->value); 240 struct request_header *hdr; 254 hdr = &req->headers[i]; 255 if (0 == strcasecmp (name, hdr->name)) 258 release_header (hdr); 187 release_header(struct request_header *hdr) argument 238 struct request_header *hdr; local 305 struct request_header *hdr = &req->headers[i]; local 341 struct request_header *hdr = &req->headers[i]; local 359 struct request_header *hdr = &req->headers[i]; local 590 const char *hdr; local 851 parse_content_range(const char *hdr, wgint *first_byte_ptr, wgint *last_byte_ptr, wgint *entity_length_ptr) argument 1040 parse_content_disposition(const char *hdr, char **filename) argument [all...] |