/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/expat/conftools/ |
get-version.sh | 25 hdr="$1" 26 if test ! -r "$hdr"; then 27 echo "ERROR: '$hdr' does not exist, or is not readable." 31 MAJOR_VERSION="`sed -n -e '/MAJOR_VERSION/s/[^0-9]*//gp' $hdr`" 32 MINOR_VERSION="`sed -n -e '/MINOR_VERSION/s/[^0-9]*//gp' $hdr`" 33 MICRO_VERSION="`sed -n -e '/MICRO_VERSION/s/[^0-9]*//gp' $hdr`"
|
/external/wpa_supplicant_8/src/tls/ |
pkcs8.c | 27 struct asn1_hdr hdr; local 36 if (asn1_get_next(buf, len, &hdr) < 0 || 37 hdr.class != ASN1_CLASS_UNIVERSAL || 38 hdr.tag != ASN1_TAG_SEQUENCE) { 43 pos = hdr.payload; 44 end = pos + hdr.length; 47 if (asn1_get_next(pos, end - pos, &hdr) < 0 || 48 hdr.class != ASN1_CLASS_UNIVERSAL || hdr.tag != ASN1_TAG_INTEGER) { 51 hdr.class, hdr.tag) 130 struct asn1_hdr hdr; local [all...] |
x509v3.c | 190 struct asn1_hdr hdr; local 200 if (asn1_get_next(buf, len, &hdr) < 0 || 201 hdr.class != ASN1_CLASS_UNIVERSAL || 202 hdr.tag != ASN1_TAG_SEQUENCE) { 205 hdr.class, hdr.tag); 208 pos = hdr.payload; 209 end = pos + hdr.length; 229 struct asn1_hdr hdr; local 242 if (asn1_get_next(pos, end - pos, &hdr) < 0 | 301 struct asn1_hdr hdr; local 660 struct asn1_hdr hdr; local 734 struct asn1_hdr hdr; local 771 struct asn1_hdr hdr; local 955 struct asn1_hdr hdr; local 1033 struct asn1_hdr hdr; local 1060 struct asn1_hdr hdr; local 1117 struct asn1_hdr hdr; local 1199 struct asn1_hdr hdr; local 1229 struct asn1_hdr hdr; local 1483 struct asn1_hdr hdr; local 1594 struct asn1_hdr hdr; local [all...] |
asn1.c | 20 int asn1_get_next(const u8 *buf, size_t len, struct asn1_hdr *hdr) 25 os_memset(hdr, 0, sizeof(*hdr)); 29 hdr->identifier = *pos++; 30 hdr->class = hdr->identifier >> 6; 31 hdr->constructed = !!(hdr->identifier & (1 << 5)); 33 if ((hdr->identifier & 0x1f) == 0x1f) { 34 hdr->tag = 0 132 struct asn1_hdr hdr; local [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; 71 hdr->kernel_addr = base + 0x00008000; 72 hdr->ramdisk_addr = base + 0x01000000 [all...] |
/external/wpa_supplicant/ |
asn1_test.c | 46 struct asn1_hdr hdr; local 60 if (asn1_get_next(pos, end - pos, &hdr) < 0) 64 pos = hdr.payload; 68 prefix, hdr.class, asn1_class_str(hdr.class), 69 hdr.constructed, 70 hdr.constructed ? "Constructed" : "Primitive", 71 hdr.tag, hdr.length); 73 if (hdr.class == ASN1_CLASS_CONTEXT_SPECIFIC & [all...] |
x509v3.c | 187 struct asn1_hdr hdr; local 197 if (asn1_get_next(buf, len, &hdr) < 0 || 198 hdr.class != ASN1_CLASS_UNIVERSAL || 199 hdr.tag != ASN1_TAG_SEQUENCE) { 202 hdr.class, hdr.tag); 205 pos = hdr.payload; 206 end = pos + hdr.length; 226 struct asn1_hdr hdr; local 239 if (asn1_get_next(pos, end - pos, &hdr) < 0 | 298 struct asn1_hdr hdr; local 625 struct asn1_hdr hdr; local 699 struct asn1_hdr hdr; local 736 struct asn1_hdr hdr; local 848 struct asn1_hdr hdr; local 930 struct asn1_hdr hdr; local 960 struct asn1_hdr hdr; local 1199 struct asn1_hdr hdr; local 1310 struct asn1_hdr hdr; local [all...] |
asn1.c | 23 int asn1_get_next(const u8 *buf, size_t len, struct asn1_hdr *hdr) 28 os_memset(hdr, 0, sizeof(*hdr)); 32 hdr->identifier = *pos++; 33 hdr->class = hdr->identifier >> 6; 34 hdr->constructed = !!(hdr->identifier & (1 << 5)); 36 if ((hdr->identifier & 0x1f) == 0x1f) { 37 hdr->tag = 0 91 struct asn1_hdr hdr; local [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/tls/ |
asn1_test.c | 46 struct asn1_hdr hdr; local 60 if (asn1_get_next(pos, end - pos, &hdr) < 0) 64 pos = hdr.payload; 68 prefix, hdr.class, asn1_class_str(hdr.class), 69 hdr.constructed, 70 hdr.constructed ? "Constructed" : "Primitive", 71 hdr.tag, hdr.length); 73 if (hdr.class == ASN1_CLASS_CONTEXT_SPECIFIC & [all...] |
x509v3.c | 187 struct asn1_hdr hdr; local 197 if (asn1_get_next(buf, len, &hdr) < 0 || 198 hdr.class != ASN1_CLASS_UNIVERSAL || 199 hdr.tag != ASN1_TAG_SEQUENCE) { 202 hdr.class, hdr.tag); 205 pos = hdr.payload; 206 end = pos + hdr.length; 226 struct asn1_hdr hdr; local 239 if (asn1_get_next(pos, end - pos, &hdr) < 0 | 298 struct asn1_hdr hdr; local 625 struct asn1_hdr hdr; local 699 struct asn1_hdr hdr; local 736 struct asn1_hdr hdr; local 848 struct asn1_hdr hdr; local 930 struct asn1_hdr hdr; local 960 struct asn1_hdr hdr; local 1214 struct asn1_hdr hdr; local 1325 struct asn1_hdr hdr; local [all...] |
asn1.c | 23 int asn1_get_next(const u8 *buf, size_t len, struct asn1_hdr *hdr) 28 os_memset(hdr, 0, sizeof(*hdr)); 32 hdr->identifier = *pos++; 33 hdr->class = hdr->identifier >> 6; 34 hdr->constructed = !!(hdr->identifier & (1 << 5)); 36 if ((hdr->identifier & 0x1f) == 0x1f) { 37 hdr->tag = 0 91 struct asn1_hdr hdr; local [all...] |
/sdk/emulator/qtools/ |
read_elf.cpp | 34 void SwapElfHeader(Elf32_Ehdr *hdr) 36 hdr->e_type = SwapHalf(hdr->e_type); 37 hdr->e_machine = SwapHalf(hdr->e_machine); 38 hdr->e_version = SwapWord(hdr->e_version); 39 hdr->e_entry = SwapAddr(hdr->e_entry); 40 hdr->e_phoff = SwapOff(hdr->e_phoff) 116 Elf32_Ehdr *hdr = new Elf32_Ehdr; local [all...] |
read_elf.h | 8 Elf32_Shdr *ReadSectionHeaders(Elf32_Ehdr *hdr, FILE *fobj); 9 char *ReadStringTable(Elf32_Ehdr *hdr, Elf32_Shdr *shdr, FILE *fobj); 10 Elf32_Shdr *FindSymbolTableSection(Elf32_Ehdr *hdr, 13 Elf32_Shdr *FindSymbolStringTableSection(Elf32_Ehdr *hdr, 17 void AdjustElfSymbols(Elf32_Ehdr *hdr, Elf32_Sym *elf_symbols,
|
/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 283 struct symbol_header *const hdr = find_symbol(table, name); local 305 struct symbol_header *const hdr = find_symbol(table, name); local 329 struct symbol_header *hdr; local 384 struct symbol_header *hdr; local 473 struct symbol_header *hdr; local [all...] |
/hardware/broadcom/wlan/bcm4329/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))) 93 #define BDC_GET_PAD_LEN(hdr) \ 94 ((int)(((((hdr)->flags2) & BDC_FLAG2_PAD_MASK) >> BDC_FLAG2_PAD_SHIFT) | \ 95 ((((hdr)->flags) & BDC_FLAG_PAD_MASK) >> BDC_FLAG_PAD_SHIFT))) 96 #define BDC_SET_PAD_LEN(hdr, idx) \ 97 ((hdr)->flags2 = (((hdr)->flags2 & ~BDC_FLAG2_PAD_MASK) | [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))) 93 #define BDC_GET_PAD_LEN(hdr) \ 94 ((int)(((((hdr)->flags2) & BDC_FLAG2_PAD_MASK) >> BDC_FLAG2_PAD_SHIFT) | \ 95 ((((hdr)->flags) & BDC_FLAG_PAD_MASK) >> BDC_FLAG_PAD_SHIFT))) 96 #define BDC_SET_PAD_LEN(hdr, idx) \ 97 ((hdr)->flags2 = (((hdr)->flags2 & ~BDC_FLAG2_PAD_MASK) | [all...] |
/device/moto/wingray/taudio/ |
twav.c | 39 static void init_wav_header(struct wav_header *hdr, 45 hdr->riff[0] = 'R'; 46 hdr->riff[1] = 'I'; 47 hdr->riff[2] = 'F'; 48 hdr->riff[3] = 'F'; 50 hdr->subchunk2_size = num_samples * channels * bits_per_sample / 8; 52 hdr->chunk_size = 36 + hdr->subchunk2_size; 53 hdr->format[0] = 'W'; 54 hdr->format[1] = 'A' 82 struct wav_header hdr; local [all...] |
/system/core/mkbootimg/ |
mkbootimg.c | 97 boot_img_hdr hdr; local 116 memset(&hdr, 0, sizeof(hdr)); 119 hdr.kernel_addr = 0x10008000; 120 hdr.ramdisk_addr = 0x11000000; 121 hdr.second_addr = 0x10F00000; 122 hdr.tags_addr = 0x10000100; 144 hdr.kernel_addr = base + 0x00008000; 145 hdr.ramdisk_addr = base + 0x01000000; 146 hdr.second_addr = base + 0x00F00000 [all...] |
/external/iproute2/ip/ |
link_veth.c | 28 struct nlmsghdr *hdr) 39 data = NLMSG_TAIL(hdr); 40 addattr_l(hdr, 1024, VETH_INFO_PEER, NULL, 0); 42 hdr->nlmsg_len += sizeof(struct ifinfomsg); 44 err = iplink_parse(argc - 1, argv + 1, (struct iplink_req *)hdr, 53 addattr_l(hdr, 1024, IFLA_IFNAME, name, len); 56 data->rta_len = (void *)NLMSG_TAIL(hdr) - (void *)data;
|
/external/wpa_supplicant_6/wpa_supplicant/src/eap_common/ |
eap_common.c | 40 const struct eap_hdr *hdr; local 44 hdr = wpabuf_head(msg); 46 if (wpabuf_len(msg) < sizeof(*hdr)) { 51 len = be_to_host16(hdr->length); 52 if (len < sizeof(*hdr) + 1 || len > wpabuf_len(msg)) { 57 pos = (const u8 *) (hdr + 1); 62 if (len < sizeof(*hdr) + 8) { 78 *plen = len - sizeof(*hdr) - 8; 85 *plen = len - sizeof(*hdr) - 1; 111 struct eap_hdr *hdr; local 148 struct eap_hdr *hdr; local [all...] |
/external/wpa_supplicant_8/src/eap_common/ |
eap_common.c | 40 const struct eap_hdr *hdr; local 44 hdr = wpabuf_head(msg); 46 if (wpabuf_len(msg) < sizeof(*hdr)) { 51 len = be_to_host16(hdr->length); 52 if (len < sizeof(*hdr) + 1 || len > wpabuf_len(msg)) { 57 pos = (const u8 *) (hdr + 1); 62 if (len < sizeof(*hdr) + 8) { 78 *plen = len - sizeof(*hdr) - 8; 85 *plen = len - sizeof(*hdr) - 1; 111 struct eap_hdr *hdr; local 148 struct eap_hdr *hdr; local [all...] |
/external/tcpdump/ |
print-pflog.c | 98 pflog_print(const struct pfloghdr *hdr) 102 rulenr = ntohl(hdr->rulenr); 103 subrulenr = ntohl(hdr->subrulenr); 107 printf("rule %u.%s.%u/", rulenr, hdr->ruleset, subrulenr); 110 tok2str(pf_reasons, "unkn(%u)", hdr->reason), 111 tok2str(pf_actions, "unkn(%u)", hdr->action), 112 tok2str(pf_directions, "unkn(%u)", hdr->dir), 113 hdr->ifname); 122 const struct pfloghdr *hdr; local 132 hdr = (struct pfloghdr *)p [all...] |
/external/bluetooth/hcidump/parser/ |
avdtp.c | 73 static char *pt2str(uint8_t hdr) 75 switch (hdr & 0x0c) { 89 static char *mt2str(uint8_t hdr) 91 switch (hdr & 0x03) { 291 static inline void discover(int level, uint8_t hdr, struct frame *frm) 295 switch (hdr & 0x03) { 313 static inline void get_capabilities(int level, uint8_t hdr, struct frame *frm) 315 switch (hdr & 0x03) { 328 static inline void set_configuration(int level, uint8_t hdr, struct frame *frm) 332 switch (hdr & 0x03) 450 uint8_t hdr, sid, nsp, type; local [all...] |