Searched refs:hdr (Results 1 - 25 of 613) 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/wpa_supplicant_8/hostapd/src/tls/
H A Dpkcs8.c21 struct asn1_hdr hdr; local
30 if (asn1_get_next(buf, len, &hdr) < 0 ||
31 hdr.class != ASN1_CLASS_UNIVERSAL ||
32 hdr.tag != ASN1_TAG_SEQUENCE) {
37 pos = hdr.payload;
38 end = pos + hdr.length;
41 if (asn1_get_next(pos, end - pos, &hdr) < 0 ||
42 hdr.class != ASN1_CLASS_UNIVERSAL || hdr.tag != ASN1_TAG_INTEGER) {
45 hdr
124 struct asn1_hdr hdr; local
[all...]
H A Dasn1.c25 int asn1_get_next(const u8 *buf, size_t len, struct asn1_hdr *hdr) argument
30 os_memset(hdr, 0, sizeof(*hdr));
34 hdr->identifier = *pos++;
35 hdr->class = hdr->identifier >> 6;
36 hdr->constructed = !!(hdr->identifier & (1 << 5));
38 if ((hdr->identifier & 0x1f) == 0x1f) {
39 hdr
137 struct asn1_hdr hdr; local
[all...]
H A Dx509v3.c184 struct asn1_hdr hdr; local
194 if (asn1_get_next(buf, len, &hdr) < 0 ||
195 hdr.class != ASN1_CLASS_UNIVERSAL ||
196 hdr.tag != ASN1_TAG_SEQUENCE) {
199 hdr.class, hdr.tag);
202 pos = hdr.payload;
203 end = pos + hdr.length;
223 struct asn1_hdr hdr; local
236 if (asn1_get_next(pos, end - pos, &hdr) <
295 struct asn1_hdr hdr; local
653 struct asn1_hdr hdr; local
727 struct asn1_hdr hdr; local
764 struct asn1_hdr hdr; local
948 struct asn1_hdr hdr; local
1026 struct asn1_hdr hdr; local
1053 struct asn1_hdr hdr; local
1110 struct asn1_hdr hdr; local
1192 struct asn1_hdr hdr; local
1222 struct asn1_hdr hdr; local
1478 struct asn1_hdr hdr; local
1589 struct asn1_hdr hdr; local
[all...]
H A Dpkcs5.c48 struct asn1_hdr hdr; local
81 if (asn1_get_next(pos, enc_alg_end - pos, &hdr) < 0 ||
82 hdr.class != ASN1_CLASS_UNIVERSAL ||
83 hdr.tag != ASN1_TAG_SEQUENCE) {
86 hdr.class, hdr.tag);
89 pos = hdr.payload;
90 end = hdr.payload + hdr.length;
93 if (asn1_get_next(pos, end - pos, &hdr) <
[all...]
/external/wpa_supplicant_8/src/tls/
H A Dpkcs8.c21 struct asn1_hdr hdr; local
30 if (asn1_get_next(buf, len, &hdr) < 0 ||
31 hdr.class != ASN1_CLASS_UNIVERSAL ||
32 hdr.tag != ASN1_TAG_SEQUENCE) {
37 pos = hdr.payload;
38 end = pos + hdr.length;
41 if (asn1_get_next(pos, end - pos, &hdr) < 0 ||
42 hdr.class != ASN1_CLASS_UNIVERSAL || hdr.tag != ASN1_TAG_INTEGER) {
45 hdr
124 struct asn1_hdr hdr; local
[all...]
H A Dasn1.c25 int asn1_get_next(const u8 *buf, size_t len, struct asn1_hdr *hdr) argument
30 os_memset(hdr, 0, sizeof(*hdr));
34 hdr->identifier = *pos++;
35 hdr->class = hdr->identifier >> 6;
36 hdr->constructed = !!(hdr->identifier & (1 << 5));
38 if ((hdr->identifier & 0x1f) == 0x1f) {
39 hdr
137 struct asn1_hdr hdr; local
[all...]
H A Dx509v3.c184 struct asn1_hdr hdr; local
194 if (asn1_get_next(buf, len, &hdr) < 0 ||
195 hdr.class != ASN1_CLASS_UNIVERSAL ||
196 hdr.tag != ASN1_TAG_SEQUENCE) {
199 hdr.class, hdr.tag);
202 pos = hdr.payload;
203 end = pos + hdr.length;
223 struct asn1_hdr hdr; local
236 if (asn1_get_next(pos, end - pos, &hdr) <
295 struct asn1_hdr hdr; local
653 struct asn1_hdr hdr; local
727 struct asn1_hdr hdr; local
764 struct asn1_hdr hdr; local
948 struct asn1_hdr hdr; local
1026 struct asn1_hdr hdr; local
1053 struct asn1_hdr hdr; local
1110 struct asn1_hdr hdr; local
1192 struct asn1_hdr hdr; local
1222 struct asn1_hdr hdr; local
1478 struct asn1_hdr hdr; local
1589 struct asn1_hdr hdr; local
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/tls/
H A Dpkcs8.c21 struct asn1_hdr hdr; local
30 if (asn1_get_next(buf, len, &hdr) < 0 ||
31 hdr.class != ASN1_CLASS_UNIVERSAL ||
32 hdr.tag != ASN1_TAG_SEQUENCE) {
37 pos = hdr.payload;
38 end = pos + hdr.length;
41 if (asn1_get_next(pos, end - pos, &hdr) < 0 ||
42 hdr.class != ASN1_CLASS_UNIVERSAL || hdr.tag != ASN1_TAG_INTEGER) {
45 hdr
124 struct asn1_hdr hdr; local
[all...]
H A Dasn1.c25 int asn1_get_next(const u8 *buf, size_t len, struct asn1_hdr *hdr) argument
30 os_memset(hdr, 0, sizeof(*hdr));
34 hdr->identifier = *pos++;
35 hdr->class = hdr->identifier >> 6;
36 hdr->constructed = !!(hdr->identifier & (1 << 5));
38 if ((hdr->identifier & 0x1f) == 0x1f) {
39 hdr
137 struct asn1_hdr hdr; local
[all...]
H A Dx509v3.c184 struct asn1_hdr hdr; local
194 if (asn1_get_next(buf, len, &hdr) < 0 ||
195 hdr.class != ASN1_CLASS_UNIVERSAL ||
196 hdr.tag != ASN1_TAG_SEQUENCE) {
199 hdr.class, hdr.tag);
202 pos = hdr.payload;
203 end = pos + hdr.length;
223 struct asn1_hdr hdr; local
236 if (asn1_get_next(pos, end - pos, &hdr) <
295 struct asn1_hdr hdr; local
653 struct asn1_hdr hdr; local
727 struct asn1_hdr hdr; local
764 struct asn1_hdr hdr; local
948 struct asn1_hdr hdr; local
1026 struct asn1_hdr hdr; local
1053 struct asn1_hdr hdr; local
1110 struct asn1_hdr hdr; local
1192 struct asn1_hdr hdr; local
1222 struct asn1_hdr hdr; local
1478 struct asn1_hdr hdr; local
1589 struct asn1_hdr hdr; local
[all...]
/external/chromium_org/third_party/mesa/src/src/mesa/program/
H A Dsymbol_table.c50 struct symbol_header *hdr; member in struct:symbol
108 struct symbol_header *hdr; member in struct:_mesa_symbol_table
145 const struct symbol_header *const hdr = sym->hdr; local
148 for (sym2 = hdr->symbols
151 assert(sym2->hdr == hdr);
171 struct symbol_header *const hdr = sym->hdr; local
173 assert(hdr
209 struct symbol_header *const hdr = find_symbol(table, name); local
247 struct symbol_header *hdr; local
284 struct symbol_header *const hdr = find_symbol(table, name); local
306 struct symbol_header *const hdr = find_symbol(table, name); local
330 struct symbol_header *hdr; local
385 struct symbol_header *hdr; local
474 struct symbol_header *hdr; local
[all...]
/external/mesa3d/src/mesa/program/
H A Dsymbol_table.c50 struct symbol_header *hdr; member in struct:symbol
108 struct symbol_header *hdr; member in struct:_mesa_symbol_table
145 const struct symbol_header *const hdr = sym->hdr; local
148 for (sym2 = hdr->symbols
151 assert(sym2->hdr == hdr);
171 struct symbol_header *const hdr = sym->hdr; local
173 assert(hdr
209 struct symbol_header *const hdr = find_symbol(table, name); local
247 struct symbol_header *hdr; local
284 struct symbol_header *const hdr = find_symbol(table, name); local
306 struct symbol_header *const hdr = find_symbol(table, name); local
330 struct symbol_header *hdr; local
385 struct symbol_header *hdr; local
474 struct symbol_header *hdr; local
[all...]
/external/chromium_org/ui/gfx/
H A Dgdi_util.cc12 void CreateBitmapHeader(int width, int height, BITMAPINFOHEADER* hdr) { argument
13 CreateBitmapHeaderWithColorDepth(width, height, 32, hdr);
17 BITMAPINFOHEADER* hdr) {
19 hdr->biSize = sizeof(BITMAPINFOHEADER);
20 hdr->biWidth = width;
21 hdr->biHeight = -height; // minus means top-down bitmap
22 hdr->biPlanes = 1;
23 hdr->biBitCount = color_depth;
24 hdr->biCompression = BI_RGB; // no compression
25 hdr
16 CreateBitmapHeaderWithColorDepth(int width, int height, int color_depth, BITMAPINFOHEADER* hdr) argument
32 CreateBitmapV4Header(int width, int height, BITMAPV4HEADER* hdr) argument
49 CreateMonochromeBitmapHeader(int width, int height, BITMAPINFOHEADER* hdr) argument
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
H A Du_debug_memory.c91 data_from_header(struct debug_memory_header *hdr) argument
93 if(hdr)
94 return (void *)((char *)hdr + sizeof(struct debug_memory_header));
100 footer_from_header(struct debug_memory_header *hdr) argument
102 if(hdr)
103 return (struct debug_memory_footer *)((char *)hdr + sizeof(struct debug_memory_header) + hdr->size);
113 struct debug_memory_header *hdr; local
116 hdr = os_malloc(sizeof(*hdr)
149 struct debug_memory_header *hdr; local
275 struct debug_memory_header *hdr; local
[all...]
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_debug_memory.c91 data_from_header(struct debug_memory_header *hdr) argument
93 if(hdr)
94 return (void *)((char *)hdr + sizeof(struct debug_memory_header));
100 footer_from_header(struct debug_memory_header *hdr) argument
102 if(hdr)
103 return (struct debug_memory_footer *)((char *)hdr + sizeof(struct debug_memory_header) + hdr->size);
113 struct debug_memory_header *hdr; local
116 hdr = os_malloc(sizeof(*hdr)
149 struct debug_memory_header *hdr; local
275 struct debug_memory_header *hdr; local
[all...]
/external/wpa_supplicant_8/hostapd/src/eap_common/
H A Deap_common.c27 const struct eap_hdr *hdr; local
33 hdr = wpabuf_head(msg);
35 if (wpabuf_len(msg) < sizeof(*hdr)) {
40 len = be_to_host16(hdr->length);
41 if (len < sizeof(*hdr) + min_payload || len > wpabuf_len(msg)) {
69 const struct eap_hdr *hdr; local
76 hdr = wpabuf_head(msg);
77 len = be_to_host16(hdr->length);
78 pos = (const u8 *) (hdr + 1);
83 if (len < sizeof(*hdr)
132 struct eap_hdr *hdr; local
169 struct eap_hdr *hdr; local
[all...]
/external/wpa_supplicant_8/src/eap_common/
H A Deap_common.c27 const struct eap_hdr *hdr; local
33 hdr = wpabuf_head(msg);
35 if (wpabuf_len(msg) < sizeof(*hdr)) {
40 len = be_to_host16(hdr->length);
41 if (len < sizeof(*hdr) + min_payload || len > wpabuf_len(msg)) {
69 const struct eap_hdr *hdr; local
76 hdr = wpabuf_head(msg);
77 len = be_to_host16(hdr->length);
78 pos = (const u8 *) (hdr + 1);
83 if (len < sizeof(*hdr)
132 struct eap_hdr *hdr; local
169 struct eap_hdr *hdr; local
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/eap_common/
H A Deap_common.c27 const struct eap_hdr *hdr; local
33 hdr = wpabuf_head(msg);
35 if (wpabuf_len(msg) < sizeof(*hdr)) {
40 len = be_to_host16(hdr->length);
41 if (len < sizeof(*hdr) + min_payload || len > wpabuf_len(msg)) {
69 const struct eap_hdr *hdr; local
76 hdr = wpabuf_head(msg);
77 len = be_to_host16(hdr->length);
78 pos = (const u8 *) (hdr + 1);
83 if (len < sizeof(*hdr)
132 struct eap_hdr *hdr; local
169 struct eap_hdr *hdr; local
[all...]
/external/tcpdump/
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-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...]
/external/iproute2/ip/
H A Dlink_veth.c28 struct nlmsghdr *hdr)
40 data = NLMSG_TAIL(hdr);
41 addattr_l(hdr, 1024, VETH_INFO_PEER, NULL, 0);
43 hdr->nlmsg_len += sizeof(struct ifinfomsg);
45 err = iplink_parse(argc - 1, argv + 1, (struct iplink_req *)hdr,
54 addattr_l(hdr, 1024, IFLA_IFNAME, name, len);
57 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/libpcap/
H A Dsf-pcap.c123 static int pcap_next_packet(pcap_t *p, struct pcap_pkthdr *hdr, u_char **datap);
154 struct pcap_file_header hdr; local
183 hdr.magic = magic;
184 amt_read = fread(((char *)&hdr) + sizeof hdr.magic, 1,
185 sizeof(hdr) - sizeof(hdr.magic), fp);
186 if (amt_read != sizeof(hdr) - sizeof(hdr.magic)) {
194 (unsigned long)sizeof(hdr),
397 pcap_next_packet(pcap_t *p, struct pcap_pkthdr *hdr, u_char **data) argument
571 struct pcap_file_header hdr; local
[all...]
/external/kernel-headers/original/uapi/scsi/
H A Dscsi_netlink.h113 #define INIT_SCSI_NL_HDR(hdr, t, mtype, mlen) \
115 (hdr)->version = SCSI_NL_VERSION; \
116 (hdr)->transport = t; \
117 (hdr)->magic = SCSI_NL_MAGIC; \
118 (hdr)->msgtype = mtype; \
119 (hdr)->msglen = mlen; \
/external/fio/
H A Dverify.c29 struct verify_header *hdr, unsigned int header_num,
106 struct verify_header *hdr; local
114 hdr = p;
115 populate_hdr(td, io_u, hdr, header_num, hdr_inc);
196 static inline unsigned int hdr_size(struct verify_header *hdr) argument
198 return __hdr_size(hdr->verify_type);
201 static void *hdr_priv(struct verify_header *hdr) argument
203 void *priv = hdr;
283 static void dump_verify_buffers(struct verify_header *hdr, struct vcont *vc) argument
297 hdr_offset = vc->hdr_num * hdr
319 log_verify_failure(struct verify_header *hdr, struct vcont *vc) argument
341 io_u_verify_off(struct verify_header *hdr, struct vcont *vc) argument
346 verify_io_u_pattern(struct verify_header *hdr, struct vcont *vc) argument
391 verify_io_u_meta(struct verify_header *hdr, struct vcont *vc) argument
427 verify_io_u_xxhash(struct verify_header *hdr, struct vcont *vc) argument
451 verify_io_u_sha512(struct verify_header *hdr, struct vcont *vc) argument
476 verify_io_u_sha256(struct verify_header *hdr, struct vcont *vc) argument
501 verify_io_u_sha1(struct verify_header *hdr, struct vcont *vc) argument
526 verify_io_u_crc7(struct verify_header *hdr, struct vcont *vc) argument
547 verify_io_u_crc16(struct verify_header *hdr, struct vcont *vc) argument
568 verify_io_u_crc64(struct verify_header *hdr, struct vcont *vc) argument
589 verify_io_u_crc32(struct verify_header *hdr, struct vcont *vc) argument
610 verify_io_u_crc32c(struct verify_header *hdr, struct vcont *vc) argument
631 verify_io_u_md5(struct verify_header *hdr, struct vcont *vc) argument
712 verify_header(struct io_u *io_u, struct verify_header *hdr) argument
733 struct verify_header *hdr; local
869 fill_meta(struct verify_header *hdr, struct thread_data *td, struct io_u *io_u, unsigned int header_num) argument
884 fill_xxhash(struct verify_header *hdr, void *p, unsigned int len) argument
894 fill_sha512(struct verify_header *hdr, void *p, unsigned int len) argument
905 fill_sha256(struct verify_header *hdr, void *p, unsigned int len) argument
916 fill_sha1(struct verify_header *hdr, void *p, unsigned int len) argument
927 fill_crc7(struct verify_header *hdr, void *p, unsigned int len) argument
934 fill_crc16(struct verify_header *hdr, void *p, unsigned int len) argument
941 fill_crc32(struct verify_header *hdr, void *p, unsigned int len) argument
948 fill_crc32c(struct verify_header *hdr, void *p, unsigned int len) argument
955 fill_crc64(struct verify_header *hdr, void *p, unsigned int len) argument
962 fill_md5(struct verify_header *hdr, void *p, unsigned int len) argument
973 populate_hdr(struct thread_data *td, struct io_u *io_u, struct verify_header *hdr, unsigned int header_num, unsigned int header_len) argument
[all...]

Completed in 472 milliseconds

1234567891011>>