HomeSort by relevance Sort by last modified time
    Searched refs:hdr (Results 1 - 25 of 1418) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/clang/test/CodeGenCXX/
2007-10-01-StructResize.cpp 10 int Foo(Bork *hdr) {
11 hdr->f1 = 7;
12 hdr->f2 = 927;
  /external/wpa_supplicant_8/src/tls/
tlsv1_client_ocsp.c 116 struct asn1_hdr hdr; local
141 if (asn1_get_next(resp, len, &hdr) < 0 ||
142 hdr.class != ASN1_CLASS_UNIVERSAL ||
143 hdr.tag != ASN1_TAG_SEQUENCE) {
146 hdr.class, hdr.tag);
149 pos = hdr.payload;
150 end = hdr.payload + hdr.length;
165 if (asn1_get_next(pos, end - pos, &hdr) < 0 |
323 struct asn1_hdr hdr; local
357 struct asn1_hdr hdr; local
682 struct asn1_hdr hdr; local
    [all...]
pkcs8.c 21 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.class, hdr.tag)
124 struct asn1_hdr hdr; local
    [all...]
tlsv1_cred.c 446 struct asn1_hdr hdr; local
458 if (asn1_get_next(buf, len, &hdr) < 0 ||
459 hdr.class != ASN1_CLASS_UNIVERSAL ||
460 hdr.tag != ASN1_TAG_SEQUENCE) {
463 hdr.class, hdr.tag);
467 pos = hdr.payload;
468 end = hdr.payload + hdr.length;
485 if (asn1_get_next(pos, end - pos, &hdr) < 0 |
525 struct asn1_hdr hdr; local
552 struct asn1_hdr hdr; local
580 struct asn1_hdr hdr; local
625 struct asn1_hdr hdr; local
704 struct asn1_hdr hdr; local
749 struct asn1_hdr hdr; local
771 struct asn1_hdr hdr; local
890 struct asn1_hdr hdr; local
928 struct asn1_hdr hdr; local
1130 struct asn1_hdr hdr; local
    [all...]
asn1.c 25 int asn1_get_next(const u8 *buf, size_t len, struct asn1_hdr *hdr)
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->tag = 0
137 struct asn1_hdr hdr; local
    [all...]
x509v3.c 185 struct asn1_hdr hdr; local
195 if (asn1_get_next(buf, len, &hdr) < 0 ||
196 hdr.class != ASN1_CLASS_UNIVERSAL ||
197 hdr.tag != ASN1_TAG_SEQUENCE) {
200 hdr.class, hdr.tag);
203 if (hdr.length > buf + len - hdr.payload)
205 pos = hdr.payload;
206 end = pos + hdr.length
223 struct asn1_hdr hdr; local
295 struct asn1_hdr hdr; local
652 struct asn1_hdr hdr; local
735 struct asn1_hdr hdr; local
772 struct asn1_hdr hdr; local
956 struct asn1_hdr hdr; local
1034 struct asn1_hdr hdr; local
1061 struct asn1_hdr hdr; local
1137 struct asn1_hdr hdr; local
1225 struct asn1_hdr hdr; local
1307 struct asn1_hdr hdr; local
1337 struct asn1_hdr hdr; local
1622 struct asn1_hdr hdr; local
1744 struct asn1_hdr hdr; local
    [all...]
pkcs5.c 93 struct asn1_hdr hdr; local
109 if (asn1_get_next(pos, enc_alg_end - pos, &hdr) < 0 ||
110 hdr.class != ASN1_CLASS_UNIVERSAL ||
111 hdr.tag != ASN1_TAG_SEQUENCE) {
114 hdr.class, hdr.tag);
117 pos = hdr.payload;
118 end = hdr.payload + hdr.length;
120 if (asn1_get_next(pos, end - pos, &hdr) < 0 |
280 struct asn1_hdr hdr; local
    [all...]
  /system/core/fastboot/
bootimg_utils.cpp 54 boot_img_hdr* hdr = reinterpret_cast<boot_img_hdr*>(calloc(*bootimg_size, 1)); local
55 if (hdr == nullptr) {
56 return hdr;
59 memcpy(hdr->magic, BOOT_MAGIC, BOOT_MAGIC_SIZE);
61 hdr->kernel_size = kernel_size;
62 hdr->ramdisk_size = ramdisk_size;
63 hdr->second_size = second_size;
65 hdr->kernel_addr = base + kernel_offset;
66 hdr->ramdisk_addr = base + ramdisk_offset;
67 hdr->second_addr = base + second_offset
    [all...]
  /libcore/luni/src/main/java/android/system/
StructIcmpHdr.java 49 StructIcmpHdr hdr = new StructIcmpHdr(); local
50 hdr.packet[0] = ipv4 ? (byte) ICMP_ECHO : (byte) ICMP6_ECHO_REQUEST;
54 hdr.packet[6] = (byte) (seq >> 8);
55 hdr.packet[7] = (byte) seq;
56 return hdr;
  /external/mesa3d/src/mesa/program/
symbol_table.c 50 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->symbols == sym)
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...]
  /system/core/libmemunreachable/
LeakPipe.cpp 25 struct msghdr hdr{}; struct
30 hdr.msg_iov = &iov;
31 hdr.msg_iovlen = 1;
35 hdr.msg_control = cmsgbuf;
36 hdr.msg_controllen = CMSG_LEN(sizeof(int));
38 struct cmsghdr* cmsg = CMSG_FIRSTHDR(&hdr);
45 int ret = sendmsg(sock, &hdr, 0);
59 struct msghdr hdr{}; struct
64 hdr.msg_iov = &iov;
65 hdr.msg_iovlen = 1
    [all...]
  /hardware/broadcom/wlan/bcmdhd/dhdutil/include/
bcmcdc.h 60 #define CDC_GET_IF_IDX(hdr) \
61 ((int)((((hdr)->flags) & CDCF_IOC_IF_MASK) >> CDCF_IOC_IF_SHIFT))
62 #define CDC_SET_IF_IDX(hdr, idx) \
63 ((hdr)->flags = (((hdr)->flags & ~CDCF_IOC_IF_MASK) | ((idx) << CDCF_IOC_IF_SHIFT)))
106 #define BDC_GET_IF_IDX(hdr) \
107 ((int)((((hdr)->flags2) & BDC_FLAG2_IF_MASK) >> BDC_FLAG2_IF_SHIFT))
108 #define BDC_SET_IF_IDX(hdr, idx) \
109 ((hdr)->flags2 = (((hdr)->flags2 & ~BDC_FLAG2_IF_MASK) | ((idx) << BDC_FLAG2_IF_SHIFT))
    [all...]
  /bionic/libc/bionic/
bionic_netlink.cpp 69 nlmsghdr hdr; member in struct:NetlinkMessage
73 request.hdr.nlmsg_flags = NLM_F_DUMP | NLM_F_REQUEST;
74 request.hdr.nlmsg_type = type;
75 request.hdr.nlmsg_len = sizeof(request);
84 nlmsghdr* hdr = reinterpret_cast<nlmsghdr*>(data_); local
85 for (; NLMSG_OK(hdr, static_cast<size_t>(bytes_read)); hdr = NLMSG_NEXT(hdr, bytes_read)) {
86 if (hdr->nlmsg_type == NLMSG_DONE) return true;
87 if (hdr->nlmsg_type == NLMSG_ERROR)
    [all...]
  /external/mesa3d/src/gallium/auxiliary/util/
u_debug_memory.c 91 data_from_header(struct debug_memory_header *hdr)
93 if(hdr)
94 return (void *)((char *)hdr + sizeof(struct debug_memory_header));
100 footer_from_header(struct debug_memory_header *hdr)
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) + size + sizeof(*ftr))
149 struct debug_memory_header *hdr; local
275 struct debug_memory_header *hdr; local
    [all...]
  /external/syslinux/core/lwip/src/include/ipv4/lwip/
ip.h 144 #define IPH_V(hdr) (ntohs((hdr)->_v_hl_tos) >> 12)
145 #define IPH_HL(hdr) ((ntohs((hdr)->_v_hl_tos) >> 8) & 0x0f)
146 #define IPH_TOS(hdr) (ntohs((hdr)->_v_hl_tos) & 0xff)
147 #define IPH_LEN(hdr) ((hdr)->_len)
148 #define IPH_ID(hdr) ((hdr)->_id
    [all...]
  /toolchain/binutils/binutils-2.25/ld/testsuite/ld-elf/
eh-frame-hdr.d 1 #source: eh-frame-hdr.s
2 #ld: -e _start --eh-frame-hdr
  /external/tcpdump/
print-pflog.c 88 pflog_print(netdissect_options *ndo, const struct pfloghdr *hdr)
92 rulenr = EXTRACT_32BITS(&hdr->rulenr);
93 subrulenr = EXTRACT_32BITS(&hdr->subrulenr);
97 ND_PRINT((ndo, "rule %u.%s.%u/", rulenr, hdr->ruleset, subrulenr));
100 tok2str(pf_reasons, "unkn(%u)", hdr->reason),
101 tok2str(pf_actions, "unkn(%u)", hdr->action),
102 tok2str(pf_directions, "unkn(%u)", hdr->dir),
103 hdr->ifname));
113 const struct pfloghdr *hdr; local
123 hdr = (struct pfloghdr *)p
    [all...]
  /external/syslinux/gpxe/src/net/infiniband/
