/external/iproute2/tc/ |
em_meta.c | 149 struct tcf_meta_val *hdr) 153 switch (TCF_META_TYPE(hdr->kind)) { 160 if (TCF_META_ID(hdr->kind) == TCF_META_ID_VALUE) { 358 static int meta_parse_eopt(struct nlmsghdr *n, struct tcf_ematch_hdr *hdr, 404 addraw_l(n, MAX_MSG, hdr, sizeof(*hdr)); 501 static int meta_print_eopt(FILE *fd, struct tcf_ematch_hdr *hdr, void *data,
|
/ndk/sources/host-tools/ndk-stack/elff/ |
dwarf_cu.cc | 37 DwarfCU* DwarfCU::create_instance(ElfFile* elf, const void* hdr) { 41 if (*reinterpret_cast<const Elf_Word*>(hdr) == 0xFFFFFFFF) { 43 (elf, reinterpret_cast<const Dwarf64_CUHdr*>(hdr)); 46 (elf, reinterpret_cast<const Dwarf32_CUHdr*>(hdr)); 298 const Dwarf_CUHdr* hdr) 300 cu_header_(hdr) { 305 elf->pull_val(hdr->abbrev_offset))); 308 cu_size_ = elf->pull_val(hdr->size_hdr.size); 309 version_ = elf->pull_val(hdr->version); 310 addr_sizeof_ = hdr->address_size [all...] |
/art/patchoat/ |
patchoat.cc | 666 Elf32_Phdr* hdr = oat_file_->GetProgramHeader(i); local 667 CHECK(hdr != nullptr); 668 if (hdr->p_vaddr != 0 && hdr->p_vaddr != hdr->p_offset) { 670 hdr->p_vaddr += delta_; 672 if (hdr->p_paddr != 0 && hdr->p_paddr != hdr->p_offset) { 674 hdr->p_paddr += delta_ 684 Elf32_Shdr* hdr = oat_file_->GetSectionHeader(i); local 866 ImageHeader hdr; local [all...] |
/external/bluetooth/bluedroid/main/ |
bte_main.c | 526 BT_HDR hdr; member in struct:bt_audio_state_tag 560 p_msg->hdr.event = MSG_CTRL_TO_HC_CMD | (MSG_SUB_EVT_MASK & BT_HC_AUDIO_STATE); 561 p_msg->hdr.len = sizeof(p_msg->audio); 562 p_msg->hdr.offset = 0; 565 p_msg->hdr.layer_specific = 0;
|
/external/libnfc-nci/src/nfa/ee/ |
nfa_ee_main.c | 306 data.hdr.event = NFA_EE_DISCV_TIMEOUT_EVT; 361 cbk.hdr.event = int_event; 670 nfa_ee_sm_evt_2_str (p_evt_data->hdr.event), p_evt_data->hdr.event, 673 NFA_TRACE_DEBUG2 ("nfa_ee_evt_hdlr (): Event 0x%02x, State: %d", p_evt_data->hdr.event, nfa_ee_cb.em_state);
|
/external/wpa_supplicant_8/src/l2_packet/ |
l2_packet_freebsd.c | 79 struct pcap_pkthdr hdr; local 85 packet = pcap_next(pcap, &hdr); 87 if (packet == NULL || hdr.caplen < sizeof(*ethhdr)) 93 len = hdr.caplen; 96 len = hdr.caplen - sizeof(*ethhdr);
|
/frameworks/compile/mclinker/lib/LD/ |
ELFReader.cpp | 48 const llvm::ELF::Elf32_Ehdr* hdr = local 50 if (0 == memcmp(llvm::ELF::ElfMagic, hdr, 4)) 271 const llvm::ELF::Elf32_Ehdr* hdr = local 274 return (hdr->e_ident[llvm::ELF::EI_DATA] == llvm::ELF::ELFDATA2LSB); 280 const llvm::ELF::Elf32_Ehdr* hdr = local 284 return (hdr->e_machine == target().getInfo().machine()); 285 return (mcld::bswap16(hdr->e_machine) == target().getInfo().machine()); 291 const llvm::ELF::Elf32_Ehdr* hdr = local 295 type = hdr->e_type; 297 type = mcld::bswap16(hdr->e_type) 573 const llvm::ELF::Elf64_Ehdr* hdr = local 792 const llvm::ELF::Elf64_Ehdr* hdr = local 801 const llvm::ELF::Elf64_Ehdr* hdr = local 812 const llvm::ELF::Elf64_Ehdr* hdr = local [all...] |
/external/bluetooth/bluedroid/bta/gatt/ |
bta_gattc_act.c | 217 p_buf->hdr.event = BTA_GATTC_INT_START_IF_EVT; 538 gattc_data.int_conn.hdr.layer_specific = p_clcb->bta_conn_id; 582 gattc_data.hdr.layer_specific = p_clcb->bta_conn_id = conn_id; 698 APPL_TRACE_DEBUG("bta_gattc_conn conn_id=%d",p_data->hdr.layer_specific); 699 p_clcb->bta_conn_id = p_data->int_conn.hdr.layer_specific; 701 GATT_GetConnectionInfor(p_data->hdr.layer_specific, 765 cb_data.close.conn_id = p_data->hdr.layer_specific; 802 if (p_data->hdr.event == BTA_GATTC_API_CLOSE_EVT) 804 cb_data.close.status = GATT_Disconnect(p_data->hdr.layer_specific); 806 else if (p_data->hdr.event == BTA_GATTC_INT_DISCONN_EVT [all...] |
/hardware/invensense/6515/libsensors_iio/software/simple_apps/stress_iio/ |
stress_iio.c | 715 unsigned short hdr; local 784 hdr = *((short *)(dptr)); 785 if ((hdr & 0xf) && (hdr != STEP_INDICATOR_HDR)) 786 printf("STEP$$$$$$$$$$$$$$$=%x ", hdr); 787 switch (hdr & (~0xf)) { 862 if (hdr == EMPTY_MARKER) { 864 } else if (hdr == END_MARKER) { 866 } else if (hdr == COMPASS_HDR_2) {
|
/external/libcap-ng/libcap-ng-0.7/src/ |
cap-ng.c | 135 struct __user_cap_header_struct hdr; member in struct:cap_ng 154 memset(&m.hdr, 0, sizeof(m.hdr)); 155 (void)capget(&m.hdr, NULL); // Returns -EINVAL 156 if (m.hdr.version == _LINUX_CAPABILITY_VERSION_3 || 157 m.hdr.version == _LINUX_CAPABILITY_VERSION_2) { 159 } else if (m.hdr.version == _LINUX_CAPABILITY_VERSION_1) { 168 m.hdr.pid = (unsigned)syscall(__NR_gettid); 170 m.hdr.pid = (unsigned)getpid(); 229 m.hdr.pid = pid [all...] |
/external/wpa_supplicant_8/src/eap_server/ |
eap_server_ttls.c | 801 struct eap_hdr *hdr; local 814 hdr = (struct eap_hdr *) in_data; 815 pos = (u8 *) (hdr + 1); 817 if (in_len > sizeof(*hdr) && *pos == EAP_TYPE_NAK) { 818 left = in_len - sizeof(*hdr); 906 struct eap_hdr *hdr; local 919 if (eap_len < sizeof(*hdr)) { 925 hdr = (struct eap_hdr *) eap; 926 len = be_to_host16(hdr->length); 928 "identifier=%d length=%lu", hdr->code, hdr->identifier [all...] |
/external/wpa_supplicant_8/src/common/ |
ieee802_11_common.c | 381 const u8 * get_hdr_bssid(const struct ieee80211_hdr *hdr, size_t len) 392 fc = le_to_host16(hdr->frame_control); 403 return hdr->addr1; 405 return hdr->addr2; 412 return hdr->addr1; 414 return hdr->addr3;
|
/external/chromium_org/skia/ext/ |
vector_canvas_unittest.cc | 52 BITMAPINFOHEADER hdr; local 53 hdr.biSize = sizeof(BITMAPINFOHEADER); 54 hdr.biWidth = x; 55 hdr.biHeight = -y; // Minus means top-down bitmap. 56 hdr.biPlanes = 1; 57 hdr.biBitCount = 32; 58 hdr.biCompression = BI_RGB; // No compression. 59 hdr.biSizeImage = 0; 60 hdr.biXPelsPerMeter = 1; 61 hdr.biYPelsPerMeter = 1 [all...] |
/external/libunwind/src/dwarf/ |
Gfind_proc_info-lsb.c | 527 struct dwarf_eh_frame_hdr *hdr; local 598 hdr = (struct dwarf_eh_frame_hdr *) (p_eh_hdr->p_vaddr + load_base); 599 if (hdr->version != DW_EH_VERSION) 602 info->dlpi_name, hdr->version); 607 addr = (unw_word_t) (uintptr_t) (hdr + 1); 611 &addr, hdr->eh_frame_ptr_enc, pi, 617 &addr, hdr->fde_count_enc, pi, 621 if (hdr->table_enc != (DW_EH_PE_datarel | DW_EH_PE_sdata4)) 625 if (hdr->table_enc == DW_EH_PE_omit) 639 info->dlpi_name, hdr->table_enc) [all...] |
/external/ppp/pppd/plugins/rp-pppoe/ |
if.c | 629 struct bpf_hdr hdr; local 639 if (bpfSize < sizeof(hdr)) { 644 memcpy(&hdr, bpfBuffer + bpfOffset, sizeof(hdr)); 645 if (hdr.bh_caplen != hdr.bh_datalen) { 647 hdr.bh_caplen, hdr.bh_datalen); 651 seglen = hdr.bh_hdrlen + hdr.bh_caplen [all...] |
/external/wpa_supplicant_8/src/ap/ |
wpa_auth_ie.c | 29 struct wpa_ie_hdr *hdr; local 34 hdr = (struct wpa_ie_hdr *) buf; 35 hdr->elem_id = WLAN_EID_VENDOR_SPECIFIC; 36 RSN_SELECTOR_PUT(hdr->oui, WPA_OUI_TYPE); 37 WPA_PUT_LE16(hdr->version, WPA_VERSION); 38 pos = (u8 *) (hdr + 1); 85 hdr->len = (pos - buf) - 2; 94 struct rsn_ie_hdr *hdr; local 100 hdr = (struct rsn_ie_hdr *) buf; 101 hdr->elem_id = WLAN_EID_RSN [all...] |
wpa_auth.c | 789 struct ieee802_1x_hdr *hdr; local 803 if (data_len < sizeof(*hdr) + sizeof(*key)) 806 hdr = (struct ieee802_1x_hdr *) data; 807 key = (struct wpa_eapol_key *) (hdr + 1); 813 if (key_data_length > data_len - sizeof(*hdr) - sizeof(*key)) { 817 (unsigned long) (data_len - sizeof(*hdr) - 1285 struct ieee802_1x_hdr *hdr; local 1478 struct ieee802_1x_hdr *hdr; local 2091 u8 hdr[2]; local 2334 u8 *kde, *pos, hdr[2]; local [all...] |
/external/bluetooth/bluedroid/bta/hf_client/ |
bta_hf_client_rfc.c | 114 p_buf->hdr.event = event; 257 p_buf->hdr.event = BTA_HF_CLIENT_RFC_CLOSE_EVT;
|
/external/bluetooth/bluedroid/btif/src/ |
btif_pan.c | 543 static inline bool should_forward(tETH_HDR* hdr) 545 uint16_t proto = ntohs(hdr->h_proto); 552 static int forward_bnep(tETH_HDR* eth_hdr, BT_HDR *hdr) { 562 int result = PAN_WriteBuf(handle, eth_hdr->h_dest, eth_hdr->h_src, ntohs(eth_hdr->h_proto), hdr, 0); 573 GKI_freebuf(hdr); 727 tETH_HDR hdr; local 728 memcpy(&hdr, packet, sizeof(tETH_HDR)); 733 if (forward_bnep(&hdr, buffer) != FORWARD_CONGEST)
|
/external/nist-sip/java/gov/nist/javax/sip/message/ |
MultipartMimeContentImpl.java | 131 for (String hdr : headerArray) { 132 Header header = headerFactory.createHeader(hdr);
|
/external/openfst/src/lib/ |
fst.cc | 170 FstReadOptions::FstReadOptions(const string& src, const FstHeader *hdr, 172 : source(src), header(hdr), isymbols(isym), osymbols(osym) {
|
/external/oprofile/libpp/ |
profile.cpp | 65 opd_header const & hdr = local 67 retval = hdr.spu_profile ? cell_spu_profile: normal_profile;
|
/external/tcpdump/ |
sctpHeader.h | 210 struct sctpChunkDesc hdr; member in struct:sctpHBunified 217 struct sctpChunkDesc hdr; member in struct:sctpHBsender
|
/packages/apps/VoiceDialer/src/com/android/voicedialer/ |
RecognizerEngine.java | 148 WaveHeader hdr = new WaveHeader(); local 149 hdr.read(mic);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/ |
applesingle.py | 69 for hdr in headers: 71 restype, offset, length = struct.unpack(AS_ENTRY_FORMAT, hdr)
|