Home
last modified time | relevance | path

Searched refs:header_len (Results 1 – 23 of 23) sorted by relevance

/external/tcpdump/
Dprint-juniper.c416 u_int8_t header_len; member
471 return l2info.header_len; in juniper_ggsn_print()
473 p+=l2info.header_len; in juniper_ggsn_print()
497 return l2info.header_len; in juniper_ggsn_print()
519 return l2info.header_len; in juniper_es_print()
521 p+=l2info.header_len; in juniper_es_print()
539 return l2info.header_len; in juniper_es_print()
567 return l2info.header_len; in juniper_es_print()
586 return l2info.header_len; in juniper_monitor_print()
588 p+=l2info.header_len; in juniper_monitor_print()
[all …]
Dprint-zeromq.c79 u_int64_t body_len_declared, body_len_captured, header_len; in zmtp1_print_frame() local
86 header_len = 1; /* length */ in zmtp1_print_frame()
89 return cp + header_len; /* skip to next frame */ in zmtp1_print_frame()
91 TCHECK2(*cp, header_len + 1); /* length, flags */ in zmtp1_print_frame()
94 header_len = 1 + 8; /* 0xFF, length */ in zmtp1_print_frame()
96 TCHECK2(*cp, header_len); /* 0xFF, length */ in zmtp1_print_frame()
99 return cp + header_len; /* skip to next frame */ in zmtp1_print_frame()
101 TCHECK2(*cp, header_len + 1); /* 0xFF, length, flags */ in zmtp1_print_frame()
105 body_len_captured = ep - cp - header_len; in zmtp1_print_frame()
127 hex_and_ascii_print("\n\t ", cp + header_len + 1, body_len_printed - 1); in zmtp1_print_frame()
[all …]
/external/boringssl/src/crypto/bytestring/
Dber.c44 size_t header_len; in cbs_find_ber() local
46 if (!CBS_get_any_ber_asn1_element(&in, &contents, &tag, &header_len)) { in cbs_find_ber()
49 if (CBS_len(&contents) == header_len && in cbs_find_ber()
50 header_len > 0 && in cbs_find_ber()
51 CBS_data(&contents)[header_len-1] == 0x80) { in cbs_find_ber()
56 if (!CBS_skip(&contents, header_len) || in cbs_find_ber()
78 static char is_eoc(size_t header_len, CBS *contents) { in is_eoc() argument
79 return header_len == 2 && CBS_len(contents) == 2 && in is_eoc()
98 size_t header_len; in cbs_convert_ber() local
101 if (!CBS_get_any_ber_asn1_element(in, &contents, &tag, &header_len)) { in cbs_convert_ber()
[all …]
Dcbs.c246 size_t header_len; in cbs_get_asn1() local
254 if (!CBS_get_any_asn1_element(cbs, out, &tag, &header_len) || in cbs_get_asn1()
259 if (skip_header && !CBS_skip(out, header_len)) { in cbs_get_asn1()
/external/libogg/src/
Dframing.c291 for(i=0;i<og->header_len;i++) in ogg_page_checksum_set()
484 og->header_len=os->header_fill=vals+27; in ogg_stream_flush_i()
673 log.header_len=oy->headerbytes; in ogg_sync_pageseek()
697 og->header_len=oy->headerbytes; in ogg_sync_pageseek()
1060 for(j=0;j<og->header_len;j++){ in check_page()
1069 if(og->header_len!=header[26]+27){ in check_page()
1071 og->header_len,header[26]+27); in check_page()
1096 for(j=27;j<og->header_len;j++) in print_header()
1102 unsigned char *temp=_ogg_malloc(og->header_len); in copy_page()
1103 memcpy(temp,og->header,og->header_len); in copy_page()
[all …]
/external/boringssl/src/crypto/bio/
Dbio.c540 size_t len, header_len; in BIO_read_asn1() local
544 header_len = kInitialHeaderLen; in BIO_read_asn1()
561 header_len = kInitialHeaderLen + num_bytes; in BIO_read_asn1()
583 if (len + header_len < len || in BIO_read_asn1()
584 len + header_len > max_len) { in BIO_read_asn1()
587 len += header_len; in BIO_read_asn1()
594 memcpy(*out, header, header_len); in BIO_read_asn1()
595 if (BIO_read(bio, (*out) + header_len, len - header_len) != in BIO_read_asn1()
596 len - header_len) { in BIO_read_asn1()
/external/flac/libFLAC/
Dogg_helper.c80 page->header_len = 0; in simple_ogg_page__init()
102 FLAC__ASSERT(page->header_len == 0); in simple_ogg_page__get_at()
126 page->header_len = OGG_HEADER_FIXED_PORTION_LEN + page->header[26]; in simple_ogg_page__get_at()
183 FLAC__ASSERT(page->header_len != 0); in simple_ogg_page__set_at()
199 …if(write_callback((FLAC__StreamEncoder*)encoder, page->header, page->header_len, 0, 0, client_data… in simple_ogg_page__set_at()
Dogg_encoder_aspect.c197 …if(write_callback(encoder, aspect->page.header, aspect->page.header_len, 0, current_frame, client_… in FLAC__ogg_encoder_aspect_write_callback_wrapper()
205 …if(write_callback(encoder, aspect->page.header, aspect->page.header_len, 0, current_frame, client_… in FLAC__ogg_encoder_aspect_write_callback_wrapper()
/external/libvorbis/examples/
Dencoder_example.c174 fwrite(og.header,1,og.header_len,stdout); in main()
227 fwrite(og.header,1,og.header_len,stdout); in main()
/external/libvorbis/test/
Dwrite_read.c82 fwrite (og.header,1,og.header_len,file); in write_vorbis_data_or_die()
112 fwrite (og.header,1,og.header_len,file); in write_vorbis_data_or_die()
/external/elfutils/src/libdw/
Ddwarf_getmacros.c253 .header_len = readp - startp, in get_table_for_offset()
323 offset = table->header_len; in read_macros()
DlibdwP.h376 Dwarf_Half header_len; member
/external/tremolo/Tremolo/
Dogg.h165 int header_len; member
Dframing.c748 og->header_len=oy->headerbytes; in ogg_sync_pageseek()
1164 dup->header_len=orig->header_len; in ogg_page_dup()
Dvorbisfile.c234 searched=ret+og.header_len+og.body_len; in _bisect_forward_serialno()
644 vf->bittrack+=og.header_len*8; in _fetch_and_process_packet()
/external/boringssl/src/ssl/
Dt1_lib.c806 size_t header_len) { in ssl_add_clienthello_tlsext() argument
1078 if (header_len > 0) { in ssl_add_clienthello_tlsext()
1080 header_len += ret - orig; in ssl_add_clienthello_tlsext()
1081 if (header_len > 0xff && header_len < 0x200) { in ssl_add_clienthello_tlsext()
1098 if (header_len < clienthello_minsize) { in ssl_add_clienthello_tlsext()
1099 size_t padding_len = clienthello_minsize - header_len; in ssl_add_clienthello_tlsext()
Ds3_both.c449 size_t header_len = s->init_msg - (uint8_t *)s->init_buf->data; in ssl3_hash_current_message() local
451 s->init_num + header_len); in ssl3_hash_current_message()
Dinternal.h1066 size_t header_len);
/external/libogg/include/ogg/
Dogg.h45 long header_len; member
/external/kernel-headers/original/uapi/linux/wimax/
Di2400m.h136 __le32 header_len; member
/external/fio/
Dverify.c30 unsigned int header_len);
963 unsigned int header_len) in populate_hdr() argument
972 hdr->len = header_len; in populate_hdr()
976 data_len = header_len - hdr_size(hdr); in populate_hdr()
/external/libvorbis/lib/
Dvorbisfile.c175 if(og->header_len==0){ in _get_prev_page()
545 searched=last+og.header_len+og.body_len; in _bisect_forward_serialno()
778 vf->bittrack+=og.header_len*8; in _fetch_and_process_packet()
/external/libnfc-nci/src/nfc/tags/
Drw_t2t_ndef.c954 …UINT16 header_len = (p_t2t->new_ndef_msg_len >= T2T_LONG_NDEF_MIN_LEN) ? T2T_LONG_NDEF_LEN_FI… in rw_t2t_read_ndef_last_block() local
963 total_ndef_bytes = header_len + p_t2t->new_ndef_msg_len; in rw_t2t_read_ndef_last_block()