Searched defs:hdr (Results 1 - 25 of 68) sorted by relevance

123

/system/nfc/src/nfa/include/
H A Dnfa_nv_ci.h35 NFC_HDR hdr; member in struct:__anon2086
43 NFC_HDR hdr; member in struct:__anon2087
/system/core/libmemunreachable/
H A DLeakPipe.cpp25 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
[all...]
/system/bt/bta/closure/
H A Dbta_closure.cc36 BT_HDR hdr; member in struct:__anon70::tBTA_CLOSURE_EXECUTE
85 p_msg->hdr.event = BTA_CLOSURE_EXECUTE_EVT;
/system/core/debuggerd/libdebuggerd/
H A Delf_utils.cpp37 HdrType hdr; local
39 memcpy(&hdr.e_ident[0], e_ident, EI_NIDENT);
42 if (backtrace->Read(base_addr + EI_NIDENT, reinterpret_cast<uint8_t*>(&hdr) + EI_NIDENT,
47 for (size_t i = 0; i < hdr.e_phnum; i++) {
49 if (backtrace->Read(base_addr + hdr.e_phoff + i * hdr.e_phentsize,
/system/bt/bta/mce/
H A Dbta_mce_int.h45 BT_HDR hdr; member in struct:__anon509
51 BT_HDR hdr; member in struct:__anon510
58 BT_HDR hdr; member in union:__anon511
/system/core/libcutils/
H A Duevent.c57 struct msghdr hdr = { local
68 ssize_t n = recvmsg(socket, &hdr, 0);
73 struct cmsghdr *cmsg = CMSG_FIRSTHDR(&hdr);
/system/core/logd/
H A DLogListener.cpp49 struct msghdr hdr = { local
58 ssize_t n = recvmsg(socket, &hdr, 0);
65 struct cmsghdr* cmsg = CMSG_FIRSTHDR(&hdr);
72 cmsg = CMSG_NXTHDR(&hdr, cmsg);
102 // NB: hdr.msg_flags & MSG_TRUNC is not tested, silently passing a
/system/bt/bta/sdp/
H A Dbta_sdp_int.h54 BT_HDR hdr; member in struct:__anon529
60 BT_HDR hdr; member in struct:__anon530
67 BT_HDR hdr; member in struct:__anon531
74 BT_HDR hdr; member in union:__anon532
/system/bt/stack/include/
H A Davdtc_api.h59 tAVDT_EVT_HDR hdr; /* Event header */ member in struct:__anon953
66 tAVDT_EVT_HDR hdr; member in union:__anon954
/system/core/fastboot/
H A Dbootimg_utils.cpp54 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
[all...]
/system/extras/ext4_utils/
H A Dextent.c119 struct ext4_extent_header *hdr = local
121 hdr->eh_magic = EXT4_EXT_MAGIC;
122 hdr->eh_entries = allocation_len;
123 hdr->eh_max = 3;
124 hdr->eh_generation = 0;
125 hdr->eh_depth = 0;
129 struct ext4_extent_header *hdr = local
131 hdr->eh_magic = EXT4_EXT_MAGIC;
132 hdr->eh_entries = 1;
133 hdr
[all...]
/system/bt/embdrv/sbc/decoder/srce/
H A Dbitalloc-sbc.c133 uint16_t hdr; local
137 hdr = 9 * nrof_subbands;
140 hdr = 4 * nrof_subbands;
142 hdr = 8 * nrof_subbands;
148 bits = 8 * (frameLen - SBC_HEADER_LEN) - hdr;
/system/bt/include/
H A Dbte.h101 BT_HDR hdr; member in struct:tHCISU_USERIAL_MSG_tag
/system/libhwbinder/include/hwbinder/
H A Dbinder_kernel.h41 struct binder_object_header hdr; member in struct:binder_fd_object
64 struct binder_object_header hdr; member in struct:binder_buffer_object
92 struct binder_object_header hdr; member in struct:binder_fd_array_object
93 __u32 _pad; /* hdr is 4 bytes, ensure 8-byte alignment of next fields */
/system/nfc/halimpl/bcm2079x/gki/common/
H A Dgki_debug.c150 BUFFER_HDR_T* hdr; local
168 hdr = (BUFFER_HDR_T*)(gki_cb.com.pool_start[pool]);
170 magic = (uint32_t*)((uint8_t*)hdr + BUFFER_HDR_SIZE + size);
171 print("%3d: 0x%02x %4d %10s\n", i, hdr->task_id, hdr->status,
173 hdr = (BUFFER_HDR_T*)((uint8_t*)hdr + act_size);
/system/nfc/src/gki/common/
H A Dgki_debug.c150 BUFFER_HDR_T* hdr; local
168 hdr = (BUFFER_HDR_T*)(gki_cb.com.pool_start[pool]);
170 magic = (uint32_t*)((uint8_t*)hdr + BUFFER_HDR_SIZE + size);
171 print("%3d: 0x%02x %4d %10s\n", i, hdr->task_id, hdr->status,
173 hdr = (BUFFER_HDR_T*)((uint8_t*)hdr + act_size);
/system/bt/bta/gatt/
H A Dbta_gatts_int.h61 BT_HDR hdr; member in struct:__anon161
67 BT_HDR hdr; member in struct:__anon162
74 BT_HDR hdr; member in struct:__anon163
81 BT_HDR hdr; member in struct:__anon164
89 BT_HDR hdr; member in struct:__anon165
96 BT_HDR hdr; member in struct:__anon166
101 BT_HDR hdr; member in struct:__anon167
112 BT_HDR hdr; member in union:__anon168
/system/bt/btif/include/
H A Dbtif_common.h195 BT_HDR hdr; member in struct:__anon564
/system/core/trusty/storage/proxy/
H A Dstorage.c48 struct storage_file_read_resp hdr; member in struct:__anon1701
389 ssize_t read_res = read_with_retry(fd, read_rsp.hdr.data, req->size,
400 return ipc_respond(msg, &read_rsp, read_res + sizeof(read_rsp.hdr));
/system/extras/sound/
H A Dplaywav.c155 struct wav_header hdr; local
163 if (read(fd, &hdr, sizeof(hdr)) != sizeof(hdr)) {
168 hdr.num_channels, hdr.sample_rate, hdr.bits_per_sample,
169 hdr.audio_format == FORMAT_PCM ? "PCM" : "unknown");
171 if ((hdr.riff_id != ID_RIFF) ||
172 (hdr
195 struct wav_header hdr; local
[all...]
/system/extras/verity/
H A Dverify_boot_signature.c96 struct boot_img_hdr hdr; local
102 if (read(fd, &hdr, sizeof(hdr)) != sizeof(hdr)) {
106 if (memcmp(BOOT_MAGIC, hdr.magic, BOOT_MAGIC_SIZE) != 0) {
111 if (!hdr.page_size) {
116 *offset = page_align(hdr.page_size
117 + page_align(hdr.kernel_size, hdr.page_size)
118 + page_align(hdr
[all...]
/system/netd/server/
H A DXfrmController.h165 nlattr hdr; member in struct:android::net::XfrmController::nlattr_algo_crypt
171 nlattr hdr; member in struct:android::net::XfrmController::nlattr_algo_auth
177 nlattr hdr; member in struct:android::net::XfrmController::nlattr_user_tmpl
/system/nfc/halimpl/bcm2079x/hal/hal/
H A Dnfc_hal_nci.c54 uint8_t hdr[2]; local
68 hdr[0] = u8 & ~NCI_PBF_MASK;
78 hdr[1] = *p;
79 pp = hdr;
675 uint8_t hdr[NCI_MSG_HDR_SIZE]; local
704 memcpy(hdr, ps, NCI_MSG_HDR_SIZE);
739 memcpy(pd, hdr, NCI_MSG_HDR_SIZE);
/system/bt/bta/hd/
H A Dbta_hd_int.h62 BT_HDR hdr; member in struct:__anon173
79 BT_HDR hdr; member in struct:__anon174
94 BT_HDR hdr; member in struct:__anon175
103 BT_HDR hdr; member in struct:__anon176
108 BT_HDR hdr; member in struct:__anon177
114 BT_HDR hdr; member in union:__anon178
123 BT_HDR hdr; member in struct:__anon179
/system/bt/bta/pan/
H A Dbta_pan_int.h65 BT_HDR hdr; /* Event header */ member in struct:__anon516
71 BT_HDR hdr; /* Event header */ member in struct:__anon517
87 BT_HDR hdr; /* Event header */ member in struct:__anon518
95 BT_HDR hdr; /* Event header */ member in struct:__anon519
101 BT_HDR hdr; /* Event header */ member in struct:__anon520
108 BT_HDR hdr; member in union:__anon521
145 BT_HDR hdr; member in struct:__anon524

Completed in 623 milliseconds

123