Searched defs:hdr (Results 226 - 250 of 438) sorted by path

1234567891011>>

/external/qemu/hw/core/
H A Dloader.c358 static void bswap_uboot_header(uboot_image_header_t *hdr) argument
361 bswap32s(&hdr->ih_magic);
362 bswap32s(&hdr->ih_hcrc);
363 bswap32s(&hdr->ih_time);
364 bswap32s(&hdr->ih_size);
365 bswap32s(&hdr->ih_load);
366 bswap32s(&hdr->ih_ep);
367 bswap32s(&hdr->ih_dcrc);
463 uboot_image_header_t *hdr = &h; local
471 size = read(fd, hdr, sizeo
[all...]
/external/qemu/net/
H A Dnet-android.c2030 struct pcap_sf_pkthdr hdr; local
2042 hdr.ts.tv_sec = ts / 1000000;
2043 hdr.ts.tv_usec = ts % 1000000;
2044 hdr.caplen = caplen;
2045 hdr.len = size;
2046 if (write(s->fd, &hdr, sizeof(hdr)) != sizeof(hdr) ||
2067 struct pcap_file_hdr hdr; local
2080 hdr
[all...]
H A Dnet.c1951 struct pcap_sf_pkthdr hdr; local
1963 hdr.ts.tv_sec = ts / 1000000;
1964 hdr.ts.tv_usec = ts % 1000000;
1965 hdr.caplen = caplen;
1966 hdr.len = size;
1967 if (write(s->fd, &hdr, sizeof(hdr)) != sizeof(hdr) ||
1988 struct pcap_file_hdr hdr; local
2001 hdr
[all...]
/external/skia/third_party/ktx/
H A Dktx.cpp324 Header hdr; local
325 hdr.fGLType = 0;
326 hdr.fGLTypeSize = 1;
327 hdr.fGLFormat = 0;
328 hdr.fGLInternalFormat = GR_GL_COMPRESSED_RGB8_ETC1;
329 hdr.fGLBaseInternalFormat = GR_GL_RGB;
330 hdr.fPixelWidth = width;
331 hdr.fPixelHeight = height;
332 hdr.fNumberOfArrayElements = 0;
333 hdr
381 Header hdr; local
[all...]
/external/sqlite/dist/orig/
H A Dsqlite3.c17156 ** free. The first block has format u.hdr. u.hdr.size4x is 4 times the
17158 ** The u.hdr.size4x&1 bit is true if the chunk is checked out and
17159 ** false if the chunk is on the freelist. The u.hdr.size4x&2 bit
17161 ** previous chunk is free. The u.hdr.prevSize field is the size of
17164 ** u.hdr.prevSize can be part of the data for that chunk and should
17180 ** the u.hdr.prevSize value of the following chunk.
17188 } hdr; member in union:Mem3Block::__anon31008
17272 assert( (mem3.aPool[i-1].u.hdr.size4x & 1)==0 );
17274 size = mem3.aPool[i-1].u.hdr
47910 WalIndexHdr hdr; /* Wal-index header for current transaction */ member in struct:Wal
52649 int hdr; /* Offset to the page header */ local
52737 const int hdr = pPage->hdrOffset; /* Local cache of pPage->hdrOffset */ local
52836 int addr, pbegin, hdr; local
52973 u8 hdr; /* Offset to beginning of page header */ local
53078 u8 hdr = pPage->hdrOffset; local
57217 int hdr; /* Beginning of the header. 0 most pages. 100 page 1 */ local
57357 const int hdr = pPage->hdrOffset; /* Offset of header on pPage */ local
58933 int hdr; local
59491 int hdr, cellStart; local
[all...]
/external/sqlite/dist/
H A Dsqlite3.c17156 ** free. The first block has format u.hdr. u.hdr.size4x is 4 times the
17158 ** The u.hdr.size4x&1 bit is true if the chunk is checked out and
17159 ** false if the chunk is on the freelist. The u.hdr.size4x&2 bit
17161 ** previous chunk is free. The u.hdr.prevSize field is the size of
17164 ** u.hdr.prevSize can be part of the data for that chunk and should
17180 ** the u.hdr.prevSize value of the following chunk.
17188 } hdr; member in union:Mem3Block::__anon31039
17272 assert( (mem3.aPool[i-1].u.hdr.size4x & 1)==0 );
17274 size = mem3.aPool[i-1].u.hdr
47930 WalIndexHdr hdr; /* Wal-index header for current transaction */ member in struct:Wal
52669 int hdr; /* Offset to the page header */ local
52757 const int hdr = pPage->hdrOffset; /* Local cache of pPage->hdrOffset */ local
52856 int addr, pbegin, hdr; local
52993 u8 hdr; /* Offset to beginning of page header */ local
53098 u8 hdr = pPage->hdrOffset; local
57237 int hdr; /* Beginning of the header. 0 most pages. 100 page 1 */ local
57377 const int hdr = pPage->hdrOffset; /* Offset of header on pPage */ local
58953 int hdr; local
59511 int hdr, cellStart; local
[all...]
/external/srec/tools/thirdparty/OpenFst/fst/lib/
H A Dconst-fst.h164 FstHeader hdr; local
165 if (!impl->ReadHeaderAndSymbols(strm, opts, kMinFileVersion, &hdr))
167 impl->start_ = hdr.Start();
168 impl->nstates_ = hdr.NumStates();
169 impl->narcs_ = hdr.NumArcs();
198 FstHeader hdr; local
199 hdr.SetStart(start_);
200 hdr.SetNumStates(nstates_);
201 hdr.SetNumArcs(narcs_);
202 WriteHeaderAndSymbols(strm, opts, kFileVersion, &hdr);
[all...]
H A Dexpanded-fst.h40 FstHeader hdr; local
42 hdr = *opts.header;
44 if (!hdr.Read(strm, opts.source))
46 ropts.header = &hdr;
48 if (!(hdr.Properties() & kExpanded)) {
54 registr->GetReader(hdr.FstType());
56 LOG(ERROR) << "ExpandedFst::Read: Unknown FST type \"" << hdr.FstType()
H A Dfst.h43 const FstHeader *hdr = 0,
46 : source(src), header(hdr), isymbols(isym), osymbols(osym) {}
57 bool hdr = true, bool isym = true,
59 : source(src), write_header(hdr),
151 FstHeader hdr; local
153 hdr = *opts.header;
155 if (!hdr.Read(strm, opts.source))
157 ropts.header = &hdr;
161 registr->GetReader(hdr.FstType());
163 LOG(ERROR) << "Fst::Read: Unknown FST type \"" << hdr
458 ReadHeaderAndSymbols(istream &strm, const FstReadOptions& opts, int min_version, FstHeader *hdr) argument
[all...]
H A Dmutable-fst.h73 FstHeader hdr; local
75 hdr = *opts.header;
77 if (!hdr.Read(strm, opts.source))
79 ropts.header = &hdr;
81 if (!(hdr.Properties() & kMutable)) {
87 registr->GetReader(hdr.FstType());
89 LOG(ERROR) << "MutableFst::Read: Unknown FST type \"" << hdr.FstType()
H A Dvector-fst.h353 FstHeader hdr; local
354 if (!impl->ReadHeaderAndSymbols(strm, opts, kMinFileVersion, &hdr))
356 impl->BaseImpl::SetStart(hdr.Start());
357 impl->ReserveStates(hdr.NumStates());
359 for (StateId s = 0; s < hdr.NumStates(); ++s) {
422 FstHeader hdr; local
423 hdr.SetStart(Start());
424 hdr.SetNumStates(NumStates());
425 WriteHeaderAndSymbols(strm, opts, kFileVersion, &hdr);
/external/srtp/srtp/
H A Dsrtp.c598 srtp_hdr_t *hdr = (srtp_hdr_t *)rtp_hdr; local
602 xtd_seq_num_t est; /* estimated xtd_seq_num_t of *hdr */
603 int delta; /* delta of local pkt idx and that in hdr */
612 /* we assume the hdr is 32-bit aligned to start */
625 stream = srtp_get_stream(ctx, hdr->ssrc);
632 hdr->ssrc, &new_stream);
695 enc_start = (uint32_t *)hdr + uint32s_in_rtp_header + hdr->cc;
696 if (hdr->x == 1) {
701 - ((enc_start - (uint32_t *)hdr) <<
841 srtp_hdr_t *hdr = (srtp_hdr_t *)srtp_hdr; local
1447 srtcp_hdr_t *hdr = (srtcp_hdr_t *)rtcp_hdr; local
1630 srtcp_hdr_t *hdr = (srtcp_hdr_t *)srtcp_hdr; local
[all...]
/external/srtp/test/
H A Ddtls_srtp_driver.c217 srtp_hdr_t *hdr; local
221 hdr = malloc(pkt_octet_len + bytes_in_hdr
223 if (!hdr)
226 hdr->version = 2; /* RTP version two */
227 hdr->p = 0; /* no padding needed */
228 hdr->x = 0; /* no header extension */
229 hdr->cc = 0; /* no CSRCs */
230 hdr->m = 0; /* marker bit */
231 hdr->pt = 0xf; /* payload type */
232 hdr
[all...]
H A Dsrtp_driver.c96 srtp_packet_to_string(srtp_hdr_t *hdr, int packet_len);
381 srtp_hdr_t *hdr; local
385 hdr = (srtp_hdr_t*) malloc(pkt_octet_len + bytes_in_hdr
387 if (!hdr)
390 hdr->version = 2; /* RTP version two */
391 hdr->p = 0; /* no padding needed */
392 hdr->x = 0; /* no header extension */
393 hdr->cc = 0; /* no CSRCs */
394 hdr->m = 0; /* marker bit */
395 hdr
575 srtp_hdr_t *hdr, *hdr2; local
774 srtp_hdr_t *hdr, *hdr2; local
1071 srtp_packet_to_string(srtp_hdr_t *hdr, int pkt_octet_len) argument
[all...]
/external/tcpdump/
H A Dprint-802_11.c2211 struct ieee80211_radiotap_header *hdr; local
2223 if (caplen < sizeof(*hdr)) {
2228 hdr = (struct ieee80211_radiotap_header *)p;
2230 len = EXTRACT_LE_16BITS(&hdr->it_len);
2236 cpack_init(&cpacker, (u_int8_t *)hdr, len); /* align against header start */
2237 cpack_advance(&cpacker, sizeof(*hdr)); /* includes the 1st bitmap */
2238 for (last_presentp = &hdr->it_present;
2242 cpack_advance(&cpacker, sizeof(hdr->it_present)); /* more bitmaps */
2256 for (bit0 = 0, presentp = &hdr->it_present; presentp <= last_presentp;
H A Dprint-bt.c54 const pcap_bluetooth_h4_header* hdr = (const pcap_bluetooth_h4_header*)p; local
64 (void)printf("hci length %d, direction %s, ", length, (EXTRACT_32BITS(&hdr->direction)&0x1)?"in":"out");
H A Dprint-enc.c55 const struct enchdr *hdr; local
62 hdr = (struct enchdr *)p;
63 flags = hdr->flags;
71 printf("SPI 0x%08x: ", EXTRACT_32BITS(&hdr->spi));
77 switch (hdr->af) {
H A Dprint-icmp6.c236 const struct icmp6_hdr *hdr,
240 int secured = hdr->icmp6_code & 0x80;
241 int basecode= hdr->icmp6_code & 0x7f;
291 ND_PRINT((ndo, "RPL message, unknown code %u",hdr->icmp6_code));
235 rpl_print(netdissect_options *ndo, const struct icmp6_hdr *hdr, const u_char *bp, u_int length _U_) argument
H A Dprint-igrp.c82 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 Dprint-ip.c675 struct ip hdr; local
681 memcpy (&hdr, bp, 4);
682 switch (IP_V(&hdr)) {
692 (void)printf("unknown ip %d", IP_V(&hdr));
H A Dprint-ipnet.c26 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 Dprint-nflog.c50 nflog_hdr_print(struct netdissect_options *ndo, const nflog_hdr_t *hdr, u_int length) argument
52 ND_PRINT((ndo, "version %d, resource ID %d", hdr->nflog_version, ntohs(hdr->nflog_rid)));
57 hdr->nflog_family),
58 hdr->nflog_family));
63 hdr->nflog_family)));
73 const nflog_hdr_t *hdr = (const nflog_hdr_t *)p; local
85 if (!(hdr->nflog_version) == 0) {
86 ND_PRINT((ndo, "version %u (unknown)", hdr->nflog_version));
91 nflog_hdr_print(ndo, hdr, lengt
[all...]
H A Dprint-pflog.c94 pflog_print(const struct pfloghdr *hdr) argument
98 rulenr = EXTRACT_32BITS(&hdr->rulenr);
99 subrulenr = EXTRACT_32BITS(&hdr->subrulenr);
103 printf("rule %u.%s.%u/", rulenr, hdr->ruleset, subrulenr);
106 tok2str(pf_reasons, "unkn(%u)", hdr->reason),
107 tok2str(pf_actions, "unkn(%u)", hdr->action),
108 tok2str(pf_directions, "unkn(%u)", hdr->dir),
109 hdr->ifname);
118 const struct pfloghdr *hdr; local
128 hdr
[all...]
H A Dprint-ppi.c23 const ppi_header_t *hdr; local
27 hdr = (const ppi_header_t *)bp;
29 len = EXTRACT_16BITS(&hdr->ppi_len);
30 dlt = EXTRACT_32BITS(&hdr->ppi_dlt);
33 ND_PRINT((ndo,", V.%d DLT %s (%d) len %d", hdr->ppi_ver,
49 ppi_header_t *hdr; local
58 hdr = (ppi_header_t *)p;
59 dlt = EXTRACT_32BITS(&hdr->ppi_dlt);
74 ppi_header_print(ndo, (u_char *)hdr,
H A Dprint-pptp.c958 const struct pptp_hdr *hdr; local
964 hdr = (struct pptp_hdr *)dat;
966 TCHECK(hdr->length);
968 printf(" Length=%u", EXTRACT_16BITS(&hdr->length));
970 TCHECK(hdr->msg_type);
972 switch(EXTRACT_16BITS(&hdr->msg_type)) {
985 TCHECK(hdr->magic_cookie);
986 mc = EXTRACT_32BITS(&hdr->magic_cookie);
993 TCHECK(hdr->ctrl_msg_type);
994 ctrl_msg_type = EXTRACT_16BITS(&hdr
[all...]

Completed in 747 milliseconds

1234567891011>>