/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;
|
/external/wpa_supplicant_8/src/tls/ |
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...] |
x509v3.c | 184 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) < 0 | 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...] |
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...] |
pkcs5.c | 48 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) < 0 | [all...] |
/hardware/samsung_slsi/exynos5/mobicore/daemon/Daemon/Device/ |
NotificationQueue.cpp | 44 in->hdr.queueSize = size; 45 out->hdr.queueSize = size; 55 if ((out->hdr.writeCnt - out->hdr.readCnt) < out->hdr.queueSize) { 56 out->notification[out->hdr.writeCnt & (out->hdr.queueSize - 1)] 58 out->hdr.writeCnt++; 71 if ((in->hdr.writeCnt - in->hdr.readCnt) > 0) [all...] |
/system/core/fastboot/ |
bootimg.c | 50 boot_img_hdr *hdr; local 60 hdr = calloc(*bootimg_size, 1); 62 if(hdr == 0) { 63 return hdr; 66 memcpy(hdr->magic, BOOT_MAGIC, BOOT_MAGIC_SIZE); 68 hdr->kernel_size = kernel_size; 69 hdr->ramdisk_size = ramdisk_size; 70 hdr->second_size = second_size; 72 hdr->kernel_addr = base + kernel_offset; 73 hdr->ramdisk_addr = base + ramdisk_offset [all...] |
/bionic/libc/bionic/ |
malloc_debug_check.cpp | 94 static inline ftr_t* to_ftr(hdr_t* hdr) { 95 return reinterpret_cast<ftr_t*>(reinterpret_cast<char*>(hdr + 1) + hdr->size); 98 static inline void* user(hdr_t* hdr) { 99 return hdr + 1; 134 static inline void init_front_guard(hdr_t* hdr) { 135 memset(hdr->front_guard, FRONT_GUARD, FRONT_GUARD_LEN); 138 static inline bool is_front_guard_valid(hdr_t* hdr) { 140 if (hdr->front_guard[i] != FRONT_GUARD) { 147 static inline void init_rear_guard(hdr_t* hdr) { 349 hdr_t* hdr = static_cast<hdr_t*>(g_malloc_dispatch->malloc(size)); local 391 hdr_t* hdr = meta(reinterpret_cast<void*>(ptr)); local 459 hdr_t* hdr = meta(ptr); local 536 hdr_t* hdr = static_cast<hdr_t*>(g_malloc_dispatch->calloc(1, size)); local 555 const hdr_t* hdr = const_meta(ptr); local [all...] |
/external/chromium_org/third_party/mesa/src/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...] |
/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...] |
/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/chromium_org/ui/gfx/ |
gdi_util.cc | 12 void CreateBitmapHeader(int width, int height, BITMAPINFOHEADER* hdr) { 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->biSizeImage = 0 [all...] |
/external/chromium_org/third_party/mesa/src/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/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/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/tcpdump/ |
print-ipnet.c | 26 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->iph_family) [all...] |
print-pflog.c | 94 pflog_print(const struct pfloghdr *hdr) 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 = (struct pfloghdr *)p [all...] |
/external/iproute2/ip/ |
link_veth.c | 28 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;
|
/system/core/mkbootimg/ |
mkbootimg.c | 97 boot_img_hdr hdr; local 122 memset(&hdr, 0, sizeof(hdr)); 165 hdr.page_size = pagesize; 167 hdr.kernel_addr = base + kernel_offset; 168 hdr.ramdisk_addr = base + ramdisk_offset; 169 hdr.second_addr = base + second_offset; 170 hdr.tags_addr = base + tags_offset; 192 strcpy((char *) hdr.name, board); 194 memcpy(hdr.magic, BOOT_MAGIC, BOOT_MAGIC_SIZE) [all...] |
/external/libpcap/ |
sf-pcap.c | 123 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), 571 struct pcap_file_header 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/fio/ |
verify.c | 29 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) 198 return __hdr_size(hdr->verify_type); 201 static void *hdr_priv(struct verify_header *hdr) 203 void *priv = hdr; 283 static void dump_verify_buffers(struct verify_header *hdr, struct vcont *vc) 297 hdr_offset = vc->hdr_num * hdr->len 733 struct verify_header *hdr; local [all...] |