ib_mi.c 76 struct ib_mad_hdr *hdr = &mad->hdr; local
82 if ( memcmp ( &hdr->tid, &madx->mad.hdr.tid,
83 sizeof ( hdr->tid ) ) != 0 )
93 ( hdr->mgmt_class & IB_MGMT_CLASS_MASK ) ) ||
94 ( agent->class_version != hdr->class_version ) ||
95 ( agent->attr_id != hdr->attr_id ) )
104 mi, ntohl ( hdr->tid[0] ), ntohl ( hdr->tid[1] ) )
124 struct ib_mad_hdr *hdr; local
177 struct ib_mad_hdr *hdr = &mad->hdr; local
247 struct ib_mad_hdr *hdr = &madx->mad.hdr; local
    [all...]
  /bionic/libc/kernel/uapi/scsi/
scsi_netlink.h 57 #define INIT_SCSI_NL_HDR(hdr,t,mtype,mlen) { (hdr)->version = SCSI_NL_VERSION; (hdr)->transport = t; (hdr)->magic = SCSI_NL_MAGIC; (hdr)->msgtype = mtype; (hdr)->msglen = mlen; }
  /external/kernel-headers/original/uapi/scsi/
scsi_netlink.h 113 #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/
region-fw.c 23 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/iproute2/include/
bpf_scm.h 28 struct msghdr hdr; member in struct:bpf_map_set_msg
44 msg->hdr.msg_iov = &msg->iov;
45 msg->hdr.msg_iovlen = 1;
47 msg->hdr.msg_name = (struct sockaddr *)addr;
48 msg->hdr.msg_namelen = addr_len;
51 msg->hdr.msg_control = &msg->msg_buf;
52 msg->hdr.msg_controllen = cmsg_ctl_len;
54 cmsg = CMSG_FIRSTHDR(&msg->hdr);
55 cmsg->cmsg_len = msg->hdr.msg_controllen;
67 msg->hdr.msg_controllen = CMSG_LEN(sizeof(int) * num)
    [all...]
  /external/vboot_reference/tests/
vboot_common3_tests.c 34 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, hsize + 1, NULL, 1), 0
170 VbFirmwarePreambleHeader *hdr; local
    [all...]
  /external/wpa_supplicant_8/src/eap_common/
eap_common.c 27 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) + 8)
132 struct eap_hdr *hdr; local
169 struct eap_hdr *hdr; local
    [all...]
  /external/e2fsprogs/e2fsck/
mtrace.c 88 __ptr_t hdr; local
91 hdr = (__ptr_t) malloc (size);
95 fprintf (mallstream, "+ %p %d\n", hdr, size);
97 if (hdr == mallwatch)
100 return hdr;
109 __ptr_t hdr; local
117 hdr = (__ptr_t) realloc (ptr, size);
121 if (hdr == NULL)
125 fprintf (mallstream, "< %p\n> %p %d\n", ptr, hdr, size);
127 if (hdr == mallwatch
    [all...]

Completed in 1320 milliseconds

1 2 3 4 5 6 7 8 91011>>