Searched defs:hdr (Results 1 - 25 of 357) sorted by relevance

1234567891011>>

/external/clang/test/CodeGenCXX/
H A D2007-10-01-StructResize.cpp10 int Foo(Bork *hdr) { argument
11 hdr->f1 = 7;
12 hdr->f2 = 927;
/external/tcpdump/
H A Dprint-enc.c54 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));
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-pflog.c98 pflog_print(const struct pfloghdr *hdr) argument
102 rulenr = ntohl(hdr->rulenr);
103 subrulenr = ntohl(hdr->subrulenr);
107 printf("rule %u.%s.%u/", rulenr, hdr->ruleset, subrulenr);
110 tok2str(pf_reasons, "unkn(%u)", hdr->reason),
111 tok2str(pf_actions, "unkn(%u)", hdr->action),
112 tok2str(pf_directions, "unkn(%u)", hdr->dir),
113 hdr->ifname);
122 const struct pfloghdr *hdr; local
132 hdr
[all...]
/external/bluetooth/hcidump/parser/
H A Dhidp.c139 uint8_t hdr; local
142 hdr = get_u8(frm);
144 switch (hdr & 0xf0) {
146 param = result2str(hdr);
149 param = operation2str(hdr);
153 param = protocol2str(hdr);
159 param = report2str(hdr);
168 printf("HIDP: %s: %s\n", type2str(hdr), param);
H A Dcmtp.c162 uint8_t hdr, bid; local
167 hdr = get_u8(frm);
168 bid = (hdr & 0x3c) >> 2;
170 switch ((hdr & 0xc0) >> 6) {
184 printf("CMTP: %s: id %d len %d\n", bst2str(hdr & 0x03), bid, len);
186 switch (hdr & 0x03) {
/external/chromium/chrome/browser/ui/window_snapshot/
H A Dwindow_snapshot_win.cc28 BITMAPINFOHEADER hdr; local
29 gfx::CreateBitmapHeader(width, height, &hdr);
33 reinterpret_cast<BITMAPINFO*>(&hdr),
/external/e2fsprogs/e2fsck/
H A Dmtrace.c86 __ptr_t hdr; local
89 hdr = (__ptr_t) malloc (size);
93 fprintf (mallstream, "+ %p %d\n", hdr, size);
95 if (hdr == mallwatch)
98 return hdr;
107 __ptr_t hdr; local
115 hdr = (__ptr_t) realloc (ptr, size);
119 if (hdr == NULL)
123 fprintf (mallstream, "< %p\n> %p %d\n", ptr, hdr, size);
125 if (hdr
[all...]
/external/iproute2/ip/
H A Dlink_veth.c28 struct nlmsghdr *hdr)
39 data = NLMSG_TAIL(hdr);
40 addattr_l(hdr, 1024, VETH_INFO_PEER, NULL, 0);
42 hdr->nlmsg_len += sizeof(struct ifinfomsg);
44 err = iplink_parse(argc - 1, argv + 1, (struct iplink_req *)hdr,
53 addattr_l(hdr, 1024, IFLA_IFNAME, name, len);
56 data->rta_len = (void *)NLMSG_TAIL(hdr) - (void *)data;
27 veth_parse_opt(struct link_util *lu, int argc, char **argv, struct nlmsghdr *hdr) argument
/external/srec/tools/thirdparty/OpenFst/fst/lib/
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()
/external/valgrind/main/coregrind/m_ume/
H A Dscript.c45 Bool VG_(match_script)(Char *hdr, Int len) argument
47 Char* end = hdr + len;
48 Char* interp = hdr + 2;
52 if (0 != VG_(memcmp)(hdr, "#!", 2)) return False;
81 Char hdr[4096]; local
91 res = VG_(pread)(fd, hdr, len, 0);
99 vg_assert('#' == hdr[0] && '!' == hdr[1]);
101 end = hdr + len;
102 interp = hdr
[all...]
/external/wpa_supplicant_8/hostapd/src/tls/
H A Dpkcs8.c27 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...]
/external/wpa_supplicant_8/src/tls/
H A Dpkcs8.c27 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...]
/external/wpa_supplicant_8/wpa_supplicant/src/tls/
H A Dpkcs8.c27 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...]
/external/iproute2/tc/
H A Dem_nbyte.c40 static int nbyte_parse_eopt(struct nlmsghdr *n, struct tcf_ematch_hdr *hdr, argument
99 addraw_l(n, MAX_MSG, hdr, sizeof(*hdr));
107 static int nbyte_print_eopt(FILE *fd, struct tcf_ematch_hdr *hdr, void *data, argument
H A Dem_u32.c36 static int u32_parse_eopt(struct nlmsghdr *n, struct tcf_ematch_hdr *hdr, argument
145 addraw_l(n, MAX_MSG, hdr, sizeof(*hdr));
152 static int u32_print_eopt(FILE *fd, struct tcf_ematch_hdr *hdr, void *data, argument
/external/ipsec-tools/src/racoon/
H A Dprivsep.h57 struct admin_com hdr; member in struct:privsep_com_msg
/external/qemu/
H A Dbt-vhci.c32 uint8_t hdr[4096]; member in struct:bt_vhci_s
45 s->len = read(s->fd, s->hdr, sizeof(s->hdr));
52 pkt = s->hdr;
/external/webp/src/dec/
H A Dquant.c73 const VP8SegmentHeader* const hdr = &dec->segment_hdr_; local
78 if (hdr->use_segment_) {
79 q = hdr->quantizer_[i];
80 if (!hdr->absolute_delta_) {
/external/wpa_supplicant/
H A Dasn1.c23 int asn1_get_next(const u8 *buf, size_t len, struct asn1_hdr *hdr) argument
28 os_memset(hdr, 0, sizeof(*hdr));
32 hdr->identifier = *pos++;
33 hdr->class = hdr->identifier >> 6;
34 hdr->constructed = !!(hdr->identifier & (1 << 5));
36 if ((hdr->identifier & 0x1f) == 0x1f) {
37 hdr
91 struct asn1_hdr hdr; local
[all...]
H A Dasn1_test.c46 struct asn1_hdr hdr; local
60 if (asn1_get_next(pos, end - pos, &hdr) < 0)
64 pos = hdr.payload;
68 prefix, hdr.class, asn1_class_str(hdr.class),
69 hdr.constructed,
70 hdr.constructed ? "Constructed" : "Primitive",
71 hdr.tag, hdr.length);
73 if (hdr
[all...]
H A Deap_tlv.c34 struct eap_hdr *hdr; local
37 hdr = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_TLV, resp_len,
39 if (hdr == NULL)
55 return (u8 *) hdr;
71 struct eap_hdr *hdr; local
74 hdr = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_TLV, resp_len,
76 if (hdr == NULL)
87 return (u8 *) hdr;
95 * @hdr: EAP-TLV request to be processed. The caller must have validated that
96 * the buffer is large enough to contain full request (hdr
105 eap_tlv_process(struct eap_sm *sm, struct eap_method_ret *ret, const struct eap_hdr *hdr, u8 **resp, size_t *resp_len, int force_failure) argument
[all...]
/external/wpa_supplicant_6/wpa_supplicant/src/eap_common/
H A Deap_common.c40 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...]
/external/wpa_supplicant_6/wpa_supplicant/src/tls/
H A Dasn1.c23 int asn1_get_next(const u8 *buf, size_t len, struct asn1_hdr *hdr) argument
28 os_memset(hdr, 0, sizeof(*hdr));
32 hdr->identifier = *pos++;
33 hdr->class = hdr->identifier >> 6;
34 hdr->constructed = !!(hdr->identifier & (1 << 5));
36 if ((hdr->identifier & 0x1f) == 0x1f) {
37 hdr
91 struct asn1_hdr hdr; local
[all...]
H A Dasn1_test.c46 struct asn1_hdr hdr; local
60 if (asn1_get_next(pos, end - pos, &hdr) < 0)
64 pos = hdr.payload;
68 prefix, hdr.class, asn1_class_str(hdr.class),
69 hdr.constructed,
70 hdr.constructed ? "Constructed" : "Primitive",
71 hdr.tag, hdr.length);
73 if (hdr
[all...]

Completed in 460 milliseconds

1234567891011>>