/toolchain/binutils/binutils-2.25/bfd/ |
elf.c | 325 Elf_Internal_Shdr *hdr; local 333 hdr = elf_elfsections (abfd)[shindex]; 335 if (hdr->contents == NULL 339 if (strindex >= hdr->sh_size) 344 abfd, strindex, (unsigned long) hdr->sh_size, 345 (shindex == shstrndx && strindex == hdr->sh_name 347 : bfd_elf_string_from_elf_section (abfd, shstrndx, hdr->sh_name))); 351 return ((char *) hdr->contents) + strindex; 516 Elf_Internal_Shdr *hdr; local 525 hdr = elf_elfsections (abfd) [ghdr->sh_link] 1577 Elf_Internal_Shdr *hdr; local 3616 Elf_Internal_Shdr *hdr; local 4003 asection *hdr; local 4980 Elf_Internal_Shdr *hdr; local 5178 Elf_Internal_Shdr *hdr = &elf_section_data (sect)->this_hdr; local 5246 Elf_Internal_Shdr *hdr; local 7092 Elf_Internal_Shdr *hdr = &elf_tdata (abfd)->symtab_hdr; local 7107 Elf_Internal_Shdr *hdr = &elf_tdata (abfd)->dynsymtab_hdr; local 7264 Elf_Internal_Shdr *hdr; local 7382 Elf_Internal_Shdr *hdr; local 7880 Elf_Internal_Shdr *hdr; local 10013 Elf_Internal_Shdr *hdr; local [all...] |
/external/libmicrohttpd/src/microhttpd/ |
response.c | 56 struct MHD_HTTP_Header *hdr; local 70 if (NULL == (hdr = malloc (sizeof (struct MHD_HTTP_Header)))) 72 if (NULL == (hdr->header = strdup (header))) 74 free (hdr); 77 if (NULL == (hdr->value = strdup (content))) 79 free (hdr->header); 80 free (hdr); 83 hdr->kind = kind; 84 hdr->next = response->first_header; 85 response->first_header = hdr; [all...] |
/external/syslinux/gpxe/src/net/infiniband/ |
ib_sma.c | 70 mad->hdr.method = IB_MGMT_METHOD_GET_RESP; 109 mad->hdr.method = IB_MGMT_METHOD_GET_RESP; 138 mad->hdr.method = IB_MGMT_METHOD_GET_RESP; 203 if ( mad->hdr.method == IB_MGMT_METHOD_SET ) { 205 mad->hdr.status = 237 mad->hdr.method = IB_MGMT_METHOD_GET_RESP; 289 if ( mad->hdr.method == IB_MGMT_METHOD_SET ) { 291 mad->hdr.status = 298 mad->hdr.method = IB_MGMT_METHOD_GET_RESP; 303 mad->hdr.method = IB_MGMT_METHOD_GET_RESP [all...] |
/external/webp/src/enc/ |
webp_enc.c | 41 VP8EncSegmentHeader* const hdr = &enc->segment_hdr_; local 42 hdr->num_segments_ = enc->config_->segments; 43 hdr->update_map_ = (hdr->num_segments_ > 1); 44 hdr->size_ = 0; 48 VP8EncFilterHeader* const hdr = &enc->filter_hdr_; local 49 hdr->simple_ = 1; 50 hdr->level_ = 0; 51 hdr->sharpness_ = 0; 52 hdr->i4x4_lf_delta_ = 0 [all...] |
/system/bt/bta/hf_client/ |
bta_hf_client_sco.cc | 509 bta_hf_client_find_cb_by_handle(p_data->hdr.layer_specific); 512 p_data->hdr.layer_specific); 549 bta_hf_client_find_cb_by_handle(p_data->hdr.layer_specific); 552 p_data->hdr.layer_specific); 581 bta_hf_client_find_cb_by_handle(p_data->hdr.layer_specific); 584 p_data->hdr.layer_specific); 620 bta_hf_client_find_cb_by_handle(p_data->hdr.layer_specific); 623 p_data->hdr.layer_specific); 642 bta_hf_client_find_cb_by_handle(p_data->hdr.layer_specific); 645 p_data->hdr.layer_specific) [all...] |
/prebuilts/go/darwin-x86/src/archive/tar/ |
reader.go | 109 hdr, err := tr.next() 111 return hdr, err 127 hdr, rawHdr, err := tr.readHeader() 131 if err := tr.handleRegularFile(hdr); err != nil { 136 switch hdr.Typeflag { 154 switch hdr.Typeflag { 168 if err := mergePAX(hdr, extHdrs); err != nil { 174 if err := tr.handleRegularFile(hdr); err != nil { 180 if err := tr.handleSparseFile(hdr, rawHdr, extHdrs); err != nil { 183 return hdr, nil // This is a file, so sto [all...] |
/prebuilts/go/linux-x86/src/archive/tar/ |
reader.go | 109 hdr, err := tr.next() 111 return hdr, err 127 hdr, rawHdr, err := tr.readHeader() 131 if err := tr.handleRegularFile(hdr); err != nil { 136 switch hdr.Typeflag { 154 switch hdr.Typeflag { 168 if err := mergePAX(hdr, extHdrs); err != nil { 174 if err := tr.handleRegularFile(hdr); err != nil { 180 if err := tr.handleSparseFile(hdr, rawHdr, extHdrs); err != nil { 183 return hdr, nil // This is a file, so sto [all...] |
/system/bt/stack/avdt/ |
avdt_msg.cc | 365 AVDT_MSG_BLD_SEID(*p, p_msg->config_cmd.hdr.seid); 382 AVDT_MSG_BLD_SEID(*p, p_msg->reconfig_cmd.hdr.seid); 419 AVDT_MSG_BLD_SEID(*p, p_msg->security_cmd.hdr.seid); 435 AVDT_MSG_BLD_SEID(*p, p_msg->delay_rpt_cmd.hdr.seid); 707 p_msg->hdr.err_param = 0; 714 AVDT_MSG_PRS_SEID(p, p_msg->config_cmd.hdr.seid); 715 if (avdt_scb_by_hdl(p_msg->config_cmd.hdr.seid) == NULL) { 730 &p_msg->hdr.err_param, AVDT_SIG_SETCONFIG); 759 p_msg->hdr.err_param = 0; 766 AVDT_MSG_PRS_SEID(p, p_msg->reconfig_cmd.hdr.seid) [all...] |
/device/linaro/bootloader/edk2/OvmfPkg/Library/LoadLinuxLib/ |
Linux.c | 61 if ((Bp->hdr.signature != 0xAA55) || // Check boot sector signature
62 (Bp->hdr.header != SETUP_HDR) ||
63 (Bp->hdr.version < 0x205) || // We only support relocatable kernels
64 (!Bp->hdr.relocatable_kernel)
88 if (Bp->hdr.version > 0x20a) {
89 return Bp->hdr.init_size;
139 SetupEnd = 0x202 + (Bp->hdr.jump & 0xff);
172 2 * Bp->hdr.kernel_alignment,
232 Address = (EFI_PHYSICAL_ADDRESS)(UINTN) Bp->hdr.ramdisk_max;
414 Bp->hdr.cmd_line_ptr = (UINT32)(UINTN) CommandLine; [all...] |
/hardware/qcom/audio/legacy/libalsa-intf/ |
aplay.c | 500 struct wav_header hdr; local 516 hdr.sample_rate = rate; 517 hdr.num_channels = ch; 518 hdr.data_sz = 0; 522 if (read(fd, &hdr, sizeof(hdr)) != sizeof(hdr)) { 527 if ((hdr.riff_id != ID_RIFF) || 528 (hdr.riff_fmt != ID_WAVE) || 529 (hdr.fmt_id != ID_FMT)) [all...] |
/device/google/dragon/recovery/updater/ |
vboot_interface.c | 156 struct fmap hdr; local 162 res = flash_read(dev, offset, &hdr, sizeof(hdr)); 168 if (memcmp(&hdr.signature, FMAP_SIGNATURE, sizeof(hdr.signature))) { 173 size = sizeof(struct fmap) + hdr.nareas * sizeof(struct fmap_area); 260 GoogleBinaryBlockHeader *hdr = (void *)gbb; local 262 if (!gbb || memcmp(hdr->signature, GBB_SIGNATURE, GBB_SIGNATURE_SIZE) || 263 gbb_size < sizeof(*hdr)) 266 if (hdr->rootkey_offset + hdr->rootkey_size > gbb_size [all...] |
/external/libnl/lib/route/cls/ |
ematch.c | 390 struct tcf_ematch_hdr *hdr; local 398 if (nla_len(a) < sizeof(*hdr)) { 409 hdr = nla_data(a); 410 data = nla_data(a) + NLA_ALIGN(sizeof(*hdr)); 411 len = nla_len(a) - NLA_ALIGN(sizeof(*hdr)); 414 hdr->matchid, hdr->kind, hdr->flags); 420 if (hdr->kind == TCF_EM_CONTAINER && 431 ematch->e_id = hdr->matchid [all...] |
/external/webp/src/dec/ |
vp8l_dec.c | 362 VP8LMetadata* const hdr = &dec->hdr_; local 382 hdr->huffman_subsample_bits_ = huffman_precision; 471 hdr->huffman_image_ = huffman_image; 472 hdr->num_htree_groups_ = num_htree_groups; 473 hdr->htree_groups_ = htree_groups; 474 hdr->huffman_tables_ = huffman_tables; 692 static WEBP_INLINE HTreeGroup* GetHtreeGroupForPos(VP8LMetadata* const hdr, 694 const int meta_index = GetMetaIndex(hdr->huffman_image_, hdr->huffman_xsize_, 695 hdr->huffman_subsample_bits_, x, y) 953 VP8LMetadata* const hdr = &dec->hdr_; local 1057 VP8LMetadata* const hdr = &dec->hdr_; local 1344 VP8LMetadata* const hdr = &dec->hdr_; local 1361 VP8LMetadata* const hdr = &dec->hdr_; local [all...] |
/hardware/intel/bootstub/ |
bootstub.c | 144 memcpy(&bp->hdr, sh, sizeof (struct setup_header)); 145 bp->hdr.type_of_loader = 0xff; //bootstub is unknown bootloader for kernel :) 146 bp->hdr.hardware_subarch = X86_SUBARCH_MRST; 169 bp->hdr.ramdisk_size = aosp->ramdisk_size; 182 bp->hdr.ramdisk_size = *(u32 *)INITRD_SIZE_OFFSET; 187 bp->hdr.cmd_line_ptr = BOOT_CMDLINE_OFFSET; 188 bp->hdr.cmdline_size = cmdline_len; 190 bp->hdr.ramdisk_image = (bp->alt_mem_k*1024 - bp->hdr.ramdisk_size) & 0xFFFFF000; 194 memcpy((u8*)bp->hdr.ramdisk_image, initramfs, bp->hdr.ramdisk_size) [all...] |
/system/bt/bta/gatt/ |
bta_gattc_int.h | 91 BT_HDR hdr; member in struct:__anon105454 99 BT_HDR hdr; member in struct:__anon105455 111 BT_HDR hdr; member in struct:__anon105456 128 BT_HDR hdr; member in struct:__anon105457 140 BT_HDR hdr; member in struct:__anon105458 145 BT_HDR hdr; member in struct:__anon105459 152 BT_HDR hdr; member in struct:__anon105460 159 BT_HDR hdr; member in struct:__anon105461 164 BT_HDR hdr; member in struct:__anon105462 171 BT_HDR hdr; member in struct:__anon105463 176 BT_HDR hdr; member in struct:__anon105464 185 BT_HDR hdr; member in struct:__anon105465 191 BT_HDR hdr; member in union:__anon105466 [all...] |
/external/blktrace/btreplay/ |
btrecord.c | 223 * @hdr: Header to write 225 static void write_file_hdr(struct io_stream *stream, struct io_file_hdr *hdr) 227 hdr->version = mk_btversion(btver_mjr, btver_mnr, btver_sub); 232 (long long unsigned)hdr->version, 233 (long long unsigned)hdr->genesis, 234 (long long unsigned)hdr->nbunches, 235 (long long unsigned)hdr->total_pkts); 239 if (fwrite(hdr, sizeof(*hdr), 1, stream->ofp) != 1) { 240 fatal(stream->file_name, ERR_SYSCALL, "Hdr write failed\n") [all...] |
/bionic/libc/bionic/ |
ifaddrs.cpp | 160 static void __getifaddrs_callback(void* context, nlmsghdr* hdr) { 163 if (hdr->nlmsg_type == RTM_NEWLINK) { 164 ifinfomsg* ifi = reinterpret_cast<ifinfomsg*>(NLMSG_DATA(hdr)); 173 size_t rta_len = IFLA_PAYLOAD(hdr); 193 } else if (hdr->nlmsg_type == RTM_NEWADDR) { 194 ifaddrmsg* msg = reinterpret_cast<ifaddrmsg*>(NLMSG_DATA(hdr)); 215 size_t rta_len = IFA_PAYLOAD(hdr);
|
/device/google/contexthub/firmware/os/inc/ |
nanohubPacket.h | 322 struct NanohubHalHdr hdr; member in struct:NanohubHalMgmtTx 338 struct NanohubHalHdr hdr; member in struct:NanohubHalQueryAppsTx 356 struct NanohubHalHdr hdr; member in struct:NanohubHalQueryRsaKeysTx 372 struct NanohubHalHdr hdr; member in struct:NanohubHalStartUploadTx 388 struct NanohubHalHdr hdr; member in struct:NanohubHalContUploadTx 397 struct NanohubHalHdr hdr; member in struct:NanohubHalFinishUploadTx 406 struct NanohubHalHdr hdr; member in struct:NanohubHalRebootTx
|
/external/iproute2/tc/ |
q_atm.c | 44 fprintf(stderr, " [ hdr HEX... ] [ excess ( CLASSID | clp ) ] " 55 unsigned char hdr[MAX_HDR_LEN]; local 108 else if (!strcmp(*argv,"hdr")) { 113 ptr = hdr; 117 if (ptr == hdr+MAX_HDR_LEN) { 131 hdr_len = ptr-hdr; 184 if (hdr_len != -1) addattr_l(n,1024,TCA_ATM_HDR,hdr,hdr_len); 213 const __u8 *hdr = RTA_DATA(tb[TCA_ATM_HDR]); local 215 fprintf(f,"hdr"); 217 fprintf(f,"%c%02x", i ? '.' : ' ', hdr[i]) [all...] |
/system/nfc/halimpl/bcm2079x/gki/common/ |
gki_debug.c | 150 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/ |
gki_debug.c | 150 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);
|
/external/wpa_supplicant_8/src/l2_packet/ |
l2_packet_pcap.c | 122 struct pcap_pkthdr hdr; local 128 packet = pcap_next(pcap, &hdr); 130 if (packet == NULL || hdr.caplen < sizeof(*ethhdr)) 136 len = hdr.caplen; 139 len = hdr.caplen - sizeof(*ethhdr); 147 static void l2_packet_receive_cb(u_char *user, const struct pcap_pkthdr *hdr, 155 if (pkt_data == NULL || hdr->caplen < sizeof(*ethhdr)) 161 len = hdr->caplen; 164 len = hdr->caplen - sizeof(*ethhdr);
|
/external/wpa_supplicant_8/src/radius/ |
radius_das.c | 38 struct radius_hdr *hdr; local 64 hdr = radius_msg_get_hdr(msg); 171 RADIUS_CODE_DISCONNECT_ACK, hdr->identifier); 203 struct radius_hdr *hdr; local 266 hdr = radius_msg_get_hdr(msg); 268 switch (hdr->code) { 275 hdr->identifier); 290 hdr->code, abuf, from_port); 304 das->shared_secret_len, hdr) <
|
/system/bt/bta/ag/ |
bta_ag_int.h | 138 BT_HDR hdr; member in struct:__anon105333 145 BT_HDR hdr; member in struct:__anon105334 155 BT_HDR hdr; member in struct:__anon105335 163 BT_HDR hdr; member in struct:__anon105336 170 BT_HDR hdr; member in struct:__anon105337 176 BT_HDR hdr; member in struct:__anon105338 182 BT_HDR hdr; member in struct:__anon105339 188 BT_HDR hdr; member in struct:__anon105340 194 BT_HDR hdr; member in union:__anon105341
|
/system/bt/bta/av/ |
bta_av_act.cc | 228 p_msg->hdr.event = msg_event; 269 p_buf->hdr.event = BTA_AV_AVRC_MSG_EVT; 587 if (p_data->hdr.layer_specific < BTA_AV_NUM_RCB) { 588 p_rcb = &p_cb->rcb[p_data->hdr.layer_specific]; 610 if (p_data->hdr.layer_specific < BTA_AV_NUM_RCB) { 611 p_rcb = &p_cb->rcb[p_data->hdr.layer_specific]; 631 if (p_data->hdr.layer_specific < BTA_AV_NUM_RCB) { 632 p_rcb = &p_cb->rcb[p_data->hdr.layer_specific]; 653 (p_data->hdr.layer_specific < BTA_AV_NUM_RCB)) { 656 p_rcb = &p_cb->rcb[p_data->hdr.layer_specific] 1341 BT_HDR hdr; local [all...] |