/hardware/ti/omap4-aah/ |
heaptracker.c | 44 struct hdr { struct 46 struct hdr *prev; 47 struct hdr *next; 60 static inline struct ftr * to_ftr(struct hdr *hdr) 62 return (struct ftr *)(((char *)(hdr + 1)) + hdr->size); 65 static inline void *user(struct hdr *hdr) 67 return hdr + 1 350 struct hdr *hdr = __real_malloc(sizeof(struct hdr) + size + local 363 struct hdr *hdr; local 404 struct hdr *hdr; local 464 struct hdr *hdr; local 507 struct hdr *hdr; local [all...] |
/hardware/ti/omap4xxx/ |
heaptracker.c | 44 struct hdr { struct 46 struct hdr *prev; 47 struct hdr *next; 60 static inline struct ftr * to_ftr(struct hdr *hdr) 62 return (struct ftr *)(((char *)(hdr + 1)) + hdr->size); 65 static inline void *user(struct hdr *hdr) 67 return hdr + 1 350 struct hdr *hdr = __real_malloc(sizeof(struct hdr) + size + local 363 struct hdr *hdr; local 404 struct hdr *hdr; local 464 struct hdr *hdr; local 507 struct hdr *hdr; local [all...] |
/external/clang/test/CodeGenCXX/ |
2007-10-01-StructResize.cpp | 10 int Foo(Bork *hdr) { 11 hdr->f1 = 7; 12 hdr->f2 = 927;
|
/system/connectivity/shill/net/ |
rtnl_message.cc | 34 struct nlmsghdr hdr; member in struct:shill::RTNLHeader 78 const RTNLHeader* hdr = local 81 if (msg.GetLength() < sizeof(hdr->hdr) || 82 msg.GetLength() < hdr->hdr.nlmsg_len) 86 switch (hdr->hdr.nlmsg_type) { 109 switch (hdr->hdr.nlmsg_type) 334 RTNLHeader hdr; local [all...] |
/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...] |
/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...] |
/external/opencv3/3rdparty/openexr/IlmImf/ |
ImfCompressor.cpp | 56 Compressor::Compressor (const Header &hdr): _header (hdr) {} 113 newCompressor (Compression c, size_t maxScanLineSize, const Header &hdr) 119 return new RleCompressor (hdr, maxScanLineSize); 123 return new ZipCompressor (hdr, maxScanLineSize, 1); 127 return new ZipCompressor (hdr, maxScanLineSize, 16); 131 return new PizCompressor (hdr, maxScanLineSize, 32); 135 return new Pxr24Compressor (hdr, maxScanLineSize, 16); 139 return new B44Compressor (hdr, maxScanLineSize, 32, false); 143 return new B44Compressor (hdr, maxScanLineSize, 32, true) [all...] |
ImfCRgbaFile.h | 156 void ImfDeleteHeader (ImfHeader *hdr); 158 ImfHeader * ImfCopyHeader (const ImfHeader *hdr); 160 void ImfHeaderSetDisplayWindow (ImfHeader *hdr, 164 void ImfHeaderDisplayWindow (const ImfHeader *hdr, 168 void ImfHeaderSetDataWindow (ImfHeader *hdr, 172 void ImfHeaderDataWindow (const ImfHeader *hdr, 176 void ImfHeaderSetPixelAspectRatio (ImfHeader *hdr, 179 float ImfHeaderPixelAspectRatio (const ImfHeader *hdr); 181 void ImfHeaderSetScreenWindowCenter (ImfHeader *hdr, 184 void ImfHeaderScreenWindowCenter (const ImfHeader *hdr, [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...] |
/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
|
/bionic/libc/bionic/ |
bionic_netlink.cpp | 68 nlmsghdr hdr; member in struct:NetlinkMessage 72 request.hdr.nlmsg_flags = NLM_F_DUMP | NLM_F_REQUEST; 73 request.hdr.nlmsg_type = type; 74 request.hdr.nlmsg_len = sizeof(request); 83 nlmsghdr* hdr = reinterpret_cast<nlmsghdr*>(data_); local 84 for (; NLMSG_OK(hdr, static_cast<size_t>(bytes_read)); hdr = NLMSG_NEXT(hdr, bytes_read)) { 85 if (hdr->nlmsg_type == NLMSG_DONE) return true; 86 if (hdr->nlmsg_type == NLMSG_ERROR) return false [all...] |
/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...] |
/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...] |