Searched defs:hdr (Results 1 - 9 of 9) sorted by relevance
/system/core/libcutils/ |
H A D | uevent.c | 36 struct msghdr hdr = { local 46 ssize_t n = recvmsg(socket, &hdr, 0); 56 struct cmsghdr *cmsg = CMSG_FIRSTHDR(&hdr);
|
/system/core/fastboot/ |
H A D | 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 [all...] |
/system/extras/ext4_utils/ |
H A D | extent.c | 97 struct ext4_extent_header *hdr = local 99 hdr->eh_magic = EXT4_EXT_MAGIC; 100 hdr->eh_entries = allocation_len; 101 hdr->eh_max = 3; 102 hdr->eh_generation = 0; 103 hdr->eh_depth = 0; 107 struct ext4_extent_header *hdr = local 109 hdr->eh_magic = EXT4_EXT_MAGIC; 110 hdr->eh_entries = 1; 111 hdr [all...] |
/system/core/debuggerd/ |
H A D | symbol_table.c | 70 Elf32_Ehdr *hdr = (Elf32_Ehdr*)base; local 71 Elf32_Shdr *shdr = (Elf32_Shdr*)(base + hdr->e_shoff); 78 for(i = 0; i < hdr->e_shnum; i++) {
|
/system/core/libnl_2/ |
H A D | netlink.c | 242 int nl_sendmsg(struct nl_sock *sk, struct nl_msg *msg, struct msghdr *hdr) argument 244 return sendmsg(sk->s_fd, (struct msghdr *) msg, (int) hdr);
|
/system/core/mkbootimg/ |
H A D | 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 [all...] |
/system/extras/sound/ |
H A D | 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 193 struct wav_header hdr; local [all...] |
/system/core/gpttool/ |
H A D | gpttool.c | 120 struct efi_header *hdr = &ptbl->header; local 129 if (last > hdr->last_lba) { 256 struct efi_header *hdr = &ptbl.header; local 308 memcpy(hdr->magic, EFI_MAGIC, sizeof(hdr->magic)); 309 hdr->version = EFI_VERSION; 310 hdr->header_sz = sizeof(struct efi_header); 311 hdr->header_lba = 1; 312 hdr->backup_lba = sz - 1; 313 hdr [all...] |
/system/core/sdcard/ |
H A D | sdcard.c | 471 struct fuse_out_header hdr; local 472 hdr.len = sizeof(hdr); 473 hdr.error = err; 474 hdr.unique = unique; 478 write(fuse->fd, &hdr, sizeof(hdr)); 483 struct fuse_out_header hdr; local 487 hdr.len = len + sizeof(hdr); 525 handle_fuse_request(struct fuse *fuse, struct fuse_in_header *hdr, void *data, unsigned len) argument [all...] |
Completed in 469 milliseconds