/external/openssl/crypto/asn1/ |
asn_mime.c | 107 static MIME_PARAM *mime_param_find(MIME_HEADER *hdr, char *name); 108 static void mime_hdr_free(MIME_HEADER *hdr); 172 const char *hdr, 176 BIO_printf(out, "-----BEGIN %s-----\n", hdr); 178 BIO_printf(out, "-----END %s-----\n", hdr); 437 MIME_HEADER *hdr; local 449 if(!(hdr = mime_hdr_find(headers, "content-type")) || !hdr->value) { 457 if(!strcmp(hdr->value, "multipart/signed")) { 459 prm = mime_param_find(hdr, "boundary") 579 MIME_HEADER *hdr; local [all...] |
/external/qemu/block/ |
vmdk.c | 186 char p_desc[DESC_SIZE], s_desc[DESC_SIZE], hdr[HEADER_SIZE]; local 216 if (read(p_fd, hdr, HEADER_SIZE) != HEADER_SIZE) { 226 if (write(snp_fd, hdr, HEADER_SIZE) == -1) { 232 memcpy(&header,&hdr[4], sizeof(header)); // skip the VMDK4_MAGIC
|
/external/qemu/distrib/jpeg-6b/ |
jmemmgr.c | 96 } hdr; member in union:small_pool_struct 107 } hdr; member in union:large_pool_struct 200 lhdr_ptr = lhdr_ptr->hdr.next) { 202 (long) lhdr_ptr->hdr.bytes_used); 206 shdr_ptr = shdr_ptr->hdr.next) { 208 (long) shdr_ptr->hdr.bytes_used, 209 (long) shdr_ptr->hdr.bytes_left); 280 if (hdr_ptr->hdr.bytes_left >= sizeofobject) 283 hdr_ptr = hdr_ptr->hdr.next; 308 hdr_ptr->hdr.next = NULL [all...] |
/external/qemu/hw/ |
bt-hid.c | 184 uint8_t *pkt, hdr = (BT_DATA << 4) | type; local 191 pkt[0] = hdr; 198 hdr = (BT_DATC << 4) | type;
|
bt-l2cap.c | 49 const l2cap_hdr *hdr, int len); 189 l2cap_cmd_hdr *hdr; local 198 hdr = (void *) (pkt + 0); 201 hdr->code = L2CAP_COMMAND_REJ; 202 hdr->ident = id; 203 memcpy(&hdr->len, &len, sizeof(hdr->len)); 226 l2cap_cmd_hdr *hdr; local 231 hdr = (void *) (pkt + 0); 234 hdr->code = L2CAP_CONN_RSP 250 l2cap_cmd_hdr *hdr; local 278 l2cap_cmd_hdr *hdr; local 303 l2cap_cmd_hdr *hdr; local 325 l2cap_cmd_hdr *hdr; local 346 l2cap_cmd_hdr *hdr; local 942 const l2cap_cmd_hdr *hdr; local 1076 const l2cap_hdr *hdr = (void *) l2cap->frame_in; local 1103 l2cap_hdr *hdr = (void *) l2cap->frame_out; local [all...] |
/external/qemu/ |
loader.c | 357 static void bswap_uboot_header(uboot_image_header_t *hdr) 360 bswap32s(&hdr->ih_magic); 361 bswap32s(&hdr->ih_hcrc); 362 bswap32s(&hdr->ih_time); 363 bswap32s(&hdr->ih_size); 364 bswap32s(&hdr->ih_load); 365 bswap32s(&hdr->ih_ep); 366 bswap32s(&hdr->ih_dcrc); 462 uboot_image_header_t *hdr = &h; local 470 size = read(fd, hdr, sizeof(uboot_image_header_t)) [all...] |
/external/quake/quake/src/WinQuake/ |
host_cmd.cpp | 1743 aliashdr_t *hdr; local [all...] |
/external/srec/tools/thirdparty/OpenFst/fst/lib/ |
fst.h | 43 const FstHeader *hdr = 0, 46 : source(src), header(hdr), isymbols(isym), osymbols(osym) {} 57 bool hdr = true, bool isym = true, 59 : source(src), write_header(hdr), 151 FstHeader hdr; local 153 hdr = *opts.header; 155 if (!hdr.Read(strm, opts.source)) 157 ropts.header = &hdr; 161 registr->GetReader(hdr.FstType()); 163 LOG(ERROR) << "Fst::Read: Unknown FST type \"" << hdr.FstType( [all...] |
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/srtp/test/ |
srtp_driver.c | 96 srtp_packet_to_string(srtp_hdr_t *hdr, int packet_len); 381 srtp_hdr_t *hdr; local 385 hdr = (srtp_hdr_t*) malloc(pkt_octet_len + bytes_in_hdr 387 if (!hdr) 390 hdr->version = 2; /* RTP version two */ 391 hdr->p = 0; /* no padding needed */ 392 hdr->x = 0; /* no header extension */ 393 hdr->cc = 0; /* no CSRCs */ 394 hdr->m = 0; /* marker bit */ 395 hdr->pt = 0xf; /* payload type * 575 srtp_hdr_t *hdr, *hdr2; local 774 srtp_hdr_t *hdr, *hdr2; local [all...] |
/external/strace/ |
net.c | 2202 struct opthdr hdr; local [all...] |
/external/tcpdump/ |
print-802_11.c | 1139 struct ieee80211_radiotap_header *hdr; local 1148 if (caplen < sizeof(*hdr)) { 1153 hdr = (struct ieee80211_radiotap_header *)p; 1155 len = EXTRACT_LE_16BITS(&hdr->it_len); 1161 for (last_presentp = &hdr->it_present; 1182 for (bit0 = 0, presentp = &hdr->it_present; presentp <= last_presentp;
|
sctpHeader.h | 210 struct sctpChunkDesc hdr; member in struct:sctpHBunified 217 struct sctpChunkDesc hdr; member in struct:sctpHBsender
|
/external/webkit/Tools/android/flex-2.5.4a/MISC/ |
alloca.c | 142 typedef union hdr union 147 union hdr *next; /* For chaining headers. */
|
/external/webp/src/dec/ |
vp8.c | 130 static void ResetSegmentHeader(VP8SegmentHeader* const hdr) { 131 assert(hdr); 132 hdr->use_segment_ = 0; 133 hdr->update_map_ = 0; 134 hdr->absolute_delta_ = 1; 135 memset(hdr->quantizer_, 0, sizeof(hdr->quantizer_)); 136 memset(hdr->filter_strength_, 0, sizeof(hdr->filter_strength_)); 141 VP8SegmentHeader* hdr, VP8Proba* proba) 209 VP8FilterHeader* const hdr = &dec->filter_hdr_; local [all...] |
/external/wpa_supplicant_6/wpa_supplicant/ |
eapol_test.c | 176 const struct eap_hdr *hdr; local 192 hdr = (const struct eap_hdr *) eap; 193 pos = (const u8 *) (hdr + 1); 194 if (len > sizeof(*hdr) && hdr->code == EAP_CODE_RESPONSE && 198 e->eap_identity_len = len - sizeof(*hdr) - 1; 266 if (e->last_recv_radius && e->last_recv_radius->hdr->code == 479 struct ieee802_1x_hdr *hdr; local 482 hdr = (struct ieee802_1x_hdr *) buf; 483 hdr->version = EAPOL_VERSION 534 struct eap_hdr *hdr; local [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/ |
eap_peap.c | 451 * the buffer is large enough to contain full request (hdr->length bytes) and 617 struct eap_hdr *hdr = wpabuf_mhead(req); local 618 size_t len = be_to_host16(hdr->length); 628 pos = (u8 *) (hdr + 1); 632 *resp = eap_sm_buildIdentity(sm, hdr->identifier, 1); 669 hdr->identifier); 708 hdr, resp)) 749 data->pending_phase2_req = wpabuf_alloc_copy(hdr, len); 764 struct eap_hdr *hdr, *rhdr; local 809 hdr = wpabuf_mhead(in_decrypted) [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/radius/ |
radius.c | 60 msg->hdr = (struct radius_hdr *) msg->buf; 61 msg->buf_used = sizeof(*msg->hdr); 68 msg->hdr = NULL; 81 msg->hdr->code = code; 82 msg->hdr->identifier = identifier; 90 msg->hdr = NULL; 213 static void radius_msg_dump_attr(struct radius_attr_hdr *hdr) 219 attr = radius_get_attr_type(hdr->type); 222 hdr->type, attr ? attr->name : "?Unknown?", hdr->length) 459 struct radius_hdr *hdr; local [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/rsn_supp/ |
wpa.c | 1434 struct ieee802_1x_hdr *hdr; local [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/wps/ |
wps_upnp_web.c | 1446 char *hdr = httpread_hdr_get(c->hread); local 1656 char *hdr = httpread_hdr_get(c->hread); local [all...] |
/external/wpa_supplicant_8/src/ap/ |
ieee802_1x.c | 113 struct ieee802_1x_hdr *hdr; local 122 buf = os_zalloc(sizeof(*hdr) + len); 126 hdr = (struct ieee802_1x_hdr *) buf; 127 key = (struct ieee802_1x_eapol_key *) (hdr + 1); 170 hdr->version = hapd->conf->eapol_version; 171 hdr->type = IEEE802_1X_TYPE_EAPOL_KEY; 172 hdr->length = host_to_be16(len); 173 hmac_md5(sm->eap_if->eapKeyData + 32, 32, buf, sizeof(*hdr) + len, 666 struct ieee802_1x_hdr *hdr; local 686 if (len < sizeof(*hdr)) { 984 struct eap_hdr *hdr; local 1245 struct radius_hdr *hdr = radius_msg_get_hdr(msg); local 1768 struct ieee80211_hdr *hdr; local [all...] |
/external/wpa_supplicant_8/src/drivers/ |
driver_hostap.c | 61 struct ieee80211_hdr *hdr; local 70 hdr = (struct ieee80211_hdr *) buf; 71 fc = le_to_host16(hdr->frame_control); 78 sa = hdr->addr2; 80 event.rx_from_unknown.bssid = get_hdr_bssid(hdr, len); 84 pos = (u8 *) (hdr + 1); 85 left = len - sizeof(*hdr); 122 struct ieee80211_hdr *hdr; local 126 hdr = (struct ieee80211_hdr *) buf; 127 fc = le_to_host16(hdr->frame_control) 142 struct ieee80211_hdr *hdr; local 270 struct ieee80211_hdr *hdr = (struct ieee80211_hdr *) msg; local 287 struct ieee80211_hdr *hdr; local 1143 struct ieee80211_hdr hdr; local [all...] |
/external/wpa_supplicant_8/src/eap_peer/ |
eap_peap.c | 447 * the buffer is large enough to contain full request (hdr->length bytes) and 613 struct eap_hdr *hdr = wpabuf_mhead(req); local 614 size_t len = be_to_host16(hdr->length); 624 pos = (u8 *) (hdr + 1); 628 *resp = eap_sm_buildIdentity(sm, hdr->identifier, 1); 665 hdr->identifier); 704 hdr, resp)) 745 data->pending_phase2_req = wpabuf_alloc_copy(hdr, len); 760 struct eap_hdr *hdr, *rhdr; local 805 hdr = wpabuf_mhead(in_decrypted) [all...] |
eap_ttls.c | 261 struct eap_hdr *hdr, size_t len, 268 wpabuf_set(&msg, hdr, len); 287 struct eap_hdr *hdr, size_t len, 294 return eap_ttls_phase2_eap_process(sm, data, ret, hdr, len, 332 hdr, resp)) 352 return eap_ttls_phase2_eap_process(sm, data, ret, hdr, len, resp); 359 struct eap_hdr *hdr, 362 size_t len = be_to_host16(hdr->length); 371 pos = (u8 *) (hdr + 1); 375 *resp = eap_sm_buildIdentity(sm, hdr->identifier, 1) 932 struct eap_hdr *hdr; local 983 struct eap_hdr *hdr; local 1201 struct eap_hdr *hdr; local [all...] |
/external/wpa_supplicant_8/src/eap_server/ |
eap_server_ttls.c | 790 struct eap_hdr *hdr; local 803 hdr = (struct eap_hdr *) in_data; 804 pos = (u8 *) (hdr + 1); 806 if (in_len > sizeof(*hdr) && *pos == EAP_TYPE_NAK) { 807 left = in_len - sizeof(*hdr); 895 struct eap_hdr *hdr; local 908 if (eap_len < sizeof(*hdr)) { 914 hdr = (struct eap_hdr *) eap; 915 len = be_to_host16(hdr->length); 917 "identifier=%d length=%lu", hdr->code, hdr->identifier [all...] |