/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 | 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 654 struct asn1_hdr hdr; local 728 struct asn1_hdr hdr; local 765 struct asn1_hdr hdr; local 949 struct asn1_hdr hdr; local 1027 struct asn1_hdr hdr; local 1054 struct asn1_hdr hdr; local 1111 struct asn1_hdr hdr; local 1193 struct asn1_hdr hdr; local 1223 struct asn1_hdr hdr; local 1477 struct asn1_hdr hdr; local 1588 struct asn1_hdr hdr; local [all...] |
asn1.c | 14 int asn1_get_next(const u8 *buf, size_t len, struct asn1_hdr *hdr) 19 os_memset(hdr, 0, sizeof(*hdr)); 23 hdr->identifier = *pos++; 24 hdr->class = hdr->identifier >> 6; 25 hdr->constructed = !!(hdr->identifier & (1 << 5)); 27 if ((hdr->identifier & 0x1f) == 0x1f) { 28 hdr->tag = 0 126 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...] |
/bionic/libc/bionic/ |
malloc_debug_check.cpp | 91 static inline ftr_t* to_ftr(hdr_t* hdr) { 92 return reinterpret_cast<ftr_t*>(reinterpret_cast<char*>(hdr + 1) + hdr->size); 95 static inline void* user(hdr_t* hdr) { 96 return hdr + 1; 113 static inline void init_front_guard(hdr_t *hdr) { 114 memset(hdr->front_guard, FRONT_GUARD, FRONT_GUARD_LEN); 117 static inline bool is_front_guard_valid(hdr_t *hdr) { 119 if (hdr->front_guard[i] != FRONT_GUARD) { 126 static inline void init_rear_guard(hdr_t *hdr) { 319 hdr_t* hdr = static_cast<hdr_t*>(dlmalloc(sizeof(hdr_t) + size + sizeof(ftr_t))); local 383 hdr_t* hdr = meta(ptr); local 430 hdr_t* hdr = static_cast<hdr_t*>(dlcalloc(1, sizeof(hdr_t) + total_size + sizeof(ftr_t))); 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; 72 hdr->kernel_addr = base + kernel_offset; 73 hdr->ramdisk_addr = base + ramdisk_offset [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,
|
/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/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/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;
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/sound/ |
util_mem.h | 52 void snd_util_memhdr_free(struct snd_util_memhdr *hdr); 53 struct snd_util_memblk *snd_util_mem_alloc(struct snd_util_memhdr *hdr, int size); 54 int snd_util_mem_free(struct snd_util_memhdr *hdr, struct snd_util_memblk *blk); 55 int snd_util_mem_avail(struct snd_util_memhdr *hdr); 58 struct snd_util_memblk *__snd_util_mem_alloc(struct snd_util_memhdr *hdr, int size); 59 void __snd_util_mem_free(struct snd_util_memhdr *hdr, struct snd_util_memblk *blk); 60 struct snd_util_memblk *__snd_util_memblk_new(struct snd_util_memhdr *hdr,
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/sound/ |
util_mem.h | 52 void snd_util_memhdr_free(struct snd_util_memhdr *hdr); 53 struct snd_util_memblk *snd_util_mem_alloc(struct snd_util_memhdr *hdr, int size); 54 int snd_util_mem_free(struct snd_util_memhdr *hdr, struct snd_util_memblk *blk); 55 int snd_util_mem_avail(struct snd_util_memhdr *hdr); 58 struct snd_util_memblk *__snd_util_mem_alloc(struct snd_util_memhdr *hdr, int size); 59 void __snd_util_mem_free(struct snd_util_memhdr *hdr, struct snd_util_memblk *blk); 60 struct snd_util_memblk *__snd_util_memblk_new(struct snd_util_memhdr *hdr,
|
/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...] |
/system/core/mkbootimg/ |
mkbootimg.c | 97 boot_img_hdr hdr; local 121 memset(&hdr, 0, sizeof(hdr)); 164 hdr.page_size = pagesize; 166 hdr.kernel_addr = base + kernel_offset; 167 hdr.ramdisk_addr = base + ramdisk_offset; 168 hdr.second_addr = base + second_offset; 169 hdr.tags_addr = base + tags_offset; 191 strcpy(hdr.name, board); 193 memcpy(hdr.magic, BOOT_MAGIC, BOOT_MAGIC_SIZE) [all...] |
/external/e2fsprogs/e2fsck/ |
mtrace.c | 86 __ptr_t hdr; local 89 hdr = (__ptr_t) malloc (size); 93 fprintf (mallstream, "+ %p %d\n", hdr, size); 95 if (hdr == mallwatch) 98 return hdr; 107 __ptr_t hdr; local 115 hdr = (__ptr_t) realloc (ptr, size); 119 if (hdr == NULL) 123 fprintf (mallstream, "< %p\n> %p %d\n", ptr, hdr, size); 125 if (hdr == mallwatch [all...] |
/system/extras/sound/ |
playwav.c | 153 struct wav_header hdr; local 161 if (read(fd, &hdr, sizeof(hdr)) != sizeof(hdr)) { 166 hdr.num_channels, hdr.sample_rate, hdr.bits_per_sample, 167 hdr.audio_format == FORMAT_PCM ? "PCM" : "unknown"); 169 if ((hdr.riff_id != ID_RIFF) || 170 (hdr.riff_fmt != ID_WAVE) | 193 struct wav_header hdr; local [all...] |
/external/clang/include/clang/ |
Makefile | 11 for hdr in `find clang -type f \ 18 instdir=$(DESTDIR)`dirname "$(PROJ_includedir)/$$hdr"` ; \ 23 $(DataInstall) $$hdr $(DESTDIR)$(PROJ_includedir)/$$hdr ; \ 29 for hdr in `find clang -type f \ 36 instdir=$(DESTDIR)`dirname "$(PROJ_includedir)/$$hdr"` ; \ 41 $(DataInstall) $$hdr $(DESTDIR)$(PROJ_includedir)/$$hdr ; \
|
/external/clang/include/clang-c/ |
Makefile | 13 for hdr in `find clang-c -type f '!' '(' -name '*~' \ 17 instdir=`dirname "$(IntIncludeDir)/$$hdr"` ; \ 22 $(DataInstall) $$hdr $(IntIncludeDir)/$$hdr ; \ 28 for hdr in `find clang-c -type f '!' '(' -name 'Makefile' ')' -print \ 30 instdir=`dirname "$(IntIncludeDir)/$$hdr"` ; \ 35 $(DataInstall) $$hdr $(IntIncludeDir)/$$hdr ; \
|
/external/libnfc-nci/halimpl/bcm2079x/hal/hal/ |
nfc_hal_hci_ci.c | 48 p_msg->nv_read.hdr.event = NFC_HAL_HCI_RSP_NV_READ_EVT; 49 p_msg->hdr.offset = 0; 50 p_msg->hdr.len = sizeof (tNFC_HAL_HCI_RSP_NV_READ_EVT); 51 p_msg->hdr.layer_specific = 0; 81 p_msg->nv_write.hdr.event = NFC_HAL_HCI_RSP_NV_WRITE_EVT; 82 p_msg->nv_write.hdr.offset = 0; 83 p_msg->nv_write.hdr.len = sizeof (tNFC_HAL_HCI_RSP_NV_READ_EVT); 84 p_msg->nv_write.hdr.layer_specific = 0;
|
/external/libnfc-nci/src/nfa/include/ |
nfa_nv_ci.h | 37 BT_HDR hdr; member in struct:__anon10320 46 BT_HDR hdr; member in struct:__anon10321
|