/external/blktrace/btt/ |
output.c | 54 void output_section_hdr(FILE *ofp, char *hdr) 57 fprintf(ofp, "%s", hdr); 61 void output_hdr(FILE *ofp, char *hdr) 64 hdr, "MIN", "AVG", "MAX", "N" ); 68 void __output_avg(FILE *ofp, char *hdr, struct avg_info *ap, int do_easy) 72 fprintf(ofp, "%-15s %13.9f %13.9f %13.9f %11d\n", hdr, 78 hdr, BIT_TIME(ap->min), ap->avg, 109 void output_dip_avg(FILE *ofp, char *hdr, ai_dip_t (*func)(struct d_info *)) 112 output_hdr(ofp, hdr); 505 void output_pip_avg(FILE *ofp, char *hdr, ai_pip_t (*func)(struct p_info *) [all...] |
/external/bluetooth/hcidump/src/ |
hcidump.c | 198 struct btsnoop_hdr *hdr = (void *) buf; local 203 memcpy(hdr->id, btsnoop_id, sizeof(btsnoop_id)); 204 hdr->version = htonl(btsnoop_version); 205 hdr->type = htonl(btsnoop_type); 456 struct btsnoop_hdr *hdr = (struct btsnoop_hdr *) buf; local 477 if (!memcmp(hdr->id, btsnoop_id, sizeof(btsnoop_id))) { 480 btsnoop_version = ntohl(hdr->version); 481 btsnoop_type = ntohl(hdr->type); 510 memcpy(hdr->id, btsnoop_id, sizeof(btsnoop_id)); 511 hdr->version = htonl(btsnoop_version) [all...] |
/external/dnsmasq/src/ |
dnsmasq.c | 89 cap_user_header_t hdr = NULL; local 253 hdr = safe_malloc(sizeof(*hdr)); 256 memset(hdr, 0, sizeof(*hdr)); 257 capget(hdr, NULL); 259 if (hdr->version != LINUX_CAPABILITY_VERSION_1) 262 if (hdr->version != LINUX_CAPABILITY_VERSION_2) 263 hdr->version = LINUX_CAPABILITY_VERSION_3; 396 if (capset(hdr, data) == -1 || prctl(PR_SET_KEEPCAPS, 1, 0, 0, 0) == -1 [all...] |
/external/wpa_supplicant_8/src/ap/ |
sta_info.c | 320 struct ieee80211_hdr hdr; local 325 os_memset(&hdr, 0, sizeof(hdr)); 333 hdr.frame_control = 337 hdr.frame_control = 342 hdr.frame_control |= host_to_le16(WLAN_FC_FROMDS); 343 os_memcpy(hdr.IEEE80211_DA_FROMDS, sta->addr, ETH_ALEN); 344 os_memcpy(hdr.IEEE80211_BSSID_FROMDS, hapd->own_addr, 346 os_memcpy(hdr.IEEE80211_SA_FROMDS, hapd->own_addr, ETH_ALEN); 348 if (hostapd_drv_send_mlme(hapd, &hdr, sizeof(hdr)) < 0 [all...] |
/external/grub/netboot/ |
3c90x.c | 485 } hdr; local 504 hdr.type = htons(t); 507 memcpy(hdr.dst_addr, d, ETH_ALEN); 510 memcpy(hdr.src_addr, INF_3C90X.HWAddr, ETH_ALEN); 515 INF_3C90X.TransmitDPD.FrameStartHeader = (s + sizeof(hdr)) | 0x8000; 516 INF_3C90X.TransmitDPD.HdrAddr = virt_to_bus(&hdr); 517 INF_3C90X.TransmitDPD.HdrLength = sizeof(hdr);
|
/external/wpa_supplicant/ |
eap_sake.c | 163 const struct eap_hdr *hdr = (const struct eap_hdr *) reqData; local 184 resp = eap_sake_build_msg(data, &rpos, hdr->identifier, respDataLen, 210 const struct eap_hdr *hdr = (const struct eap_hdr *) reqData; local 265 resp = eap_sake_build_msg(data, &rpos, hdr->identifier, respDataLen, 312 const struct eap_hdr *hdr = (const struct eap_hdr *) reqData; local 343 return eap_sake_build_msg(data, &rpos, hdr->identifier, 351 resp = eap_sake_build_msg(data, &rpos, hdr->identifier, respDataLen,
|
/external/wpa_supplicant_6/wpa_supplicant/src/eap_server/ |
eap.c | 852 const struct eap_hdr *hdr; local 862 if (resp == NULL || wpabuf_len(resp) < sizeof(*hdr)) { 869 hdr = wpabuf_head(resp); 870 plen = be_to_host16(hdr->length); 879 sm->respId = hdr->identifier; 881 if (hdr->code == EAP_CODE_RESPONSE) 884 if (plen > sizeof(*hdr)) { 885 u8 *pos = (u8 *) (hdr + 1); 888 if (plen < sizeof(*hdr) + 8) { 909 const struct eap_hdr *hdr; local [all...] |
eap_fast.c | 970 struct eap_hdr *hdr; local 983 hdr = (struct eap_hdr *) in_data; 984 pos = (u8 *) (hdr + 1); 986 if (in_len > sizeof(*hdr) && *pos == EAP_TYPE_NAK) { 987 left = in_len - sizeof(*hdr); 1091 struct eap_hdr *hdr; local 1094 hdr = (struct eap_hdr *) in_data; 1095 if (in_len < (int) sizeof(*hdr)) { 1101 len = be_to_host16(hdr->length); 1104 "Phase 2 EAP frame (len=%lu hdr->length=%lu)" [all...] |
eap_ttls.c | 966 struct eap_hdr *hdr; local 979 hdr = (struct eap_hdr *) in_data; 980 pos = (u8 *) (hdr + 1); 982 if (in_len > sizeof(*hdr) && *pos == EAP_TYPE_NAK) { 983 left = in_len - sizeof(*hdr); 1081 struct eap_hdr *hdr; local 1094 if (eap_len < sizeof(*hdr)) { 1100 hdr = (struct eap_hdr *) eap; 1101 len = be_to_host16(hdr->length); 1103 "identifier=%d length=%lu", hdr->code, hdr->identifier [all...] |
/external/wpa_supplicant_8/src/eap_server/ |
eap_server.c | 868 const struct eap_hdr *hdr; local 878 if (resp == NULL || wpabuf_len(resp) < sizeof(*hdr)) { 885 hdr = wpabuf_head(resp); 886 plen = be_to_host16(hdr->length); 895 sm->respId = hdr->identifier; 897 if (hdr->code == EAP_CODE_RESPONSE) 900 if (plen > sizeof(*hdr)) { 901 u8 *pos = (u8 *) (hdr + 1); 904 if (plen < sizeof(*hdr) + 8) { 925 const struct eap_hdr *hdr; local [all...] |
eap_server_fast.c | 975 struct eap_hdr *hdr; local 988 hdr = (struct eap_hdr *) in_data; 989 pos = (u8 *) (hdr + 1); 991 if (in_len > sizeof(*hdr) && *pos == EAP_TYPE_NAK) { 992 left = in_len - sizeof(*hdr); 1096 struct eap_hdr *hdr; local 1099 hdr = (struct eap_hdr *) in_data; 1100 if (in_len < (int) sizeof(*hdr)) { 1106 len = be_to_host16(hdr->length); 1109 "Phase 2 EAP frame (len=%lu hdr->length=%lu)" [all...] |
eap_server_ttls.c | 944 struct eap_hdr *hdr; local 957 hdr = (struct eap_hdr *) in_data; 958 pos = (u8 *) (hdr + 1); 960 if (in_len > sizeof(*hdr) && *pos == EAP_TYPE_NAK) { 961 left = in_len - sizeof(*hdr); 1059 struct eap_hdr *hdr; local 1072 if (eap_len < sizeof(*hdr)) { 1078 hdr = (struct eap_hdr *) eap; 1079 len = be_to_host16(hdr->length); 1081 "identifier=%d length=%lu", hdr->code, hdr->identifier [all...] |
/external/valgrind/main/coregrind/m_debuginfo/ |
readxcoff.c | 1560 LDHDR* hdr = (LDHDR*)oi_start; local [all...] |
/dalvik/vm/jdwp/ |
JdwpSocket.cpp | 586 JdwpReqHeader hdr; local 615 hdr.length = length; 616 hdr.id = id; 617 hdr.cmdSet = cmdSet; 618 hdr.cmd = cmd; 619 dvmJdwpProcessRequest(state, &hdr, buf, dataLen, pReply);
|
/external/grub/stage2/ |
fsys_xfs.c | 322 ? le64(*(xfs_ino_t *)(&inode->di_u.di_dir2sf.hdr.parent)) 323 : le32(*(xfs_uint32_t *)(&inode->di_u.di_dir2sf.hdr.parent)); 416 xfs.dirmax = inode->di_u.di_dir2sf.hdr.count; 417 xfs.i8param = inode->di_u.di_dir2sf.hdr.i8count ? 0 : 4; 436 if ((n->hdr.info.magic == le16(XFS_DIR2_LEAFN_MAGIC)) 437 || (n->hdr.info.magic == le16(XFS_DIR2_LEAF1_MAGIC))) {
|
/external/libpcap/ |
pcap.c | 121 struct pcap_pkthdr *hdr; member in struct:singleton 130 *sp->hdr = *h; 139 s.hdr = h; 146 struct pcap_pkthdr *hdr; member in struct:pkt_for_fakecallback 156 *sp->hdr = *h; 166 s.hdr = &p->pcap_header;
|
/external/webkit/Source/WebCore/platform/network/curl/ |
ResourceHandleManager.cpp | 165 const char* hdr; local 166 CURLcode err = curl_easy_getinfo(handle, CURLINFO_EFFECTIVE_URL, &hdr); 168 d->m_response.setURL(KURL(ParsedURLString, hdr)); 251 const char* hdr; local 252 err = curl_easy_getinfo(h, CURLINFO_EFFECTIVE_URL, &hdr); 253 d->m_response.setURL(KURL(ParsedURLString, hdr));
|
/external/wpa_supplicant_6/wpa_supplicant/src/radius/ |
radius_server.c | 368 msg = radius_msg_new(code, request->hdr->identifier); 394 if (!radius_msg_add_mppe_keys(msg, request->hdr->authenticator, 413 request->hdr->authenticator) < 0) { 435 request->hdr->identifier); 458 request->hdr->authenticator) < 0) { 529 sess->last_identifier == msg->hdr->identifier && 530 os_memcmp(sess->last_authenticator, msg->hdr->authenticator, 16) == 617 switch (reply->hdr->code) { 642 sess->last_identifier = msg->hdr->identifier; 643 os_memcpy(sess->last_authenticator, msg->hdr->authenticator [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/rsn_supp/ |
peerkey.c | 187 struct rsn_ie_hdr *hdr; local 264 hdr = (struct rsn_ie_hdr *) peerkey->rsnie_p; 265 hdr->elem_id = WLAN_EID_RSN; 266 WPA_PUT_LE16(hdr->version, RSN_VERSION); 267 pos = (u8 *) (hdr + 1); 281 hdr->len = (pos - peerkey->rsnie_p) - 2; 1008 struct rsn_ie_hdr *hdr; local 1050 hdr = (struct rsn_ie_hdr *) peerkey->rsnie_i; 1051 hdr->elem_id = WLAN_EID_RSN; 1052 WPA_PUT_LE16(hdr->version, RSN_VERSION) [all...] |
/external/wpa_supplicant_8/src/rsn_supp/ |
peerkey.c | 188 struct rsn_ie_hdr *hdr; local 265 hdr = (struct rsn_ie_hdr *) peerkey->rsnie_p; 266 hdr->elem_id = WLAN_EID_RSN; 267 WPA_PUT_LE16(hdr->version, RSN_VERSION); 268 pos = (u8 *) (hdr + 1); 282 hdr->len = (pos - peerkey->rsnie_p) - 2; 1011 struct rsn_ie_hdr *hdr; local 1053 hdr = (struct rsn_ie_hdr *) peerkey->rsnie_i; 1054 hdr->elem_id = WLAN_EID_RSN; 1055 WPA_PUT_LE16(hdr->version, RSN_VERSION) [all...] |
/libcore/luni/src/main/java/java/util/zip/ |
ZipInputStream.java | 231 int hdr = Memory.peekInt(hdrBuf, 0, ByteOrder.LITTLE_ENDIAN); local 232 if (hdr == CENSIG) { 236 if (hdr != LOCSIG) {
|
/bionic/libc/kernel/common/linux/ |
tcp.h | 54 struct tcphdr hdr; member in union:tcp_word_hdr
|
/development/ndk/platforms/android-3/include/linux/ |
tcp.h | 54 struct tcphdr hdr; member in union:tcp_word_hdr
|
/external/srec/tools/thirdparty/OpenFst/fst/lib/ |
vector-fst.h | 353 FstHeader hdr; local 354 if (!impl->ReadHeaderAndSymbols(strm, opts, kMinFileVersion, &hdr)) 356 impl->BaseImpl::SetStart(hdr.Start()); 357 impl->ReserveStates(hdr.NumStates()); 359 for (StateId s = 0; s < hdr.NumStates(); ++s) { 422 FstHeader hdr; local 423 hdr.SetStart(Start()); 424 hdr.SetNumStates(NumStates()); 425 WriteHeaderAndSymbols(strm, opts, kFileVersion, &hdr);
|
/external/tcpdump/ |
print-ip.c | 710 struct ip *ip, hdr; local 717 memcpy (&hdr, (char *)ip, 4); 718 switch (IP_V(&hdr)) { 728 (void)printf("unknown ip %d", IP_V(&hdr));
|