Searched refs:hdr (Results 1 - 25 of 459) 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...]
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/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/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/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/kernel-headers/original/uapi/linux/
H A Dtarget_core_user.h28 * userspace should skip hdr->length bytes (mod cmdr_size) to find the
38 * hdr->length, mod cmdr_size. If cmd_tail doesn't equal cmd_head, it
72 static inline enum tcmu_opcode tcmu_hdr_get_op(struct tcmu_cmd_entry_hdr *hdr) argument
74 return hdr->len_op & TCMU_OP_MASK;
77 static inline void tcmu_hdr_set_op(struct tcmu_cmd_entry_hdr *hdr, enum tcmu_opcode op) argument
79 hdr->len_op &= ~TCMU_OP_MASK;
80 hdr->len_op |= (op & TCMU_OP_MASK);
83 static inline __u32 tcmu_hdr_get_len(struct tcmu_cmd_entry_hdr *hdr) argument
85 return hdr->len_op & ~TCMU_OP_MASK;
88 static inline void tcmu_hdr_set_len(struct tcmu_cmd_entry_hdr *hdr, __u3 argument
98 struct tcmu_cmd_entry_hdr hdr; member in struct:tcmu_cmd_entry
[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/vboot_reference/firmware/lib/
H A Dregion-fw.c23 VbPublicKey hdr, *key; local
28 sizeof(VbPublicKey), &hdr);
33 size = hdr.key_offset + hdr.key_size;
34 if (size < sizeof(hdr))
35 size = sizeof(hdr);
/external/vboot_reference/tests/
H A Dvboot_common3_tests.c34 VbKeyBlockHeader *hdr; local
38 hdr = KeyBlockCreate(data_key, private_key, 0x1234);
39 TEST_NEQ((size_t)hdr, 0, "KeyBlockVerify() prerequisites");
40 if (!hdr)
42 hsize = (unsigned) hdr->key_block_size;
45 TEST_EQ(KeyBlockVerify(hdr, hsize, NULL, 1), 0,
47 TEST_EQ(KeyBlockVerify(hdr, hsize, public_key, 0), 0,
49 TEST_NEQ(KeyBlockVerify(hdr, hsize, NULL, 0), 0,
52 TEST_NEQ(KeyBlockVerify(hdr, hsize - 1, NULL, 1), 0,
54 TEST_EQ(KeyBlockVerify(hdr, hsiz
170 VbFirmwarePreambleHeader *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...]

Completed in 534 milliseconds

1234567891011>>