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

1 2 3 4 5 6 7 8 91011>>

  /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;
  /bionic/libc/bionic/
malloc_debug_check.cpp 95 static inline ftr_t* to_ftr(hdr_t* hdr) {
96 return reinterpret_cast<ftr_t*>(reinterpret_cast<char*>(hdr + 1) + hdr->size);
99 static inline void* user(hdr_t* hdr) {
100 return hdr + 1;
122 static inline void init_front_guard(hdr_t* hdr) {
123 memset(hdr->front_guard, FRONT_GUARD, FRONT_GUARD_LEN);
126 static inline bool is_front_guard_valid(hdr_t* hdr) {
128 if (hdr->front_guard[i] != FRONT_GUARD) {
135 static inline void init_rear_guard(hdr_t* hdr) {
328 hdr_t* hdr = static_cast<hdr_t*>(dlmalloc(sizeof(hdr_t) + size + sizeof(ftr_t))); local
366 hdr_t* hdr = meta(reinterpret_cast<void*>(ptr)); local
424 hdr_t* hdr = meta(ptr); local
486 hdr_t* hdr = static_cast<hdr_t*>(dlcalloc(1, sizeof(hdr_t) + total_size + sizeof(ftr_t))); local
501 const hdr_t* hdr = const_meta(ptr); local
    [all...]
  /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
1476 struct asn1_hdr hdr; local
1587 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...]
  /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...]
  /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...]
  /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/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/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;
  /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/chromium_org/net/tools/quic/
quic_socket_utils.cc 25 IPAddressNumber QuicSocketUtils::GetAddressFromMsghdr(struct msghdr *hdr) {
26 if (hdr->msg_controllen > 0) {
27 for (cmsghdr* cmsg = CMSG_FIRSTHDR(hdr);
29 cmsg = CMSG_NXTHDR(hdr, cmsg)) {
53 bool QuicSocketUtils::GetOverflowFromMsghdr(struct msghdr *hdr,
55 if (hdr->msg_controllen > 0) {
57 for (cmsg = CMSG_FIRSTHDR(hdr);
59 cmsg = CMSG_NXTHDR(hdr, cmsg)) {
94 msghdr hdr; local
96 hdr.msg_name = &raw_address
151 msghdr hdr; local
    [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...]

Completed in 2239 milliseconds

1 2 3 4 5 6 7 8 91011>>