Searched defs:hdr (Results 176 - 200 of 357) sorted by relevance

1234567891011>>

/external/openssl/crypto/asn1/
H A Dasn_mime.c107 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);
433 MIME_HEADER *hdr; local
445 if(!(hdr = mime_hdr_find(headers, "content-type")) || !hdr->value) {
453 if(!strcmp(hdr->value, "multipart/signed")) {
455 prm = mime_param_find(hdr, "boundar
171 PEM_write_bio_ASN1_stream(BIO *out, ASN1_VALUE *val, BIO *in, int flags, const char *hdr, const ASN1_ITEM *it) argument
575 MIME_HEADER *hdr; local
882 mime_param_find(MIME_HEADER *hdr, char *name) argument
892 mime_hdr_free(MIME_HEADER *hdr) argument
[all...]
/external/ppp/pppd/plugins/rp-pppoe/
H A Dif.c629 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
[all...]
/external/qemu/hw/
H A Dbt-hid.c184 uint8_t *pkt, hdr = (BT_DATA << 4) | type; local
191 pkt[0] = hdr;
198 hdr = (BT_DATC << 4) | type;
/external/qemu/
H A Dloader.c357 static void bswap_uboot_header(uboot_image_header_t *hdr) argument
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, sizeo
[all...]
/external/quake/quake/src/WinQuake/
H A Dhost_cmd.cpp1743 aliashdr_t *hdr; local
1746 hdr = (aliashdr_t *)Mod_Extradata (m);
1747 if (!hdr)
1749 pframedesc = &hdr->frames[frame];
/external/srec/tools/thirdparty/OpenFst/fst/lib/
H A Dvector-fst.h353 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/srtp/
H A Dsrtp.c598 srtp_hdr_t *hdr = (srtp_hdr_t *)rtp_hdr; local
602 xtd_seq_num_t est; /* estimated xtd_seq_num_t of *hdr */
603 int delta; /* delta of local pkt idx and that in hdr */
612 /* we assume the hdr is 32-bit aligned to start */
625 stream = srtp_get_stream(ctx, hdr->ssrc);
632 hdr->ssrc, &new_stream);
695 enc_start = (uint32_t *)hdr + uint32s_in_rtp_header + hdr->cc;
696 if (hdr->x == 1) {
701 - ((enc_start - (uint32_t *)hdr) <<
841 srtp_hdr_t *hdr = (srtp_hdr_t *)srtp_hdr; local
1447 srtcp_hdr_t *hdr = (srtcp_hdr_t *)rtcp_hdr; local
1630 srtcp_hdr_t *hdr = (srtcp_hdr_t *)srtcp_hdr; local
[all...]
/external/srtp/test/
H A Dsrtp_driver.c96 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
575 srtp_hdr_t *hdr, *hdr2; local
774 srtp_hdr_t *hdr, *hdr2; local
1071 srtp_packet_to_string(srtp_hdr_t *hdr, int pkt_octet_len) argument
[all...]
/external/strace/
H A Dnet.c1731 struct opthdr hdr; local
1733 while (len >= (int) sizeof hdr) {
1734 if (umove(tcp, addr, &hdr) < 0) break;
1738 else if (len > hdr.len + sizeof hdr) {
1742 addr += sizeof hdr;
1743 len -= sizeof hdr;
1744 printsockopt (tcp, hdr.level, hdr.name, addr, hdr
[all...]
/external/tcpdump/
H A Dprint-802_11.c1139 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;
H A Dprint-udp.c111 vat_print(const void *hdr, register const struct udphdr *up) argument
114 u_int ts = *(u_int16_t *)hdr;
122 u_int32_t i0 = EXTRACT_32BITS(&((u_int *)hdr)[0]);
123 u_int32_t i1 = EXTRACT_32BITS(&((u_int *)hdr)[1]);
137 rtp_print(const void *hdr, u_int len, register const struct udphdr *up) argument
140 u_int *ip = (u_int *)hdr;
142 u_int32_t i0 = EXTRACT_32BITS(&((u_int *)hdr)[0]);
143 u_int32_t i1 = EXTRACT_32BITS(&((u_int *)hdr)[1]);
177 printf(" %u", EXTRACT_32BITS(&((u_int *)hdr)[2]));
207 rtcp_print(const u_char *hdr, cons argument
[all...]
H A Dprint-wb.c391 wb_print(register const void *hdr, register u_int len) argument
395 ph = (const struct pkt_hdr *)hdr;
H A DsctpHeader.h210 struct sctpChunkDesc hdr; member in struct:sctpHBunified
217 struct sctpChunkDesc hdr; member in struct:sctpHBsender
/external/webkit/Source/WebCore/platform/network/curl/
H A DResourceHandleManager.cpp165 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/webkit/Tools/android/flex-2.5.4a/MISC/
H A Dalloca.c142 typedef union hdr union
147 union hdr *next; /* For chaining headers. */
/external/webp/src/dec/
H A Dvp8.c130 static void ResetSegmentHeader(VP8SegmentHeader* const hdr) { argument
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, VP8Prob
140 ParseSegmentHeader(VP8BitReader* br, VP8SegmentHeader* hdr, VP8Proba* proba) argument
209 VP8FilterHeader* const hdr = &dec->filter_hdr_; local
[all...]
/external/wpa_supplicant/
H A Dcrypto_cryptoapi.c184 BLOBHEADER hdr; member in struct:__anon12361
190 key_blob.hdr.bType = PLAINTEXTKEYBLOB;
191 key_blob.hdr.bVersion = CUR_BLOB_VERSION;
192 key_blob.hdr.reserved = 0;
193 key_blob.hdr.aiKeyAlg = CALG_DES;
264 BLOBHEADER hdr; member in struct:__anon12362
273 key_blob.hdr.bType = PLAINTEXTKEYBLOB;
274 key_blob.hdr.bVersion = CUR_BLOB_VERSION;
275 key_blob.hdr.reserved = 0;
276 key_blob.hdr
383 BLOBHEADER hdr; member in struct:__anon12363
538 BLOBHEADER hdr; member in struct:__anon12364
[all...]
H A Deap_peap.c242 static int eap_peap_phase2_nak(struct eap_peap_data *data, struct eap_hdr *hdr, argument
246 u8 *pos = (u8 *) (hdr + 1);
261 resp_hdr->identifier = hdr->identifier;
280 struct eap_hdr *hdr,
283 size_t len = be_to_host16(hdr->length);
293 pos = (u8 *) (hdr + 1);
297 *resp = eap_sm_buildIdentity(sm, hdr->identifier, resp_len, 1);
301 if (eap_tlv_process(sm, &iret, hdr, resp, resp_len,
338 if (eap_peap_phase2_nak(data, hdr, resp, resp_len))
364 &iret, (u8 *) hdr, le
277 eap_peap_phase2_request(struct eap_sm *sm, struct eap_peap_data *data, struct eap_method_ret *ret, struct eap_hdr *hdr, u8 **resp, size_t *resp_len) argument
399 struct eap_hdr *hdr, *rhdr; local
[all...]
/external/wpa_supplicant_6/wpa_supplicant/src/crypto/
H A Dcrypto_internal.c442 struct asn1_hdr hdr; local
451 if (asn1_get_next(buf, len, &hdr) < 0 ||
452 hdr.class != ASN1_CLASS_UNIVERSAL ||
453 hdr.tag != ASN1_TAG_SEQUENCE) {
458 pos = hdr.payload;
459 end = pos + hdr.length;
462 if (asn1_get_next(pos, end - pos, &hdr) < 0 ||
463 hdr.class != ASN1_CLASS_UNIVERSAL || hdr.tag != ASN1_TAG_INTEGER) {
466 hdr
[all...]
/external/wpa_supplicant_6/wpa_supplicant/src/eap_common/
H A Dikev2_common.c497 const struct ikev2_hdr *hdr,
544 (const u8 *) hdr,
545 integ - (const u8 *) hdr, hash) < 0) {
589 struct ikev2_hdr *hdr; local
592 hdr = wpabuf_mhead(msg);
593 WPA_PUT_BE32(hdr->length, wpabuf_len(msg));
495 ikev2_decrypt_payload(int encr_id, int integ_id, struct ikev2_keys *keys, int initiator, const struct ikev2_hdr *hdr, const u8 *encrypted, size_t encrypted_len, size_t *res_len) argument
/external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/
H A Deap_peap.c451 * 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
[all...]
H A Dikev2.c482 const struct ikev2_hdr *hdr,
490 os_memcpy(data->i_spi, hdr->i_spi, IKEV2_SPI_LEN);
686 const struct ikev2_hdr *hdr,
695 &data->keys, 1, hdr, pl->encrypted,
766 const struct ikev2_hdr *hdr; local
774 if (wpabuf_len(buf) < sizeof(*hdr)) {
780 hdr = (const struct ikev2_hdr *) wpabuf_head(buf);
782 message_id = WPA_GET_BE32(hdr->message_id);
783 length = WPA_GET_BE32(hdr->length);
786 hdr
481 ikev2_process_sa_init(struct ikev2_responder_data *data, const struct ikev2_hdr *hdr, struct ikev2_payloads *pl) argument
685 ikev2_process_sa_auth(struct ikev2_responder_data *data, const struct ikev2_hdr *hdr, struct ikev2_payloads *pl) argument
863 struct ikev2_hdr *hdr; local
[all...]
/external/wpa_supplicant_6/wpa_supplicant/src/eap_server/
H A Dikev2.c452 const struct ikev2_hdr *hdr,
463 hdr, encrypted, encrypted_len,
487 const struct ikev2_hdr *hdr,
495 os_memcpy(data->r_spi, hdr->r_spi, IKEV2_SPI_LEN);
503 if (ikev2_process_sa_init_encr(data, hdr, pl->encrypted,
718 const struct ikev2_hdr *hdr,
727 &data->keys, 0, hdr, pl->encrypted,
801 const struct ikev2_hdr *hdr; local
809 if (wpabuf_len(buf) < sizeof(*hdr)) {
814 hdr
451 ikev2_process_sa_init_encr(struct ikev2_initiator_data *data, const struct ikev2_hdr *hdr, const u8 *encrypted, size_t encrypted_len, u8 next_payload) argument
486 ikev2_process_sa_init(struct ikev2_initiator_data *data, const struct ikev2_hdr *hdr, struct ikev2_payloads *pl) argument
717 ikev2_process_sa_auth(struct ikev2_initiator_data *data, const struct ikev2_hdr *hdr, struct ikev2_payloads *pl) argument
893 struct ikev2_hdr *hdr; local
[all...]
/external/wpa_supplicant_6/wpa_supplicant/src/tls/
H A Dx509v3.c187 struct asn1_hdr hdr; local
197 if (asn1_get_next(buf, len, &hdr) < 0 ||
198 hdr.class != ASN1_CLASS_UNIVERSAL ||
199 hdr.tag != ASN1_TAG_SEQUENCE) {
202 hdr.class, hdr.tag);
205 pos = hdr.payload;
206 end = pos + hdr.length;
226 struct asn1_hdr hdr; local
239 if (asn1_get_next(pos, end - pos, &hdr) <
298 struct asn1_hdr hdr; local
625 struct asn1_hdr hdr; local
699 struct asn1_hdr hdr; local
736 struct asn1_hdr hdr; local
848 struct asn1_hdr hdr; local
930 struct asn1_hdr hdr; local
960 struct asn1_hdr hdr; local
1214 struct asn1_hdr hdr; local
1325 struct asn1_hdr hdr; local
[all...]
/external/wpa_supplicant_6/wpa_supplicant/
H A Dwpas_glue.c65 struct ieee802_1x_hdr *hdr; local
67 *msg_len = sizeof(*hdr) + data_len;
68 hdr = os_malloc(*msg_len);
69 if (hdr == NULL)
72 hdr->version = wpa_s->conf->eapol_version;
73 hdr->type = type;
74 hdr->length = host_to_be16(data_len);
77 os_memcpy(hdr + 1, data, data_len);
79 os_memset(hdr + 1, 0, data_len);
82 *data_pos = hdr
[all...]

Completed in 628 milliseconds

1234567891011>>